From 193f1ec07aadc41568465e9bd7fbe79e488ab24e Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 12 May 2026 01:59:52 -0700 Subject: [PATCH 01/74] re emit --- .../agents/AgentSessionFilesAsyncClient.java | 92 +- .../ai/agents/AgentSessionFilesClient.java | 87 +- .../azure/ai/agents/AgentsAsyncClient.java | 1161 +++++++++-- .../com/azure/ai/agents/AgentsClient.java | 1142 ++++++++-- .../azure/ai/agents/ToolboxesAsyncClient.java | 104 +- .../com/azure/ai/agents/ToolboxesClient.java | 108 +- .../implementation/AgentSessionFilesImpl.java | 114 +- .../ai/agents/implementation/AgentsImpl.java | 1037 +++++++++- .../implementation/JsonMergePatchHelper.java | 37 +- .../MultipartFormDataHelper.java | 209 ++ .../agents/implementation/ToolboxesImpl.java | 230 +-- .../models/CreateAgentOptions.java | 32 +- .../models/CreateAgentRequest.java | 36 +- .../ai/agents/models/A2APreviewTool.java | 62 + .../models/AgentDefinitionOptInKeys.java | 7 +- .../azure/ai/agents/models/AgentDetails.java | 8 +- ...Endpoint.java => AgentEndpointConfig.java} | 45 +- .../ai/agents/models/AgentVersionDetails.java | 23 + .../ai/agents/models/AgentVersionStatus.java | 71 + .../ai/agents/models/AzureAISearchTool.java | 70 +- .../models/BingCustomSearchPreviewTool.java | 70 +- .../ai/agents/models/BingGroundingTool.java | 70 +- .../models/BrowserAutomationPreviewTool.java | 70 +- .../ai/agents/models/CodeConfiguration.java | 80 +- .../models/CodeDependencyResolution.java | 57 + .../ai/agents/models/CodeFileDetails.java | 97 + .../models/CreateAgentFromCodeContent.java | 59 + .../CreateAgentVersionFromCodeContent.java | 59 + .../CreateAgentVersionFromCodeMetadata.java | 171 ++ .../models/EntraAuthorizationScheme.java | 48 +- .../models/EntraIsolationKeySource.java | 98 - .../ai/agents/models/FabricIQPreviewTool.java | 278 +++ .../models/FoundryFeaturesOptInKeys.java | 7 +- .../models/HeaderIsolationKeySource.java | 178 -- .../models/HeaderTelemetryEndpointAuth.java | 149 ++ .../agents/models/HostedAgentDefinition.java | 35 + .../ai/agents/models/IsolationKeySource.java | 152 -- .../agents/models/IsolationKeySourceKind.java | 57 - .../models/MemorySearchPreviewTool.java | 66 + .../models/MicrosoftFabricPreviewTool.java | 70 +- .../agents/models/OtlpTelemetryEndpoint.java | 150 ++ .../agents/models/SessionDirectoryEntry.java | 24 +- .../agents/models/SharepointPreviewTool.java | 70 +- .../ai/agents/models/TelemetryConfig.java | 83 + .../ai/agents/models/TelemetryDataKind.java | 63 + .../ai/agents/models/TelemetryEndpoint.java | 166 ++ .../agents/models/TelemetryEndpointAuth.java | 105 + .../models/TelemetryEndpointAuthType.java | 51 + .../agents/models/TelemetryEndpointKind.java | 51 + .../models/TelemetryTransportProtocol.java | 57 + .../java/com/azure/ai/agents/models/Tool.java | 4 + .../com/azure/ai/agents/models/ToolType.java | 12 + .../models/ToolboxSearchPreviewTool.java | 142 ++ .../models/UpdateAgentDetailsOptions.java | 37 +- .../models/WorkIQPreviewToolParameters.java | 82 - .../ai/agents/models/WorkIqPreviewTool.java | 62 +- .../META-INF/azure-ai-agents_metadata.json | 2 +- sdk/ai/azure-ai-agents/tsp-location.yaml | 2 +- .../ai/projects/AIProjectClientBuilder.java | 68 +- .../DataGenerationJobsAsyncClient.java | 828 ++++++++ .../ai/projects/DataGenerationJobsClient.java | 794 +++++++ .../ai/projects/DatasetsAsyncClient.java | 4 +- .../com/azure/ai/projects/DatasetsClient.java | 4 +- .../projects/EvaluationRulesAsyncClient.java | 2 +- .../ai/projects/EvaluationRulesClient.java | 2 +- .../EvaluationTaxonomiesAsyncClient.java | 24 +- .../projects/EvaluationTaxonomiesClient.java | 24 +- .../EvaluatorGenerationJobsAsyncClient.java | 987 +++++++++ .../EvaluatorGenerationJobsClient.java | 950 +++++++++ .../ai/projects/EvaluatorsAsyncClient.java | 77 +- .../azure/ai/projects/EvaluatorsClient.java | 77 +- .../ai/projects/InsightsAsyncClient.java | 6 +- .../com/azure/ai/projects/InsightsClient.java | 6 +- .../azure/ai/projects/ModelsAsyncClient.java | 725 +++++++ .../com/azure/ai/projects/ModelsClient.java | 688 +++++++ .../azure/ai/projects/SkillsAsyncClient.java | 60 +- .../com/azure/ai/projects/SkillsClient.java | 60 +- .../implementation/AIProjectClientImpl.java | 45 + .../DataGenerationJobsImpl.java | 1361 ++++++++++++ .../projects/implementation/DatasetsImpl.java | 8 +- .../implementation/EvaluationRulesImpl.java | 4 +- .../EvaluationTaxonomiesImpl.java | 32 +- .../EvaluatorGenerationJobsImpl.java | 1749 ++++++++++++++++ .../implementation/EvaluatorsImpl.java | 242 ++- .../projects/implementation/InsightsImpl.java | 20 +- .../implementation/JsonMergePatchHelper.java | 18 + .../projects/implementation/ModelsImpl.java | 1834 +++++++++++++++++ .../projects/implementation/SkillsImpl.java | 150 +- .../models/AgentDataGenerationJobSource.java | 174 ++ .../AgentEvaluatorGenerationJobSource.java | 174 ++ .../azure/ai/projects/models/ApiError.java | 227 ++ .../ai/projects/models/ArtifactProfile.java | 107 + .../models/AzureOpenAIModelConfiguration.java | 2 +- .../ai/projects/models/DataGenerationJob.java | 207 ++ .../models/DataGenerationJobInputs.java | 150 ++ .../models/DataGenerationJobOptions.java | 204 ++ .../models/DataGenerationJobOutput.java | 108 + .../models/DataGenerationJobOutputType.java | 57 + .../models/DataGenerationJobResult.java | 126 ++ .../models/DataGenerationJobScenario.java | 63 + .../models/DataGenerationJobSource.java | 148 ++ .../models/DataGenerationJobSourceType.java | 75 + .../models/DataGenerationJobType.java | 63 + .../models/DataGenerationModelOptions.java | 82 + .../models/DataGenerationTokenUsage.java | 114 + .../DatasetDataGenerationJobOutput.java | 176 ++ .../DatasetDataGenerationJobSource.java | 174 ++ .../DatasetEvaluatorGenerationJobSource.java | 174 ++ .../ai/projects/models/DatasetReference.java | 104 + .../projects/models/EvaluatorDefinition.java | 2 + .../models/EvaluatorDefinitionType.java | 7 + .../models/EvaluatorGenerationArtifacts.java | 117 ++ .../models/EvaluatorGenerationInputs.java | 200 ++ .../models/EvaluatorGenerationJob.java | 226 ++ .../models/EvaluatorGenerationJobSource.java | 113 + .../EvaluatorGenerationJobSourceType.java | 69 + .../models/EvaluatorGenerationTokenUsage.java | 126 ++ .../ai/projects/models/EvaluatorVersion.java | 23 + .../models/FileDataGenerationJobOutput.java | 116 ++ .../models/FileDataGenerationJobSource.java | 119 ++ .../models/FoundryFeaturesOptInKeys.java | 7 +- .../FoundryModelArtifactProfileCategory.java | 64 + .../FoundryModelArtifactProfileSignal.java | 75 + .../models/FoundryModelSourceType.java | 57 + .../projects/models/FoundryModelWarning.java | 97 + .../models/FoundryModelWarningCode.java | 57 + .../models/FoundryModelWeightType.java | 63 + .../azure/ai/projects/models/JobStatus.java | 75 + .../azure/ai/projects/models/LoraConfig.java | 188 ++ .../models/ModelCredentialRequest.java | 82 + .../projects/models/ModelSamplingParams.java | 127 +- .../ai/projects/models/ModelSourceData.java | 121 ++ .../ai/projects/models/ModelVersion.java | 409 ++++ .../projects/models/PendingUploadRequest.java | 6 +- .../models/PendingUploadResponse.java | 6 +- .../ai/projects/models/PendingUploadType.java | 12 +- .../models/PromptDataGenerationJobSource.java | 141 ++ .../PromptEvaluatorGenerationJobSource.java | 141 ++ .../com/azure/ai/projects/models/RedTeam.java | 28 +- ...etConfig.java => RedTeamTargetConfig.java} | 24 +- .../RubricBasedEvaluatorDefinition.java | 173 ++ .../ai/projects/models/RubricCriterion.java | 175 ++ .../SimpleQnADataGenerationJobOptions.java | 155 ++ .../SimpleQnAFineTuningQuestionType.java | 57 + .../ai/projects/models/SystemDataV3.java | 144 ++ ...UseFineTuningDataGenerationJobOptions.java | 119 ++ .../TracesDataGenerationJobOptions.java | 119 ++ .../models/TracesDataGenerationJobSource.java | 328 +++ .../TracesEvaluatorGenerationJobSource.java | 328 +++ .../models/UpdateModelVersionRequest.java | 190 ++ .../META-INF/azure-ai-projects_metadata.json | 2 +- sdk/ai/azure-ai-projects/tsp-location.yaml | 2 +- 152 files changed, 23983 insertions(+), 1974 deletions(-) create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java rename sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/{AgentEndpoint.java => AgentEndpointConfig.java} (80%) create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeFileDetails.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CreateAgentFromCodeContent.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/IsolationKeySource.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryConfig.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/WorkIQPreviewToolParameters.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApiError.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ArtifactProfile.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJob.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetReference.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/JobStatus.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LoraConfig.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelSourceData.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelVersion.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java rename sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/{TargetConfig.java => RedTeamTargetConfig.java} (76%) create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricCriterion.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SystemDataV3.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java index 12cf73456690..c9b70d6dfce6 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java @@ -50,7 +50,8 @@ public final class AgentSessionFilesAsyncClient { * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -73,7 +74,7 @@ public final class AgentSessionFilesAsyncClient { * * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The destination file path within the sandbox, relative to the session home directory. * @param content The content parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -86,9 +87,9 @@ public final class AgentSessionFilesAsyncClient { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> uploadSessionFileWithResponse(String agentName, String sessionId, String path, - BinaryData content, RequestOptions requestOptions) { - return this.serviceClient.uploadSessionFileWithResponseAsync(agentName, sessionId, path, content, + public Mono> uploadSessionFileWithResponse(String agentName, String agentSessionId, + String path, BinaryData content, RequestOptions requestOptions) { + return this.serviceClient.uploadSessionFileWithResponseAsync(agentName, agentSessionId, path, content, requestOptions); } @@ -100,7 +101,8 @@ public Mono> uploadSessionFileWithResponse(String agentName * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -112,7 +114,7 @@ public Mono> uploadSessionFileWithResponse(String agentName * * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The file path to download from the sandbox, relative to the session home directory. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -123,9 +125,9 @@ public Mono> uploadSessionFileWithResponse(String agentName */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> downloadSessionFileWithResponse(String agentName, String sessionId, String path, - RequestOptions requestOptions) { - return this.serviceClient.downloadSessionFileWithResponseAsync(agentName, sessionId, path, requestOptions); + public Mono> downloadSessionFileWithResponse(String agentName, String agentSessionId, + String path, RequestOptions requestOptions) { + return this.serviceClient.downloadSessionFileWithResponseAsync(agentName, agentSessionId, path, requestOptions); } /** @@ -145,12 +147,13 @@ public Mono> downloadSessionFileWithResponse(String agentNa * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The file or directory path to delete, relative to the session home directory. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -161,9 +164,9 @@ public Mono> downloadSessionFileWithResponse(String agentNa */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteSessionFileWithResponse(String agentName, String sessionId, String path, + public Mono> deleteSessionFileWithResponse(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { - return this.serviceClient.deleteSessionFileWithResponseAsync(agentName, sessionId, path, requestOptions); + return this.serviceClient.deleteSessionFileWithResponseAsync(agentName, agentSessionId, path, requestOptions); } /** @@ -171,7 +174,7 @@ public Mono> deleteSessionFileWithResponse(String agentName, Stri * Maximum file size is 50 MB. Uploads exceeding this limit return 413 Payload Too Large. * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The destination file path within the sandbox, relative to the session home directory. * @param content The content parameter. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted @@ -186,14 +189,14 @@ public Mono> deleteSessionFileWithResponse(String agentName, Stri */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono uploadSessionFile(String agentName, String sessionId, String path, + public Mono uploadSessionFile(String agentName, String agentSessionId, String path, BinaryData content, AgentDefinitionOptInKeys foundryFeatures) { // Generated convenience method for uploadSessionFileWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - return uploadSessionFileWithResponse(agentName, sessionId, path, content, requestOptions) + return uploadSessionFileWithResponse(agentName, agentSessionId, path, content, requestOptions) .flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(SessionFileWriteResponse.class)); } @@ -203,7 +206,7 @@ public Mono uploadSessionFile(String agentName, String * Maximum file size is 50 MB. Uploads exceeding this limit return 413 Payload Too Large. * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The destination file path within the sandbox, relative to the session home directory. * @param content The content parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -216,11 +219,11 @@ public Mono uploadSessionFile(String agentName, String */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono uploadSessionFile(String agentName, String sessionId, String path, + public Mono uploadSessionFile(String agentName, String agentSessionId, String path, BinaryData content) { // Generated convenience method for uploadSessionFileWithResponse RequestOptions requestOptions = new RequestOptions(); - return uploadSessionFileWithResponse(agentName, sessionId, path, content, requestOptions) + return uploadSessionFileWithResponse(agentName, agentSessionId, path, content, requestOptions) .flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(SessionFileWriteResponse.class)); } @@ -229,7 +232,7 @@ public Mono uploadSessionFile(String agentName, String * Download a file from the session sandbox as a binary stream. * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The file path to download from the sandbox, relative to the session home directory. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -243,21 +246,22 @@ public Mono uploadSessionFile(String agentName, String */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono downloadSessionFile(String agentName, String sessionId, String path, + public Mono downloadSessionFile(String agentName, String agentSessionId, String path, AgentDefinitionOptInKeys foundryFeatures) { // Generated convenience method for downloadSessionFileWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - return downloadSessionFileWithResponse(agentName, sessionId, path, requestOptions).flatMap(FluxUtil::toMono); + return downloadSessionFileWithResponse(agentName, agentSessionId, path, requestOptions) + .flatMap(FluxUtil::toMono); } /** * Download a file from the session sandbox as a binary stream. * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The file path to download from the sandbox, relative to the session home directory. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -269,10 +273,11 @@ public Mono downloadSessionFile(String agentName, String sessionId, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono downloadSessionFile(String agentName, String sessionId, String path) { + public Mono downloadSessionFile(String agentName, String agentSessionId, String path) { // Generated convenience method for downloadSessionFileWithResponse RequestOptions requestOptions = new RequestOptions(); - return downloadSessionFileWithResponse(agentName, sessionId, path, requestOptions).flatMap(FluxUtil::toMono); + return downloadSessionFileWithResponse(agentName, agentSessionId, path, requestOptions) + .flatMap(FluxUtil::toMono); } /** @@ -280,7 +285,7 @@ public Mono downloadSessionFile(String agentName, String sessionId, * If `recursive` is false (default) and the target is a non-empty directory, the API returns 409 Conflict. * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The file or directory path to delete, relative to the session home directory. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -295,7 +300,7 @@ public Mono downloadSessionFile(String agentName, String sessionId, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteSessionFile(String agentName, String sessionId, String path, + public Mono deleteSessionFile(String agentName, String agentSessionId, String path, AgentDefinitionOptInKeys foundryFeatures, Boolean recursive) { // Generated convenience method for deleteSessionFileWithResponse RequestOptions requestOptions = new RequestOptions(); @@ -305,7 +310,7 @@ public Mono deleteSessionFile(String agentName, String sessionId, String p if (recursive != null) { requestOptions.addQueryParam("recursive", String.valueOf(recursive), false); } - return deleteSessionFileWithResponse(agentName, sessionId, path, requestOptions).flatMap(FluxUtil::toMono); + return deleteSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono); } /** @@ -313,7 +318,7 @@ public Mono deleteSessionFile(String agentName, String sessionId, String p * If `recursive` is false (default) and the target is a non-empty directory, the API returns 409 Conflict. * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The file or directory path to delete, relative to the session home directory. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -325,10 +330,10 @@ public Mono deleteSessionFile(String agentName, String sessionId, String p */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteSessionFile(String agentName, String sessionId, String path) { + public Mono deleteSessionFile(String agentName, String agentSessionId, String path) { // Generated convenience method for deleteSessionFileWithResponse RequestOptions requestOptions = new RequestOptions(); - return deleteSessionFileWithResponse(agentName, sessionId, path, requestOptions).flatMap(FluxUtil::toMono); + return deleteSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono); } /** @@ -340,7 +345,8 @@ public Mono deleteSessionFile(String agentName, String sessionId, String p * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -354,7 +360,7 @@ public Mono deleteSessionFile(String agentName, String sessionId, String p * name: String (Required) * size: long (Required) * is_directory: boolean (Required) - * modified_time: OffsetDateTime (Required) + * modified_time: long (Required) * } * ] * } @@ -362,7 +368,7 @@ public Mono deleteSessionFile(String agentName, String sessionId, String p * * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The directory path to list, relative to the session home directory. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -374,9 +380,9 @@ public Mono deleteSessionFile(String agentName, String sessionId, String p */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getSessionFilesWithResponse(String agentName, String sessionId, String path, + public Mono> getSessionFilesWithResponse(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { - return this.serviceClient.getSessionFilesWithResponseAsync(agentName, sessionId, path, requestOptions); + return this.serviceClient.getSessionFilesWithResponseAsync(agentName, agentSessionId, path, requestOptions); } /** @@ -384,7 +390,7 @@ public Mono> getSessionFilesWithResponse(String agentName, * Returns only the immediate children of the specified directory (non-recursive). * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The directory path to list, relative to the session home directory. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -398,14 +404,14 @@ public Mono> getSessionFilesWithResponse(String agentName, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getSessionFiles(String agentName, String sessionId, String path, + public Mono getSessionFiles(String agentName, String agentSessionId, String path, AgentDefinitionOptInKeys foundryFeatures) { // Generated convenience method for getSessionFilesWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - return getSessionFilesWithResponse(agentName, sessionId, path, requestOptions).flatMap(FluxUtil::toMono) + return getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(SessionDirectoryListResponse.class)); } @@ -414,7 +420,7 @@ public Mono getSessionFiles(String agentName, Stri * Returns only the immediate children of the specified directory (non-recursive). * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The directory path to list, relative to the session home directory. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -426,10 +432,10 @@ public Mono getSessionFiles(String agentName, Stri */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getSessionFiles(String agentName, String sessionId, String path) { + public Mono getSessionFiles(String agentName, String agentSessionId, String path) { // Generated convenience method for getSessionFilesWithResponse RequestOptions requestOptions = new RequestOptions(); - return getSessionFilesWithResponse(agentName, sessionId, path, requestOptions).flatMap(FluxUtil::toMono) + return getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(SessionDirectoryListResponse.class)); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java index dc1e3e309a01..ccb97e53318e 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java @@ -48,7 +48,8 @@ public final class AgentSessionFilesClient { * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -71,7 +72,7 @@ public final class AgentSessionFilesClient { * * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The destination file path within the sandbox, relative to the session home directory. * @param content The content parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -83,9 +84,10 @@ public final class AgentSessionFilesClient { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response uploadSessionFileWithResponse(String agentName, String sessionId, String path, + public Response uploadSessionFileWithResponse(String agentName, String agentSessionId, String path, BinaryData content, RequestOptions requestOptions) { - return this.serviceClient.uploadSessionFileWithResponse(agentName, sessionId, path, content, requestOptions); + return this.serviceClient.uploadSessionFileWithResponse(agentName, agentSessionId, path, content, + requestOptions); } /** @@ -96,7 +98,8 @@ public Response uploadSessionFileWithResponse(String agentName, Stri * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -108,7 +111,7 @@ public Response uploadSessionFileWithResponse(String agentName, Stri * * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The file path to download from the sandbox, relative to the session home directory. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -119,9 +122,9 @@ public Response uploadSessionFileWithResponse(String agentName, Stri */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response downloadSessionFileWithResponse(String agentName, String sessionId, String path, + public Response downloadSessionFileWithResponse(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { - return this.serviceClient.downloadSessionFileWithResponse(agentName, sessionId, path, requestOptions); + return this.serviceClient.downloadSessionFileWithResponse(agentName, agentSessionId, path, requestOptions); } /** @@ -141,12 +144,13 @@ public Response downloadSessionFileWithResponse(String agentName, St * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The file or directory path to delete, relative to the session home directory. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -157,9 +161,9 @@ public Response downloadSessionFileWithResponse(String agentName, St */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteSessionFileWithResponse(String agentName, String sessionId, String path, + public Response deleteSessionFileWithResponse(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { - return this.serviceClient.deleteSessionFileWithResponse(agentName, sessionId, path, requestOptions); + return this.serviceClient.deleteSessionFileWithResponse(agentName, agentSessionId, path, requestOptions); } /** @@ -167,7 +171,7 @@ public Response deleteSessionFileWithResponse(String agentName, String ses * Maximum file size is 50 MB. Uploads exceeding this limit return 413 Payload Too Large. * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The destination file path within the sandbox, relative to the session home directory. * @param content The content parameter. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted @@ -182,14 +186,14 @@ public Response deleteSessionFileWithResponse(String agentName, String ses */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SessionFileWriteResponse uploadSessionFile(String agentName, String sessionId, String path, + public SessionFileWriteResponse uploadSessionFile(String agentName, String agentSessionId, String path, BinaryData content, AgentDefinitionOptInKeys foundryFeatures) { // Generated convenience method for uploadSessionFileWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - return uploadSessionFileWithResponse(agentName, sessionId, path, content, requestOptions).getValue() + return uploadSessionFileWithResponse(agentName, agentSessionId, path, content, requestOptions).getValue() .toObject(SessionFileWriteResponse.class); } @@ -198,7 +202,7 @@ public SessionFileWriteResponse uploadSessionFile(String agentName, String sessi * Maximum file size is 50 MB. Uploads exceeding this limit return 413 Payload Too Large. * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The destination file path within the sandbox, relative to the session home directory. * @param content The content parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -211,11 +215,11 @@ public SessionFileWriteResponse uploadSessionFile(String agentName, String sessi */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SessionFileWriteResponse uploadSessionFile(String agentName, String sessionId, String path, + public SessionFileWriteResponse uploadSessionFile(String agentName, String agentSessionId, String path, BinaryData content) { // Generated convenience method for uploadSessionFileWithResponse RequestOptions requestOptions = new RequestOptions(); - return uploadSessionFileWithResponse(agentName, sessionId, path, content, requestOptions).getValue() + return uploadSessionFileWithResponse(agentName, agentSessionId, path, content, requestOptions).getValue() .toObject(SessionFileWriteResponse.class); } @@ -223,7 +227,7 @@ public SessionFileWriteResponse uploadSessionFile(String agentName, String sessi * Download a file from the session sandbox as a binary stream. * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The file path to download from the sandbox, relative to the session home directory. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -237,21 +241,21 @@ public SessionFileWriteResponse uploadSessionFile(String agentName, String sessi */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData downloadSessionFile(String agentName, String sessionId, String path, + public BinaryData downloadSessionFile(String agentName, String agentSessionId, String path, AgentDefinitionOptInKeys foundryFeatures) { // Generated convenience method for downloadSessionFileWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - return downloadSessionFileWithResponse(agentName, sessionId, path, requestOptions).getValue(); + return downloadSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).getValue(); } /** * Download a file from the session sandbox as a binary stream. * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The file path to download from the sandbox, relative to the session home directory. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -263,10 +267,10 @@ public BinaryData downloadSessionFile(String agentName, String sessionId, String */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData downloadSessionFile(String agentName, String sessionId, String path) { + public BinaryData downloadSessionFile(String agentName, String agentSessionId, String path) { // Generated convenience method for downloadSessionFileWithResponse RequestOptions requestOptions = new RequestOptions(); - return downloadSessionFileWithResponse(agentName, sessionId, path, requestOptions).getValue(); + return downloadSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).getValue(); } /** @@ -274,7 +278,7 @@ public BinaryData downloadSessionFile(String agentName, String sessionId, String * If `recursive` is false (default) and the target is a non-empty directory, the API returns 409 Conflict. * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The file or directory path to delete, relative to the session home directory. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -288,7 +292,7 @@ public BinaryData downloadSessionFile(String agentName, String sessionId, String */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteSessionFile(String agentName, String sessionId, String path, + public void deleteSessionFile(String agentName, String agentSessionId, String path, AgentDefinitionOptInKeys foundryFeatures, Boolean recursive) { // Generated convenience method for deleteSessionFileWithResponse RequestOptions requestOptions = new RequestOptions(); @@ -298,7 +302,7 @@ public void deleteSessionFile(String agentName, String sessionId, String path, if (recursive != null) { requestOptions.addQueryParam("recursive", String.valueOf(recursive), false); } - deleteSessionFileWithResponse(agentName, sessionId, path, requestOptions).getValue(); + deleteSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).getValue(); } /** @@ -306,7 +310,7 @@ public void deleteSessionFile(String agentName, String sessionId, String path, * If `recursive` is false (default) and the target is a non-empty directory, the API returns 409 Conflict. * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The file or directory path to delete, relative to the session home directory. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -317,10 +321,10 @@ public void deleteSessionFile(String agentName, String sessionId, String path, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteSessionFile(String agentName, String sessionId, String path) { + public void deleteSessionFile(String agentName, String agentSessionId, String path) { // Generated convenience method for deleteSessionFileWithResponse RequestOptions requestOptions = new RequestOptions(); - deleteSessionFileWithResponse(agentName, sessionId, path, requestOptions).getValue(); + deleteSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).getValue(); } /** @@ -332,7 +336,8 @@ public void deleteSessionFile(String agentName, String sessionId, String path) { * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -346,7 +351,7 @@ public void deleteSessionFile(String agentName, String sessionId, String path) { * name: String (Required) * size: long (Required) * is_directory: boolean (Required) - * modified_time: OffsetDateTime (Required) + * modified_time: long (Required) * } * ] * } @@ -354,7 +359,7 @@ public void deleteSessionFile(String agentName, String sessionId, String path) { * * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The directory path to list, relative to the session home directory. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -365,9 +370,9 @@ public void deleteSessionFile(String agentName, String sessionId, String path) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSessionFilesWithResponse(String agentName, String sessionId, String path, + public Response getSessionFilesWithResponse(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { - return this.serviceClient.getSessionFilesWithResponse(agentName, sessionId, path, requestOptions); + return this.serviceClient.getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions); } /** @@ -375,7 +380,7 @@ public Response getSessionFilesWithResponse(String agentName, String * Returns only the immediate children of the specified directory (non-recursive). * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The directory path to list, relative to the session home directory. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -389,14 +394,14 @@ public Response getSessionFilesWithResponse(String agentName, String */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SessionDirectoryListResponse getSessionFiles(String agentName, String sessionId, String path, + public SessionDirectoryListResponse getSessionFiles(String agentName, String agentSessionId, String path, AgentDefinitionOptInKeys foundryFeatures) { // Generated convenience method for getSessionFilesWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - return getSessionFilesWithResponse(agentName, sessionId, path, requestOptions).getValue() + return getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).getValue() .toObject(SessionDirectoryListResponse.class); } @@ -405,7 +410,7 @@ public SessionDirectoryListResponse getSessionFiles(String agentName, String ses * Returns only the immediate children of the specified directory (non-recursive). * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The directory path to list, relative to the session home directory. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -417,10 +422,10 @@ public SessionDirectoryListResponse getSessionFiles(String agentName, String ses */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SessionDirectoryListResponse getSessionFiles(String agentName, String sessionId, String path) { + public SessionDirectoryListResponse getSessionFiles(String agentName, String agentSessionId, String path) { // Generated convenience method for getSessionFilesWithResponse RequestOptions requestOptions = new RequestOptions(); - return getSessionFilesWithResponse(agentName, sessionId, path, requestOptions).getValue() + return getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).getValue() .toObject(SessionDirectoryListResponse.class); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java index 484d71ec69ae..a37b117e1d85 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java @@ -5,6 +5,7 @@ import com.azure.ai.agents.implementation.AgentsImpl; import com.azure.ai.agents.implementation.JsonMergePatchHelper; +import com.azure.ai.agents.implementation.MultipartFormDataHelper; import com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest; import com.azure.ai.agents.implementation.models.CreateAgentOptions; import com.azure.ai.agents.implementation.models.CreateAgentRequest; @@ -20,6 +21,8 @@ import com.azure.ai.agents.models.AgentKind; import com.azure.ai.agents.models.AgentSessionResource; import com.azure.ai.agents.models.AgentVersionDetails; +import com.azure.ai.agents.models.CreateAgentFromCodeContent; +import com.azure.ai.agents.models.CreateAgentVersionFromCodeContent; import com.azure.ai.agents.models.CreateAgentVersionInput; import com.azure.ai.agents.models.PageOrder; import com.azure.ai.agents.models.UpdateAgentDetailsOptions; @@ -83,6 +86,7 @@ public final class AgentsAsyncClient { * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -158,7 +162,8 @@ public Mono> getAgentWithResponse(String agentName, Request * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -203,6 +208,7 @@ public Mono> getAgentWithResponse(String agentName, Request * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -327,6 +333,7 @@ public Mono deleteAgentVersion(String agentName, String agentVersion) { * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -474,7 +481,8 @@ public Mono createAgentVersion(String agentName, AgentDefin * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -560,6 +568,7 @@ public Mono createAgentVersion(String agentName, AgentDefin * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -636,7 +645,8 @@ Mono> createAgentWithResponse(BinaryData createAgentRequest * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -686,6 +696,7 @@ Mono> createAgentWithResponse(BinaryData createAgentRequest * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -835,6 +846,7 @@ Mono updateAgent(String agentName, AgentDefinition definition) { * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -949,6 +961,7 @@ Mono> createAgentFromManifestWithResponse(BinaryData create * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -1058,6 +1071,7 @@ Mono> updateAgentFromManifestWithResponse(String agentName, * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -1282,6 +1296,7 @@ public Mono createAgentVersionFromManifest(String agentName * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -1496,6 +1511,7 @@ public PagedFlux listAgentVersions(String agentName, Intege * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -1855,69 +1871,6 @@ Mono> internalDeleteAgentVersionWithResponse(String agentNa return this.serviceClient.internalDeleteAgentVersionWithResponseAsync(agentName, agentVersion, requestOptions); } - /** - * Creates a new session for an agent endpoint. - * The endpoint resolves the backing agent version from `version_indicator` and - * enforces session ownership using the provided isolation key for session-mutating operations. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     agent_session_id: String (Optional)
-     *     version_indicator (Required): {
-     *         type: String(version_ref) (Required)
-     *     }
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     agent_session_id: String (Required)
-     *     version_indicator (Required): {
-     *         type: String(version_ref) (Required)
-     *     }
-     *     status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required)
-     *     created_at: long (Required)
-     *     last_accessed_at: long (Required)
-     *     expires_at: long (Required)
-     * }
-     * }
-     * 
- * - * @param agentName The name of the agent to create a session for. - * @param isolationKey Isolation key used by the agent endpoint to enforce session ownership for session-mutating - * operations. - * @param createSessionRequest The createSessionRequest parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return an agent session providing a long-lived compute sandbox for hosted agent invocations along with - * {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createSessionWithResponse(String agentName, String isolationKey, - BinaryData createSessionRequest, RequestOptions requestOptions) { - return this.serviceClient.createSessionWithResponseAsync(agentName, isolationKey, createSessionRequest, - requestOptions); - } - /** * Retrieves a session by ID. *

Header Parameters

@@ -1926,7 +1879,8 @@ public Mono> createSessionWithResponse(String agentName, St * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1963,37 +1917,6 @@ public Mono> getSessionWithResponse(String agentName, Strin return this.serviceClient.getSessionWithResponseAsync(agentName, sessionId, requestOptions); } - /** - * Deletes a session synchronously. - * Returns 204 No Content when the session is deleted or does not exist. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - * - * @param agentName The name of the agent. - * @param sessionId The session identifier. - * @param isolationKey Isolation key used by the agent endpoint to enforce session ownership for session-mutating - * operations. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteSessionWithResponse(String agentName, String sessionId, String isolationKey, - RequestOptions requestOptions) { - return this.serviceClient.deleteSessionWithResponseAsync(agentName, sessionId, isolationKey, requestOptions); - } - /** * Returns a list of sessions for the specified agent. *

Query Parameters

@@ -2022,7 +1945,8 @@ public Mono> deleteSessionWithResponse(String agentName, String s * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -2176,71 +2100,6 @@ public Mono createAgentVersion(String agentName, AgentDefin .map(protocolMethodData -> protocolMethodData.toObject(AgentVersionDetails.class)); } - /** - * Creates a new session for an agent endpoint. - * The endpoint resolves the backing agent version from `version_indicator` and - * enforces session ownership using the provided isolation key for session-mutating operations. - * - * @param agentName The name of the agent to create a session for. - * @param isolationKey Isolation key used by the agent endpoint to enforce session ownership for session-mutating - * operations. - * @param versionIndicator Determines which agent version backs the session. - * @param agentSessionId Optional caller-provided session ID. If specified, it must be unique within the agent - * endpoint. Auto-generated if omitted. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an agent session providing a long-lived compute sandbox for hosted agent invocations on successful - * completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createSession(String agentName, String isolationKey, - VersionIndicator versionIndicator, String agentSessionId) { - // Generated convenience method for createSessionWithResponse - RequestOptions requestOptions = new RequestOptions(); - CreateSessionRequest createSessionRequestObj - = new CreateSessionRequest(versionIndicator).setAgentSessionId(agentSessionId); - BinaryData createSessionRequest = BinaryData.fromObject(createSessionRequestObj); - return createSessionWithResponse(agentName, isolationKey, createSessionRequest, requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(AgentSessionResource.class)); - } - - /** - * Creates a new session for an agent endpoint. - * The endpoint resolves the backing agent version from `version_indicator` and - * enforces session ownership using the provided isolation key for session-mutating operations. - * - * @param agentName The name of the agent to create a session for. - * @param isolationKey Isolation key used by the agent endpoint to enforce session ownership for session-mutating - * operations. - * @param versionIndicator Determines which agent version backs the session. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an agent session providing a long-lived compute sandbox for hosted agent invocations on successful - * completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createSession(String agentName, String isolationKey, - VersionIndicator versionIndicator) { - // Generated convenience method for createSessionWithResponse - RequestOptions requestOptions = new RequestOptions(); - CreateSessionRequest createSessionRequestObj = new CreateSessionRequest(versionIndicator); - BinaryData createSessionRequest = BinaryData.fromObject(createSessionRequestObj); - return createSessionWithResponse(agentName, isolationKey, createSessionRequest, requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(AgentSessionResource.class)); - } - /** * Retrieves a session by ID. * @@ -2293,60 +2152,6 @@ public Mono getSession(String agentName, String sessionId) .map(protocolMethodData -> protocolMethodData.toObject(AgentSessionResource.class)); } - /** - * Deletes a session synchronously. - * Returns 204 No Content when the session is deleted or does not exist. - * - * @param agentName The name of the agent. - * @param sessionId The session identifier. - * @param isolationKey Isolation key used by the agent endpoint to enforce session ownership for session-mutating - * operations. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteSession(String agentName, String sessionId, String isolationKey, - AgentDefinitionOptInKeys foundryFeatures) { - // Generated convenience method for deleteSessionWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return deleteSessionWithResponse(agentName, sessionId, isolationKey, requestOptions).flatMap(FluxUtil::toMono); - } - - /** - * Deletes a session synchronously. - * Returns 204 No Content when the session is deleted or does not exist. - * - * @param agentName The name of the agent. - * @param sessionId The session identifier. - * @param isolationKey Isolation key used by the agent endpoint to enforce session ownership for session-mutating - * operations. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteSession(String agentName, String sessionId, String isolationKey) { - // Generated convenience method for deleteSessionWithResponse - RequestOptions requestOptions = new RequestOptions(); - return deleteSessionWithResponse(agentName, sessionId, isolationKey, requestOptions).flatMap(FluxUtil::toMono); - } - /** * Returns a list of sessions for the specified agent. * @@ -2475,7 +2280,8 @@ public PagedFlux listSessions(String agentName) { * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -2518,7 +2324,8 @@ public Mono> getSessionLogStreamWithResponse(String agentNa * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -2590,6 +2397,7 @@ public Mono> getSessionLogStreamWithResponse(String agentNa * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -2798,4 +2606,917 @@ public Mono updateAgentDetails(String agentName, UpdateAgentDetail .flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(AgentDetails.class)); } + + /** + * Creates a new code-based agent. Uploads the code zip and creates the agent in a single call. + * The agent name is provided in the `x-ms-agent-name` header since POST /agents has no name in the URL path. + * The SHA-256 hex digest of the zip is provided in the `x-ms-code-zip-sha256` header for integrity and dedup. + * The request body is multipart/form-data with a JSON metadata part and a binary code part (part order is + * irrelevant). + * Maximum upload size is 250 MB. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *     id: String (Required)
+     *     name: String (Required)
+     *     versions (Required): {
+     *         latest (Required): {
+     *             metadata (Required): {
+     *                 String: String (Required)
+     *             }
+     *             object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *             id: String (Required)
+     *             name: String (Required)
+     *             version: String (Required)
+     *             description: String (Optional)
+     *             created_at: long (Required)
+     *             definition (Required): {
+     *                 kind: String(prompt/hosted/workflow) (Required)
+     *                 rai_config (Optional): {
+     *                     rai_policy_name: String (Required)
+     *                 }
+     *             }
+     *             status: String(creating/active/failed/deleting/deleted) (Optional)
+     *             instance_identity (Optional): {
+     *                 principal_id: String (Required)
+     *                 client_id: String (Required)
+     *             }
+     *             blueprint (Optional): (recursive schema, see blueprint above)
+     *             blueprint_reference (Optional): {
+     *                 type: String(ManagedAgentIdentityBlueprint) (Required)
+     *             }
+     *             agent_guid: String (Optional)
+     *         }
+     *     }
+     *     agent_endpoint (Optional): {
+     *         version_selector (Optional): {
+     *             version_selection_rules (Optional, Required on create): [
+     *                  (Optional, Required on create){
+     *                     type: String(FixedRatio) (Required)
+     *                     agent_version: String (Optional, Required on create)
+     *                 }
+     *             ]
+     *         }
+     *         protocols (Optional): [
+     *             String(activity/responses/a2a/invocations) (Optional)
+     *         ]
+     *         authorization_schemes (Optional): [
+     *              (Optional){
+     *                 type: String(Entra/BotService/BotServiceRbac) (Required)
+     *             }
+     *         ]
+     *     }
+     *     instance_identity (Optional): (recursive schema, see instance_identity above)
+     *     blueprint (Optional): (recursive schema, see blueprint above)
+     *     blueprint_reference (Optional): (recursive schema, see blueprint_reference above)
+     *     agent_card (Optional): {
+     *         version: String (Optional, Required on create)
+     *         description: String (Optional)
+     *         skills (Optional, Required on create): [
+     *              (Optional, Required on create){
+     *                 id: String (Optional, Required on create)
+     *                 name: String (Optional, Required on create)
+     *                 description: String (Optional)
+     *                 tags (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 examples (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *     }
+     * }
+     * }
+     * 
+ * + * @param agentName The unique name that identifies the agent. Max 63 chars, must start and end with alphanumeric, + * hyphens allowed in the middle. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> createAgentFromCodeWithResponse(String agentName, String codeZipSha256, + BinaryData content, RequestOptions requestOptions) { + // Operation 'createAgentFromCode' is of content-type 'multipart/form-data'. Protocol API is not usable and + // hence not generated. + return this.serviceClient.createAgentFromCodeWithResponseAsync(agentName, codeZipSha256, content, + requestOptions); + } + + /** + * Updates a code-based agent by uploading new code and creating a new version. + * If the code and definition are unchanged (matched by x-ms-code-zip-sha256 header), returns the existing version. + * The request body is multipart/form-data with a JSON metadata part and a binary code part (part order is + * irrelevant). + * Maximum upload size is 250 MB. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *     id: String (Required)
+     *     name: String (Required)
+     *     versions (Required): {
+     *         latest (Required): {
+     *             metadata (Required): {
+     *                 String: String (Required)
+     *             }
+     *             object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *             id: String (Required)
+     *             name: String (Required)
+     *             version: String (Required)
+     *             description: String (Optional)
+     *             created_at: long (Required)
+     *             definition (Required): {
+     *                 kind: String(prompt/hosted/workflow) (Required)
+     *                 rai_config (Optional): {
+     *                     rai_policy_name: String (Required)
+     *                 }
+     *             }
+     *             status: String(creating/active/failed/deleting/deleted) (Optional)
+     *             instance_identity (Optional): {
+     *                 principal_id: String (Required)
+     *                 client_id: String (Required)
+     *             }
+     *             blueprint (Optional): (recursive schema, see blueprint above)
+     *             blueprint_reference (Optional): {
+     *                 type: String(ManagedAgentIdentityBlueprint) (Required)
+     *             }
+     *             agent_guid: String (Optional)
+     *         }
+     *     }
+     *     agent_endpoint (Optional): {
+     *         version_selector (Optional): {
+     *             version_selection_rules (Optional, Required on create): [
+     *                  (Optional, Required on create){
+     *                     type: String(FixedRatio) (Required)
+     *                     agent_version: String (Optional, Required on create)
+     *                 }
+     *             ]
+     *         }
+     *         protocols (Optional): [
+     *             String(activity/responses/a2a/invocations) (Optional)
+     *         ]
+     *         authorization_schemes (Optional): [
+     *              (Optional){
+     *                 type: String(Entra/BotService/BotServiceRbac) (Required)
+     *             }
+     *         ]
+     *     }
+     *     instance_identity (Optional): (recursive schema, see instance_identity above)
+     *     blueprint (Optional): (recursive schema, see blueprint above)
+     *     blueprint_reference (Optional): (recursive schema, see blueprint_reference above)
+     *     agent_card (Optional): {
+     *         version: String (Optional, Required on create)
+     *         description: String (Optional)
+     *         skills (Optional, Required on create): [
+     *              (Optional, Required on create){
+     *                 id: String (Optional, Required on create)
+     *                 name: String (Optional, Required on create)
+     *                 description: String (Optional)
+     *                 tags (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 examples (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *     }
+     * }
+     * }
+     * 
+ * + * @param agentName The unique name that identifies the agent. Name can be used to retrieve/update/delete the agent. + * - Must start and end with alphanumeric characters, + * - Can contain hyphens in the middle + * - Must not exceed 63 characters. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> updateAgentFromCodeWithResponse(String agentName, String codeZipSha256, + BinaryData content, RequestOptions requestOptions) { + // Operation 'updateAgentFromCode' is of content-type 'multipart/form-data'. Protocol API is not usable and + // hence not generated. + return this.serviceClient.updateAgentFromCodeWithResponseAsync(agentName, codeZipSha256, content, + requestOptions); + } + + /** + * The createAgentVersionFromCode operation. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     metadata (Required): {
+     *         String: String (Required)
+     *     }
+     *     object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *     id: String (Required)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     created_at: long (Required)
+     *     definition (Required): {
+     *         kind: String(prompt/hosted/workflow) (Required)
+     *         rai_config (Optional): {
+     *             rai_policy_name: String (Required)
+     *         }
+     *     }
+     *     status: String(creating/active/failed/deleting/deleted) (Optional)
+     *     instance_identity (Optional): {
+     *         principal_id: String (Required)
+     *         client_id: String (Required)
+     *     }
+     *     blueprint (Optional): (recursive schema, see blueprint above)
+     *     blueprint_reference (Optional): {
+     *         type: String(ManagedAgentIdentityBlueprint) (Required)
+     *     }
+     *     agent_guid: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param agentName The unique name that identifies the agent. Name can be used to retrieve/update/delete the agent. + * - Must start and end with alphanumeric characters, + * - Can contain hyphens in the middle + * - Must not exceed 63 characters. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> createAgentVersionFromCodeWithResponse(String agentName, String codeZipSha256, + BinaryData content, RequestOptions requestOptions) { + // Operation 'createAgentVersionFromCode' is of content-type 'multipart/form-data'. Protocol API is not usable + // and hence not generated. + return this.serviceClient.createAgentVersionFromCodeWithResponseAsync(agentName, codeZipSha256, content, + requestOptions); + } + + /** + * Download the code zip for a specific version of a code-based hosted agent. + * Returns the previously-uploaded zip (`application/zip`). + * The SHA-256 digest of the returned bytes matches the `content_hash` on the agent version's `code_configuration`. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param agentName The name of the agent. + * @param agentVersion The version of the agent whose code zip should be downloaded. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> downloadAgentVersionCodeWithResponse(String agentName, String agentVersion, + RequestOptions requestOptions) { + return this.serviceClient.downloadAgentVersionCodeWithResponseAsync(agentName, agentVersion, requestOptions); + } + + /** + * Download the code zip for the latest version of a code-based hosted agent. + * Returns the previously-uploaded zip (`application/zip`). + * The SHA-256 digest of the returned bytes matches the `content_hash` on the latest version's `code_configuration`. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param agentName The name of the agent whose latest-version code zip should be downloaded. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> downloadAgentCodeWithResponse(String agentName, RequestOptions requestOptions) { + return this.serviceClient.downloadAgentCodeWithResponseAsync(agentName, requestOptions); + } + + /** + * Creates a new session for an agent endpoint. + * The endpoint resolves the backing agent version from `version_indicator` and + * enforces session ownership using the provided isolation key for session-mutating operations. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     agent_session_id: String (Optional)
+     *     version_indicator (Required): {
+     *         type: String(version_ref) (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     agent_session_id: String (Required)
+     *     version_indicator (Required): {
+     *         type: String(version_ref) (Required)
+     *     }
+     *     status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required)
+     *     created_at: long (Required)
+     *     last_accessed_at: long (Required)
+     *     expires_at: long (Required)
+     * }
+     * }
+     * 
+ * + * @param agentName The name of the agent to create a session for. + * @param createSessionRequest The createSessionRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return an agent session providing a long-lived compute sandbox for hosted agent invocations along with + * {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createSessionWithResponse(String agentName, BinaryData createSessionRequest, + RequestOptions requestOptions) { + return this.serviceClient.createSessionWithResponseAsync(agentName, createSessionRequest, requestOptions); + } + + /** + * Deletes a session synchronously. + * Returns 204 No Content when the session is deleted or does not exist. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param agentName The name of the agent. + * @param sessionId The session identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteSessionWithResponse(String agentName, String sessionId, + RequestOptions requestOptions) { + return this.serviceClient.deleteSessionWithResponseAsync(agentName, sessionId, requestOptions); + } + + /** + * Creates a new code-based agent. Uploads the code zip and creates the agent in a single call. + * The agent name is provided in the `x-ms-agent-name` header since POST /agents has no name in the URL path. + * The SHA-256 hex digest of the zip is provided in the `x-ms-code-zip-sha256` header for integrity and dedup. + * The request body is multipart/form-data with a JSON metadata part and a binary code part (part order is + * irrelevant). + * Maximum upload size is 250 MB. + * + * @param agentName The unique name that identifies the agent. Max 63 chars, must start and end with alphanumeric, + * hyphens allowed in the middle. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createAgentFromCode(String agentName, String codeZipSha256, + CreateAgentFromCodeContent content, AgentDefinitionOptInKeys foundryFeatures) { + // Generated convenience method for createAgentFromCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return createAgentFromCodeWithResponse(agentName, codeZipSha256, + new MultipartFormDataHelper(requestOptions).serializeJsonField("metadata", content.getMetadata()) + .serializeFileField("code", content.getCode().getContent(), content.getCode().getContentType(), + content.getCode().getFilename()) + .end() + .getRequestBody(), + requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(AgentDetails.class)); + } + + /** + * Creates a new code-based agent. Uploads the code zip and creates the agent in a single call. + * The agent name is provided in the `x-ms-agent-name` header since POST /agents has no name in the URL path. + * The SHA-256 hex digest of the zip is provided in the `x-ms-code-zip-sha256` header for integrity and dedup. + * The request body is multipart/form-data with a JSON metadata part and a binary code part (part order is + * irrelevant). + * Maximum upload size is 250 MB. + * + * @param agentName The unique name that identifies the agent. Max 63 chars, must start and end with alphanumeric, + * hyphens allowed in the middle. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createAgentFromCode(String agentName, String codeZipSha256, + CreateAgentFromCodeContent content) { + // Generated convenience method for createAgentFromCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createAgentFromCodeWithResponse(agentName, codeZipSha256, + new MultipartFormDataHelper(requestOptions).serializeJsonField("metadata", content.getMetadata()) + .serializeFileField("code", content.getCode().getContent(), content.getCode().getContentType(), + content.getCode().getFilename()) + .end() + .getRequestBody(), + requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(AgentDetails.class)); + } + + /** + * Updates a code-based agent by uploading new code and creating a new version. + * If the code and definition are unchanged (matched by x-ms-code-zip-sha256 header), returns the existing version. + * The request body is multipart/form-data with a JSON metadata part and a binary code part (part order is + * irrelevant). + * Maximum upload size is 250 MB. + * + * @param agentName The unique name that identifies the agent. Name can be used to retrieve/update/delete the agent. + * - Must start and end with alphanumeric characters, + * - Can contain hyphens in the middle + * - Must not exceed 63 characters. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono updateAgentFromCode(String agentName, String codeZipSha256, + CreateAgentVersionFromCodeContent content, AgentDefinitionOptInKeys foundryFeatures) { + // Generated convenience method for updateAgentFromCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return updateAgentFromCodeWithResponse(agentName, codeZipSha256, + new MultipartFormDataHelper(requestOptions).serializeJsonField("metadata", content.getMetadata()) + .serializeFileField("code", content.getCode().getContent(), content.getCode().getContentType(), + content.getCode().getFilename()) + .end() + .getRequestBody(), + requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(AgentDetails.class)); + } + + /** + * Updates a code-based agent by uploading new code and creating a new version. + * If the code and definition are unchanged (matched by x-ms-code-zip-sha256 header), returns the existing version. + * The request body is multipart/form-data with a JSON metadata part and a binary code part (part order is + * irrelevant). + * Maximum upload size is 250 MB. + * + * @param agentName The unique name that identifies the agent. Name can be used to retrieve/update/delete the agent. + * - Must start and end with alphanumeric characters, + * - Can contain hyphens in the middle + * - Must not exceed 63 characters. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono updateAgentFromCode(String agentName, String codeZipSha256, + CreateAgentVersionFromCodeContent content) { + // Generated convenience method for updateAgentFromCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + return updateAgentFromCodeWithResponse(agentName, codeZipSha256, + new MultipartFormDataHelper(requestOptions).serializeJsonField("metadata", content.getMetadata()) + .serializeFileField("code", content.getCode().getContent(), content.getCode().getContentType(), + content.getCode().getFilename()) + .end() + .getRequestBody(), + requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(AgentDetails.class)); + } + + /** + * The createAgentVersionFromCode operation. + * + * @param agentName The unique name that identifies the agent. Name can be used to retrieve/update/delete the agent. + * - Must start and end with alphanumeric characters, + * - Can contain hyphens in the middle + * - Must not exceed 63 characters. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createAgentVersionFromCode(String agentName, String codeZipSha256, + CreateAgentVersionFromCodeContent content, AgentDefinitionOptInKeys foundryFeatures) { + // Generated convenience method for createAgentVersionFromCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return createAgentVersionFromCodeWithResponse(agentName, codeZipSha256, + new MultipartFormDataHelper(requestOptions).serializeJsonField("metadata", content.getMetadata()) + .serializeFileField("code", content.getCode().getContent(), content.getCode().getContentType(), + content.getCode().getFilename()) + .end() + .getRequestBody(), + requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(AgentVersionDetails.class)); + } + + /** + * The createAgentVersionFromCode operation. + * + * @param agentName The unique name that identifies the agent. Name can be used to retrieve/update/delete the agent. + * - Must start and end with alphanumeric characters, + * - Can contain hyphens in the middle + * - Must not exceed 63 characters. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createAgentVersionFromCode(String agentName, String codeZipSha256, + CreateAgentVersionFromCodeContent content) { + // Generated convenience method for createAgentVersionFromCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createAgentVersionFromCodeWithResponse(agentName, codeZipSha256, + new MultipartFormDataHelper(requestOptions).serializeJsonField("metadata", content.getMetadata()) + .serializeFileField("code", content.getCode().getContent(), content.getCode().getContentType(), + content.getCode().getFilename()) + .end() + .getRequestBody(), + requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(AgentVersionDetails.class)); + } + + /** + * Download the code zip for a specific version of a code-based hosted agent. + * Returns the previously-uploaded zip (`application/zip`). + * The SHA-256 digest of the returned bytes matches the `content_hash` on the agent version's `code_configuration`. + * + * @param agentName The name of the agent. + * @param agentVersion The version of the agent whose code zip should be downloaded. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono downloadAgentVersionCode(String agentName, String agentVersion, + AgentDefinitionOptInKeys foundryFeatures) { + // Generated convenience method for downloadAgentVersionCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return downloadAgentVersionCodeWithResponse(agentName, agentVersion, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Download the code zip for a specific version of a code-based hosted agent. + * Returns the previously-uploaded zip (`application/zip`). + * The SHA-256 digest of the returned bytes matches the `content_hash` on the agent version's `code_configuration`. + * + * @param agentName The name of the agent. + * @param agentVersion The version of the agent whose code zip should be downloaded. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono downloadAgentVersionCode(String agentName, String agentVersion) { + // Generated convenience method for downloadAgentVersionCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + return downloadAgentVersionCodeWithResponse(agentName, agentVersion, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Download the code zip for the latest version of a code-based hosted agent. + * Returns the previously-uploaded zip (`application/zip`). + * The SHA-256 digest of the returned bytes matches the `content_hash` on the latest version's `code_configuration`. + * + * @param agentName The name of the agent whose latest-version code zip should be downloaded. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono downloadAgentCode(String agentName, AgentDefinitionOptInKeys foundryFeatures) { + // Generated convenience method for downloadAgentCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return downloadAgentCodeWithResponse(agentName, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Download the code zip for the latest version of a code-based hosted agent. + * Returns the previously-uploaded zip (`application/zip`). + * The SHA-256 digest of the returned bytes matches the `content_hash` on the latest version's `code_configuration`. + * + * @param agentName The name of the agent whose latest-version code zip should be downloaded. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono downloadAgentCode(String agentName) { + // Generated convenience method for downloadAgentCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + return downloadAgentCodeWithResponse(agentName, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Creates a new session for an agent endpoint. + * The endpoint resolves the backing agent version from `version_indicator` and + * enforces session ownership using the provided isolation key for session-mutating operations. + * + * @param agentName The name of the agent to create a session for. + * @param versionIndicator Determines which agent version backs the session. + * @param agentSessionId Optional caller-provided session ID. If specified, it must be unique within the agent + * endpoint. Auto-generated if omitted. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return an agent session providing a long-lived compute sandbox for hosted agent invocations on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createSession(String agentName, VersionIndicator versionIndicator, + String agentSessionId) { + // Generated convenience method for createSessionWithResponse + RequestOptions requestOptions = new RequestOptions(); + CreateSessionRequest createSessionRequestObj + = new CreateSessionRequest(versionIndicator).setAgentSessionId(agentSessionId); + BinaryData createSessionRequest = BinaryData.fromObject(createSessionRequestObj); + return createSessionWithResponse(agentName, createSessionRequest, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(AgentSessionResource.class)); + } + + /** + * Creates a new session for an agent endpoint. + * The endpoint resolves the backing agent version from `version_indicator` and + * enforces session ownership using the provided isolation key for session-mutating operations. + * + * @param agentName The name of the agent to create a session for. + * @param versionIndicator Determines which agent version backs the session. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return an agent session providing a long-lived compute sandbox for hosted agent invocations on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createSession(String agentName, VersionIndicator versionIndicator) { + // Generated convenience method for createSessionWithResponse + RequestOptions requestOptions = new RequestOptions(); + CreateSessionRequest createSessionRequestObj = new CreateSessionRequest(versionIndicator); + BinaryData createSessionRequest = BinaryData.fromObject(createSessionRequestObj); + return createSessionWithResponse(agentName, createSessionRequest, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(AgentSessionResource.class)); + } + + /** + * Deletes a session synchronously. + * Returns 204 No Content when the session is deleted or does not exist. + * + * @param agentName The name of the agent. + * @param sessionId The session identifier. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteSession(String agentName, String sessionId, AgentDefinitionOptInKeys foundryFeatures) { + // Generated convenience method for deleteSessionWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return deleteSessionWithResponse(agentName, sessionId, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Deletes a session synchronously. + * Returns 204 No Content when the session is deleted or does not exist. + * + * @param agentName The name of the agent. + * @param sessionId The session identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteSession(String agentName, String sessionId) { + // Generated convenience method for deleteSessionWithResponse + RequestOptions requestOptions = new RequestOptions(); + return deleteSessionWithResponse(agentName, sessionId, requestOptions).flatMap(FluxUtil::toMono); + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java index 9e1a32ac7ee4..005b7bf972ba 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java @@ -5,6 +5,7 @@ import com.azure.ai.agents.implementation.AgentsImpl; import com.azure.ai.agents.implementation.JsonMergePatchHelper; +import com.azure.ai.agents.implementation.MultipartFormDataHelper; import com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest; import com.azure.ai.agents.implementation.models.CreateAgentOptions; import com.azure.ai.agents.implementation.models.CreateAgentRequest; @@ -20,6 +21,8 @@ import com.azure.ai.agents.models.AgentKind; import com.azure.ai.agents.models.AgentSessionResource; import com.azure.ai.agents.models.AgentVersionDetails; +import com.azure.ai.agents.models.CreateAgentFromCodeContent; +import com.azure.ai.agents.models.CreateAgentVersionFromCodeContent; import com.azure.ai.agents.models.CreateAgentVersionInput; import com.azure.ai.agents.models.PageOrder; import com.azure.ai.agents.models.UpdateAgentDetailsOptions; @@ -77,6 +80,7 @@ public final class AgentsClient { * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -152,7 +156,8 @@ public Response getAgentWithResponse(String agentName, RequestOption * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -197,6 +202,7 @@ public Response getAgentWithResponse(String agentName, RequestOption * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -319,6 +325,7 @@ public void deleteAgentVersion(String agentName, String agentVersion) { * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -441,7 +448,8 @@ public AgentVersionDetails createAgentVersion(String agentName, AgentDefinition * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -527,6 +535,7 @@ public AgentVersionDetails createAgentVersion(String agentName, AgentDefinition * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -603,7 +612,8 @@ Response createAgentWithResponse(BinaryData createAgentRequest, Requ * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -653,6 +663,7 @@ Response createAgentWithResponse(BinaryData createAgentRequest, Requ * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -802,6 +813,7 @@ AgentDetails updateAgent(String agentName, AgentDefinition definition) { * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -915,6 +927,7 @@ Response createAgentFromManifestWithResponse(BinaryData createAgentF * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -1024,6 +1037,7 @@ Response updateAgentFromManifestWithResponse(String agentName, * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -1241,6 +1255,7 @@ public AgentVersionDetails createAgentVersionFromManifest(String agentName, Stri * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -1432,6 +1447,7 @@ public PagedIterable listAgentVersions(String agentName, In * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -1766,69 +1782,6 @@ Response internalDeleteAgentVersionWithResponse(String agentName, St return this.serviceClient.internalDeleteAgentVersionWithResponse(agentName, agentVersion, requestOptions); } - /** - * Creates a new session for an agent endpoint. - * The endpoint resolves the backing agent version from `version_indicator` and - * enforces session ownership using the provided isolation key for session-mutating operations. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     agent_session_id: String (Optional)
-     *     version_indicator (Required): {
-     *         type: String(version_ref) (Required)
-     *     }
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     agent_session_id: String (Required)
-     *     version_indicator (Required): {
-     *         type: String(version_ref) (Required)
-     *     }
-     *     status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required)
-     *     created_at: long (Required)
-     *     last_accessed_at: long (Required)
-     *     expires_at: long (Required)
-     * }
-     * }
-     * 
- * - * @param agentName The name of the agent to create a session for. - * @param isolationKey Isolation key used by the agent endpoint to enforce session ownership for session-mutating - * operations. - * @param createSessionRequest The createSessionRequest parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return an agent session providing a long-lived compute sandbox for hosted agent invocations along with - * {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response createSessionWithResponse(String agentName, String isolationKey, - BinaryData createSessionRequest, RequestOptions requestOptions) { - return this.serviceClient.createSessionWithResponse(agentName, isolationKey, createSessionRequest, - requestOptions); - } - /** * Retrieves a session by ID. *

Header Parameters

@@ -1837,7 +1790,8 @@ public Response createSessionWithResponse(String agentName, String i * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1874,37 +1828,6 @@ public Response getSessionWithResponse(String agentName, String sess return this.serviceClient.getSessionWithResponse(agentName, sessionId, requestOptions); } - /** - * Deletes a session synchronously. - * Returns 204 No Content when the session is deleted or does not exist. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - * - * @param agentName The name of the agent. - * @param sessionId The session identifier. - * @param isolationKey Isolation key used by the agent endpoint to enforce session ownership for session-mutating - * operations. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteSessionWithResponse(String agentName, String sessionId, String isolationKey, - RequestOptions requestOptions) { - return this.serviceClient.deleteSessionWithResponse(agentName, sessionId, isolationKey, requestOptions); - } - /** * Returns a list of sessions for the specified agent. *

Query Parameters

@@ -1933,7 +1856,8 @@ public Response deleteSessionWithResponse(String agentName, String session * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -2084,67 +2008,6 @@ public AgentVersionDetails createAgentVersion(String agentName, AgentDefinition .toObject(AgentVersionDetails.class); } - /** - * Creates a new session for an agent endpoint. - * The endpoint resolves the backing agent version from `version_indicator` and - * enforces session ownership using the provided isolation key for session-mutating operations. - * - * @param agentName The name of the agent to create a session for. - * @param isolationKey Isolation key used by the agent endpoint to enforce session ownership for session-mutating - * operations. - * @param versionIndicator Determines which agent version backs the session. - * @param agentSessionId Optional caller-provided session ID. If specified, it must be unique within the agent - * endpoint. Auto-generated if omitted. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an agent session providing a long-lived compute sandbox for hosted agent invocations. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public AgentSessionResource createSession(String agentName, String isolationKey, VersionIndicator versionIndicator, - String agentSessionId) { - // Generated convenience method for createSessionWithResponse - RequestOptions requestOptions = new RequestOptions(); - CreateSessionRequest createSessionRequestObj - = new CreateSessionRequest(versionIndicator).setAgentSessionId(agentSessionId); - BinaryData createSessionRequest = BinaryData.fromObject(createSessionRequestObj); - return createSessionWithResponse(agentName, isolationKey, createSessionRequest, requestOptions).getValue() - .toObject(AgentSessionResource.class); - } - - /** - * Creates a new session for an agent endpoint. - * The endpoint resolves the backing agent version from `version_indicator` and - * enforces session ownership using the provided isolation key for session-mutating operations. - * - * @param agentName The name of the agent to create a session for. - * @param isolationKey Isolation key used by the agent endpoint to enforce session ownership for session-mutating - * operations. - * @param versionIndicator Determines which agent version backs the session. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an agent session providing a long-lived compute sandbox for hosted agent invocations. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public AgentSessionResource createSession(String agentName, String isolationKey, - VersionIndicator versionIndicator) { - // Generated convenience method for createSessionWithResponse - RequestOptions requestOptions = new RequestOptions(); - CreateSessionRequest createSessionRequestObj = new CreateSessionRequest(versionIndicator); - BinaryData createSessionRequest = BinaryData.fromObject(createSessionRequestObj); - return createSessionWithResponse(agentName, isolationKey, createSessionRequest, requestOptions).getValue() - .toObject(AgentSessionResource.class); - } - /** * Retrieves a session by ID. * @@ -2195,58 +2058,6 @@ public AgentSessionResource getSession(String agentName, String sessionId) { .toObject(AgentSessionResource.class); } - /** - * Deletes a session synchronously. - * Returns 204 No Content when the session is deleted or does not exist. - * - * @param agentName The name of the agent. - * @param sessionId The session identifier. - * @param isolationKey Isolation key used by the agent endpoint to enforce session ownership for session-mutating - * operations. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteSession(String agentName, String sessionId, String isolationKey, - AgentDefinitionOptInKeys foundryFeatures) { - // Generated convenience method for deleteSessionWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - deleteSessionWithResponse(agentName, sessionId, isolationKey, requestOptions).getValue(); - } - - /** - * Deletes a session synchronously. - * Returns 204 No Content when the session is deleted or does not exist. - * - * @param agentName The name of the agent. - * @param sessionId The session identifier. - * @param isolationKey Isolation key used by the agent endpoint to enforce session ownership for session-mutating - * operations. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteSession(String agentName, String sessionId, String isolationKey) { - // Generated convenience method for deleteSessionWithResponse - RequestOptions requestOptions = new RequestOptions(); - deleteSessionWithResponse(agentName, sessionId, isolationKey, requestOptions).getValue(); - } - /** * Returns a list of sessions for the specified agent. * @@ -2351,7 +2162,8 @@ public PagedIterable listSessions(String agentName) { * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -2393,7 +2205,8 @@ public Response getSessionLogStreamWithResponse(String agentName, St * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -2465,6 +2278,7 @@ public Response getSessionLogStreamWithResponse(String agentName, St * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -2668,4 +2482,904 @@ public AgentDetails updateAgentDetails(String agentName, UpdateAgentDetailsOptio return updateAgentDetailsWithResponse(agentName, patchAgentObjectRequestInBinaryData, requestOptions).getValue() .toObject(AgentDetails.class); } + + /** + * Creates a new code-based agent. Uploads the code zip and creates the agent in a single call. + * The agent name is provided in the `x-ms-agent-name` header since POST /agents has no name in the URL path. + * The SHA-256 hex digest of the zip is provided in the `x-ms-code-zip-sha256` header for integrity and dedup. + * The request body is multipart/form-data with a JSON metadata part and a binary code part (part order is + * irrelevant). + * Maximum upload size is 250 MB. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *     id: String (Required)
+     *     name: String (Required)
+     *     versions (Required): {
+     *         latest (Required): {
+     *             metadata (Required): {
+     *                 String: String (Required)
+     *             }
+     *             object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *             id: String (Required)
+     *             name: String (Required)
+     *             version: String (Required)
+     *             description: String (Optional)
+     *             created_at: long (Required)
+     *             definition (Required): {
+     *                 kind: String(prompt/hosted/workflow) (Required)
+     *                 rai_config (Optional): {
+     *                     rai_policy_name: String (Required)
+     *                 }
+     *             }
+     *             status: String(creating/active/failed/deleting/deleted) (Optional)
+     *             instance_identity (Optional): {
+     *                 principal_id: String (Required)
+     *                 client_id: String (Required)
+     *             }
+     *             blueprint (Optional): (recursive schema, see blueprint above)
+     *             blueprint_reference (Optional): {
+     *                 type: String(ManagedAgentIdentityBlueprint) (Required)
+     *             }
+     *             agent_guid: String (Optional)
+     *         }
+     *     }
+     *     agent_endpoint (Optional): {
+     *         version_selector (Optional): {
+     *             version_selection_rules (Optional, Required on create): [
+     *                  (Optional, Required on create){
+     *                     type: String(FixedRatio) (Required)
+     *                     agent_version: String (Optional, Required on create)
+     *                 }
+     *             ]
+     *         }
+     *         protocols (Optional): [
+     *             String(activity/responses/a2a/invocations) (Optional)
+     *         ]
+     *         authorization_schemes (Optional): [
+     *              (Optional){
+     *                 type: String(Entra/BotService/BotServiceRbac) (Required)
+     *             }
+     *         ]
+     *     }
+     *     instance_identity (Optional): (recursive schema, see instance_identity above)
+     *     blueprint (Optional): (recursive schema, see blueprint above)
+     *     blueprint_reference (Optional): (recursive schema, see blueprint_reference above)
+     *     agent_card (Optional): {
+     *         version: String (Optional, Required on create)
+     *         description: String (Optional)
+     *         skills (Optional, Required on create): [
+     *              (Optional, Required on create){
+     *                 id: String (Optional, Required on create)
+     *                 name: String (Optional, Required on create)
+     *                 description: String (Optional)
+     *                 tags (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 examples (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *     }
+     * }
+     * }
+     * 
+ * + * @param agentName The unique name that identifies the agent. Max 63 chars, must start and end with alphanumeric, + * hyphens allowed in the middle. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Response createAgentFromCodeWithResponse(String agentName, String codeZipSha256, BinaryData content, + RequestOptions requestOptions) { + // Operation 'createAgentFromCode' is of content-type 'multipart/form-data'. Protocol API is not usable and + // hence not generated. + return this.serviceClient.createAgentFromCodeWithResponse(agentName, codeZipSha256, content, requestOptions); + } + + /** + * Updates a code-based agent by uploading new code and creating a new version. + * If the code and definition are unchanged (matched by x-ms-code-zip-sha256 header), returns the existing version. + * The request body is multipart/form-data with a JSON metadata part and a binary code part (part order is + * irrelevant). + * Maximum upload size is 250 MB. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *     id: String (Required)
+     *     name: String (Required)
+     *     versions (Required): {
+     *         latest (Required): {
+     *             metadata (Required): {
+     *                 String: String (Required)
+     *             }
+     *             object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *             id: String (Required)
+     *             name: String (Required)
+     *             version: String (Required)
+     *             description: String (Optional)
+     *             created_at: long (Required)
+     *             definition (Required): {
+     *                 kind: String(prompt/hosted/workflow) (Required)
+     *                 rai_config (Optional): {
+     *                     rai_policy_name: String (Required)
+     *                 }
+     *             }
+     *             status: String(creating/active/failed/deleting/deleted) (Optional)
+     *             instance_identity (Optional): {
+     *                 principal_id: String (Required)
+     *                 client_id: String (Required)
+     *             }
+     *             blueprint (Optional): (recursive schema, see blueprint above)
+     *             blueprint_reference (Optional): {
+     *                 type: String(ManagedAgentIdentityBlueprint) (Required)
+     *             }
+     *             agent_guid: String (Optional)
+     *         }
+     *     }
+     *     agent_endpoint (Optional): {
+     *         version_selector (Optional): {
+     *             version_selection_rules (Optional, Required on create): [
+     *                  (Optional, Required on create){
+     *                     type: String(FixedRatio) (Required)
+     *                     agent_version: String (Optional, Required on create)
+     *                 }
+     *             ]
+     *         }
+     *         protocols (Optional): [
+     *             String(activity/responses/a2a/invocations) (Optional)
+     *         ]
+     *         authorization_schemes (Optional): [
+     *              (Optional){
+     *                 type: String(Entra/BotService/BotServiceRbac) (Required)
+     *             }
+     *         ]
+     *     }
+     *     instance_identity (Optional): (recursive schema, see instance_identity above)
+     *     blueprint (Optional): (recursive schema, see blueprint above)
+     *     blueprint_reference (Optional): (recursive schema, see blueprint_reference above)
+     *     agent_card (Optional): {
+     *         version: String (Optional, Required on create)
+     *         description: String (Optional)
+     *         skills (Optional, Required on create): [
+     *              (Optional, Required on create){
+     *                 id: String (Optional, Required on create)
+     *                 name: String (Optional, Required on create)
+     *                 description: String (Optional)
+     *                 tags (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 examples (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *     }
+     * }
+     * }
+     * 
+ * + * @param agentName The unique name that identifies the agent. Name can be used to retrieve/update/delete the agent. + * - Must start and end with alphanumeric characters, + * - Can contain hyphens in the middle + * - Must not exceed 63 characters. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Response updateAgentFromCodeWithResponse(String agentName, String codeZipSha256, BinaryData content, + RequestOptions requestOptions) { + // Operation 'updateAgentFromCode' is of content-type 'multipart/form-data'. Protocol API is not usable and + // hence not generated. + return this.serviceClient.updateAgentFromCodeWithResponse(agentName, codeZipSha256, content, requestOptions); + } + + /** + * The createAgentVersionFromCode operation. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     metadata (Required): {
+     *         String: String (Required)
+     *     }
+     *     object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *     id: String (Required)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     created_at: long (Required)
+     *     definition (Required): {
+     *         kind: String(prompt/hosted/workflow) (Required)
+     *         rai_config (Optional): {
+     *             rai_policy_name: String (Required)
+     *         }
+     *     }
+     *     status: String(creating/active/failed/deleting/deleted) (Optional)
+     *     instance_identity (Optional): {
+     *         principal_id: String (Required)
+     *         client_id: String (Required)
+     *     }
+     *     blueprint (Optional): (recursive schema, see blueprint above)
+     *     blueprint_reference (Optional): {
+     *         type: String(ManagedAgentIdentityBlueprint) (Required)
+     *     }
+     *     agent_guid: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param agentName The unique name that identifies the agent. Name can be used to retrieve/update/delete the agent. + * - Must start and end with alphanumeric characters, + * - Can contain hyphens in the middle + * - Must not exceed 63 characters. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Response createAgentVersionFromCodeWithResponse(String agentName, String codeZipSha256, + BinaryData content, RequestOptions requestOptions) { + // Operation 'createAgentVersionFromCode' is of content-type 'multipart/form-data'. Protocol API is not usable + // and hence not generated. + return this.serviceClient.createAgentVersionFromCodeWithResponse(agentName, codeZipSha256, content, + requestOptions); + } + + /** + * Download the code zip for a specific version of a code-based hosted agent. + * Returns the previously-uploaded zip (`application/zip`). + * The SHA-256 digest of the returned bytes matches the `content_hash` on the agent version's `code_configuration`. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param agentName The name of the agent. + * @param agentVersion The version of the agent whose code zip should be downloaded. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response downloadAgentVersionCodeWithResponse(String agentName, String agentVersion, + RequestOptions requestOptions) { + return this.serviceClient.downloadAgentVersionCodeWithResponse(agentName, agentVersion, requestOptions); + } + + /** + * Download the code zip for the latest version of a code-based hosted agent. + * Returns the previously-uploaded zip (`application/zip`). + * The SHA-256 digest of the returned bytes matches the `content_hash` on the latest version's `code_configuration`. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param agentName The name of the agent whose latest-version code zip should be downloaded. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response downloadAgentCodeWithResponse(String agentName, RequestOptions requestOptions) { + return this.serviceClient.downloadAgentCodeWithResponse(agentName, requestOptions); + } + + /** + * Creates a new session for an agent endpoint. + * The endpoint resolves the backing agent version from `version_indicator` and + * enforces session ownership using the provided isolation key for session-mutating operations. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     agent_session_id: String (Optional)
+     *     version_indicator (Required): {
+     *         type: String(version_ref) (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     agent_session_id: String (Required)
+     *     version_indicator (Required): {
+     *         type: String(version_ref) (Required)
+     *     }
+     *     status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required)
+     *     created_at: long (Required)
+     *     last_accessed_at: long (Required)
+     *     expires_at: long (Required)
+     * }
+     * }
+     * 
+ * + * @param agentName The name of the agent to create a session for. + * @param createSessionRequest The createSessionRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return an agent session providing a long-lived compute sandbox for hosted agent invocations along with + * {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createSessionWithResponse(String agentName, BinaryData createSessionRequest, + RequestOptions requestOptions) { + return this.serviceClient.createSessionWithResponse(agentName, createSessionRequest, requestOptions); + } + + /** + * Deletes a session synchronously. + * Returns 204 No Content when the session is deleted or does not exist. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param agentName The name of the agent. + * @param sessionId The session identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteSessionWithResponse(String agentName, String sessionId, RequestOptions requestOptions) { + return this.serviceClient.deleteSessionWithResponse(agentName, sessionId, requestOptions); + } + + /** + * Creates a new code-based agent. Uploads the code zip and creates the agent in a single call. + * The agent name is provided in the `x-ms-agent-name` header since POST /agents has no name in the URL path. + * The SHA-256 hex digest of the zip is provided in the `x-ms-code-zip-sha256` header for integrity and dedup. + * The request body is multipart/form-data with a JSON metadata part and a binary code part (part order is + * irrelevant). + * Maximum upload size is 250 MB. + * + * @param agentName The unique name that identifies the agent. Max 63 chars, must start and end with alphanumeric, + * hyphens allowed in the middle. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public AgentDetails createAgentFromCode(String agentName, String codeZipSha256, CreateAgentFromCodeContent content, + AgentDefinitionOptInKeys foundryFeatures) { + // Generated convenience method for createAgentFromCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return createAgentFromCodeWithResponse(agentName, codeZipSha256, + new MultipartFormDataHelper(requestOptions).serializeJsonField("metadata", content.getMetadata()) + .serializeFileField("code", content.getCode().getContent(), content.getCode().getContentType(), + content.getCode().getFilename()) + .end() + .getRequestBody(), + requestOptions).getValue().toObject(AgentDetails.class); + } + + /** + * Creates a new code-based agent. Uploads the code zip and creates the agent in a single call. + * The agent name is provided in the `x-ms-agent-name` header since POST /agents has no name in the URL path. + * The SHA-256 hex digest of the zip is provided in the `x-ms-code-zip-sha256` header for integrity and dedup. + * The request body is multipart/form-data with a JSON metadata part and a binary code part (part order is + * irrelevant). + * Maximum upload size is 250 MB. + * + * @param agentName The unique name that identifies the agent. Max 63 chars, must start and end with alphanumeric, + * hyphens allowed in the middle. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public AgentDetails createAgentFromCode(String agentName, String codeZipSha256, + CreateAgentFromCodeContent content) { + // Generated convenience method for createAgentFromCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createAgentFromCodeWithResponse(agentName, codeZipSha256, + new MultipartFormDataHelper(requestOptions).serializeJsonField("metadata", content.getMetadata()) + .serializeFileField("code", content.getCode().getContent(), content.getCode().getContentType(), + content.getCode().getFilename()) + .end() + .getRequestBody(), + requestOptions).getValue().toObject(AgentDetails.class); + } + + /** + * Updates a code-based agent by uploading new code and creating a new version. + * If the code and definition are unchanged (matched by x-ms-code-zip-sha256 header), returns the existing version. + * The request body is multipart/form-data with a JSON metadata part and a binary code part (part order is + * irrelevant). + * Maximum upload size is 250 MB. + * + * @param agentName The unique name that identifies the agent. Name can be used to retrieve/update/delete the agent. + * - Must start and end with alphanumeric characters, + * - Can contain hyphens in the middle + * - Must not exceed 63 characters. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public AgentDetails updateAgentFromCode(String agentName, String codeZipSha256, + CreateAgentVersionFromCodeContent content, AgentDefinitionOptInKeys foundryFeatures) { + // Generated convenience method for updateAgentFromCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return updateAgentFromCodeWithResponse(agentName, codeZipSha256, + new MultipartFormDataHelper(requestOptions).serializeJsonField("metadata", content.getMetadata()) + .serializeFileField("code", content.getCode().getContent(), content.getCode().getContentType(), + content.getCode().getFilename()) + .end() + .getRequestBody(), + requestOptions).getValue().toObject(AgentDetails.class); + } + + /** + * Updates a code-based agent by uploading new code and creating a new version. + * If the code and definition are unchanged (matched by x-ms-code-zip-sha256 header), returns the existing version. + * The request body is multipart/form-data with a JSON metadata part and a binary code part (part order is + * irrelevant). + * Maximum upload size is 250 MB. + * + * @param agentName The unique name that identifies the agent. Name can be used to retrieve/update/delete the agent. + * - Must start and end with alphanumeric characters, + * - Can contain hyphens in the middle + * - Must not exceed 63 characters. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public AgentDetails updateAgentFromCode(String agentName, String codeZipSha256, + CreateAgentVersionFromCodeContent content) { + // Generated convenience method for updateAgentFromCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + return updateAgentFromCodeWithResponse(agentName, codeZipSha256, + new MultipartFormDataHelper(requestOptions).serializeJsonField("metadata", content.getMetadata()) + .serializeFileField("code", content.getCode().getContent(), content.getCode().getContentType(), + content.getCode().getFilename()) + .end() + .getRequestBody(), + requestOptions).getValue().toObject(AgentDetails.class); + } + + /** + * The createAgentVersionFromCode operation. + * + * @param agentName The unique name that identifies the agent. Name can be used to retrieve/update/delete the agent. + * - Must start and end with alphanumeric characters, + * - Can contain hyphens in the middle + * - Must not exceed 63 characters. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public AgentVersionDetails createAgentVersionFromCode(String agentName, String codeZipSha256, + CreateAgentVersionFromCodeContent content, AgentDefinitionOptInKeys foundryFeatures) { + // Generated convenience method for createAgentVersionFromCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return createAgentVersionFromCodeWithResponse(agentName, codeZipSha256, + new MultipartFormDataHelper(requestOptions).serializeJsonField("metadata", content.getMetadata()) + .serializeFileField("code", content.getCode().getContent(), content.getCode().getContentType(), + content.getCode().getFilename()) + .end() + .getRequestBody(), + requestOptions).getValue().toObject(AgentVersionDetails.class); + } + + /** + * The createAgentVersionFromCode operation. + * + * @param agentName The unique name that identifies the agent. Name can be used to retrieve/update/delete the agent. + * - Must start and end with alphanumeric characters, + * - Can contain hyphens in the middle + * - Must not exceed 63 characters. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public AgentVersionDetails createAgentVersionFromCode(String agentName, String codeZipSha256, + CreateAgentVersionFromCodeContent content) { + // Generated convenience method for createAgentVersionFromCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createAgentVersionFromCodeWithResponse(agentName, codeZipSha256, + new MultipartFormDataHelper(requestOptions).serializeJsonField("metadata", content.getMetadata()) + .serializeFileField("code", content.getCode().getContent(), content.getCode().getContentType(), + content.getCode().getFilename()) + .end() + .getRequestBody(), + requestOptions).getValue().toObject(AgentVersionDetails.class); + } + + /** + * Download the code zip for a specific version of a code-based hosted agent. + * Returns the previously-uploaded zip (`application/zip`). + * The SHA-256 digest of the returned bytes matches the `content_hash` on the agent version's `code_configuration`. + * + * @param agentName The name of the agent. + * @param agentVersion The version of the agent whose code zip should be downloaded. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData downloadAgentVersionCode(String agentName, String agentVersion, + AgentDefinitionOptInKeys foundryFeatures) { + // Generated convenience method for downloadAgentVersionCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return downloadAgentVersionCodeWithResponse(agentName, agentVersion, requestOptions).getValue(); + } + + /** + * Download the code zip for a specific version of a code-based hosted agent. + * Returns the previously-uploaded zip (`application/zip`). + * The SHA-256 digest of the returned bytes matches the `content_hash` on the agent version's `code_configuration`. + * + * @param agentName The name of the agent. + * @param agentVersion The version of the agent whose code zip should be downloaded. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData downloadAgentVersionCode(String agentName, String agentVersion) { + // Generated convenience method for downloadAgentVersionCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + return downloadAgentVersionCodeWithResponse(agentName, agentVersion, requestOptions).getValue(); + } + + /** + * Download the code zip for the latest version of a code-based hosted agent. + * Returns the previously-uploaded zip (`application/zip`). + * The SHA-256 digest of the returned bytes matches the `content_hash` on the latest version's `code_configuration`. + * + * @param agentName The name of the agent whose latest-version code zip should be downloaded. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData downloadAgentCode(String agentName, AgentDefinitionOptInKeys foundryFeatures) { + // Generated convenience method for downloadAgentCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return downloadAgentCodeWithResponse(agentName, requestOptions).getValue(); + } + + /** + * Download the code zip for the latest version of a code-based hosted agent. + * Returns the previously-uploaded zip (`application/zip`). + * The SHA-256 digest of the returned bytes matches the `content_hash` on the latest version's `code_configuration`. + * + * @param agentName The name of the agent whose latest-version code zip should be downloaded. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData downloadAgentCode(String agentName) { + // Generated convenience method for downloadAgentCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + return downloadAgentCodeWithResponse(agentName, requestOptions).getValue(); + } + + /** + * Creates a new session for an agent endpoint. + * The endpoint resolves the backing agent version from `version_indicator` and + * enforces session ownership using the provided isolation key for session-mutating operations. + * + * @param agentName The name of the agent to create a session for. + * @param versionIndicator Determines which agent version backs the session. + * @param agentSessionId Optional caller-provided session ID. If specified, it must be unique within the agent + * endpoint. Auto-generated if omitted. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return an agent session providing a long-lived compute sandbox for hosted agent invocations. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public AgentSessionResource createSession(String agentName, VersionIndicator versionIndicator, + String agentSessionId) { + // Generated convenience method for createSessionWithResponse + RequestOptions requestOptions = new RequestOptions(); + CreateSessionRequest createSessionRequestObj + = new CreateSessionRequest(versionIndicator).setAgentSessionId(agentSessionId); + BinaryData createSessionRequest = BinaryData.fromObject(createSessionRequestObj); + return createSessionWithResponse(agentName, createSessionRequest, requestOptions).getValue() + .toObject(AgentSessionResource.class); + } + + /** + * Creates a new session for an agent endpoint. + * The endpoint resolves the backing agent version from `version_indicator` and + * enforces session ownership using the provided isolation key for session-mutating operations. + * + * @param agentName The name of the agent to create a session for. + * @param versionIndicator Determines which agent version backs the session. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return an agent session providing a long-lived compute sandbox for hosted agent invocations. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public AgentSessionResource createSession(String agentName, VersionIndicator versionIndicator) { + // Generated convenience method for createSessionWithResponse + RequestOptions requestOptions = new RequestOptions(); + CreateSessionRequest createSessionRequestObj = new CreateSessionRequest(versionIndicator); + BinaryData createSessionRequest = BinaryData.fromObject(createSessionRequestObj); + return createSessionWithResponse(agentName, createSessionRequest, requestOptions).getValue() + .toObject(AgentSessionResource.class); + } + + /** + * Deletes a session synchronously. + * Returns 204 No Content when the session is deleted or does not exist. + * + * @param agentName The name of the agent. + * @param sessionId The session identifier. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteSession(String agentName, String sessionId, AgentDefinitionOptInKeys foundryFeatures) { + // Generated convenience method for deleteSessionWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + deleteSessionWithResponse(agentName, sessionId, requestOptions).getValue(); + } + + /** + * Deletes a session synchronously. + * Returns 204 No Content when the session is deleted or does not exist. + * + * @param agentName The name of the agent. + * @param sessionId The session identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteSession(String agentName, String sessionId) { + // Generated convenience method for deleteSessionWithResponse + RequestOptions requestOptions = new RequestOptions(); + deleteSessionWithResponse(agentName, sessionId, requestOptions).getValue(); + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java index 5d90fd4b70a8..ecc5ca171573 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java @@ -64,7 +64,7 @@ public final class ToolboxesAsyncClient { * } * tools (Required): [ * (Required){ - * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) + * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] * policies (Optional): { @@ -91,7 +91,7 @@ public final class ToolboxesAsyncClient { * created_at: long (Required) * tools (Required): [ * (Required){ - * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) + * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] * policies (Optional): { @@ -103,7 +103,7 @@ public final class ToolboxesAsyncClient { * } * * - * @param toolboxName The name of the toolbox. If the toolbox does not exist, it will be created. + * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param createToolboxVersionRequest The createToolboxVersionRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -114,9 +114,9 @@ public final class ToolboxesAsyncClient { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createToolboxVersionWithResponse(String toolboxName, + public Mono> createToolboxVersionWithResponse(String name, BinaryData createToolboxVersionRequest, RequestOptions requestOptions) { - return this.serviceClient.createToolboxVersionWithResponseAsync(toolboxName, createToolboxVersionRequest, + return this.serviceClient.createToolboxVersionWithResponseAsync(name, createToolboxVersionRequest, requestOptions); } @@ -134,7 +134,7 @@ public Mono> createToolboxVersionWithResponse(String toolbo * } * * - * @param toolboxName The name of the toolbox to retrieve. + * @param name The name of the toolbox to retrieve. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -145,8 +145,8 @@ public Mono> createToolboxVersionWithResponse(String toolbo */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getToolboxWithResponse(String toolboxName, RequestOptions requestOptions) { - return this.serviceClient.getToolboxWithResponseAsync(toolboxName, requestOptions); + public Mono> getToolboxWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.getToolboxWithResponseAsync(name, requestOptions); } /** @@ -233,7 +233,7 @@ public PagedFlux listToolboxes(RequestOptions requestOptions) { * created_at: long (Required) * tools (Required): [ * (Required){ - * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) + * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] * policies (Optional): { @@ -245,7 +245,7 @@ public PagedFlux listToolboxes(RequestOptions requestOptions) { * } * * - * @param toolboxName The name of the toolbox to list versions for. + * @param name The name of the toolbox to list versions for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -255,8 +255,8 @@ public PagedFlux listToolboxes(RequestOptions requestOptions) { */ @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listToolboxVersions(String toolboxName, RequestOptions requestOptions) { - return this.serviceClient.listToolboxVersionsAsync(toolboxName, requestOptions); + public PagedFlux listToolboxVersions(String name, RequestOptions requestOptions) { + return this.serviceClient.listToolboxVersionsAsync(name, requestOptions); } /** @@ -276,7 +276,7 @@ public PagedFlux listToolboxVersions(String toolboxName, RequestOpti * created_at: long (Required) * tools (Required): [ * (Required){ - * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) + * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] * policies (Optional): { @@ -288,7 +288,7 @@ public PagedFlux listToolboxVersions(String toolboxName, RequestOpti * } * * - * @param toolboxName The name of the toolbox. + * @param name The name of the toolbox. * @param version The version identifier to retrieve. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -299,9 +299,9 @@ public PagedFlux listToolboxVersions(String toolboxName, RequestOpti */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getToolboxVersionWithResponse(String toolboxName, String version, + public Mono> getToolboxVersionWithResponse(String name, String version, RequestOptions requestOptions) { - return this.serviceClient.getToolboxVersionWithResponseAsync(toolboxName, version, requestOptions); + return this.serviceClient.getToolboxVersionWithResponseAsync(name, version, requestOptions); } /** @@ -328,7 +328,7 @@ public Mono> getToolboxVersionWithResponse(String toolboxNa * } * * - * @param toolboxName The name of the toolbox to update. + * @param name The name of the toolbox to update. * @param updateToolboxRequest The updateToolboxRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -340,15 +340,15 @@ public Mono> getToolboxVersionWithResponse(String toolboxNa */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateToolboxWithResponse(String toolboxName, BinaryData updateToolboxRequest, + public Mono> updateToolboxWithResponse(String name, BinaryData updateToolboxRequest, RequestOptions requestOptions) { - return this.serviceClient.updateToolboxWithResponseAsync(toolboxName, updateToolboxRequest, requestOptions); + return this.serviceClient.updateToolboxWithResponseAsync(name, updateToolboxRequest, requestOptions); } /** * Delete a toolbox and all its versions. * - * @param toolboxName The name of the toolbox to delete. + * @param name The name of the toolbox to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -358,14 +358,14 @@ public Mono> updateToolboxWithResponse(String toolboxName, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteToolboxWithResponse(String toolboxName, RequestOptions requestOptions) { - return this.serviceClient.deleteToolboxWithResponseAsync(toolboxName, requestOptions); + public Mono> deleteToolboxWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.deleteToolboxWithResponseAsync(name, requestOptions); } /** * Delete a specific version of a toolbox. * - * @param toolboxName The name of the toolbox. + * @param name The name of the toolbox. * @param version The version identifier to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -376,15 +376,15 @@ public Mono> deleteToolboxWithResponse(String toolboxName, Reques */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteToolboxVersionWithResponse(String toolboxName, String version, + public Mono> deleteToolboxVersionWithResponse(String name, String version, RequestOptions requestOptions) { - return this.serviceClient.deleteToolboxVersionWithResponseAsync(toolboxName, version, requestOptions); + return this.serviceClient.deleteToolboxVersionWithResponseAsync(name, version, requestOptions); } /** * Create a new version of a toolbox. If the toolbox does not exist, it will be created. * - * @param toolboxName The name of the toolbox. If the toolbox does not exist, it will be created. + * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param tools The list of tools to include in this version. * @param description A human-readable description of the toolbox. * @param metadata Arbitrary key-value metadata to associate with the toolbox. @@ -399,7 +399,7 @@ public Mono> deleteToolboxVersionWithResponse(String toolboxName, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createToolboxVersion(String toolboxName, List tools, String description, + public Mono createToolboxVersion(String name, List tools, String description, Map metadata, ToolboxPolicies policies) { // Generated convenience method for createToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); @@ -408,7 +408,7 @@ public Mono createToolboxVersion(String toolboxName, List .setMetadata(metadata) .setPolicies(policies); BinaryData createToolboxVersionRequest = BinaryData.fromObject(createToolboxVersionRequestObj); - return createToolboxVersionWithResponse(toolboxName, createToolboxVersionRequest, requestOptions) + return createToolboxVersionWithResponse(name, createToolboxVersionRequest, requestOptions) .flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(ToolboxVersionDetails.class)); } @@ -416,7 +416,7 @@ public Mono createToolboxVersion(String toolboxName, List /** * Create a new version of a toolbox. If the toolbox does not exist, it will be created. * - * @param toolboxName The name of the toolbox. If the toolbox does not exist, it will be created. + * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param tools The list of tools to include in this version. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -428,12 +428,12 @@ public Mono createToolboxVersion(String toolboxName, List */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createToolboxVersion(String toolboxName, List tools) { + public Mono createToolboxVersion(String name, List tools) { // Generated convenience method for createToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); CreateToolboxVersionRequest createToolboxVersionRequestObj = new CreateToolboxVersionRequest(tools); BinaryData createToolboxVersionRequest = BinaryData.fromObject(createToolboxVersionRequestObj); - return createToolboxVersionWithResponse(toolboxName, createToolboxVersionRequest, requestOptions) + return createToolboxVersionWithResponse(name, createToolboxVersionRequest, requestOptions) .flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(ToolboxVersionDetails.class)); } @@ -441,7 +441,7 @@ public Mono createToolboxVersion(String toolboxName, List /** * Retrieve a toolbox. * - * @param toolboxName The name of the toolbox to retrieve. + * @param name The name of the toolbox to retrieve. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -452,10 +452,10 @@ public Mono createToolboxVersion(String toolboxName, List */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getToolbox(String toolboxName) { + public Mono getToolbox(String name) { // Generated convenience method for getToolboxWithResponse RequestOptions requestOptions = new RequestOptions(); - return getToolboxWithResponse(toolboxName, requestOptions).flatMap(FluxUtil::toMono) + return getToolboxWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(ToolboxDetails.class)); } @@ -545,7 +545,7 @@ public PagedFlux listToolboxes() { /** * List all versions of a toolbox. * - * @param toolboxName The name of the toolbox to list versions for. + * @param name The name of the toolbox to list versions for. * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the * default is 20. * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` @@ -566,7 +566,7 @@ public PagedFlux listToolboxes() { */ @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listToolboxVersions(String toolboxName, Integer limit, PageOrder order, + public PagedFlux listToolboxVersions(String name, Integer limit, PageOrder order, String after, String before) { // Generated convenience method for listToolboxVersions RequestOptions requestOptions = new RequestOptions(); @@ -582,7 +582,7 @@ public PagedFlux listToolboxVersions(String toolboxName, if (before != null) { requestOptions.addQueryParam("before", before, false); } - PagedFlux pagedFluxResponse = listToolboxVersions(toolboxName, requestOptions); + PagedFlux pagedFluxResponse = listToolboxVersions(name, requestOptions); return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) @@ -601,7 +601,7 @@ public PagedFlux listToolboxVersions(String toolboxName, /** * List all versions of a toolbox. * - * @param toolboxName The name of the toolbox to list versions for. + * @param name The name of the toolbox to list versions for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -612,10 +612,10 @@ public PagedFlux listToolboxVersions(String toolboxName, */ @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listToolboxVersions(String toolboxName) { + public PagedFlux listToolboxVersions(String name) { // Generated convenience method for listToolboxVersions RequestOptions requestOptions = new RequestOptions(); - PagedFlux pagedFluxResponse = listToolboxVersions(toolboxName, requestOptions); + PagedFlux pagedFluxResponse = listToolboxVersions(name, requestOptions); return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) @@ -634,7 +634,7 @@ public PagedFlux listToolboxVersions(String toolboxName) /** * Retrieve a specific version of a toolbox. * - * @param toolboxName The name of the toolbox. + * @param name The name of the toolbox. * @param version The version identifier to retrieve. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -646,17 +646,17 @@ public PagedFlux listToolboxVersions(String toolboxName) */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getToolboxVersion(String toolboxName, String version) { + public Mono getToolboxVersion(String name, String version) { // Generated convenience method for getToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - return getToolboxVersionWithResponse(toolboxName, version, requestOptions).flatMap(FluxUtil::toMono) + return getToolboxVersionWithResponse(name, version, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(ToolboxVersionDetails.class)); } /** * Update a toolbox to point to a specific version. * - * @param toolboxName The name of the toolbox to update. + * @param name The name of the toolbox to update. * @param defaultVersion The version identifier that the toolbox should point to. When set, the toolbox's default * version will resolve to this version instead of the latest. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -669,19 +669,19 @@ public Mono getToolboxVersion(String toolboxName, String */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateToolbox(String toolboxName, String defaultVersion) { + public Mono updateToolbox(String name, String defaultVersion) { // Generated convenience method for updateToolboxWithResponse RequestOptions requestOptions = new RequestOptions(); UpdateToolboxRequest updateToolboxRequestObj = new UpdateToolboxRequest(defaultVersion); BinaryData updateToolboxRequest = BinaryData.fromObject(updateToolboxRequestObj); - return updateToolboxWithResponse(toolboxName, updateToolboxRequest, requestOptions).flatMap(FluxUtil::toMono) + return updateToolboxWithResponse(name, updateToolboxRequest, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(ToolboxDetails.class)); } /** * Delete a toolbox and all its versions. * - * @param toolboxName The name of the toolbox to delete. + * @param name The name of the toolbox to delete. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -692,16 +692,16 @@ public Mono updateToolbox(String toolboxName, String defaultVers */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteToolbox(String toolboxName) { + public Mono deleteToolbox(String name) { // Generated convenience method for deleteToolboxWithResponse RequestOptions requestOptions = new RequestOptions(); - return deleteToolboxWithResponse(toolboxName, requestOptions).flatMap(FluxUtil::toMono); + return deleteToolboxWithResponse(name, requestOptions).flatMap(FluxUtil::toMono); } /** * Delete a specific version of a toolbox. * - * @param toolboxName The name of the toolbox. + * @param name The name of the toolbox. * @param version The version identifier to delete. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -713,9 +713,9 @@ public Mono deleteToolbox(String toolboxName) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteToolboxVersion(String toolboxName, String version) { + public Mono deleteToolboxVersion(String name, String version) { // Generated convenience method for deleteToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - return deleteToolboxVersionWithResponse(toolboxName, version, requestOptions).flatMap(FluxUtil::toMono); + return deleteToolboxVersionWithResponse(name, version, requestOptions).flatMap(FluxUtil::toMono); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java index 890d5d655491..f07483a6da32 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java @@ -58,7 +58,7 @@ public final class ToolboxesClient { * } * tools (Required): [ * (Required){ - * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) + * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] * policies (Optional): { @@ -85,7 +85,7 @@ public final class ToolboxesClient { * created_at: long (Required) * tools (Required): [ * (Required){ - * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) + * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] * policies (Optional): { @@ -97,7 +97,7 @@ public final class ToolboxesClient { * } * * - * @param toolboxName The name of the toolbox. If the toolbox does not exist, it will be created. + * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param createToolboxVersionRequest The createToolboxVersionRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -108,10 +108,9 @@ public final class ToolboxesClient { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response createToolboxVersionWithResponse(String toolboxName, - BinaryData createToolboxVersionRequest, RequestOptions requestOptions) { - return this.serviceClient.createToolboxVersionWithResponse(toolboxName, createToolboxVersionRequest, - requestOptions); + public Response createToolboxVersionWithResponse(String name, BinaryData createToolboxVersionRequest, + RequestOptions requestOptions) { + return this.serviceClient.createToolboxVersionWithResponse(name, createToolboxVersionRequest, requestOptions); } /** @@ -128,7 +127,7 @@ public Response createToolboxVersionWithResponse(String toolboxName, * } * * - * @param toolboxName The name of the toolbox to retrieve. + * @param name The name of the toolbox to retrieve. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -138,8 +137,8 @@ public Response createToolboxVersionWithResponse(String toolboxName, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getToolboxWithResponse(String toolboxName, RequestOptions requestOptions) { - return this.serviceClient.getToolboxWithResponse(toolboxName, requestOptions); + public Response getToolboxWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.getToolboxWithResponse(name, requestOptions); } /** @@ -226,7 +225,7 @@ public PagedIterable listToolboxes(RequestOptions requestOptions) { * created_at: long (Required) * tools (Required): [ * (Required){ - * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) + * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] * policies (Optional): { @@ -238,7 +237,7 @@ public PagedIterable listToolboxes(RequestOptions requestOptions) { * } * * - * @param toolboxName The name of the toolbox to list versions for. + * @param name The name of the toolbox to list versions for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -248,8 +247,8 @@ public PagedIterable listToolboxes(RequestOptions requestOptions) { */ @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listToolboxVersions(String toolboxName, RequestOptions requestOptions) { - return this.serviceClient.listToolboxVersions(toolboxName, requestOptions); + public PagedIterable listToolboxVersions(String name, RequestOptions requestOptions) { + return this.serviceClient.listToolboxVersions(name, requestOptions); } /** @@ -269,7 +268,7 @@ public PagedIterable listToolboxVersions(String toolboxName, Request * created_at: long (Required) * tools (Required): [ * (Required){ - * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) + * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] * policies (Optional): { @@ -281,7 +280,7 @@ public PagedIterable listToolboxVersions(String toolboxName, Request * } * * - * @param toolboxName The name of the toolbox. + * @param name The name of the toolbox. * @param version The version identifier to retrieve. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -292,9 +291,9 @@ public PagedIterable listToolboxVersions(String toolboxName, Request */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getToolboxVersionWithResponse(String toolboxName, String version, + public Response getToolboxVersionWithResponse(String name, String version, RequestOptions requestOptions) { - return this.serviceClient.getToolboxVersionWithResponse(toolboxName, version, requestOptions); + return this.serviceClient.getToolboxVersionWithResponse(name, version, requestOptions); } /** @@ -321,7 +320,7 @@ public Response getToolboxVersionWithResponse(String toolboxName, St * } * * - * @param toolboxName The name of the toolbox to update. + * @param name The name of the toolbox to update. * @param updateToolboxRequest The updateToolboxRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -332,15 +331,15 @@ public Response getToolboxVersionWithResponse(String toolboxName, St */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateToolboxWithResponse(String toolboxName, BinaryData updateToolboxRequest, + public Response updateToolboxWithResponse(String name, BinaryData updateToolboxRequest, RequestOptions requestOptions) { - return this.serviceClient.updateToolboxWithResponse(toolboxName, updateToolboxRequest, requestOptions); + return this.serviceClient.updateToolboxWithResponse(name, updateToolboxRequest, requestOptions); } /** * Delete a toolbox and all its versions. * - * @param toolboxName The name of the toolbox to delete. + * @param name The name of the toolbox to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -350,14 +349,14 @@ public Response updateToolboxWithResponse(String toolboxName, Binary */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteToolboxWithResponse(String toolboxName, RequestOptions requestOptions) { - return this.serviceClient.deleteToolboxWithResponse(toolboxName, requestOptions); + public Response deleteToolboxWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.deleteToolboxWithResponse(name, requestOptions); } /** * Delete a specific version of a toolbox. * - * @param toolboxName The name of the toolbox. + * @param name The name of the toolbox. * @param version The version identifier to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -368,15 +367,14 @@ public Response deleteToolboxWithResponse(String toolboxName, RequestOptio */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteToolboxVersionWithResponse(String toolboxName, String version, - RequestOptions requestOptions) { - return this.serviceClient.deleteToolboxVersionWithResponse(toolboxName, version, requestOptions); + public Response deleteToolboxVersionWithResponse(String name, String version, RequestOptions requestOptions) { + return this.serviceClient.deleteToolboxVersionWithResponse(name, version, requestOptions); } /** * Create a new version of a toolbox. If the toolbox does not exist, it will be created. * - * @param toolboxName The name of the toolbox. If the toolbox does not exist, it will be created. + * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param tools The list of tools to include in this version. * @param description A human-readable description of the toolbox. * @param metadata Arbitrary key-value metadata to associate with the toolbox. @@ -391,7 +389,7 @@ public Response deleteToolboxVersionWithResponse(String toolboxName, Strin */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public ToolboxVersionDetails createToolboxVersion(String toolboxName, List tools, String description, + public ToolboxVersionDetails createToolboxVersion(String name, List tools, String description, Map metadata, ToolboxPolicies policies) { // Generated convenience method for createToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); @@ -400,14 +398,14 @@ public ToolboxVersionDetails createToolboxVersion(String toolboxName, List .setMetadata(metadata) .setPolicies(policies); BinaryData createToolboxVersionRequest = BinaryData.fromObject(createToolboxVersionRequestObj); - return createToolboxVersionWithResponse(toolboxName, createToolboxVersionRequest, requestOptions).getValue() + return createToolboxVersionWithResponse(name, createToolboxVersionRequest, requestOptions).getValue() .toObject(ToolboxVersionDetails.class); } /** * Create a new version of a toolbox. If the toolbox does not exist, it will be created. * - * @param toolboxName The name of the toolbox. If the toolbox does not exist, it will be created. + * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param tools The list of tools to include in this version. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -419,19 +417,19 @@ public ToolboxVersionDetails createToolboxVersion(String toolboxName, List */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public ToolboxVersionDetails createToolboxVersion(String toolboxName, List tools) { + public ToolboxVersionDetails createToolboxVersion(String name, List tools) { // Generated convenience method for createToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); CreateToolboxVersionRequest createToolboxVersionRequestObj = new CreateToolboxVersionRequest(tools); BinaryData createToolboxVersionRequest = BinaryData.fromObject(createToolboxVersionRequestObj); - return createToolboxVersionWithResponse(toolboxName, createToolboxVersionRequest, requestOptions).getValue() + return createToolboxVersionWithResponse(name, createToolboxVersionRequest, requestOptions).getValue() .toObject(ToolboxVersionDetails.class); } /** * Retrieve a toolbox. * - * @param toolboxName The name of the toolbox to retrieve. + * @param name The name of the toolbox to retrieve. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -442,10 +440,10 @@ public ToolboxVersionDetails createToolboxVersion(String toolboxName, List */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public ToolboxDetails getToolbox(String toolboxName) { + public ToolboxDetails getToolbox(String name) { // Generated convenience method for getToolboxWithResponse RequestOptions requestOptions = new RequestOptions(); - return getToolboxWithResponse(toolboxName, requestOptions).getValue().toObject(ToolboxDetails.class); + return getToolboxWithResponse(name, requestOptions).getValue().toObject(ToolboxDetails.class); } /** @@ -512,7 +510,7 @@ public PagedIterable listToolboxes() { /** * List all versions of a toolbox. * - * @param toolboxName The name of the toolbox to list versions for. + * @param name The name of the toolbox to list versions for. * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the * default is 20. * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` @@ -533,7 +531,7 @@ public PagedIterable listToolboxes() { */ @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listToolboxVersions(String toolboxName, Integer limit, PageOrder order, + public PagedIterable listToolboxVersions(String name, Integer limit, PageOrder order, String after, String before) { // Generated convenience method for listToolboxVersions RequestOptions requestOptions = new RequestOptions(); @@ -549,14 +547,14 @@ public PagedIterable listToolboxVersions(String toolboxNa if (before != null) { requestOptions.addQueryParam("before", before, false); } - return serviceClient.listToolboxVersions(toolboxName, requestOptions) + return serviceClient.listToolboxVersions(name, requestOptions) .mapPage(bodyItemValue -> bodyItemValue.toObject(ToolboxVersionDetails.class)); } /** * List all versions of a toolbox. * - * @param toolboxName The name of the toolbox to list versions for. + * @param name The name of the toolbox to list versions for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -567,17 +565,17 @@ public PagedIterable listToolboxVersions(String toolboxNa */ @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listToolboxVersions(String toolboxName) { + public PagedIterable listToolboxVersions(String name) { // Generated convenience method for listToolboxVersions RequestOptions requestOptions = new RequestOptions(); - return serviceClient.listToolboxVersions(toolboxName, requestOptions) + return serviceClient.listToolboxVersions(name, requestOptions) .mapPage(bodyItemValue -> bodyItemValue.toObject(ToolboxVersionDetails.class)); } /** * Retrieve a specific version of a toolbox. * - * @param toolboxName The name of the toolbox. + * @param name The name of the toolbox. * @param version The version identifier to retrieve. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -589,17 +587,17 @@ public PagedIterable listToolboxVersions(String toolboxNa */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public ToolboxVersionDetails getToolboxVersion(String toolboxName, String version) { + public ToolboxVersionDetails getToolboxVersion(String name, String version) { // Generated convenience method for getToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - return getToolboxVersionWithResponse(toolboxName, version, requestOptions).getValue() + return getToolboxVersionWithResponse(name, version, requestOptions).getValue() .toObject(ToolboxVersionDetails.class); } /** * Update a toolbox to point to a specific version. * - * @param toolboxName The name of the toolbox to update. + * @param name The name of the toolbox to update. * @param defaultVersion The version identifier that the toolbox should point to. When set, the toolbox's default * version will resolve to this version instead of the latest. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -612,19 +610,19 @@ public ToolboxVersionDetails getToolboxVersion(String toolboxName, String versio */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public ToolboxDetails updateToolbox(String toolboxName, String defaultVersion) { + public ToolboxDetails updateToolbox(String name, String defaultVersion) { // Generated convenience method for updateToolboxWithResponse RequestOptions requestOptions = new RequestOptions(); UpdateToolboxRequest updateToolboxRequestObj = new UpdateToolboxRequest(defaultVersion); BinaryData updateToolboxRequest = BinaryData.fromObject(updateToolboxRequestObj); - return updateToolboxWithResponse(toolboxName, updateToolboxRequest, requestOptions).getValue() + return updateToolboxWithResponse(name, updateToolboxRequest, requestOptions).getValue() .toObject(ToolboxDetails.class); } /** * Delete a toolbox and all its versions. * - * @param toolboxName The name of the toolbox to delete. + * @param name The name of the toolbox to delete. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -634,16 +632,16 @@ public ToolboxDetails updateToolbox(String toolboxName, String defaultVersion) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteToolbox(String toolboxName) { + public void deleteToolbox(String name) { // Generated convenience method for deleteToolboxWithResponse RequestOptions requestOptions = new RequestOptions(); - deleteToolboxWithResponse(toolboxName, requestOptions).getValue(); + deleteToolboxWithResponse(name, requestOptions).getValue(); } /** * Delete a specific version of a toolbox. * - * @param toolboxName The name of the toolbox. + * @param name The name of the toolbox. * @param version The version identifier to delete. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -654,9 +652,9 @@ public void deleteToolbox(String toolboxName) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteToolboxVersion(String toolboxName, String version) { + public void deleteToolboxVersion(String name, String version) { // Generated convenience method for deleteToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - deleteToolboxVersionWithResponse(toolboxName, version, requestOptions).getValue(); + deleteToolboxVersionWithResponse(name, version, requestOptions).getValue(); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java index 2bca3680c34d..466c74eae476 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java @@ -72,93 +72,93 @@ public AgentsServiceVersion getServiceVersion() { @Host("{endpoint}") @ServiceInterface(name = "AgentsClientAgentSessionFiles") public interface AgentSessionFilesService { - @Put("/agents/{agent_name}/endpoint/sessions/{session_id}/files/content") + @Put("/agents/{agent_name}/endpoint/sessions/{agent_session_id}/files/content") @ExpectedResponses({ 201 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> uploadSessionFile(@HostParam("endpoint") String endpoint, - @PathParam("agent_name") String agentName, @PathParam("session_id") String sessionId, + @PathParam("agent_name") String agentName, @PathParam("agent_session_id") String agentSessionId, @QueryParam("path") String path, @HeaderParam("Content-Type") String contentType, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, @BodyParam("application/octet-stream") BinaryData content, RequestOptions requestOptions, Context context); - @Put("/agents/{agent_name}/endpoint/sessions/{session_id}/files/content") + @Put("/agents/{agent_name}/endpoint/sessions/{agent_session_id}/files/content") @ExpectedResponses({ 201 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response uploadSessionFileSync(@HostParam("endpoint") String endpoint, - @PathParam("agent_name") String agentName, @PathParam("session_id") String sessionId, + @PathParam("agent_name") String agentName, @PathParam("agent_session_id") String agentSessionId, @QueryParam("path") String path, @HeaderParam("Content-Type") String contentType, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, @BodyParam("application/octet-stream") BinaryData content, RequestOptions requestOptions, Context context); - @Get("/agents/{agent_name}/endpoint/sessions/{session_id}/files/content") + @Get("/agents/{agent_name}/endpoint/sessions/{agent_session_id}/files/content") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> downloadSessionFile(@HostParam("endpoint") String endpoint, - @PathParam("agent_name") String agentName, @PathParam("session_id") String sessionId, + @PathParam("agent_name") String agentName, @PathParam("agent_session_id") String agentSessionId, @QueryParam("path") String path, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/agents/{agent_name}/endpoint/sessions/{session_id}/files/content") + @Get("/agents/{agent_name}/endpoint/sessions/{agent_session_id}/files/content") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response downloadSessionFileSync(@HostParam("endpoint") String endpoint, - @PathParam("agent_name") String agentName, @PathParam("session_id") String sessionId, + @PathParam("agent_name") String agentName, @PathParam("agent_session_id") String agentSessionId, @QueryParam("path") String path, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/agents/{agent_name}/endpoint/sessions/{session_id}/files") + @Get("/agents/{agent_name}/endpoint/sessions/{agent_session_id}/files") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> getSessionFiles(@HostParam("endpoint") String endpoint, - @PathParam("agent_name") String agentName, @PathParam("session_id") String sessionId, + @PathParam("agent_name") String agentName, @PathParam("agent_session_id") String agentSessionId, @QueryParam("path") String path, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/agents/{agent_name}/endpoint/sessions/{session_id}/files") + @Get("/agents/{agent_name}/endpoint/sessions/{agent_session_id}/files") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response getSessionFilesSync(@HostParam("endpoint") String endpoint, - @PathParam("agent_name") String agentName, @PathParam("session_id") String sessionId, + @PathParam("agent_name") String agentName, @PathParam("agent_session_id") String agentSessionId, @QueryParam("path") String path, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Delete("/agents/{agent_name}/endpoint/sessions/{session_id}/files") + @Delete("/agents/{agent_name}/endpoint/sessions/{agent_session_id}/files") @ExpectedResponses({ 204 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> deleteSessionFile(@HostParam("endpoint") String endpoint, - @PathParam("agent_name") String agentName, @PathParam("session_id") String sessionId, + @PathParam("agent_name") String agentName, @PathParam("agent_session_id") String agentSessionId, @QueryParam("path") String path, @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); - @Delete("/agents/{agent_name}/endpoint/sessions/{session_id}/files") + @Delete("/agents/{agent_name}/endpoint/sessions/{agent_session_id}/files") @ExpectedResponses({ 204 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response deleteSessionFileSync(@HostParam("endpoint") String endpoint, - @PathParam("agent_name") String agentName, @PathParam("session_id") String sessionId, + @PathParam("agent_name") String agentName, @PathParam("agent_session_id") String agentSessionId, @QueryParam("path") String path, @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); } @@ -172,7 +172,8 @@ Response deleteSessionFileSync(@HostParam("endpoint") String endpoint, * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -195,7 +196,7 @@ Response deleteSessionFileSync(@HostParam("endpoint") String endpoint, * * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The destination file path within the sandbox, relative to the session home directory. * @param content The content parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -207,12 +208,12 @@ Response deleteSessionFileSync(@HostParam("endpoint") String endpoint, * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> uploadSessionFileWithResponseAsync(String agentName, String sessionId, + public Mono> uploadSessionFileWithResponseAsync(String agentName, String agentSessionId, String path, BinaryData content, RequestOptions requestOptions) { final String contentType = "application/octet-stream"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.uploadSessionFile(this.client.getEndpoint(), agentName, sessionId, path, + return FluxUtil.withContext( + context -> service.uploadSessionFile(this.client.getEndpoint(), agentName, agentSessionId, path, contentType, this.client.getServiceVersion().getVersion(), accept, content, requestOptions, context)); } @@ -225,7 +226,8 @@ public Mono> uploadSessionFileWithResponseAsync(String agen * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -248,7 +250,7 @@ public Mono> uploadSessionFileWithResponseAsync(String agen * * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The destination file path within the sandbox, relative to the session home directory. * @param content The content parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -259,11 +261,11 @@ public Mono> uploadSessionFileWithResponseAsync(String agen * @return response from uploading a file to a session sandbox along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response uploadSessionFileWithResponse(String agentName, String sessionId, String path, + public Response uploadSessionFileWithResponse(String agentName, String agentSessionId, String path, BinaryData content, RequestOptions requestOptions) { final String contentType = "application/octet-stream"; final String accept = "application/json"; - return service.uploadSessionFileSync(this.client.getEndpoint(), agentName, sessionId, path, contentType, + return service.uploadSessionFileSync(this.client.getEndpoint(), agentName, agentSessionId, path, contentType, this.client.getServiceVersion().getVersion(), accept, content, requestOptions, Context.NONE); } @@ -275,7 +277,8 @@ public Response uploadSessionFileWithResponse(String agentName, Stri * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -287,7 +290,7 @@ public Response uploadSessionFileWithResponse(String agentName, Stri * * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The file path to download from the sandbox, relative to the session home directory. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -297,11 +300,11 @@ public Response uploadSessionFileWithResponse(String agentName, Stri * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> downloadSessionFileWithResponseAsync(String agentName, String sessionId, + public Mono> downloadSessionFileWithResponseAsync(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { final String accept = "application/octet-stream"; return FluxUtil.withContext(context -> service.downloadSessionFile(this.client.getEndpoint(), agentName, - sessionId, path, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + agentSessionId, path, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } /** @@ -312,7 +315,8 @@ public Mono> downloadSessionFileWithResponseAsync(String ag * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -324,7 +328,7 @@ public Mono> downloadSessionFileWithResponseAsync(String ag * * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The file path to download from the sandbox, relative to the session home directory. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -334,10 +338,10 @@ public Mono> downloadSessionFileWithResponseAsync(String ag * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response downloadSessionFileWithResponse(String agentName, String sessionId, String path, + public Response downloadSessionFileWithResponse(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { final String accept = "application/octet-stream"; - return service.downloadSessionFileSync(this.client.getEndpoint(), agentName, sessionId, path, + return service.downloadSessionFileSync(this.client.getEndpoint(), agentName, agentSessionId, path, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } @@ -350,7 +354,8 @@ public Response downloadSessionFileWithResponse(String agentName, St * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -364,7 +369,7 @@ public Response downloadSessionFileWithResponse(String agentName, St * name: String (Required) * size: long (Required) * is_directory: boolean (Required) - * modified_time: OffsetDateTime (Required) + * modified_time: long (Required) * } * ] * } @@ -372,7 +377,7 @@ public Response downloadSessionFileWithResponse(String agentName, St * * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The directory path to list, relative to the session home directory. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -383,11 +388,11 @@ public Response downloadSessionFileWithResponse(String agentName, St * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getSessionFilesWithResponseAsync(String agentName, String sessionId, String path, - RequestOptions requestOptions) { + public Mono> getSessionFilesWithResponseAsync(String agentName, String agentSessionId, + String path, RequestOptions requestOptions) { final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getSessionFiles(this.client.getEndpoint(), agentName, sessionId, - path, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.getSessionFiles(this.client.getEndpoint(), agentName, + agentSessionId, path, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } /** @@ -399,7 +404,8 @@ public Mono> getSessionFilesWithResponseAsync(String agentN * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -413,7 +419,7 @@ public Mono> getSessionFilesWithResponseAsync(String agentN * name: String (Required) * size: long (Required) * is_directory: boolean (Required) - * modified_time: OffsetDateTime (Required) + * modified_time: long (Required) * } * ] * } @@ -421,7 +427,7 @@ public Mono> getSessionFilesWithResponseAsync(String agentN * * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The directory path to list, relative to the session home directory. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -431,10 +437,10 @@ public Mono> getSessionFilesWithResponseAsync(String agentN * @return response from listing a directory in a session sandbox along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSessionFilesWithResponse(String agentName, String sessionId, String path, + public Response getSessionFilesWithResponse(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { final String accept = "application/json"; - return service.getSessionFilesSync(this.client.getEndpoint(), agentName, sessionId, path, + return service.getSessionFilesSync(this.client.getEndpoint(), agentName, agentSessionId, path, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } @@ -455,12 +461,13 @@ public Response getSessionFilesWithResponse(String agentName, String * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The file or directory path to delete, relative to the session home directory. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -470,10 +477,10 @@ public Response getSessionFilesWithResponse(String agentName, String * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteSessionFileWithResponseAsync(String agentName, String sessionId, String path, + public Mono> deleteSessionFileWithResponseAsync(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { return FluxUtil.withContext(context -> service.deleteSessionFile(this.client.getEndpoint(), agentName, - sessionId, path, this.client.getServiceVersion().getVersion(), requestOptions, context)); + agentSessionId, path, this.client.getServiceVersion().getVersion(), requestOptions, context)); } /** @@ -493,12 +500,13 @@ public Mono> deleteSessionFileWithResponseAsync(String agentName, * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * * @param agentName The name of the agent. - * @param sessionId The session ID. + * @param agentSessionId The session ID. * @param path The file or directory path to delete, relative to the session home directory. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -508,9 +516,9 @@ public Mono> deleteSessionFileWithResponseAsync(String agentName, * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteSessionFileWithResponse(String agentName, String sessionId, String path, + public Response deleteSessionFileWithResponse(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { - return service.deleteSessionFileSync(this.client.getEndpoint(), agentName, sessionId, path, + return service.deleteSessionFileSync(this.client.getEndpoint(), agentName, agentSessionId, path, this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java index 9131220953cb..55456c966195 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java @@ -121,6 +121,32 @@ Response createAgentSync(@HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData createAgentRequest, RequestOptions requestOptions, Context context); + // @Multipart not supported by RestProxy + @Post("/agents") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> createAgentFromCode(@HostParam("endpoint") String endpoint, + @HeaderParam("content-type") String contentType, @HeaderParam("x-ms-agent-name") String agentName, + @HeaderParam("x-ms-code-zip-sha256") String codeZipSha256, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, @BodyParam("multipart/form-data") BinaryData content, + RequestOptions requestOptions, Context context); + + // @Multipart not supported by RestProxy + @Post("/agents") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response createAgentFromCodeSync(@HostParam("endpoint") String endpoint, + @HeaderParam("content-type") String contentType, @HeaderParam("x-ms-agent-name") String agentName, + @HeaderParam("x-ms-code-zip-sha256") String codeZipSha256, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, @BodyParam("multipart/form-data") BinaryData content, + RequestOptions requestOptions, Context context); + @Post("/agents/{agent_name}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @@ -145,6 +171,32 @@ Response updateAgentSync(@HostParam("endpoint") String endpoint, @BodyParam("application/json") BinaryData updateAgentRequest, RequestOptions requestOptions, Context context); + // @Multipart not supported by RestProxy + @Post("/agents/{agent_name}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> updateAgentFromCode(@HostParam("endpoint") String endpoint, + @PathParam("agent_name") String agentName, @HeaderParam("content-type") String contentType, + @HeaderParam("x-ms-code-zip-sha256") String codeZipSha256, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, @BodyParam("multipart/form-data") BinaryData content, + RequestOptions requestOptions, Context context); + + // @Multipart not supported by RestProxy + @Post("/agents/{agent_name}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response updateAgentFromCodeSync(@HostParam("endpoint") String endpoint, + @PathParam("agent_name") String agentName, @HeaderParam("content-type") String contentType, + @HeaderParam("x-ms-code-zip-sha256") String codeZipSha256, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, @BodyParam("multipart/form-data") BinaryData content, + RequestOptions requestOptions, Context context); + @Post("/agents:import") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @@ -369,6 +421,74 @@ Response updateAgentDetailsSync(@HostParam("endpoint") String endpoi @BodyParam("application/merge-patch+json") BinaryData patchAgentObjectRequest, RequestOptions requestOptions, Context context); + // @Multipart not supported by RestProxy + @Post("/agents/{agent_name}/versions") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> createAgentVersionFromCode(@HostParam("endpoint") String endpoint, + @PathParam("agent_name") String agentName, @HeaderParam("content-type") String contentType, + @HeaderParam("x-ms-code-zip-sha256") String codeZipSha256, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, @BodyParam("multipart/form-data") BinaryData content, + RequestOptions requestOptions, Context context); + + // @Multipart not supported by RestProxy + @Post("/agents/{agent_name}/versions") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response createAgentVersionFromCodeSync(@HostParam("endpoint") String endpoint, + @PathParam("agent_name") String agentName, @HeaderParam("content-type") String contentType, + @HeaderParam("x-ms-code-zip-sha256") String codeZipSha256, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, @BodyParam("multipart/form-data") BinaryData content, + RequestOptions requestOptions, Context context); + + @Get("/agents/{agent_name}/versions/{agent_version}/code:download") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> downloadAgentVersionCode(@HostParam("endpoint") String endpoint, + @PathParam("agent_name") String agentName, @PathParam("agent_version") String agentVersion, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/agents/{agent_name}/versions/{agent_version}/code:download") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response downloadAgentVersionCodeSync(@HostParam("endpoint") String endpoint, + @PathParam("agent_name") String agentName, @PathParam("agent_version") String agentVersion, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/agents/{agent_name}/code:download") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> downloadAgentCode(@HostParam("endpoint") String endpoint, + @PathParam("agent_name") String agentName, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/agents/{agent_name}/code:download") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response downloadAgentCodeSync(@HostParam("endpoint") String endpoint, + @PathParam("agent_name") String agentName, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @Post("/agents/{agent_name}/endpoint/sessions") @ExpectedResponses({ 201 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @@ -376,10 +496,10 @@ Response updateAgentDetailsSync(@HostParam("endpoint") String endpoi @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> createSession(@HostParam("endpoint") String endpoint, - @PathParam("agent_name") String agentName, @HeaderParam("x-session-isolation-key") String isolationKey, - @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData createSessionRequest, - RequestOptions requestOptions, Context context); + @PathParam("agent_name") String agentName, @QueryParam("api-version") String apiVersion, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData createSessionRequest, RequestOptions requestOptions, + Context context); @Post("/agents/{agent_name}/endpoint/sessions") @ExpectedResponses({ 201 }) @@ -388,10 +508,10 @@ Mono> createSession(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response createSessionSync(@HostParam("endpoint") String endpoint, - @PathParam("agent_name") String agentName, @HeaderParam("x-session-isolation-key") String isolationKey, - @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData createSessionRequest, - RequestOptions requestOptions, Context context); + @PathParam("agent_name") String agentName, @QueryParam("api-version") String apiVersion, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData createSessionRequest, RequestOptions requestOptions, + Context context); @Get("/agents/{agent_name}/endpoint/sessions/{session_id}") @ExpectedResponses({ 200 }) @@ -423,8 +543,7 @@ Response getSessionSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> deleteSession(@HostParam("endpoint") String endpoint, @PathParam("agent_name") String agentName, @PathParam("session_id") String sessionId, - @HeaderParam("x-session-isolation-key") String isolationKey, @QueryParam("api-version") String apiVersion, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); @Delete("/agents/{agent_name}/endpoint/sessions/{session_id}") @ExpectedResponses({ 204 }) @@ -434,8 +553,7 @@ Mono> deleteSession(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(HttpResponseException.class) Response deleteSessionSync(@HostParam("endpoint") String endpoint, @PathParam("agent_name") String agentName, @PathParam("session_id") String sessionId, - @HeaderParam("x-session-isolation-key") String isolationKey, @QueryParam("api-version") String apiVersion, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); @Get("/agents/{agent_name}/endpoint/sessions") @ExpectedResponses({ 200 }) @@ -525,6 +643,7 @@ Response listAgentConversationsSync(@HostParam("endpoint") String en * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -620,6 +739,7 @@ public Mono> getAgentWithResponseAsync(String agentName, Re * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -696,7 +816,8 @@ public Response getAgentWithResponse(String agentName, RequestOption * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -782,6 +903,7 @@ public Response getAgentWithResponse(String agentName, RequestOption * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -861,7 +983,8 @@ public Mono> createAgentWithResponseAsync(BinaryData create * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -947,6 +1070,7 @@ public Mono> createAgentWithResponseAsync(BinaryData create * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -1016,6 +1140,241 @@ public Response createAgentWithResponse(BinaryData createAgentReques contentType, accept, createAgentRequest, requestOptions, Context.NONE); } + /** + * Creates a new code-based agent. Uploads the code zip and creates the agent in a single call. + * The agent name is provided in the `x-ms-agent-name` header since POST /agents has no name in the URL path. + * The SHA-256 hex digest of the zip is provided in the `x-ms-code-zip-sha256` header for integrity and dedup. + * The request body is multipart/form-data with a JSON metadata part and a binary code part (part order is + * irrelevant). + * Maximum upload size is 250 MB. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *     id: String (Required)
+     *     name: String (Required)
+     *     versions (Required): {
+     *         latest (Required): {
+     *             metadata (Required): {
+     *                 String: String (Required)
+     *             }
+     *             object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *             id: String (Required)
+     *             name: String (Required)
+     *             version: String (Required)
+     *             description: String (Optional)
+     *             created_at: long (Required)
+     *             definition (Required): {
+     *                 kind: String(prompt/hosted/workflow) (Required)
+     *                 rai_config (Optional): {
+     *                     rai_policy_name: String (Required)
+     *                 }
+     *             }
+     *             status: String(creating/active/failed/deleting/deleted) (Optional)
+     *             instance_identity (Optional): {
+     *                 principal_id: String (Required)
+     *                 client_id: String (Required)
+     *             }
+     *             blueprint (Optional): (recursive schema, see blueprint above)
+     *             blueprint_reference (Optional): {
+     *                 type: String(ManagedAgentIdentityBlueprint) (Required)
+     *             }
+     *             agent_guid: String (Optional)
+     *         }
+     *     }
+     *     agent_endpoint (Optional): {
+     *         version_selector (Optional): {
+     *             version_selection_rules (Optional, Required on create): [
+     *                  (Optional, Required on create){
+     *                     type: String(FixedRatio) (Required)
+     *                     agent_version: String (Optional, Required on create)
+     *                 }
+     *             ]
+     *         }
+     *         protocols (Optional): [
+     *             String(activity/responses/a2a/invocations) (Optional)
+     *         ]
+     *         authorization_schemes (Optional): [
+     *              (Optional){
+     *                 type: String(Entra/BotService/BotServiceRbac) (Required)
+     *             }
+     *         ]
+     *     }
+     *     instance_identity (Optional): (recursive schema, see instance_identity above)
+     *     blueprint (Optional): (recursive schema, see blueprint above)
+     *     blueprint_reference (Optional): (recursive schema, see blueprint_reference above)
+     *     agent_card (Optional): {
+     *         version: String (Optional, Required on create)
+     *         description: String (Optional)
+     *         skills (Optional, Required on create): [
+     *              (Optional, Required on create){
+     *                 id: String (Optional, Required on create)
+     *                 name: String (Optional, Required on create)
+     *                 description: String (Optional)
+     *                 tags (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 examples (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *     }
+     * }
+     * }
+     * 
+ * + * @param agentName The unique name that identifies the agent. Max 63 chars, must start and end with alphanumeric, + * hyphens allowed in the middle. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createAgentFromCodeWithResponseAsync(String agentName, String codeZipSha256, + BinaryData content, RequestOptions requestOptions) { + final String contentType = "multipart/form-data"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.createAgentFromCode(this.client.getEndpoint(), contentType, agentName, + codeZipSha256, this.client.getServiceVersion().getVersion(), accept, content, requestOptions, context)); + } + + /** + * Creates a new code-based agent. Uploads the code zip and creates the agent in a single call. + * The agent name is provided in the `x-ms-agent-name` header since POST /agents has no name in the URL path. + * The SHA-256 hex digest of the zip is provided in the `x-ms-code-zip-sha256` header for integrity and dedup. + * The request body is multipart/form-data with a JSON metadata part and a binary code part (part order is + * irrelevant). + * Maximum upload size is 250 MB. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *     id: String (Required)
+     *     name: String (Required)
+     *     versions (Required): {
+     *         latest (Required): {
+     *             metadata (Required): {
+     *                 String: String (Required)
+     *             }
+     *             object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *             id: String (Required)
+     *             name: String (Required)
+     *             version: String (Required)
+     *             description: String (Optional)
+     *             created_at: long (Required)
+     *             definition (Required): {
+     *                 kind: String(prompt/hosted/workflow) (Required)
+     *                 rai_config (Optional): {
+     *                     rai_policy_name: String (Required)
+     *                 }
+     *             }
+     *             status: String(creating/active/failed/deleting/deleted) (Optional)
+     *             instance_identity (Optional): {
+     *                 principal_id: String (Required)
+     *                 client_id: String (Required)
+     *             }
+     *             blueprint (Optional): (recursive schema, see blueprint above)
+     *             blueprint_reference (Optional): {
+     *                 type: String(ManagedAgentIdentityBlueprint) (Required)
+     *             }
+     *             agent_guid: String (Optional)
+     *         }
+     *     }
+     *     agent_endpoint (Optional): {
+     *         version_selector (Optional): {
+     *             version_selection_rules (Optional, Required on create): [
+     *                  (Optional, Required on create){
+     *                     type: String(FixedRatio) (Required)
+     *                     agent_version: String (Optional, Required on create)
+     *                 }
+     *             ]
+     *         }
+     *         protocols (Optional): [
+     *             String(activity/responses/a2a/invocations) (Optional)
+     *         ]
+     *         authorization_schemes (Optional): [
+     *              (Optional){
+     *                 type: String(Entra/BotService/BotServiceRbac) (Required)
+     *             }
+     *         ]
+     *     }
+     *     instance_identity (Optional): (recursive schema, see instance_identity above)
+     *     blueprint (Optional): (recursive schema, see blueprint above)
+     *     blueprint_reference (Optional): (recursive schema, see blueprint_reference above)
+     *     agent_card (Optional): {
+     *         version: String (Optional, Required on create)
+     *         description: String (Optional)
+     *         skills (Optional, Required on create): [
+     *              (Optional, Required on create){
+     *                 id: String (Optional, Required on create)
+     *                 name: String (Optional, Required on create)
+     *                 description: String (Optional)
+     *                 tags (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 examples (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *     }
+     * }
+     * }
+     * 
+ * + * @param agentName The unique name that identifies the agent. Max 63 chars, must start and end with alphanumeric, + * hyphens allowed in the middle. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createAgentFromCodeWithResponse(String agentName, String codeZipSha256, + BinaryData content, RequestOptions requestOptions) { + final String contentType = "multipart/form-data"; + final String accept = "application/json"; + return service.createAgentFromCodeSync(this.client.getEndpoint(), contentType, agentName, codeZipSha256, + this.client.getServiceVersion().getVersion(), accept, content, requestOptions, Context.NONE); + } + /** * Updates the agent by adding a new version if there are any changes to the agent definition. * If no changes, returns the existing agent version. @@ -1025,7 +1384,8 @@ public Response createAgentWithResponse(BinaryData createAgentReques * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -1075,6 +1435,7 @@ public Response createAgentWithResponse(BinaryData createAgentReques * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -1156,7 +1517,8 @@ public Mono> updateAgentWithResponseAsync(String agentName, * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -1206,6 +1568,240 @@ public Mono> updateAgentWithResponseAsync(String agentName, * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) + * instance_identity (Optional): { + * principal_id: String (Required) + * client_id: String (Required) + * } + * blueprint (Optional): (recursive schema, see blueprint above) + * blueprint_reference (Optional): { + * type: String(ManagedAgentIdentityBlueprint) (Required) + * } + * agent_guid: String (Optional) + * } + * } + * agent_endpoint (Optional): { + * version_selector (Optional): { + * version_selection_rules (Optional, Required on create): [ + * (Optional, Required on create){ + * type: String(FixedRatio) (Required) + * agent_version: String (Optional, Required on create) + * } + * ] + * } + * protocols (Optional): [ + * String(activity/responses/a2a/invocations) (Optional) + * ] + * authorization_schemes (Optional): [ + * (Optional){ + * type: String(Entra/BotService/BotServiceRbac) (Required) + * } + * ] + * } + * instance_identity (Optional): (recursive schema, see instance_identity above) + * blueprint (Optional): (recursive schema, see blueprint above) + * blueprint_reference (Optional): (recursive schema, see blueprint_reference above) + * agent_card (Optional): { + * version: String (Optional, Required on create) + * description: String (Optional) + * skills (Optional, Required on create): [ + * (Optional, Required on create){ + * id: String (Optional, Required on create) + * name: String (Optional, Required on create) + * description: String (Optional) + * tags (Optional): [ + * String (Optional) + * ] + * examples (Optional): [ + * String (Optional) + * ] + * } + * ] + * } + * } + * } + * + * + * @param agentName The name of the agent to retrieve. + * @param updateAgentRequest The updateAgentRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response updateAgentWithResponse(String agentName, BinaryData updateAgentRequest, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.updateAgentSync(this.client.getEndpoint(), agentName, + this.client.getServiceVersion().getVersion(), contentType, accept, updateAgentRequest, requestOptions, + Context.NONE); + } + + /** + * Updates a code-based agent by uploading new code and creating a new version. + * If the code and definition are unchanged (matched by x-ms-code-zip-sha256 header), returns the existing version. + * The request body is multipart/form-data with a JSON metadata part and a binary code part (part order is + * irrelevant). + * Maximum upload size is 250 MB. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *     id: String (Required)
+     *     name: String (Required)
+     *     versions (Required): {
+     *         latest (Required): {
+     *             metadata (Required): {
+     *                 String: String (Required)
+     *             }
+     *             object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *             id: String (Required)
+     *             name: String (Required)
+     *             version: String (Required)
+     *             description: String (Optional)
+     *             created_at: long (Required)
+     *             definition (Required): {
+     *                 kind: String(prompt/hosted/workflow) (Required)
+     *                 rai_config (Optional): {
+     *                     rai_policy_name: String (Required)
+     *                 }
+     *             }
+     *             status: String(creating/active/failed/deleting/deleted) (Optional)
+     *             instance_identity (Optional): {
+     *                 principal_id: String (Required)
+     *                 client_id: String (Required)
+     *             }
+     *             blueprint (Optional): (recursive schema, see blueprint above)
+     *             blueprint_reference (Optional): {
+     *                 type: String(ManagedAgentIdentityBlueprint) (Required)
+     *             }
+     *             agent_guid: String (Optional)
+     *         }
+     *     }
+     *     agent_endpoint (Optional): {
+     *         version_selector (Optional): {
+     *             version_selection_rules (Optional, Required on create): [
+     *                  (Optional, Required on create){
+     *                     type: String(FixedRatio) (Required)
+     *                     agent_version: String (Optional, Required on create)
+     *                 }
+     *             ]
+     *         }
+     *         protocols (Optional): [
+     *             String(activity/responses/a2a/invocations) (Optional)
+     *         ]
+     *         authorization_schemes (Optional): [
+     *              (Optional){
+     *                 type: String(Entra/BotService/BotServiceRbac) (Required)
+     *             }
+     *         ]
+     *     }
+     *     instance_identity (Optional): (recursive schema, see instance_identity above)
+     *     blueprint (Optional): (recursive schema, see blueprint above)
+     *     blueprint_reference (Optional): (recursive schema, see blueprint_reference above)
+     *     agent_card (Optional): {
+     *         version: String (Optional, Required on create)
+     *         description: String (Optional)
+     *         skills (Optional, Required on create): [
+     *              (Optional, Required on create){
+     *                 id: String (Optional, Required on create)
+     *                 name: String (Optional, Required on create)
+     *                 description: String (Optional)
+     *                 tags (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 examples (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *     }
+     * }
+     * }
+     * 
+ * + * @param agentName The unique name that identifies the agent. Name can be used to retrieve/update/delete the agent. + * - Must start and end with alphanumeric characters, + * - Can contain hyphens in the middle + * - Must not exceed 63 characters. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> updateAgentFromCodeWithResponseAsync(String agentName, String codeZipSha256, + BinaryData content, RequestOptions requestOptions) { + final String contentType = "multipart/form-data"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.updateAgentFromCode(this.client.getEndpoint(), agentName, contentType, + codeZipSha256, this.client.getServiceVersion().getVersion(), accept, content, requestOptions, context)); + } + + /** + * Updates a code-based agent by uploading new code and creating a new version. + * If the code and definition are unchanged (matched by x-ms-code-zip-sha256 header), returns the existing version. + * The request body is multipart/form-data with a JSON metadata part and a binary code part (part order is + * irrelevant). + * Maximum upload size is 250 MB. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *     id: String (Required)
+     *     name: String (Required)
+     *     versions (Required): {
+     *         latest (Required): {
+     *             metadata (Required): {
+     *                 String: String (Required)
+     *             }
+     *             object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *             id: String (Required)
+     *             name: String (Required)
+     *             version: String (Required)
+     *             description: String (Optional)
+     *             created_at: long (Required)
+     *             definition (Required): {
+     *                 kind: String(prompt/hosted/workflow) (Required)
+     *                 rai_config (Optional): {
+     *                     rai_policy_name: String (Required)
+     *                 }
+     *             }
+     *             status: String(creating/active/failed/deleting/deleted) (Optional)
      *             instance_identity (Optional): {
      *                 principal_id: String (Required)
      *                 client_id: String (Required)
@@ -1259,8 +1855,13 @@ public Mono> updateAgentWithResponseAsync(String agentName,
      * }
      * 
* - * @param agentName The name of the agent to retrieve. - * @param updateAgentRequest The updateAgentRequest parameter. + * @param agentName The unique name that identifies the agent. Name can be used to retrieve/update/delete the agent. + * - Must start and end with alphanumeric characters, + * - Can contain hyphens in the middle + * - Must not exceed 63 characters. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1269,13 +1870,12 @@ public Mono> updateAgentWithResponseAsync(String agentName, * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateAgentWithResponse(String agentName, BinaryData updateAgentRequest, - RequestOptions requestOptions) { - final String contentType = "application/json"; + public Response updateAgentFromCodeWithResponse(String agentName, String codeZipSha256, + BinaryData content, RequestOptions requestOptions) { + final String contentType = "multipart/form-data"; final String accept = "application/json"; - return service.updateAgentSync(this.client.getEndpoint(), agentName, - this.client.getServiceVersion().getVersion(), contentType, accept, updateAgentRequest, requestOptions, - Context.NONE); + return service.updateAgentFromCodeSync(this.client.getEndpoint(), agentName, contentType, codeZipSha256, + this.client.getServiceVersion().getVersion(), accept, content, requestOptions, Context.NONE); } /** @@ -1323,6 +1923,7 @@ public Response updateAgentWithResponse(String agentName, BinaryData * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -1439,6 +2040,7 @@ public Mono> createAgentFromManifestWithResponseAsync( * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -1555,6 +2157,7 @@ public Response createAgentFromManifestWithResponse(BinaryData creat * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -1672,6 +2275,7 @@ public Mono> updateAgentFromManifestWithResponseAsync(Strin * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -1852,6 +2456,7 @@ public Response internalDeleteAgentWithResponse(String agentName, Re * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -1972,6 +2577,7 @@ private Mono> listAgentsSinglePageAsync(RequestOptions * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -2086,6 +2692,7 @@ public PagedFlux listAgentsAsync(RequestOptions requestOptions) { * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -2204,6 +2811,7 @@ private PagedResponse listAgentsSinglePage(RequestOptions requestOpt * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -2277,7 +2885,8 @@ public PagedIterable listAgents(RequestOptions requestOptions) { * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -2322,6 +2931,7 @@ public PagedIterable listAgents(RequestOptions requestOptions) { * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -2365,7 +2975,8 @@ public Mono> createAgentVersionWithResponseAsync(String age * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -2410,6 +3021,7 @@ public Mono> createAgentVersionWithResponseAsync(String age * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -2484,6 +3096,7 @@ public Response createAgentVersionWithResponse(String agentName, Bin * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -2558,6 +3171,7 @@ public Mono> createAgentVersionFromManifestWithResponseAsyn * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -2615,6 +3229,7 @@ public Response createAgentVersionFromManifestWithResponse(String ag * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -2667,6 +3282,7 @@ public Mono> getAgentVersionDetailsWithResponseAsync(String * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -2803,6 +3419,7 @@ public Response internalDeleteAgentVersionWithResponse(String agentN * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -2878,6 +3495,7 @@ private Mono> listAgentVersionsSinglePageAsync(String * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -2946,6 +3564,7 @@ public PagedFlux listAgentVersionsAsync(String agentName, RequestOpt * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -3018,6 +3637,7 @@ private PagedResponse listAgentVersionsSinglePage(String agentName, * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -3052,7 +3672,8 @@ public PagedIterable listAgentVersions(String agentName, RequestOpti * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -3124,6 +3745,7 @@ public PagedIterable listAgentVersions(String agentName, RequestOpti * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -3204,7 +3826,8 @@ public Mono> updateAgentDetailsWithResponseAsync(String age * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -3276,6 +3899,7 @@ public Mono> updateAgentDetailsWithResponseAsync(String age * rai_policy_name: String (Required) * } * } + * status: String(creating/active/failed/deleting/deleted) (Optional) * instance_identity (Optional): { * principal_id: String (Required) * client_id: String (Required) @@ -3348,6 +3972,298 @@ public Response updateAgentDetailsWithResponse(String agentName, Bin Context.NONE); } + /** + * The createAgentVersionFromCode operation. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     metadata (Required): {
+     *         String: String (Required)
+     *     }
+     *     object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *     id: String (Required)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     created_at: long (Required)
+     *     definition (Required): {
+     *         kind: String(prompt/hosted/workflow) (Required)
+     *         rai_config (Optional): {
+     *             rai_policy_name: String (Required)
+     *         }
+     *     }
+     *     status: String(creating/active/failed/deleting/deleted) (Optional)
+     *     instance_identity (Optional): {
+     *         principal_id: String (Required)
+     *         client_id: String (Required)
+     *     }
+     *     blueprint (Optional): (recursive schema, see blueprint above)
+     *     blueprint_reference (Optional): {
+     *         type: String(ManagedAgentIdentityBlueprint) (Required)
+     *     }
+     *     agent_guid: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param agentName The unique name that identifies the agent. Name can be used to retrieve/update/delete the agent. + * - Must start and end with alphanumeric characters, + * - Can contain hyphens in the middle + * - Must not exceed 63 characters. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createAgentVersionFromCodeWithResponseAsync(String agentName, + String codeZipSha256, BinaryData content, RequestOptions requestOptions) { + final String contentType = "multipart/form-data"; + final String accept = "application/json"; + return FluxUtil.withContext( + context -> service.createAgentVersionFromCode(this.client.getEndpoint(), agentName, contentType, + codeZipSha256, this.client.getServiceVersion().getVersion(), accept, content, requestOptions, context)); + } + + /** + * The createAgentVersionFromCode operation. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     metadata (Required): {
+     *         String: String (Required)
+     *     }
+     *     object: String(agent/agent.version/agent.deleted/agent.version.deleted/agent.container) (Required)
+     *     id: String (Required)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     created_at: long (Required)
+     *     definition (Required): {
+     *         kind: String(prompt/hosted/workflow) (Required)
+     *         rai_config (Optional): {
+     *             rai_policy_name: String (Required)
+     *         }
+     *     }
+     *     status: String(creating/active/failed/deleting/deleted) (Optional)
+     *     instance_identity (Optional): {
+     *         principal_id: String (Required)
+     *         client_id: String (Required)
+     *     }
+     *     blueprint (Optional): (recursive schema, see blueprint above)
+     *     blueprint_reference (Optional): {
+     *         type: String(ManagedAgentIdentityBlueprint) (Required)
+     *     }
+     *     agent_guid: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param agentName The unique name that identifies the agent. Name can be used to retrieve/update/delete the agent. + * - Must start and end with alphanumeric characters, + * - Can contain hyphens in the middle + * - Must not exceed 63 characters. + * @param codeZipSha256 SHA-256 hex digest of the uploaded code zip. Used for change detection (dedup) and integrity + * verification. + * @param content The content parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createAgentVersionFromCodeWithResponse(String agentName, String codeZipSha256, + BinaryData content, RequestOptions requestOptions) { + final String contentType = "multipart/form-data"; + final String accept = "application/json"; + return service.createAgentVersionFromCodeSync(this.client.getEndpoint(), agentName, contentType, codeZipSha256, + this.client.getServiceVersion().getVersion(), accept, content, requestOptions, Context.NONE); + } + + /** + * Download the code zip for a specific version of a code-based hosted agent. + * Returns the previously-uploaded zip (`application/zip`). + * The SHA-256 digest of the returned bytes matches the `content_hash` on the agent version's `code_configuration`. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param agentName The name of the agent. + * @param agentVersion The version of the agent whose code zip should be downloaded. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> downloadAgentVersionCodeWithResponseAsync(String agentName, String agentVersion, + RequestOptions requestOptions) { + final String accept = "application/zip"; + return FluxUtil.withContext(context -> service.downloadAgentVersionCode(this.client.getEndpoint(), agentName, + agentVersion, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Download the code zip for a specific version of a code-based hosted agent. + * Returns the previously-uploaded zip (`application/zip`). + * The SHA-256 digest of the returned bytes matches the `content_hash` on the agent version's `code_configuration`. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param agentName The name of the agent. + * @param agentVersion The version of the agent whose code zip should be downloaded. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response downloadAgentVersionCodeWithResponse(String agentName, String agentVersion, + RequestOptions requestOptions) { + final String accept = "application/zip"; + return service.downloadAgentVersionCodeSync(this.client.getEndpoint(), agentName, agentVersion, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Download the code zip for the latest version of a code-based hosted agent. + * Returns the previously-uploaded zip (`application/zip`). + * The SHA-256 digest of the returned bytes matches the `content_hash` on the latest version's `code_configuration`. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param agentName The name of the agent whose latest-version code zip should be downloaded. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> downloadAgentCodeWithResponseAsync(String agentName, + RequestOptions requestOptions) { + final String accept = "application/zip"; + return FluxUtil.withContext(context -> service.downloadAgentCode(this.client.getEndpoint(), agentName, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Download the code zip for the latest version of a code-based hosted agent. + * Returns the previously-uploaded zip (`application/zip`). + * The SHA-256 digest of the returned bytes matches the `content_hash` on the latest version's `code_configuration`. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param agentName The name of the agent whose latest-version code zip should be downloaded. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response downloadAgentCodeWithResponse(String agentName, RequestOptions requestOptions) { + final String accept = "application/zip"; + return service.downloadAgentCodeSync(this.client.getEndpoint(), agentName, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + /** * Creates a new session for an agent endpoint. * The endpoint resolves the backing agent version from `version_indicator` and @@ -3358,7 +4274,8 @@ public Response updateAgentDetailsWithResponse(String agentName, Bin * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -3392,8 +4309,6 @@ public Response updateAgentDetailsWithResponse(String agentName, Bin * * * @param agentName The name of the agent to create a session for. - * @param isolationKey Isolation key used by the agent endpoint to enforce session ownership for session-mutating - * operations. * @param createSessionRequest The createSessionRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -3404,11 +4319,11 @@ public Response updateAgentDetailsWithResponse(String agentName, Bin * {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createSessionWithResponseAsync(String agentName, String isolationKey, - BinaryData createSessionRequest, RequestOptions requestOptions) { + public Mono> createSessionWithResponseAsync(String agentName, BinaryData createSessionRequest, + RequestOptions requestOptions) { final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.createSession(this.client.getEndpoint(), agentName, isolationKey, + return FluxUtil.withContext(context -> service.createSession(this.client.getEndpoint(), agentName, this.client.getServiceVersion().getVersion(), contentType, accept, createSessionRequest, requestOptions, context)); } @@ -3423,7 +4338,8 @@ public Mono> createSessionWithResponseAsync(String agentNam * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -3457,8 +4373,6 @@ public Mono> createSessionWithResponseAsync(String agentNam * * * @param agentName The name of the agent to create a session for. - * @param isolationKey Isolation key used by the agent endpoint to enforce session ownership for session-mutating - * operations. * @param createSessionRequest The createSessionRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -3469,11 +4383,11 @@ public Mono> createSessionWithResponseAsync(String agentNam * {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response createSessionWithResponse(String agentName, String isolationKey, - BinaryData createSessionRequest, RequestOptions requestOptions) { + public Response createSessionWithResponse(String agentName, BinaryData createSessionRequest, + RequestOptions requestOptions) { final String contentType = "application/json"; final String accept = "application/json"; - return service.createSessionSync(this.client.getEndpoint(), agentName, isolationKey, + return service.createSessionSync(this.client.getEndpoint(), agentName, this.client.getServiceVersion().getVersion(), contentType, accept, createSessionRequest, requestOptions, Context.NONE); } @@ -3486,7 +4400,8 @@ public Response createSessionWithResponse(String agentName, String i * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -3532,7 +4447,8 @@ public Mono> getSessionWithResponseAsync(String agentName, * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -3579,14 +4495,13 @@ public Response getSessionWithResponse(String agentName, String sess * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * * @param agentName The name of the agent. * @param sessionId The session identifier. - * @param isolationKey Isolation key used by the agent endpoint to enforce session ownership for session-mutating - * operations. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -3595,10 +4510,10 @@ public Response getSessionWithResponse(String agentName, String sess * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteSessionWithResponseAsync(String agentName, String sessionId, String isolationKey, + public Mono> deleteSessionWithResponseAsync(String agentName, String sessionId, RequestOptions requestOptions) { return FluxUtil.withContext(context -> service.deleteSession(this.client.getEndpoint(), agentName, sessionId, - isolationKey, this.client.getServiceVersion().getVersion(), requestOptions, context)); + this.client.getServiceVersion().getVersion(), requestOptions, context)); } /** @@ -3610,14 +4525,13 @@ public Mono> deleteSessionWithResponseAsync(String agentName, Str * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * * @param agentName The name of the agent. * @param sessionId The session identifier. - * @param isolationKey Isolation key used by the agent endpoint to enforce session ownership for session-mutating - * operations. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -3626,9 +4540,8 @@ public Mono> deleteSessionWithResponseAsync(String agentName, Str * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteSessionWithResponse(String agentName, String sessionId, String isolationKey, - RequestOptions requestOptions) { - return service.deleteSessionSync(this.client.getEndpoint(), agentName, sessionId, isolationKey, + public Response deleteSessionWithResponse(String agentName, String sessionId, RequestOptions requestOptions) { + return service.deleteSessionSync(this.client.getEndpoint(), agentName, sessionId, this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); } @@ -3660,7 +4573,8 @@ public Response deleteSessionWithResponse(String agentName, String session * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -3728,7 +4642,8 @@ private Mono> listSessionsSinglePageAsync(String agent * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -3789,7 +4704,8 @@ public PagedFlux listSessionsAsync(String agentName, RequestOptions * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -3854,7 +4770,8 @@ private PagedResponse listSessionsSinglePage(String agentName, Reque * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -3921,7 +4838,8 @@ public PagedIterable listSessions(String agentName, RequestOptions r * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -3990,7 +4908,8 @@ public Mono> getSessionLogStreamWithResponseAsync(String ag * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", + * "CodeAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java index 4532d5025766..bf06989b1404 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java @@ -6,9 +6,8 @@ import com.azure.ai.agents.models.AgentCard; import com.azure.ai.agents.models.AgentCardSkill; -import com.azure.ai.agents.models.AgentEndpoint; import com.azure.ai.agents.models.AgentEndpointAuthorizationScheme; -import com.azure.ai.agents.models.IsolationKeySource; +import com.azure.ai.agents.models.AgentEndpointConfig; import com.azure.ai.agents.models.UpdateAgentDetailsOptions; import com.azure.ai.agents.models.VersionSelectionRule; import com.azure.ai.agents.models.VersionSelector; @@ -17,20 +16,21 @@ * This is the Helper class to enable json merge patch serialization for a model. */ public class JsonMergePatchHelper { - private static AgentEndpointAccessor agentEndpointAccessor; + private static AgentEndpointConfigAccessor agentEndpointConfigAccessor; - public interface AgentEndpointAccessor { - AgentEndpoint prepareModelForJsonMergePatch(AgentEndpoint agentEndpoint, boolean jsonMergePatchEnabled); + public interface AgentEndpointConfigAccessor { + AgentEndpointConfig prepareModelForJsonMergePatch(AgentEndpointConfig agentEndpointConfig, + boolean jsonMergePatchEnabled); - boolean isJsonMergePatch(AgentEndpoint agentEndpoint); + boolean isJsonMergePatch(AgentEndpointConfig agentEndpointConfig); } - public static void setAgentEndpointAccessor(AgentEndpointAccessor accessor) { - agentEndpointAccessor = accessor; + public static void setAgentEndpointConfigAccessor(AgentEndpointConfigAccessor accessor) { + agentEndpointConfigAccessor = accessor; } - public static AgentEndpointAccessor getAgentEndpointAccessor() { - return agentEndpointAccessor; + public static AgentEndpointConfigAccessor getAgentEndpointConfigAccessor() { + return agentEndpointConfigAccessor; } private static VersionSelectorAccessor versionSelectorAccessor; @@ -85,23 +85,6 @@ public static AgentEndpointAuthorizationSchemeAccessor getAgentEndpointAuthoriza return agentEndpointAuthorizationSchemeAccessor; } - private static IsolationKeySourceAccessor isolationKeySourceAccessor; - - public interface IsolationKeySourceAccessor { - IsolationKeySource prepareModelForJsonMergePatch(IsolationKeySource isolationKeySource, - boolean jsonMergePatchEnabled); - - boolean isJsonMergePatch(IsolationKeySource isolationKeySource); - } - - public static void setIsolationKeySourceAccessor(IsolationKeySourceAccessor accessor) { - isolationKeySourceAccessor = accessor; - } - - public static IsolationKeySourceAccessor getIsolationKeySourceAccessor() { - return isolationKeySourceAccessor; - } - private static AgentCardAccessor agentCardAccessor; public interface AgentCardAccessor { diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java new file mode 100644 index 000000000000..5684c4aecd49 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java @@ -0,0 +1,209 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.agents.implementation; + +import com.azure.core.http.HttpHeaderName; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.util.BinaryData; +import com.azure.core.util.CoreUtils; +import java.io.ByteArrayInputStream; +import java.io.InputStream; +import java.io.SequenceInputStream; +import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; +import java.util.List; +import java.util.UUID; + +// DO NOT modify this helper class + +public final class MultipartFormDataHelper { + /** + * Line separator for the multipart HTTP request. + */ + private static final String CRLF = "\r\n"; + + private static final String APPLICATION_OCTET_STREAM = "application/octet-stream"; + + /** + * Value to be used as part of the divider for the multipart requests. + */ + private final String boundary; + + /** + * The actual part separator in the request. This is obtained by prepending "--" to the "boundary". + */ + private final String partSeparator; + + /** + * The marker for the ending of a multipart request. This is obtained by post-pending "--" to the "partSeparator". + */ + private final String endMarker; + + /** + * Charset used for encoding the multipart HTTP request. + */ + private final Charset encoderCharset = StandardCharsets.UTF_8; + + private InputStream requestDataStream = new ByteArrayInputStream(new byte[0]); + private long requestLength = 0; + + private RequestOptions requestOptions; + private BinaryData requestBody; + + /** + * Default constructor used in the code. The boundary is a random value. + * + * @param requestOptions the RequestOptions to update + */ + public MultipartFormDataHelper(RequestOptions requestOptions) { + this(requestOptions, UUID.randomUUID().toString().substring(0, 16)); + } + + private MultipartFormDataHelper(RequestOptions requestOptions, String boundary) { + this.requestOptions = requestOptions; + this.boundary = boundary; + this.partSeparator = "--" + boundary; + this.endMarker = this.partSeparator + "--"; + } + + /** + * Gets the multipart HTTP request body. + * + * @return the BinaryData of the multipart HTTP request body + */ + public BinaryData getRequestBody() { + return requestBody; + } + + // text/plain + /** + * Formats a text/plain field for a multipart HTTP request. + * + * @param fieldName the field name + * @param value the value of the text/plain field + * @return the MultipartFormDataHelper instance + */ + public MultipartFormDataHelper serializeTextField(String fieldName, String value) { + if (value != null) { + String serialized = partSeparator + CRLF + "Content-Disposition: form-data; name=\"" + escapeName(fieldName) + + "\"" + CRLF + CRLF + value + CRLF; + byte[] data = serialized.getBytes(encoderCharset); + appendBytes(data); + } + return this; + } + + // application/json + /** + * Formats a application/json field for a multipart HTTP request. + * + * @param fieldName the field name + * @param jsonObject the object of the application/json field + * @return the MultipartFormDataHelper instance + */ + public MultipartFormDataHelper serializeJsonField(String fieldName, Object jsonObject) { + if (jsonObject != null) { + String serialized + = partSeparator + CRLF + "Content-Disposition: form-data; name=\"" + escapeName(fieldName) + "\"" + CRLF + + "Content-Type: application/json" + CRLF + CRLF + BinaryData.fromObject(jsonObject) + CRLF; + byte[] data = serialized.getBytes(encoderCharset); + appendBytes(data); + } + return this; + } + + /** + * Formats a file field for a multipart HTTP request. + * + * @param fieldName the field name + * @param file the BinaryData of the file + * @param contentType the content-type of the file + * @param filename the filename + * @return the MultipartFormDataHelper instance + */ + public MultipartFormDataHelper serializeFileField(String fieldName, BinaryData file, String contentType, + String filename) { + if (file != null) { + if (CoreUtils.isNullOrEmpty(contentType)) { + contentType = APPLICATION_OCTET_STREAM; + } + writeFileField(fieldName, file, contentType, filename); + } + return this; + } + + /** + * Formats a file field (potentially multiple files) for a multipart HTTP request. + * + * @param fieldName the field name + * @param files the List of BinaryData of the files + * @param contentTypes the List of content-type of the files + * @param filenames the List of filenames + * @return the MultipartFormDataHelper instance + */ + public MultipartFormDataHelper serializeFileFields(String fieldName, List files, + List contentTypes, List filenames) { + if (files != null) { + for (int i = 0; i < files.size(); ++i) { + BinaryData file = files.get(i); + String contentType = contentTypes.get(i); + if (CoreUtils.isNullOrEmpty(contentType)) { + contentType = APPLICATION_OCTET_STREAM; + } + String filename = filenames.get(i); + writeFileField(fieldName, file, contentType, filename); + } + } + return this; + } + + /** + * Ends the serialization of the multipart HTTP request. + * + * @return the MultipartFormDataHelper instance + */ + public MultipartFormDataHelper end() { + byte[] data = endMarker.getBytes(encoderCharset); + appendBytes(data); + + requestBody = BinaryData.fromStream(requestDataStream, requestLength); + + requestOptions.setHeader(HttpHeaderName.CONTENT_TYPE, "multipart/form-data; boundary=" + this.boundary) + .setHeader(HttpHeaderName.CONTENT_LENGTH, String.valueOf(requestLength)); + + return this; + } + + private void writeFileField(String fieldName, BinaryData file, String contentType, String filename) { + String contentDispositionFilename = ""; + if (!CoreUtils.isNullOrEmpty(filename)) { + contentDispositionFilename = "; filename=\"" + escapeName(filename) + "\""; + } + + // Multipart preamble + String fileFieldPreamble + = partSeparator + CRLF + "Content-Disposition: form-data; name=\"" + escapeName(fieldName) + "\"" + + contentDispositionFilename + CRLF + "Content-Type: " + contentType + CRLF + CRLF; + byte[] data = fileFieldPreamble.getBytes(encoderCharset); + appendBytes(data); + + // Writing the file into the request as a byte stream + requestLength += file.getLength(); + requestDataStream = new SequenceInputStream(requestDataStream, file.toStream()); + + // CRLF + data = CRLF.getBytes(encoderCharset); + appendBytes(data); + } + + private void appendBytes(byte[] bytes) { + requestLength += bytes.length; + requestDataStream = new SequenceInputStream(requestDataStream, new ByteArrayInputStream(bytes)); + } + + private static String escapeName(String name) { + return name.replace("\n", "%0A").replace("\r", "%0D").replace("\"", "%22"); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java index e4645a7c1054..2aadd4baf19f 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java @@ -80,51 +80,49 @@ public AgentsServiceVersion getServiceVersion() { @Host("{endpoint}") @ServiceInterface(name = "AgentsClientToolboxes") public interface ToolboxesService { - @Post("/toolboxes/{toolbox_name}/versions") + @Post("/toolboxes/{name}/versions") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> createToolboxVersion(@HostParam("endpoint") String endpoint, - @PathParam("toolbox_name") String toolboxName, @HeaderParam("Foundry-Features") String foundryFeatures, + @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData createToolboxVersionRequest, RequestOptions requestOptions, Context context); - @Post("/toolboxes/{toolbox_name}/versions") + @Post("/toolboxes/{name}/versions") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response createToolboxVersionSync(@HostParam("endpoint") String endpoint, - @PathParam("toolbox_name") String toolboxName, @HeaderParam("Foundry-Features") String foundryFeatures, + @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData createToolboxVersionRequest, RequestOptions requestOptions, Context context); - @Get("/toolboxes/{toolbox_name}") + @Get("/toolboxes/{name}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getToolbox(@HostParam("endpoint") String endpoint, - @PathParam("toolbox_name") String toolboxName, @HeaderParam("Foundry-Features") String foundryFeatures, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + Mono> getToolbox(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/toolboxes/{toolbox_name}") + @Get("/toolboxes/{name}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getToolboxSync(@HostParam("endpoint") String endpoint, - @PathParam("toolbox_name") String toolboxName, @HeaderParam("Foundry-Features") String foundryFeatures, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + Response getToolboxSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @Get("/toolboxes") @ExpectedResponses({ 200 }) @@ -146,115 +144,114 @@ Response listToolboxesSync(@HostParam("endpoint") String endpoint, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/toolboxes/{toolbox_name}/versions") + @Get("/toolboxes/{name}/versions") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> listToolboxVersions(@HostParam("endpoint") String endpoint, - @PathParam("toolbox_name") String toolboxName, @HeaderParam("Foundry-Features") String foundryFeatures, + @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/toolboxes/{toolbox_name}/versions") + @Get("/toolboxes/{name}/versions") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response listToolboxVersionsSync(@HostParam("endpoint") String endpoint, - @PathParam("toolbox_name") String toolboxName, @HeaderParam("Foundry-Features") String foundryFeatures, + @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/toolboxes/{toolbox_name}/versions/{version}") + @Get("/toolboxes/{name}/versions/{version}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> getToolboxVersion(@HostParam("endpoint") String endpoint, - @PathParam("toolbox_name") String toolboxName, @PathParam("version") String version, + @PathParam("name") String name, @PathParam("version") String version, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/toolboxes/{toolbox_name}/versions/{version}") + @Get("/toolboxes/{name}/versions/{version}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response getToolboxVersionSync(@HostParam("endpoint") String endpoint, - @PathParam("toolbox_name") String toolboxName, @PathParam("version") String version, + @PathParam("name") String name, @PathParam("version") String version, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Patch("/toolboxes/{toolbox_name}") + @Patch("/toolboxes/{name}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> updateToolbox(@HostParam("endpoint") String endpoint, - @PathParam("toolbox_name") String toolboxName, @HeaderParam("Foundry-Features") String foundryFeatures, - @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData updateToolboxRequest, - RequestOptions requestOptions, Context context); + Mono> updateToolbox(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData updateToolboxRequest, RequestOptions requestOptions, + Context context); - @Patch("/toolboxes/{toolbox_name}") + @Patch("/toolboxes/{name}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response updateToolboxSync(@HostParam("endpoint") String endpoint, - @PathParam("toolbox_name") String toolboxName, @HeaderParam("Foundry-Features") String foundryFeatures, - @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData updateToolboxRequest, - RequestOptions requestOptions, Context context); + Response updateToolboxSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData updateToolboxRequest, RequestOptions requestOptions, + Context context); - @Delete("/toolboxes/{toolbox_name}") + @Delete("/toolboxes/{name}") @ExpectedResponses({ 204 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> deleteToolbox(@HostParam("endpoint") String endpoint, - @PathParam("toolbox_name") String toolboxName, @HeaderParam("Foundry-Features") String foundryFeatures, - @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); + Mono> deleteToolbox(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + RequestOptions requestOptions, Context context); - @Delete("/toolboxes/{toolbox_name}") + @Delete("/toolboxes/{name}") @ExpectedResponses({ 204 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response deleteToolboxSync(@HostParam("endpoint") String endpoint, - @PathParam("toolbox_name") String toolboxName, @HeaderParam("Foundry-Features") String foundryFeatures, - @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); + Response deleteToolboxSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + RequestOptions requestOptions, Context context); - @Delete("/toolboxes/{toolbox_name}/versions/{version}") + @Delete("/toolboxes/{name}/versions/{version}") @ExpectedResponses({ 204 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> deleteToolboxVersion(@HostParam("endpoint") String endpoint, - @PathParam("toolbox_name") String toolboxName, @PathParam("version") String version, + @PathParam("name") String name, @PathParam("version") String version, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); - @Delete("/toolboxes/{toolbox_name}/versions/{version}") + @Delete("/toolboxes/{name}/versions/{version}") @ExpectedResponses({ 204 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response deleteToolboxVersionSync(@HostParam("endpoint") String endpoint, - @PathParam("toolbox_name") String toolboxName, @PathParam("version") String version, - @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, - RequestOptions requestOptions, Context context); + Response deleteToolboxVersionSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @PathParam("version") String version, @HeaderParam("Foundry-Features") String foundryFeatures, + @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); } /** @@ -270,7 +267,7 @@ Response deleteToolboxVersionSync(@HostParam("endpoint") String endpoint, * } * tools (Required): [ * (Required){ - * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) + * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] * policies (Optional): { @@ -297,7 +294,7 @@ Response deleteToolboxVersionSync(@HostParam("endpoint") String endpoint, * created_at: long (Required) * tools (Required): [ * (Required){ - * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) + * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] * policies (Optional): { @@ -309,7 +306,7 @@ Response deleteToolboxVersionSync(@HostParam("endpoint") String endpoint, * } * * - * @param toolboxName The name of the toolbox. If the toolbox does not exist, it will be created. + * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param createToolboxVersionRequest The createToolboxVersionRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -319,12 +316,12 @@ Response deleteToolboxVersionSync(@HostParam("endpoint") String endpoint, * @return a specific version of a toolbox along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createToolboxVersionWithResponseAsync(String toolboxName, + public Mono> createToolboxVersionWithResponseAsync(String name, BinaryData createToolboxVersionRequest, RequestOptions requestOptions) { final String foundryFeatures = "Toolboxes=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.createToolboxVersion(this.client.getEndpoint(), toolboxName, + return FluxUtil.withContext(context -> service.createToolboxVersion(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), contentType, accept, createToolboxVersionRequest, requestOptions, context)); } @@ -342,7 +339,7 @@ public Mono> createToolboxVersionWithResponseAsync(String t * } * tools (Required): [ * (Required){ - * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) + * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] * policies (Optional): { @@ -369,7 +366,7 @@ public Mono> createToolboxVersionWithResponseAsync(String t * created_at: long (Required) * tools (Required): [ * (Required){ - * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) + * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] * policies (Optional): { @@ -381,7 +378,7 @@ public Mono> createToolboxVersionWithResponseAsync(String t * } * * - * @param toolboxName The name of the toolbox. If the toolbox does not exist, it will be created. + * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param createToolboxVersionRequest The createToolboxVersionRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -391,12 +388,12 @@ public Mono> createToolboxVersionWithResponseAsync(String t * @return a specific version of a toolbox along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response createToolboxVersionWithResponse(String toolboxName, - BinaryData createToolboxVersionRequest, RequestOptions requestOptions) { + public Response createToolboxVersionWithResponse(String name, BinaryData createToolboxVersionRequest, + RequestOptions requestOptions) { final String foundryFeatures = "Toolboxes=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; - return service.createToolboxVersionSync(this.client.getEndpoint(), toolboxName, foundryFeatures, + return service.createToolboxVersionSync(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), contentType, accept, createToolboxVersionRequest, requestOptions, Context.NONE); } @@ -415,7 +412,7 @@ public Response createToolboxVersionWithResponse(String toolboxName, * } * * - * @param toolboxName The name of the toolbox to retrieve. + * @param name The name of the toolbox to retrieve. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -425,11 +422,11 @@ public Response createToolboxVersionWithResponse(String toolboxName, * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getToolboxWithResponseAsync(String toolboxName, RequestOptions requestOptions) { + public Mono> getToolboxWithResponseAsync(String name, RequestOptions requestOptions) { final String foundryFeatures = "Toolboxes=V1Preview"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getToolbox(this.client.getEndpoint(), toolboxName, - foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.getToolbox(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } /** @@ -446,7 +443,7 @@ public Mono> getToolboxWithResponseAsync(String toolboxName * } * * - * @param toolboxName The name of the toolbox to retrieve. + * @param name The name of the toolbox to retrieve. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -455,10 +452,10 @@ public Mono> getToolboxWithResponseAsync(String toolboxName * @return a toolbox that stores reusable tool definitions for agents along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getToolboxWithResponse(String toolboxName, RequestOptions requestOptions) { + public Response getToolboxWithResponse(String name, RequestOptions requestOptions) { final String foundryFeatures = "Toolboxes=V1Preview"; final String accept = "application/json"; - return service.getToolboxSync(this.client.getEndpoint(), toolboxName, foundryFeatures, + return service.getToolboxSync(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } @@ -695,7 +692,7 @@ public PagedIterable listToolboxes(RequestOptions requestOptions) { * created_at: long (Required) * tools (Required): [ * (Required){ - * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) + * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] * policies (Optional): { @@ -707,7 +704,7 @@ public PagedIterable listToolboxes(RequestOptions requestOptions) { * } * * - * @param toolboxName The name of the toolbox to list versions for. + * @param name The name of the toolbox to list versions for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -717,12 +714,12 @@ public PagedIterable listToolboxes(RequestOptions requestOptions) { * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listToolboxVersionsSinglePageAsync(String toolboxName, + private Mono> listToolboxVersionsSinglePageAsync(String name, RequestOptions requestOptions) { final String foundryFeatures = "Toolboxes=V1Preview"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listToolboxVersions(this.client.getEndpoint(), toolboxName, foundryFeatures, + .withContext(context -> service.listToolboxVersions(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "data"), null, null)); @@ -765,7 +762,7 @@ private Mono> listToolboxVersionsSinglePageAsync(Strin * created_at: long (Required) * tools (Required): [ * (Required){ - * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) + * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] * policies (Optional): { @@ -777,7 +774,7 @@ private Mono> listToolboxVersionsSinglePageAsync(Strin * } * * - * @param toolboxName The name of the toolbox to list versions for. + * @param name The name of the toolbox to list versions for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -786,8 +783,8 @@ private Mono> listToolboxVersionsSinglePageAsync(Strin * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listToolboxVersionsAsync(String toolboxName, RequestOptions requestOptions) { - return new PagedFlux<>(() -> listToolboxVersionsSinglePageAsync(toolboxName, requestOptions)); + public PagedFlux listToolboxVersionsAsync(String name, RequestOptions requestOptions) { + return new PagedFlux<>(() -> listToolboxVersionsSinglePageAsync(name, requestOptions)); } /** @@ -827,7 +824,7 @@ public PagedFlux listToolboxVersionsAsync(String toolboxName, Reques * created_at: long (Required) * tools (Required): [ * (Required){ - * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) + * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] * policies (Optional): { @@ -839,7 +836,7 @@ public PagedFlux listToolboxVersionsAsync(String toolboxName, Reques * } * * - * @param toolboxName The name of the toolbox to list versions for. + * @param name The name of the toolbox to list versions for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -848,11 +845,11 @@ public PagedFlux listToolboxVersionsAsync(String toolboxName, Reques * @return the response data for a requested list of items along with {@link PagedResponse}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listToolboxVersionsSinglePage(String toolboxName, RequestOptions requestOptions) { + private PagedResponse listToolboxVersionsSinglePage(String name, RequestOptions requestOptions) { final String foundryFeatures = "Toolboxes=V1Preview"; final String accept = "application/json"; - Response res = service.listToolboxVersionsSync(this.client.getEndpoint(), toolboxName, - foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + Response res = service.listToolboxVersionsSync(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "data"), null, null); } @@ -894,7 +891,7 @@ private PagedResponse listToolboxVersionsSinglePage(String toolboxNa * created_at: long (Required) * tools (Required): [ * (Required){ - * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) + * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] * policies (Optional): { @@ -906,7 +903,7 @@ private PagedResponse listToolboxVersionsSinglePage(String toolboxNa * } * * - * @param toolboxName The name of the toolbox to list versions for. + * @param name The name of the toolbox to list versions for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -915,8 +912,8 @@ private PagedResponse listToolboxVersionsSinglePage(String toolboxNa * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listToolboxVersions(String toolboxName, RequestOptions requestOptions) { - return new PagedIterable<>(() -> listToolboxVersionsSinglePage(toolboxName, requestOptions)); + public PagedIterable listToolboxVersions(String name, RequestOptions requestOptions) { + return new PagedIterable<>(() -> listToolboxVersionsSinglePage(name, requestOptions)); } /** @@ -936,7 +933,7 @@ public PagedIterable listToolboxVersions(String toolboxName, Request * created_at: long (Required) * tools (Required): [ * (Required){ - * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) + * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] * policies (Optional): { @@ -948,7 +945,7 @@ public PagedIterable listToolboxVersions(String toolboxName, Request * } * * - * @param toolboxName The name of the toolbox. + * @param name The name of the toolbox. * @param version The version identifier to retrieve. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -958,12 +955,12 @@ public PagedIterable listToolboxVersions(String toolboxName, Request * @return a specific version of a toolbox along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getToolboxVersionWithResponseAsync(String toolboxName, String version, + public Mono> getToolboxVersionWithResponseAsync(String name, String version, RequestOptions requestOptions) { final String foundryFeatures = "Toolboxes=V1Preview"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getToolboxVersion(this.client.getEndpoint(), toolboxName, - version, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.getToolboxVersion(this.client.getEndpoint(), name, version, + foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } /** @@ -983,7 +980,7 @@ public Mono> getToolboxVersionWithResponseAsync(String tool * created_at: long (Required) * tools (Required): [ * (Required){ - * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) + * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] * policies (Optional): { @@ -995,7 +992,7 @@ public Mono> getToolboxVersionWithResponseAsync(String tool * } * * - * @param toolboxName The name of the toolbox. + * @param name The name of the toolbox. * @param version The version identifier to retrieve. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1005,11 +1002,11 @@ public Mono> getToolboxVersionWithResponseAsync(String tool * @return a specific version of a toolbox along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getToolboxVersionWithResponse(String toolboxName, String version, + public Response getToolboxVersionWithResponse(String name, String version, RequestOptions requestOptions) { final String foundryFeatures = "Toolboxes=V1Preview"; final String accept = "application/json"; - return service.getToolboxVersionSync(this.client.getEndpoint(), toolboxName, version, foundryFeatures, + return service.getToolboxVersionSync(this.client.getEndpoint(), name, version, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } @@ -1037,7 +1034,7 @@ public Response getToolboxVersionWithResponse(String toolboxName, St * } * * - * @param toolboxName The name of the toolbox to update. + * @param name The name of the toolbox to update. * @param updateToolboxRequest The updateToolboxRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1048,14 +1045,14 @@ public Response getToolboxVersionWithResponse(String toolboxName, St * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateToolboxWithResponseAsync(String toolboxName, - BinaryData updateToolboxRequest, RequestOptions requestOptions) { + public Mono> updateToolboxWithResponseAsync(String name, BinaryData updateToolboxRequest, + RequestOptions requestOptions) { final String foundryFeatures = "Toolboxes=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.updateToolbox(this.client.getEndpoint(), toolboxName, - foundryFeatures, this.client.getServiceVersion().getVersion(), contentType, accept, updateToolboxRequest, - requestOptions, context)); + return FluxUtil.withContext(context -> service.updateToolbox(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), contentType, accept, updateToolboxRequest, requestOptions, + context)); } /** @@ -1082,7 +1079,7 @@ public Mono> updateToolboxWithResponseAsync(String toolboxN * } * * - * @param toolboxName The name of the toolbox to update. + * @param name The name of the toolbox to update. * @param updateToolboxRequest The updateToolboxRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1092,12 +1089,12 @@ public Mono> updateToolboxWithResponseAsync(String toolboxN * @return a toolbox that stores reusable tool definitions for agents along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateToolboxWithResponse(String toolboxName, BinaryData updateToolboxRequest, + public Response updateToolboxWithResponse(String name, BinaryData updateToolboxRequest, RequestOptions requestOptions) { final String foundryFeatures = "Toolboxes=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; - return service.updateToolboxSync(this.client.getEndpoint(), toolboxName, foundryFeatures, + return service.updateToolboxSync(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), contentType, accept, updateToolboxRequest, requestOptions, Context.NONE); } @@ -1105,7 +1102,7 @@ public Response updateToolboxWithResponse(String toolboxName, Binary /** * Delete a toolbox and all its versions. * - * @param toolboxName The name of the toolbox to delete. + * @param name The name of the toolbox to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1114,16 +1111,16 @@ public Response updateToolboxWithResponse(String toolboxName, Binary * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteToolboxWithResponseAsync(String toolboxName, RequestOptions requestOptions) { + public Mono> deleteToolboxWithResponseAsync(String name, RequestOptions requestOptions) { final String foundryFeatures = "Toolboxes=V1Preview"; - return FluxUtil.withContext(context -> service.deleteToolbox(this.client.getEndpoint(), toolboxName, - foundryFeatures, this.client.getServiceVersion().getVersion(), requestOptions, context)); + return FluxUtil.withContext(context -> service.deleteToolbox(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), requestOptions, context)); } /** * Delete a toolbox and all its versions. * - * @param toolboxName The name of the toolbox to delete. + * @param name The name of the toolbox to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1132,16 +1129,16 @@ public Mono> deleteToolboxWithResponseAsync(String toolboxName, R * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteToolboxWithResponse(String toolboxName, RequestOptions requestOptions) { + public Response deleteToolboxWithResponse(String name, RequestOptions requestOptions) { final String foundryFeatures = "Toolboxes=V1Preview"; - return service.deleteToolboxSync(this.client.getEndpoint(), toolboxName, foundryFeatures, + return service.deleteToolboxSync(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); } /** * Delete a specific version of a toolbox. * - * @param toolboxName The name of the toolbox. + * @param name The name of the toolbox. * @param version The version identifier to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1151,17 +1148,17 @@ public Response deleteToolboxWithResponse(String toolboxName, RequestOptio * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteToolboxVersionWithResponseAsync(String toolboxName, String version, + public Mono> deleteToolboxVersionWithResponseAsync(String name, String version, RequestOptions requestOptions) { final String foundryFeatures = "Toolboxes=V1Preview"; - return FluxUtil.withContext(context -> service.deleteToolboxVersion(this.client.getEndpoint(), toolboxName, - version, foundryFeatures, this.client.getServiceVersion().getVersion(), requestOptions, context)); + return FluxUtil.withContext(context -> service.deleteToolboxVersion(this.client.getEndpoint(), name, version, + foundryFeatures, this.client.getServiceVersion().getVersion(), requestOptions, context)); } /** * Delete a specific version of a toolbox. * - * @param toolboxName The name of the toolbox. + * @param name The name of the toolbox. * @param version The version identifier to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1171,10 +1168,9 @@ public Mono> deleteToolboxVersionWithResponseAsync(String toolbox * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteToolboxVersionWithResponse(String toolboxName, String version, - RequestOptions requestOptions) { + public Response deleteToolboxVersionWithResponse(String name, String version, RequestOptions requestOptions) { final String foundryFeatures = "Toolboxes=V1Preview"; - return service.deleteToolboxVersionSync(this.client.getEndpoint(), toolboxName, version, foundryFeatures, + return service.deleteToolboxVersionSync(this.client.getEndpoint(), name, version, foundryFeatures, this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java index 93b7ebfd645c..a260a1072b60 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java @@ -7,7 +7,7 @@ import com.azure.ai.agents.models.AgentCard; import com.azure.ai.agents.models.AgentDefinition; import com.azure.ai.agents.models.AgentDefinitionOptInKeys; -import com.azure.ai.agents.models.AgentEndpoint; +import com.azure.ai.agents.models.AgentEndpointConfig; import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; import java.util.Map; @@ -66,7 +66,7 @@ public final class CreateAgentOptions { * An optional endpoint configuration. If not specified, a default endpoint configuration will be set for the agent */ @Generated - private AgentEndpoint agentEndpoint; + private AgentEndpointConfig agentEndpoint; /* * Optional agent card for the agent @@ -218,23 +218,10 @@ public CreateAgentOptions setBlueprintReference(AgentBlueprintReference blueprin * @return the agentEndpoint value. */ @Generated - public AgentEndpoint getAgentEndpoint() { + public AgentEndpointConfig getAgentEndpoint() { return this.agentEndpoint; } - /** - * Set the agentEndpoint property: An optional endpoint configuration. If not specified, a default endpoint - * configuration will be set for the agent. - * - * @param agentEndpoint the agentEndpoint value to set. - * @return the CreateAgentOptions object itself. - */ - @Generated - public CreateAgentOptions setAgentEndpoint(AgentEndpoint agentEndpoint) { - this.agentEndpoint = agentEndpoint; - return this; - } - /** * Get the agentCard property: Optional agent card for the agent. * @@ -256,4 +243,17 @@ public CreateAgentOptions setAgentCard(AgentCard agentCard) { this.agentCard = agentCard; return this; } + + /** + * Set the agentEndpoint property: An optional endpoint configuration. If not specified, a default endpoint + * configuration will be set for the agent. + * + * @param agentEndpoint the agentEndpoint value to set. + * @return the CreateAgentOptions object itself. + */ + @Generated + public CreateAgentOptions setAgentEndpoint(AgentEndpointConfig agentEndpoint) { + this.agentEndpoint = agentEndpoint; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java index 114fd3919c62..d7389f2b4adc 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java @@ -6,7 +6,7 @@ import com.azure.ai.agents.models.AgentBlueprintReference; import com.azure.ai.agents.models.AgentCard; import com.azure.ai.agents.models.AgentDefinition; -import com.azure.ai.agents.models.AgentEndpoint; +import com.azure.ai.agents.models.AgentEndpointConfig; import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; import com.azure.json.JsonReader; @@ -179,7 +179,7 @@ public static CreateAgentRequest fromJson(JsonReader jsonReader) throws IOExcept Map metadata = null; String description = null; AgentBlueprintReference blueprintReference = null; - AgentEndpoint agentEndpoint = null; + AgentEndpointConfig agentEndpoint = null; AgentCard agentCard = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); @@ -195,7 +195,7 @@ public static CreateAgentRequest fromJson(JsonReader jsonReader) throws IOExcept } else if ("blueprint_reference".equals(fieldName)) { blueprintReference = AgentBlueprintReference.fromJson(reader); } else if ("agent_endpoint".equals(fieldName)) { - agentEndpoint = AgentEndpoint.fromJson(reader); + agentEndpoint = AgentEndpointConfig.fromJson(reader); } else if ("agent_card".equals(fieldName)) { agentCard = AgentCard.fromJson(reader); } else { @@ -222,7 +222,7 @@ public static CreateAgentRequest fromJson(JsonReader jsonReader) throws IOExcept * An optional endpoint configuration. If not specified, a default endpoint configuration will be set for the agent */ @Generated - private AgentEndpoint agentEndpoint; + private AgentEndpointConfig agentEndpoint; /* * Optional agent card for the agent @@ -259,23 +259,10 @@ public CreateAgentRequest setBlueprintReference(AgentBlueprintReference blueprin * @return the agentEndpoint value. */ @Generated - public AgentEndpoint getAgentEndpoint() { + public AgentEndpointConfig getAgentEndpoint() { return this.agentEndpoint; } - /** - * Set the agentEndpoint property: An optional endpoint configuration. If not specified, a default endpoint - * configuration will be set for the agent. - * - * @param agentEndpoint the agentEndpoint value to set. - * @return the CreateAgentRequest object itself. - */ - @Generated - public CreateAgentRequest setAgentEndpoint(AgentEndpoint agentEndpoint) { - this.agentEndpoint = agentEndpoint; - return this; - } - /** * Get the agentCard property: Optional agent card for the agent. * @@ -297,4 +284,17 @@ public CreateAgentRequest setAgentCard(AgentCard agentCard) { this.agentCard = agentCard; return this; } + + /** + * Set the agentEndpoint property: An optional endpoint configuration. If not specified, a default endpoint + * configuration will be set for the agent. + * + * @param agentEndpoint the agentEndpoint value to set. + * @return the CreateAgentRequest object itself. + */ + @Generated + public CreateAgentRequest setAgentEndpoint(AgentEndpointConfig agentEndpoint) { + this.agentEndpoint = agentEndpoint; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/A2APreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/A2APreviewTool.java index 0d87544cb110..50c05d9d3073 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/A2APreviewTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/A2APreviewTool.java @@ -138,6 +138,8 @@ public A2APreviewTool setProjectConnectionId(String projectConnectionId) { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("description", this.description); jsonWriter.writeStringField("base_url", this.baseUrl); jsonWriter.writeStringField("agent_card_path", this.agentCardPath); jsonWriter.writeStringField("project_connection_id", this.projectConnectionId); @@ -161,6 +163,10 @@ public static A2APreviewTool fromJson(JsonReader jsonReader) throws IOException reader.nextToken(); if ("type".equals(fieldName)) { deserializedA2APreviewTool.type = ToolType.fromString(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedA2APreviewTool.name = reader.getString(); + } else if ("description".equals(fieldName)) { + deserializedA2APreviewTool.description = reader.getString(); } else if ("base_url".equals(fieldName)) { deserializedA2APreviewTool.baseUrl = reader.getString(); } else if ("agent_card_path".equals(fieldName)) { @@ -174,4 +180,60 @@ public static A2APreviewTool fromJson(JsonReader jsonReader) throws IOException return deserializedA2APreviewTool; }); } + + /* + * Optional user-defined name for this tool or configuration. + */ + @Generated + private String name; + + /* + * Optional user-defined description for this tool or configuration. + */ + @Generated + private String description; + + /** + * Get the name property: Optional user-defined name for this tool or configuration. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Set the name property: Optional user-defined name for this tool or configuration. + * + * @param name the name value to set. + * @return the A2APreviewTool object itself. + */ + @Generated + public A2APreviewTool setName(String name) { + this.name = name; + return this; + } + + /** + * Get the description property: Optional user-defined description for this tool or configuration. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional user-defined description for this tool or configuration. + * + * @param description the description value to set. + * @return the A2APreviewTool object itself. + */ + @Generated + public A2APreviewTool setDescription(String description) { + this.description = description; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java index 0924da83ec9d..c0edcd7f33f7 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java @@ -26,7 +26,12 @@ public enum AgentDefinitionOptInKeys { /** * Enum value AgentEndpoints=V1Preview. */ - AGENT_ENDPOINT_V1_PREVIEW("AgentEndpoints=V1Preview"); + AGENT_ENDPOINT_V1_PREVIEW("AgentEndpoints=V1Preview"), + + /** + * Enum value CodeAgents=V1Preview. + */ + CODE_AGENTS_V1_PREVIEW("CodeAgents=V1Preview"); /** * The actual serialized value for a AgentDefinitionOptInKeys instance. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDetails.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDetails.java index 4e8becf05f02..05893327cf1b 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDetails.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDetails.java @@ -96,7 +96,7 @@ public static AgentDetails fromJson(JsonReader jsonReader) throws IOException { String id = null; String name = null; AgentDetailsVersions versions = null; - AgentEndpoint agentEndpoint = null; + AgentEndpointConfig agentEndpoint = null; AgentIdentity instanceIdentity = null; AgentIdentity blueprint = null; AgentBlueprintReference blueprintReference = null; @@ -111,7 +111,7 @@ public static AgentDetails fromJson(JsonReader jsonReader) throws IOException { } else if ("versions".equals(fieldName)) { versions = AgentDetailsVersions.fromJson(reader); } else if ("agent_endpoint".equals(fieldName)) { - agentEndpoint = AgentEndpoint.fromJson(reader); + agentEndpoint = AgentEndpointConfig.fromJson(reader); } else if ("instance_identity".equals(fieldName)) { instanceIdentity = AgentIdentity.fromJson(reader); } else if ("blueprint".equals(fieldName)) { @@ -168,7 +168,7 @@ public AgentObjectType getObjectType() { * The endpoint configuration for the agent */ @Generated - private AgentEndpoint agentEndpoint; + private AgentEndpointConfig agentEndpoint; /* * The instance identity of the agent @@ -200,7 +200,7 @@ public AgentObjectType getObjectType() { * @return the agentEndpoint value. */ @Generated - public AgentEndpoint getAgentEndpoint() { + public AgentEndpointConfig getAgentEndpoint() { return this.agentEndpoint; } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentEndpoint.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java similarity index 80% rename from sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentEndpoint.java rename to sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java index d1a116c3b403..e7e1c06e2947 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentEndpoint.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java @@ -16,10 +16,10 @@ import java.util.Set; /** - * The AgentEndpoint model. + * The AgentEndpointConfig model. */ @Fluent -public final class AgentEndpoint implements JsonSerializable { +public final class AgentEndpointConfig implements JsonSerializable { /* * The version selector of the agent endpoint determines how traffic is routed to different versions of the agent. @@ -54,26 +54,27 @@ private void serializeAsJsonMergePatch(boolean jsonMergePatch) { } static { - JsonMergePatchHelper.setAgentEndpointAccessor(new JsonMergePatchHelper.AgentEndpointAccessor() { + JsonMergePatchHelper.setAgentEndpointConfigAccessor(new JsonMergePatchHelper.AgentEndpointConfigAccessor() { @Override - public AgentEndpoint prepareModelForJsonMergePatch(AgentEndpoint model, boolean jsonMergePatchEnabled) { + public AgentEndpointConfig prepareModelForJsonMergePatch(AgentEndpointConfig model, + boolean jsonMergePatchEnabled) { model.serializeAsJsonMergePatch(jsonMergePatchEnabled); return model; } @Override - public boolean isJsonMergePatch(AgentEndpoint model) { + public boolean isJsonMergePatch(AgentEndpointConfig model) { return model.jsonMergePatch; } }); } /** - * Creates an instance of AgentEndpoint class. + * Creates an instance of AgentEndpointConfig class. */ @Generated - public AgentEndpoint() { + public AgentEndpointConfig() { } /** @@ -92,10 +93,10 @@ public VersionSelector getVersionSelector() { * different versions of the agent. * * @param versionSelector the versionSelector value to set. - * @return the AgentEndpoint object itself. + * @return the AgentEndpointConfig object itself. */ @Generated - public AgentEndpoint setVersionSelector(VersionSelector versionSelector) { + public AgentEndpointConfig setVersionSelector(VersionSelector versionSelector) { this.versionSelector = versionSelector; this.updatedProperties.add("versionSelector"); return this; @@ -115,10 +116,10 @@ public List getProtocols() { * Set the protocols property: The protocols that the agent supports. * * @param protocols the protocols value to set. - * @return the AgentEndpoint object itself. + * @return the AgentEndpointConfig object itself. */ @Generated - public AgentEndpoint setProtocols(List protocols) { + public AgentEndpointConfig setProtocols(List protocols) { this.protocols = protocols; this.updatedProperties.add("protocols"); return this; @@ -138,10 +139,10 @@ public List getAuthorizationSchemes() { * Set the authorizationSchemes property: The authorization schemes supported by the agent endpoint. * * @param authorizationSchemes the authorizationSchemes value to set. - * @return the AgentEndpoint object itself. + * @return the AgentEndpointConfig object itself. */ @Generated - public AgentEndpoint setAuthorizationSchemes(List authorizationSchemes) { + public AgentEndpointConfig setAuthorizationSchemes(List authorizationSchemes) { this.authorizationSchemes = authorizationSchemes; this.updatedProperties.add("authorizationSchemes"); return this; @@ -200,35 +201,35 @@ private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of AgentEndpoint from the JsonReader. + * Reads an instance of AgentEndpointConfig from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of AgentEndpoint if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of AgentEndpointConfig if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. - * @throws IOException If an error occurs while reading the AgentEndpoint. + * @throws IOException If an error occurs while reading the AgentEndpointConfig. */ @Generated - public static AgentEndpoint fromJson(JsonReader jsonReader) throws IOException { + public static AgentEndpointConfig fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - AgentEndpoint deserializedAgentEndpoint = new AgentEndpoint(); + AgentEndpointConfig deserializedAgentEndpointConfig = new AgentEndpointConfig(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("version_selector".equals(fieldName)) { - deserializedAgentEndpoint.versionSelector = VersionSelector.fromJson(reader); + deserializedAgentEndpointConfig.versionSelector = VersionSelector.fromJson(reader); } else if ("protocols".equals(fieldName)) { List protocols = reader.readArray(reader1 -> AgentEndpointProtocol.fromString(reader1.getString())); - deserializedAgentEndpoint.protocols = protocols; + deserializedAgentEndpointConfig.protocols = protocols; } else if ("authorization_schemes".equals(fieldName)) { List authorizationSchemes = reader.readArray(reader1 -> AgentEndpointAuthorizationScheme.fromJson(reader1)); - deserializedAgentEndpoint.authorizationSchemes = authorizationSchemes; + deserializedAgentEndpointConfig.authorizationSchemes = authorizationSchemes; } else { reader.skipChildren(); } } - return deserializedAgentEndpoint; + return deserializedAgentEndpointConfig; }); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java index b911543b5130..ae18f6f2872f 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java @@ -185,6 +185,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeLongField("created_at", this.createdAt); jsonWriter.writeJsonField("definition", this.definition); jsonWriter.writeStringField("description", this.description); + jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); return jsonWriter.writeEndObject(); } @@ -207,6 +208,7 @@ public static AgentVersionDetails fromJson(JsonReader jsonReader) throws IOExcep OffsetDateTime createdAt = null; AgentDefinition definition = null; String description = null; + AgentVersionStatus status = null; AgentIdentity instanceIdentity = null; AgentIdentity blueprint = null; AgentBlueprintReference blueprintReference = null; @@ -228,6 +230,8 @@ public static AgentVersionDetails fromJson(JsonReader jsonReader) throws IOExcep definition = AgentDefinition.fromJson(reader); } else if ("description".equals(fieldName)) { description = reader.getString(); + } else if ("status".equals(fieldName)) { + status = AgentVersionStatus.fromString(reader.getString()); } else if ("instance_identity".equals(fieldName)) { instanceIdentity = AgentIdentity.fromJson(reader); } else if ("blueprint".equals(fieldName)) { @@ -243,6 +247,7 @@ public static AgentVersionDetails fromJson(JsonReader jsonReader) throws IOExcep AgentVersionDetails deserializedAgentVersionDetails = new AgentVersionDetails(metadata, id, name, version, createdAt, definition); deserializedAgentVersionDetails.description = description; + deserializedAgentVersionDetails.status = status; deserializedAgentVersionDetails.instanceIdentity = instanceIdentity; deserializedAgentVersionDetails.blueprint = blueprint; deserializedAgentVersionDetails.blueprintReference = blueprintReference; @@ -330,4 +335,22 @@ public AgentBlueprintReference getBlueprintReference() { public String getAgentGuid() { return this.agentGuid; } + + /* + * The provisioning status of the agent version. Defaults to 'active' for non-hosted agents. For hosted agents, + * reflects infrastructure readiness. + */ + @Generated + private AgentVersionStatus status; + + /** + * Get the status property: The provisioning status of the agent version. Defaults to 'active' for non-hosted + * agents. For hosted agents, reflects infrastructure readiness. + * + * @return the status value. + */ + @Generated + public AgentVersionStatus getStatus() { + return this.status; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java new file mode 100644 index 000000000000..da1971dc290a --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java @@ -0,0 +1,71 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.agents.models; + +/** + * The provisioning status of an agent version. + */ +public enum AgentVersionStatus { + /** + * The agent version is being provisioned. + */ + CREATING("creating"), + + /** + * The agent version is active and ready to serve requests. + */ + ACTIVE("active"), + + /** + * The agent version provisioning failed. + */ + FAILED("failed"), + + /** + * The agent version is being deleted. + */ + DELETING("deleting"), + + /** + * The agent version has been deleted. + */ + DELETED("deleted"); + + /** + * The actual serialized value for a AgentVersionStatus instance. + */ + private final String value; + + AgentVersionStatus(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a AgentVersionStatus instance. + * + * @param value the serialized value to parse. + * @return the parsed AgentVersionStatus object, or null if unable to parse. + */ + public static AgentVersionStatus fromString(String value) { + if (value == null) { + return null; + } + AgentVersionStatus[] items = AgentVersionStatus.values(); + for (AgentVersionStatus item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java index 19435e12d288..e7612b469dcf 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java @@ -3,8 +3,8 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.ai.agents.models; +import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -13,7 +13,7 @@ /** * The input definition information for an Azure AI search tool as used to configure an agent. */ -@Immutable +@Fluent public final class AzureAISearchTool extends Tool { /* @@ -68,6 +68,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeJsonField("azure_ai_search", this.azureAISearch); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("description", this.description); return jsonWriter.writeEndObject(); } @@ -85,6 +87,8 @@ public static AzureAISearchTool fromJson(JsonReader jsonReader) throws IOExcepti return jsonReader.readObject(reader -> { AzureAISearchToolResource azureAISearch = null; ToolType type = ToolType.AZURE_AI_SEARCH; + String name = null; + String description = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -92,13 +96,75 @@ public static AzureAISearchTool fromJson(JsonReader jsonReader) throws IOExcepti azureAISearch = AzureAISearchToolResource.fromJson(reader); } else if ("type".equals(fieldName)) { type = ToolType.fromString(reader.getString()); + } else if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("description".equals(fieldName)) { + description = reader.getString(); } else { reader.skipChildren(); } } AzureAISearchTool deserializedAzureAISearchTool = new AzureAISearchTool(azureAISearch); deserializedAzureAISearchTool.type = type; + deserializedAzureAISearchTool.name = name; + deserializedAzureAISearchTool.description = description; return deserializedAzureAISearchTool; }); } + + /* + * Optional user-defined name for this tool or configuration. + */ + @Generated + private String name; + + /* + * Optional user-defined description for this tool or configuration. + */ + @Generated + private String description; + + /** + * Get the name property: Optional user-defined name for this tool or configuration. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Set the name property: Optional user-defined name for this tool or configuration. + * + * @param name the name value to set. + * @return the AzureAISearchTool object itself. + */ + @Generated + public AzureAISearchTool setName(String name) { + this.name = name; + return this; + } + + /** + * Get the description property: Optional user-defined description for this tool or configuration. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional user-defined description for this tool or configuration. + * + * @param description the description value to set. + * @return the AzureAISearchTool object itself. + */ + @Generated + public AzureAISearchTool setDescription(String description) { + this.description = description; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java index 624f62aa3864..b3fa5abcd2f6 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java @@ -3,8 +3,8 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.ai.agents.models; +import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -13,7 +13,7 @@ /** * The input definition information for a Bing custom search tool as used to configure an agent. */ -@Immutable +@Fluent public final class BingCustomSearchPreviewTool extends Tool { /* @@ -68,6 +68,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeJsonField("bing_custom_search_preview", this.bingCustomSearchPreview); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("description", this.description); return jsonWriter.writeEndObject(); } @@ -85,6 +87,8 @@ public static BingCustomSearchPreviewTool fromJson(JsonReader jsonReader) throws return jsonReader.readObject(reader -> { BingCustomSearchToolParameters bingCustomSearchPreview = null; ToolType type = ToolType.BING_CUSTOM_SEARCH_PREVIEW; + String name = null; + String description = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -92,6 +96,10 @@ public static BingCustomSearchPreviewTool fromJson(JsonReader jsonReader) throws bingCustomSearchPreview = BingCustomSearchToolParameters.fromJson(reader); } else if ("type".equals(fieldName)) { type = ToolType.fromString(reader.getString()); + } else if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("description".equals(fieldName)) { + description = reader.getString(); } else { reader.skipChildren(); } @@ -99,7 +107,65 @@ public static BingCustomSearchPreviewTool fromJson(JsonReader jsonReader) throws BingCustomSearchPreviewTool deserializedBingCustomSearchPreviewTool = new BingCustomSearchPreviewTool(bingCustomSearchPreview); deserializedBingCustomSearchPreviewTool.type = type; + deserializedBingCustomSearchPreviewTool.name = name; + deserializedBingCustomSearchPreviewTool.description = description; return deserializedBingCustomSearchPreviewTool; }); } + + /* + * Optional user-defined name for this tool or configuration. + */ + @Generated + private String name; + + /* + * Optional user-defined description for this tool or configuration. + */ + @Generated + private String description; + + /** + * Get the name property: Optional user-defined name for this tool or configuration. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Set the name property: Optional user-defined name for this tool or configuration. + * + * @param name the name value to set. + * @return the BingCustomSearchPreviewTool object itself. + */ + @Generated + public BingCustomSearchPreviewTool setName(String name) { + this.name = name; + return this; + } + + /** + * Get the description property: Optional user-defined description for this tool or configuration. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional user-defined description for this tool or configuration. + * + * @param description the description value to set. + * @return the BingCustomSearchPreviewTool object itself. + */ + @Generated + public BingCustomSearchPreviewTool setDescription(String description) { + this.description = description; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingGroundingTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingGroundingTool.java index aa18a2a874c4..62eb78a149ec 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingGroundingTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingGroundingTool.java @@ -3,8 +3,8 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.ai.agents.models; +import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -13,7 +13,7 @@ /** * The input definition information for a bing grounding search tool as used to configure an agent. */ -@Immutable +@Fluent public final class BingGroundingTool extends Tool { /* @@ -68,6 +68,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeJsonField("bing_grounding", this.bingGrounding); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("description", this.description); return jsonWriter.writeEndObject(); } @@ -85,6 +87,8 @@ public static BingGroundingTool fromJson(JsonReader jsonReader) throws IOExcepti return jsonReader.readObject(reader -> { BingGroundingSearchToolParameters bingGrounding = null; ToolType type = ToolType.BING_GROUNDING; + String name = null; + String description = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -92,13 +96,75 @@ public static BingGroundingTool fromJson(JsonReader jsonReader) throws IOExcepti bingGrounding = BingGroundingSearchToolParameters.fromJson(reader); } else if ("type".equals(fieldName)) { type = ToolType.fromString(reader.getString()); + } else if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("description".equals(fieldName)) { + description = reader.getString(); } else { reader.skipChildren(); } } BingGroundingTool deserializedBingGroundingTool = new BingGroundingTool(bingGrounding); deserializedBingGroundingTool.type = type; + deserializedBingGroundingTool.name = name; + deserializedBingGroundingTool.description = description; return deserializedBingGroundingTool; }); } + + /* + * Optional user-defined name for this tool or configuration. + */ + @Generated + private String name; + + /* + * Optional user-defined description for this tool or configuration. + */ + @Generated + private String description; + + /** + * Get the name property: Optional user-defined name for this tool or configuration. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Set the name property: Optional user-defined name for this tool or configuration. + * + * @param name the name value to set. + * @return the BingGroundingTool object itself. + */ + @Generated + public BingGroundingTool setName(String name) { + this.name = name; + return this; + } + + /** + * Get the description property: Optional user-defined description for this tool or configuration. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional user-defined description for this tool or configuration. + * + * @param description the description value to set. + * @return the BingGroundingTool object itself. + */ + @Generated + public BingGroundingTool setDescription(String description) { + this.description = description; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java index 5e5867c33e7b..f9fa993f8028 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java @@ -3,8 +3,8 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.ai.agents.models; +import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -13,7 +13,7 @@ /** * The input definition information for a Browser Automation Tool, as used to configure an Agent. */ -@Immutable +@Fluent public final class BrowserAutomationPreviewTool extends Tool { /* @@ -68,6 +68,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeJsonField("browser_automation_preview", this.browserAutomationPreview); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("description", this.description); return jsonWriter.writeEndObject(); } @@ -85,6 +87,8 @@ public static BrowserAutomationPreviewTool fromJson(JsonReader jsonReader) throw return jsonReader.readObject(reader -> { BrowserAutomationToolParameters browserAutomationPreview = null; ToolType type = ToolType.BROWSER_AUTOMATION_PREVIEW; + String name = null; + String description = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -92,6 +96,10 @@ public static BrowserAutomationPreviewTool fromJson(JsonReader jsonReader) throw browserAutomationPreview = BrowserAutomationToolParameters.fromJson(reader); } else if ("type".equals(fieldName)) { type = ToolType.fromString(reader.getString()); + } else if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("description".equals(fieldName)) { + description = reader.getString(); } else { reader.skipChildren(); } @@ -99,7 +107,65 @@ public static BrowserAutomationPreviewTool fromJson(JsonReader jsonReader) throw BrowserAutomationPreviewTool deserializedBrowserAutomationPreviewTool = new BrowserAutomationPreviewTool(browserAutomationPreview); deserializedBrowserAutomationPreviewTool.type = type; + deserializedBrowserAutomationPreviewTool.name = name; + deserializedBrowserAutomationPreviewTool.description = description; return deserializedBrowserAutomationPreviewTool; }); } + + /* + * Optional user-defined name for this tool or configuration. + */ + @Generated + private String name; + + /* + * Optional user-defined description for this tool or configuration. + */ + @Generated + private String description; + + /** + * Get the name property: Optional user-defined name for this tool or configuration. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Set the name property: Optional user-defined name for this tool or configuration. + * + * @param name the name value to set. + * @return the BrowserAutomationPreviewTool object itself. + */ + @Generated + public BrowserAutomationPreviewTool setName(String name) { + this.name = name; + return this; + } + + /** + * Get the description property: Optional user-defined description for this tool or configuration. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional user-defined description for this tool or configuration. + * + * @param description the description value to set. + * @return the BrowserAutomationPreviewTool object itself. + */ + @Generated + public BrowserAutomationPreviewTool setDescription(String description) { + this.description = description; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeConfiguration.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeConfiguration.java index d6f75280f848..7221675de0da 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeConfiguration.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeConfiguration.java @@ -30,18 +30,6 @@ public final class CodeConfiguration implements JsonSerializable entryPoint; - /** - * Creates an instance of CodeConfiguration class. - * - * @param runtime the runtime value to set. - * @param entryPoint the entryPoint value to set. - */ - @Generated - public CodeConfiguration(String runtime, List entryPoint) { - this.runtime = runtime; - this.entryPoint = entryPoint; - } - /** * Get the runtime property: The runtime identifier for code execution (e.g., 'python_3_11', 'python_3_12', * 'python_3_13'). @@ -72,6 +60,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("runtime", this.runtime); jsonWriter.writeArrayField("entry_point", this.entryPoint, (writer, element) -> writer.writeString(element)); + jsonWriter.writeStringField("dependency_resolution", + this.dependencyResolution == null ? null : this.dependencyResolution.toString()); return jsonWriter.writeEndObject(); } @@ -89,6 +79,8 @@ public static CodeConfiguration fromJson(JsonReader jsonReader) throws IOExcepti return jsonReader.readObject(reader -> { String runtime = null; List entryPoint = null; + CodeDependencyResolution dependencyResolution = null; + String contentHash = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -96,11 +88,73 @@ public static CodeConfiguration fromJson(JsonReader jsonReader) throws IOExcepti runtime = reader.getString(); } else if ("entry_point".equals(fieldName)) { entryPoint = reader.readArray(reader1 -> reader1.getString()); + } else if ("dependency_resolution".equals(fieldName)) { + dependencyResolution = CodeDependencyResolution.fromString(reader.getString()); + } else if ("content_hash".equals(fieldName)) { + contentHash = reader.getString(); } else { reader.skipChildren(); } } - return new CodeConfiguration(runtime, entryPoint); + CodeConfiguration deserializedCodeConfiguration + = new CodeConfiguration(runtime, entryPoint, dependencyResolution); + deserializedCodeConfiguration.contentHash = contentHash; + return deserializedCodeConfiguration; }); } + + /* + * How package dependencies are resolved at deployment time. Defaults to `bundled`, + * where the caller bundles all dependencies into the uploaded zip and the service + * performs no remote build. `remote_build` instructs the service to build + * dependencies remotely from the manifest included in the uploaded zip. + */ + @Generated + private final CodeDependencyResolution dependencyResolution; + + /* + * The SHA-256 hex digest of the uploaded code zip. Set by the service from the `x-ms-code-zip-sha256` request + * header; read-only in responses and never accepted in request payloads. + */ + @Generated + private String contentHash; + + /** + * Creates an instance of CodeConfiguration class. + * + * @param runtime the runtime value to set. + * @param entryPoint the entryPoint value to set. + * @param dependencyResolution the dependencyResolution value to set. + */ + @Generated + public CodeConfiguration(String runtime, List entryPoint, CodeDependencyResolution dependencyResolution) { + this.runtime = runtime; + this.entryPoint = entryPoint; + this.dependencyResolution = dependencyResolution; + } + + /** + * Get the dependencyResolution property: How package dependencies are resolved at deployment time. Defaults to + * `bundled`, + * where the caller bundles all dependencies into the uploaded zip and the service + * performs no remote build. `remote_build` instructs the service to build + * dependencies remotely from the manifest included in the uploaded zip. + * + * @return the dependencyResolution value. + */ + @Generated + public CodeDependencyResolution getDependencyResolution() { + return this.dependencyResolution; + } + + /** + * Get the contentHash property: The SHA-256 hex digest of the uploaded code zip. Set by the service from the + * `x-ms-code-zip-sha256` request header; read-only in responses and never accepted in request payloads. + * + * @return the contentHash value. + */ + @Generated + public String getContentHash() { + return this.contentHash; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java new file mode 100644 index 000000000000..797d73542972 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * How package dependencies are resolved at deployment time for a code-based hosted agent. + */ +public final class CodeDependencyResolution extends ExpandableStringEnum { + + /** + * The caller has bundled all dependencies into the uploaded zip; the service performs no remote build. + */ + @Generated + public static final CodeDependencyResolution BUNDLED = fromString("bundled"); + + /** + * The service builds dependencies remotely from the manifest included in the uploaded zip. + */ + @Generated + public static final CodeDependencyResolution REMOTE_BUILD = fromString("remote_build"); + + /** + * Creates a new instance of CodeDependencyResolution value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public CodeDependencyResolution() { + } + + /** + * Creates or finds a CodeDependencyResolution from its string representation. + * + * @param name a name to look for. + * @return the corresponding CodeDependencyResolution. + */ + @Generated + public static CodeDependencyResolution fromString(String name) { + return fromString(name, CodeDependencyResolution.class); + } + + /** + * Gets known CodeDependencyResolution values. + * + * @return known CodeDependencyResolution values. + */ + @Generated + public static Collection values() { + return values(CodeDependencyResolution.class); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeFileDetails.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeFileDetails.java new file mode 100644 index 000000000000..1bed6e5dd593 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeFileDetails.java @@ -0,0 +1,97 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; + +/** + * The file details for the "code" field. + */ +@Fluent +public final class CodeFileDetails { + + /* + * The content of the file. + */ + @Generated + private final BinaryData content; + + /* + * The filename of the file. + */ + @Generated + private String filename; + + /* + * The content-type of the file. + */ + @Generated + private String contentType = "application/octet-stream"; + + /** + * Creates an instance of CodeFileDetails class. + * + * @param content the content value to set. + */ + @Generated + public CodeFileDetails(BinaryData content) { + this.content = content; + } + + /** + * Get the content property: The content of the file. + * + * @return the content value. + */ + @Generated + public BinaryData getContent() { + return this.content; + } + + /** + * Get the filename property: The filename of the file. + * + * @return the filename value. + */ + @Generated + public String getFilename() { + return this.filename; + } + + /** + * Set the filename property: The filename of the file. + * + * @param filename the filename value to set. + * @return the CodeFileDetails object itself. + */ + @Generated + public CodeFileDetails setFilename(String filename) { + this.filename = filename; + return this; + } + + /** + * Get the contentType property: The content-type of the file. + * + * @return the contentType value. + */ + @Generated + public String getContentType() { + return this.contentType; + } + + /** + * Set the contentType property: The content-type of the file. + * + * @param contentType the contentType value to set. + * @return the CodeFileDetails object itself. + */ + @Generated + public CodeFileDetails setContentType(String contentType) { + this.contentType = contentType; + return this; + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CreateAgentFromCodeContent.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CreateAgentFromCodeContent.java new file mode 100644 index 000000000000..4fffc66720d6 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CreateAgentFromCodeContent.java @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; + +/** + * Multipart request body for creating a new code-based agent (POST /agents). Inherits from + * CreateAgentVersionFromCodeContent for future extensibility. + */ +@Immutable +public final class CreateAgentFromCodeContent { + + /* + * JSON metadata including description and hosted definition. + */ + @Generated + private final CreateAgentVersionFromCodeMetadata metadata; + + /* + * The code zip file (max 250 MB). + */ + @Generated + private final CodeFileDetails code; + + /** + * Creates an instance of CreateAgentFromCodeContent class. + * + * @param metadata the metadata value to set. + * @param code the code value to set. + */ + @Generated + public CreateAgentFromCodeContent(CreateAgentVersionFromCodeMetadata metadata, CodeFileDetails code) { + this.metadata = metadata; + this.code = code; + } + + /** + * Get the metadata property: JSON metadata including description and hosted definition. + * + * @return the metadata value. + */ + @Generated + public CreateAgentVersionFromCodeMetadata getMetadata() { + return this.metadata; + } + + /** + * Get the code property: The code zip file (max 250 MB). + * + * @return the code value. + */ + @Generated + public CodeFileDetails getCode() { + return this.code; + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java new file mode 100644 index 000000000000..ac62bf498f57 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; + +/** + * Multipart request body for updating or versioning a code-based agent (POST /agents/{name} and POST + * /agents/{name}/versions). + */ +@Immutable +public final class CreateAgentVersionFromCodeContent { + + /* + * JSON metadata including description and hosted definition. + */ + @Generated + private final CreateAgentVersionFromCodeMetadata metadata; + + /* + * The code zip file (max 250 MB). + */ + @Generated + private final CodeFileDetails code; + + /** + * Creates an instance of CreateAgentVersionFromCodeContent class. + * + * @param metadata the metadata value to set. + * @param code the code value to set. + */ + @Generated + public CreateAgentVersionFromCodeContent(CreateAgentVersionFromCodeMetadata metadata, CodeFileDetails code) { + this.metadata = metadata; + this.code = code; + } + + /** + * Get the metadata property: JSON metadata including description and hosted definition. + * + * @return the metadata value. + */ + @Generated + public CreateAgentVersionFromCodeMetadata getMetadata() { + return this.metadata; + } + + /** + * Get the code property: The code zip file (max 250 MB). + * + * @return the code value. + */ + @Generated + public CodeFileDetails getCode() { + return this.code; + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java new file mode 100644 index 000000000000..087443b76b8c --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java @@ -0,0 +1,171 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.Map; + +/** + * JSON metadata for code-based agent operations (create, update, create version). + * The agent name comes from the URL path parameter or the `x-ms-agent-name` header, + * so it is not included in this model. + * The content hash (SHA-256 of the zip) is carried in the `x-ms-code-zip-sha256` header. + */ +@Fluent +public final class CreateAgentVersionFromCodeMetadata implements JsonSerializable { + + /* + * A human-readable description of the agent. + */ + @Generated + private String description; + + /* + * Set of 16 key-value pairs that can be attached to an object. This can be + * useful for storing additional information about the object in a structured + * format, and querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings + * with a maximum length of 512 characters. + */ + @Generated + private Map metadata; + + /* + * The hosted agent definition including code_configuration (runtime, entry_point), cpu, memory, and + * protocol_versions. + */ + @Generated + private final HostedAgentDefinition definition; + + /** + * Creates an instance of CreateAgentVersionFromCodeMetadata class. + * + * @param definition the definition value to set. + */ + @Generated + public CreateAgentVersionFromCodeMetadata(HostedAgentDefinition definition) { + this.definition = definition; + } + + /** + * Get the description property: A human-readable description of the agent. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: A human-readable description of the agent. + * + * @param description the description value to set. + * @return the CreateAgentVersionFromCodeMetadata object itself. + */ + @Generated + public CreateAgentVersionFromCodeMetadata setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the metadata property: Set of 16 key-value pairs that can be attached to an object. This can be + * useful for storing additional information about the object in a structured + * format, and querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings + * with a maximum length of 512 characters. + * + * @return the metadata value. + */ + @Generated + public Map getMetadata() { + return this.metadata; + } + + /** + * Set the metadata property: Set of 16 key-value pairs that can be attached to an object. This can be + * useful for storing additional information about the object in a structured + * format, and querying for objects via API or the dashboard. + * + * Keys are strings with a maximum length of 64 characters. Values are strings + * with a maximum length of 512 characters. + * + * @param metadata the metadata value to set. + * @return the CreateAgentVersionFromCodeMetadata object itself. + */ + @Generated + public CreateAgentVersionFromCodeMetadata setMetadata(Map metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get the definition property: The hosted agent definition including code_configuration (runtime, entry_point), + * cpu, memory, and protocol_versions. + * + * @return the definition value. + */ + @Generated + public HostedAgentDefinition getDefinition() { + return this.definition; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("definition", this.definition); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeMapField("metadata", this.metadata, (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of CreateAgentVersionFromCodeMetadata from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of CreateAgentVersionFromCodeMetadata if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the CreateAgentVersionFromCodeMetadata. + */ + @Generated + public static CreateAgentVersionFromCodeMetadata fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + HostedAgentDefinition definition = null; + String description = null; + Map metadata = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("definition".equals(fieldName)) { + definition = HostedAgentDefinition.fromJson(reader); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("metadata".equals(fieldName)) { + metadata = reader.readMap(reader1 -> reader1.getString()); + } else { + reader.skipChildren(); + } + } + CreateAgentVersionFromCodeMetadata deserializedCreateAgentVersionFromCodeMetadata + = new CreateAgentVersionFromCodeMetadata(definition); + deserializedCreateAgentVersionFromCodeMetadata.description = description; + deserializedCreateAgentVersionFromCodeMetadata.metadata = metadata; + return deserializedCreateAgentVersionFromCodeMetadata; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java index 706ee54cfd87..14b340e44e31 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java @@ -4,8 +4,8 @@ package com.azure.ai.agents.models; import com.azure.ai.agents.implementation.JsonMergePatchHelper; -import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -16,7 +16,7 @@ /** * The EntraAuthorizationScheme model. */ -@Fluent +@Immutable public final class EntraAuthorizationScheme extends AgentEndpointAuthorizationScheme { /* @@ -25,12 +25,6 @@ public final class EntraAuthorizationScheme extends AgentEndpointAuthorizationSc @Generated private AgentEndpointAuthorizationSchemeType type = AgentEndpointAuthorizationSchemeType.ENTRA; - /* - * The isolation_key_source property. - */ - @Generated - private IsolationKeySource isolationKeySource; - /** * Stores updated model property, the value is property name, not serialized name. */ @@ -55,30 +49,6 @@ public AgentEndpointAuthorizationSchemeType getType() { return this.type; } - /** - * Get the isolationKeySource property: The isolation_key_source property. - * - * @return the isolationKeySource value. - */ - @Generated - public IsolationKeySource getIsolationKeySource() { - return this.isolationKeySource; - } - - /** - * Set the isolationKeySource property: The isolation_key_source property. - *

Required when create the resource.

- * - * @param isolationKeySource the isolationKeySource value to set. - * @return the EntraAuthorizationScheme object itself. - */ - @Generated - public EntraAuthorizationScheme setIsolationKeySource(IsolationKeySource isolationKeySource) { - this.isolationKeySource = isolationKeySource; - this.updatedProperties.add("isolationKeySource"); - return this; - } - /** * {@inheritDoc} */ @@ -90,7 +60,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } else { jsonWriter.writeStartObject(); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeJsonField("isolation_key_source", this.isolationKeySource); return jsonWriter.writeEndObject(); } } @@ -99,17 +68,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("type", this.type.toString()); - if (updatedProperties.contains("isolationKeySource")) { - if (this.isolationKeySource == null) { - jsonWriter.writeNullField("isolation_key_source"); - } else { - JsonMergePatchHelper.getIsolationKeySourceAccessor() - .prepareModelForJsonMergePatch(this.isolationKeySource, true); - jsonWriter.writeJsonField("isolation_key_source", this.isolationKeySource); - JsonMergePatchHelper.getIsolationKeySourceAccessor() - .prepareModelForJsonMergePatch(this.isolationKeySource, false); - } - } return jsonWriter.writeEndObject(); } @@ -131,8 +89,6 @@ public static EntraAuthorizationScheme fromJson(JsonReader jsonReader) throws IO if ("type".equals(fieldName)) { deserializedEntraAuthorizationScheme.type = AgentEndpointAuthorizationSchemeType.fromString(reader.getString()); - } else if ("isolation_key_source".equals(fieldName)) { - deserializedEntraAuthorizationScheme.isolationKeySource = IsolationKeySource.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java deleted file mode 100644 index b9a58d6487b4..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.models; - -import com.azure.ai.agents.implementation.JsonMergePatchHelper; -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.HashSet; -import java.util.Set; - -/** - * The EntraIsolationKeySource model. - */ -@Immutable -public final class EntraIsolationKeySource extends IsolationKeySource { - - /* - * The kind property. - */ - @Generated - private IsolationKeySourceKind kind = IsolationKeySourceKind.ENTRA; - - /** - * Stores updated model property, the value is property name, not serialized name. - */ - @Generated - private final Set updatedProperties = new HashSet<>(); - - /** - * Creates an instance of EntraIsolationKeySource class. - */ - @Generated - public EntraIsolationKeySource() { - } - - /** - * Get the kind property: The kind property. - * - * @return the kind value. - */ - @Generated - @Override - public IsolationKeySourceKind getKind() { - return this.kind; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - if (JsonMergePatchHelper.getIsolationKeySourceAccessor().isJsonMergePatch(this)) { - return toJsonMergePatch(jsonWriter); - } else { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); - return jsonWriter.writeEndObject(); - } - } - - @Generated - private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("kind", this.kind.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of EntraIsolationKeySource from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of EntraIsolationKeySource if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IOException If an error occurs while reading the EntraIsolationKeySource. - */ - @Generated - public static EntraIsolationKeySource fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - EntraIsolationKeySource deserializedEntraIsolationKeySource = new EntraIsolationKeySource(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("kind".equals(fieldName)) { - deserializedEntraIsolationKeySource.kind = IsolationKeySourceKind.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedEntraIsolationKeySource; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java new file mode 100644 index 000000000000..688926ca72ce --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java @@ -0,0 +1,278 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A FabricIQ server-side tool. + */ +@Fluent +public final class FabricIQPreviewTool extends Tool { + + /* + * The type property. + */ + @Generated + private ToolType type = ToolType.FABRIC_IQ_PREVIEW; + + /* + * The ID of the FabricIQ project connection. + */ + @Generated + private final String projectConnectionId; + + /* + * (Optional) The label of the FabricIQ MCP server to connect to. + */ + @Generated + private String serverLabel; + + /* + * (Optional) The URL of the FabricIQ MCP server. If not provided, the URL from the project connection will be used. + */ + @Generated + private String serverUrl; + + /* + * (Optional) Whether the agent requires approval before executing actions. Default is always. + */ + @Generated + private BinaryData requireApproval; + + /* + * Optional user-defined name for this tool or configuration. + */ + @Generated + private String name; + + /* + * Optional user-defined description for this tool or configuration. + */ + @Generated + private String description; + + /** + * Creates an instance of FabricIQPreviewTool class. + * + * @param projectConnectionId the projectConnectionId value to set. + */ + @Generated + public FabricIQPreviewTool(String projectConnectionId) { + this.projectConnectionId = projectConnectionId; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public ToolType getType() { + return this.type; + } + + /** + * Get the projectConnectionId property: The ID of the FabricIQ project connection. + * + * @return the projectConnectionId value. + */ + @Generated + public String getProjectConnectionId() { + return this.projectConnectionId; + } + + /** + * Get the serverLabel property: (Optional) The label of the FabricIQ MCP server to connect to. + * + * @return the serverLabel value. + */ + @Generated + public String getServerLabel() { + return this.serverLabel; + } + + /** + * Set the serverLabel property: (Optional) The label of the FabricIQ MCP server to connect to. + * + * @param serverLabel the serverLabel value to set. + * @return the FabricIQPreviewTool object itself. + */ + @Generated + public FabricIQPreviewTool setServerLabel(String serverLabel) { + this.serverLabel = serverLabel; + return this; + } + + /** + * Get the serverUrl property: (Optional) The URL of the FabricIQ MCP server. If not provided, the URL from the + * project connection will be used. + * + * @return the serverUrl value. + */ + @Generated + public String getServerUrl() { + return this.serverUrl; + } + + /** + * Set the serverUrl property: (Optional) The URL of the FabricIQ MCP server. If not provided, the URL from the + * project connection will be used. + * + * @param serverUrl the serverUrl value to set. + * @return the FabricIQPreviewTool object itself. + */ + @Generated + public FabricIQPreviewTool setServerUrl(String serverUrl) { + this.serverUrl = serverUrl; + return this; + } + + /** + * Get the requireApproval property: (Optional) Whether the agent requires approval before executing actions. + * Default is always. + * + * @return the requireApproval value. + */ + @Generated + public BinaryData getRequireApproval() { + return this.requireApproval; + } + + /** + * Set the requireApproval property: (Optional) Whether the agent requires approval before executing actions. + * Default is always. + * + * @param requireApproval the requireApproval value to set. + * @return the FabricIQPreviewTool object itself. + */ + @Generated + public FabricIQPreviewTool setRequireApproval(BinaryData requireApproval) { + this.requireApproval = requireApproval; + return this; + } + + /** + * Get the name property: Optional user-defined name for this tool or configuration. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Set the name property: Optional user-defined name for this tool or configuration. + * + * @param name the name value to set. + * @return the FabricIQPreviewTool object itself. + */ + @Generated + public FabricIQPreviewTool setName(String name) { + this.name = name; + return this; + } + + /** + * Get the description property: Optional user-defined description for this tool or configuration. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional user-defined description for this tool or configuration. + * + * @param description the description value to set. + * @return the FabricIQPreviewTool object itself. + */ + @Generated + public FabricIQPreviewTool setDescription(String description) { + this.description = description; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("project_connection_id", this.projectConnectionId); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("server_label", this.serverLabel); + jsonWriter.writeStringField("server_url", this.serverUrl); + if (this.requireApproval != null) { + jsonWriter.writeFieldName("require_approval"); + this.requireApproval.writeTo(jsonWriter); + } + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("description", this.description); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FabricIQPreviewTool from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FabricIQPreviewTool if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the FabricIQPreviewTool. + */ + @Generated + public static FabricIQPreviewTool fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String projectConnectionId = null; + ToolType type = ToolType.FABRIC_IQ_PREVIEW; + String serverLabel = null; + String serverUrl = null; + BinaryData requireApproval = null; + String name = null; + String description = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("project_connection_id".equals(fieldName)) { + projectConnectionId = reader.getString(); + } else if ("type".equals(fieldName)) { + type = ToolType.fromString(reader.getString()); + } else if ("server_label".equals(fieldName)) { + serverLabel = reader.getString(); + } else if ("server_url".equals(fieldName)) { + serverUrl = reader.getString(); + } else if ("require_approval".equals(fieldName)) { + requireApproval + = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); + } else if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else { + reader.skipChildren(); + } + } + FabricIQPreviewTool deserializedFabricIQPreviewTool = new FabricIQPreviewTool(projectConnectionId); + deserializedFabricIQPreviewTool.type = type; + deserializedFabricIQPreviewTool.serverLabel = serverLabel; + deserializedFabricIQPreviewTool.serverUrl = serverUrl; + deserializedFabricIQPreviewTool.requireApproval = requireApproval; + deserializedFabricIQPreviewTool.name = name; + deserializedFabricIQPreviewTool.description = description; + return deserializedFabricIQPreviewTool; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java index 3aa02501ebfe..0d7f36a4209e 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java @@ -41,7 +41,12 @@ public enum FoundryFeaturesOptInKeys { /** * Enum value Skills=V1Preview. */ - SKILLS_V1_PREVIEW("Skills=V1Preview"); + SKILLS_V1_PREVIEW("Skills=V1Preview"), + + /** + * Enum value DataGenerationJobs=V1Preview. + */ + DATA_GENERATION_JOBS_V1_PREVIEW("DataGenerationJobs=V1Preview"); /** * The actual serialized value for a FoundryFeaturesOptInKeys instance. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java deleted file mode 100644 index c29c338d2304..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java +++ /dev/null @@ -1,178 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.models; - -import com.azure.ai.agents.implementation.JsonMergePatchHelper; -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.HashSet; -import java.util.Set; - -/** - * The HeaderIsolationKeySource model. - */ -@Fluent -public final class HeaderIsolationKeySource extends IsolationKeySource { - - /* - * The kind property. - */ - @Generated - private IsolationKeySourceKind kind = IsolationKeySourceKind.HEADER; - - /* - * The user isolation key header value - */ - @Generated - private String userIsolationKey; - - /* - * The chat isolation key header value - */ - @Generated - private String chatIsolationKey; - - /** - * Stores updated model property, the value is property name, not serialized name. - */ - @Generated - private final Set updatedProperties = new HashSet<>(); - - /** - * Creates an instance of HeaderIsolationKeySource class. - */ - @Generated - public HeaderIsolationKeySource() { - } - - /** - * Get the kind property: The kind property. - * - * @return the kind value. - */ - @Generated - @Override - public IsolationKeySourceKind getKind() { - return this.kind; - } - - /** - * Get the userIsolationKey property: The user isolation key header value. - * - * @return the userIsolationKey value. - */ - @Generated - public String getUserIsolationKey() { - return this.userIsolationKey; - } - - /** - * Set the userIsolationKey property: The user isolation key header value. - *

Required when create the resource.

- * - * @param userIsolationKey the userIsolationKey value to set. - * @return the HeaderIsolationKeySource object itself. - */ - @Generated - public HeaderIsolationKeySource setUserIsolationKey(String userIsolationKey) { - this.userIsolationKey = userIsolationKey; - this.updatedProperties.add("userIsolationKey"); - return this; - } - - /** - * Get the chatIsolationKey property: The chat isolation key header value. - * - * @return the chatIsolationKey value. - */ - @Generated - public String getChatIsolationKey() { - return this.chatIsolationKey; - } - - /** - * Set the chatIsolationKey property: The chat isolation key header value. - *

Required when create the resource.

- * - * @param chatIsolationKey the chatIsolationKey value to set. - * @return the HeaderIsolationKeySource object itself. - */ - @Generated - public HeaderIsolationKeySource setChatIsolationKey(String chatIsolationKey) { - this.chatIsolationKey = chatIsolationKey; - this.updatedProperties.add("chatIsolationKey"); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - if (JsonMergePatchHelper.getIsolationKeySourceAccessor().isJsonMergePatch(this)) { - return toJsonMergePatch(jsonWriter); - } else { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); - jsonWriter.writeStringField("user_isolation_key", this.userIsolationKey); - jsonWriter.writeStringField("chat_isolation_key", this.chatIsolationKey); - return jsonWriter.writeEndObject(); - } - } - - @Generated - private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("kind", this.kind.toString()); - if (updatedProperties.contains("userIsolationKey")) { - if (this.userIsolationKey == null) { - jsonWriter.writeNullField("user_isolation_key"); - } else { - jsonWriter.writeStringField("user_isolation_key", this.userIsolationKey); - } - } - if (updatedProperties.contains("chatIsolationKey")) { - if (this.chatIsolationKey == null) { - jsonWriter.writeNullField("chat_isolation_key"); - } else { - jsonWriter.writeStringField("chat_isolation_key", this.chatIsolationKey); - } - } - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of HeaderIsolationKeySource from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of HeaderIsolationKeySource if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IOException If an error occurs while reading the HeaderIsolationKeySource. - */ - @Generated - public static HeaderIsolationKeySource fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - HeaderIsolationKeySource deserializedHeaderIsolationKeySource = new HeaderIsolationKeySource(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("kind".equals(fieldName)) { - deserializedHeaderIsolationKeySource.kind = IsolationKeySourceKind.fromString(reader.getString()); - } else if ("user_isolation_key".equals(fieldName)) { - deserializedHeaderIsolationKeySource.userIsolationKey = reader.getString(); - } else if ("chat_isolation_key".equals(fieldName)) { - deserializedHeaderIsolationKeySource.chatIsolationKey = reader.getString(); - } else { - reader.skipChildren(); - } - } - return deserializedHeaderIsolationKeySource; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java new file mode 100644 index 000000000000..a54e42eb985e --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java @@ -0,0 +1,149 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Header-based secret authentication for a telemetry endpoint. The resolved secret value is injected as an HTTP header. + */ +@Immutable +public final class HeaderTelemetryEndpointAuth extends TelemetryEndpointAuth { + + /* + * The authentication type. + */ + @Generated + private TelemetryEndpointAuthType type = TelemetryEndpointAuthType.HEADER; + + /* + * The name of the HTTP header to inject the secret value into. + */ + @Generated + private final String headerName; + + /* + * The identifier of the secret store or connection. + */ + @Generated + private final String secretId; + + /* + * The key within the secret to retrieve the authentication value. + */ + @Generated + private final String secretKey; + + /** + * Creates an instance of HeaderTelemetryEndpointAuth class. + * + * @param headerName the headerName value to set. + * @param secretId the secretId value to set. + * @param secretKey the secretKey value to set. + */ + @Generated + public HeaderTelemetryEndpointAuth(String headerName, String secretId, String secretKey) { + this.headerName = headerName; + this.secretId = secretId; + this.secretKey = secretKey; + } + + /** + * Get the type property: The authentication type. + * + * @return the type value. + */ + @Generated + @Override + public TelemetryEndpointAuthType getType() { + return this.type; + } + + /** + * Get the headerName property: The name of the HTTP header to inject the secret value into. + * + * @return the headerName value. + */ + @Generated + public String getHeaderName() { + return this.headerName; + } + + /** + * Get the secretId property: The identifier of the secret store or connection. + * + * @return the secretId value. + */ + @Generated + public String getSecretId() { + return this.secretId; + } + + /** + * Get the secretKey property: The key within the secret to retrieve the authentication value. + * + * @return the secretKey value. + */ + @Generated + public String getSecretKey() { + return this.secretKey; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("header_name", this.headerName); + jsonWriter.writeStringField("secret_id", this.secretId); + jsonWriter.writeStringField("secret_key", this.secretKey); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of HeaderTelemetryEndpointAuth from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of HeaderTelemetryEndpointAuth if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the HeaderTelemetryEndpointAuth. + */ + @Generated + public static HeaderTelemetryEndpointAuth fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String headerName = null; + String secretId = null; + String secretKey = null; + TelemetryEndpointAuthType type = TelemetryEndpointAuthType.HEADER; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("header_name".equals(fieldName)) { + headerName = reader.getString(); + } else if ("secret_id".equals(fieldName)) { + secretId = reader.getString(); + } else if ("secret_key".equals(fieldName)) { + secretKey = reader.getString(); + } else if ("type".equals(fieldName)) { + type = TelemetryEndpointAuthType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + HeaderTelemetryEndpointAuth deserializedHeaderTelemetryEndpointAuth + = new HeaderTelemetryEndpointAuth(headerName, secretId, secretKey); + deserializedHeaderTelemetryEndpointAuth.type = type; + return deserializedHeaderTelemetryEndpointAuth; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java index 2a4fa5ca0c73..265528b2257b 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java @@ -174,6 +174,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeArrayField("protocol_versions", this.protocolVersions, (writer, element) -> writer.writeJson(element)); jsonWriter.writeJsonField("code_configuration", this.codeConfiguration); + jsonWriter.writeJsonField("telemetry_config", this.telemetryConfig); return jsonWriter.writeEndObject(); } @@ -200,6 +201,7 @@ public static HostedAgentDefinition fromJson(JsonReader jsonReader) throws IOExc ContainerConfiguration containerConfiguration = null; List protocolVersions = null; CodeConfiguration codeConfiguration = null; + TelemetryConfig telemetryConfig = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -225,6 +227,8 @@ public static HostedAgentDefinition fromJson(JsonReader jsonReader) throws IOExc protocolVersions = reader.readArray(reader1 -> ProtocolVersionRecord.fromJson(reader1)); } else if ("code_configuration".equals(fieldName)) { codeConfiguration = CodeConfiguration.fromJson(reader); + } else if ("telemetry_config".equals(fieldName)) { + telemetryConfig = TelemetryConfig.fromJson(reader); } else { reader.skipChildren(); } @@ -239,6 +243,7 @@ public static HostedAgentDefinition fromJson(JsonReader jsonReader) throws IOExc deserializedHostedAgentDefinition.containerConfiguration = containerConfiguration; deserializedHostedAgentDefinition.protocolVersions = protocolVersions; deserializedHostedAgentDefinition.codeConfiguration = codeConfiguration; + deserializedHostedAgentDefinition.telemetryConfig = telemetryConfig; return deserializedHostedAgentDefinition; }); } @@ -398,4 +403,34 @@ public HostedAgentDefinition(List containerProtocolVersio this.cpu = cpu; this.memory = memory; } + + /* + * Optional customer-supplied telemetry configuration for exporting container logs, traces, and metrics. + */ + @Generated + private TelemetryConfig telemetryConfig; + + /** + * Get the telemetryConfig property: Optional customer-supplied telemetry configuration for exporting container + * logs, traces, and metrics. + * + * @return the telemetryConfig value. + */ + @Generated + public TelemetryConfig getTelemetryConfig() { + return this.telemetryConfig; + } + + /** + * Set the telemetryConfig property: Optional customer-supplied telemetry configuration for exporting container + * logs, traces, and metrics. + * + * @param telemetryConfig the telemetryConfig value to set. + * @return the HostedAgentDefinition object itself. + */ + @Generated + public HostedAgentDefinition setTelemetryConfig(TelemetryConfig telemetryConfig) { + this.telemetryConfig = telemetryConfig; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/IsolationKeySource.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/IsolationKeySource.java deleted file mode 100644 index ee7f3feb0f5b..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/IsolationKeySource.java +++ /dev/null @@ -1,152 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.models; - -import com.azure.ai.agents.implementation.JsonMergePatchHelper; -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.HashSet; -import java.util.Set; - -/** - * The IsolationKeySource model. - */ -@Immutable -public class IsolationKeySource implements JsonSerializable { - - /* - * The kind property. - */ - @Generated - private IsolationKeySourceKind kind = IsolationKeySourceKind.fromString("IsolationKeySource"); - - /** - * Stores updated model property, the value is property name, not serialized name. - */ - @Generated - private final Set updatedProperties = new HashSet<>(); - - @Generated - private boolean jsonMergePatch; - - @Generated - private void serializeAsJsonMergePatch(boolean jsonMergePatch) { - this.jsonMergePatch = jsonMergePatch; - } - - static { - JsonMergePatchHelper.setIsolationKeySourceAccessor(new JsonMergePatchHelper.IsolationKeySourceAccessor() { - - @Override - public IsolationKeySource prepareModelForJsonMergePatch(IsolationKeySource model, - boolean jsonMergePatchEnabled) { - model.serializeAsJsonMergePatch(jsonMergePatchEnabled); - return model; - } - - @Override - public boolean isJsonMergePatch(IsolationKeySource model) { - return model.jsonMergePatch; - } - }); - } - - /** - * Creates an instance of IsolationKeySource class. - */ - @Generated - public IsolationKeySource() { - } - - /** - * Get the kind property: The kind property. - * - * @return the kind value. - */ - @Generated - public IsolationKeySourceKind getKind() { - return this.kind; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - if (jsonMergePatch) { - return toJsonMergePatch(jsonWriter); - } else { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); - return jsonWriter.writeEndObject(); - } - } - - @Generated - private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("kind", this.kind.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of IsolationKeySource from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of IsolationKeySource if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the IsolationKeySource. - */ - @Generated - public static IsolationKeySource fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("kind".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("Entra".equals(discriminatorValue)) { - return EntraIsolationKeySource.fromJson(readerToUse.reset()); - } else if ("Header".equals(discriminatorValue)) { - return HeaderIsolationKeySource.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static IsolationKeySource fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - IsolationKeySource deserializedIsolationKeySource = new IsolationKeySource(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("kind".equals(fieldName)) { - deserializedIsolationKeySource.kind = IsolationKeySourceKind.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedIsolationKeySource; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java deleted file mode 100644 index 7e7af6f9ae6d..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Defines values for IsolationKeySourceKind. - */ -public final class IsolationKeySourceKind extends ExpandableStringEnum { - - /** - * Static value Entra for IsolationKeySourceKind. - */ - @Generated - public static final IsolationKeySourceKind ENTRA = fromString("Entra"); - - /** - * Static value Header for IsolationKeySourceKind. - */ - @Generated - public static final IsolationKeySourceKind HEADER = fromString("Header"); - - /** - * Creates a new instance of IsolationKeySourceKind value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public IsolationKeySourceKind() { - } - - /** - * Creates or finds a IsolationKeySourceKind from its string representation. - * - * @param name a name to look for. - * @return the corresponding IsolationKeySourceKind. - */ - @Generated - public static IsolationKeySourceKind fromString(String name) { - return fromString(name, IsolationKeySourceKind.class); - } - - /** - * Gets known IsolationKeySourceKind values. - * - * @return known IsolationKeySourceKind values. - */ - @Generated - public static Collection values() { - return values(IsolationKeySourceKind.class); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java index 668b94075228..bc65f2bd84e9 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java @@ -119,6 +119,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("memory_store_name", this.memoryStoreName); jsonWriter.writeStringField("scope", this.scope); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("description", this.description); jsonWriter.writeJsonField("search_options", this.searchOptions); jsonWriter.writeNumberField("update_delay", this.updateDelaySeconds); return jsonWriter.writeEndObject(); @@ -139,6 +141,8 @@ public static MemorySearchPreviewTool fromJson(JsonReader jsonReader) throws IOE String memoryStoreName = null; String scope = null; ToolType type = ToolType.MEMORY_SEARCH_PREVIEW; + String name = null; + String description = null; MemorySearchOptions searchOptions = null; Integer updateDelaySeconds = null; while (reader.nextToken() != JsonToken.END_OBJECT) { @@ -150,6 +154,10 @@ public static MemorySearchPreviewTool fromJson(JsonReader jsonReader) throws IOE scope = reader.getString(); } else if ("type".equals(fieldName)) { type = ToolType.fromString(reader.getString()); + } else if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("description".equals(fieldName)) { + description = reader.getString(); } else if ("search_options".equals(fieldName)) { searchOptions = MemorySearchOptions.fromJson(reader); } else if ("update_delay".equals(fieldName)) { @@ -161,6 +169,8 @@ public static MemorySearchPreviewTool fromJson(JsonReader jsonReader) throws IOE MemorySearchPreviewTool deserializedMemorySearchPreviewTool = new MemorySearchPreviewTool(memoryStoreName, scope); deserializedMemorySearchPreviewTool.type = type; + deserializedMemorySearchPreviewTool.name = name; + deserializedMemorySearchPreviewTool.description = description; deserializedMemorySearchPreviewTool.searchOptions = searchOptions; deserializedMemorySearchPreviewTool.updateDelaySeconds = updateDelaySeconds; return deserializedMemorySearchPreviewTool; @@ -196,4 +206,60 @@ public MemorySearchPreviewTool setUpdateDelaySeconds(Integer updateDelaySeconds) this.updateDelaySeconds = updateDelaySeconds; return this; } + + /* + * Optional user-defined name for this tool or configuration. + */ + @Generated + private String name; + + /* + * Optional user-defined description for this tool or configuration. + */ + @Generated + private String description; + + /** + * Get the name property: Optional user-defined name for this tool or configuration. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Set the name property: Optional user-defined name for this tool or configuration. + * + * @param name the name value to set. + * @return the MemorySearchPreviewTool object itself. + */ + @Generated + public MemorySearchPreviewTool setName(String name) { + this.name = name; + return this; + } + + /** + * Get the description property: Optional user-defined description for this tool or configuration. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional user-defined description for this tool or configuration. + * + * @param description the description value to set. + * @return the MemorySearchPreviewTool object itself. + */ + @Generated + public MemorySearchPreviewTool setDescription(String description) { + this.description = description; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java index de17a8448955..7a161af22ea7 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java @@ -3,8 +3,8 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.ai.agents.models; +import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -13,7 +13,7 @@ /** * The input definition information for a Microsoft Fabric tool as used to configure an agent. */ -@Immutable +@Fluent public final class MicrosoftFabricPreviewTool extends Tool { /* @@ -68,6 +68,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeJsonField("fabric_dataagent_preview", this.fabricDataAgentPreview); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("description", this.description); return jsonWriter.writeEndObject(); } @@ -85,6 +87,8 @@ public static MicrosoftFabricPreviewTool fromJson(JsonReader jsonReader) throws return jsonReader.readObject(reader -> { FabricDataAgentToolParameters fabricDataAgentPreview = null; ToolType type = ToolType.FABRIC_DATAAGENT_PREVIEW; + String name = null; + String description = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -92,6 +96,10 @@ public static MicrosoftFabricPreviewTool fromJson(JsonReader jsonReader) throws fabricDataAgentPreview = FabricDataAgentToolParameters.fromJson(reader); } else if ("type".equals(fieldName)) { type = ToolType.fromString(reader.getString()); + } else if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("description".equals(fieldName)) { + description = reader.getString(); } else { reader.skipChildren(); } @@ -99,7 +107,65 @@ public static MicrosoftFabricPreviewTool fromJson(JsonReader jsonReader) throws MicrosoftFabricPreviewTool deserializedMicrosoftFabricPreviewTool = new MicrosoftFabricPreviewTool(fabricDataAgentPreview); deserializedMicrosoftFabricPreviewTool.type = type; + deserializedMicrosoftFabricPreviewTool.name = name; + deserializedMicrosoftFabricPreviewTool.description = description; return deserializedMicrosoftFabricPreviewTool; }); } + + /* + * Optional user-defined name for this tool or configuration. + */ + @Generated + private String name; + + /* + * Optional user-defined description for this tool or configuration. + */ + @Generated + private String description; + + /** + * Get the name property: Optional user-defined name for this tool or configuration. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Set the name property: Optional user-defined name for this tool or configuration. + * + * @param name the name value to set. + * @return the MicrosoftFabricPreviewTool object itself. + */ + @Generated + public MicrosoftFabricPreviewTool setName(String name) { + this.name = name; + return this; + } + + /** + * Get the description property: Optional user-defined description for this tool or configuration. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional user-defined description for this tool or configuration. + * + * @param description the description value to set. + * @return the MicrosoftFabricPreviewTool object itself. + */ + @Generated + public MicrosoftFabricPreviewTool setDescription(String description) { + this.description = description; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java new file mode 100644 index 000000000000..9e4d5b2c8982 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java @@ -0,0 +1,150 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * An OTLP (OpenTelemetry Protocol) telemetry export endpoint. + */ +@Fluent +public final class OtlpTelemetryEndpoint extends TelemetryEndpoint { + + /* + * The telemetry export endpoint kind. + */ + @Generated + private TelemetryEndpointKind kind = TelemetryEndpointKind.OTLP; + + /* + * The OTLP collector endpoint URL. + */ + @Generated + private final String endpoint; + + /* + * The transport protocol for the OTLP endpoint. + */ + @Generated + private final TelemetryTransportProtocol protocol; + + /** + * Creates an instance of OtlpTelemetryEndpoint class. + * + * @param data the data value to set. + * @param endpoint the endpoint value to set. + * @param protocol the protocol value to set. + */ + @Generated + public OtlpTelemetryEndpoint(List data, String endpoint, TelemetryTransportProtocol protocol) { + super(data); + this.endpoint = endpoint; + this.protocol = protocol; + } + + /** + * Get the kind property: The telemetry export endpoint kind. + * + * @return the kind value. + */ + @Generated + @Override + public TelemetryEndpointKind getKind() { + return this.kind; + } + + /** + * Get the endpoint property: The OTLP collector endpoint URL. + * + * @return the endpoint value. + */ + @Generated + public String getEndpoint() { + return this.endpoint; + } + + /** + * Get the protocol property: The transport protocol for the OTLP endpoint. + * + * @return the protocol value. + */ + @Generated + public TelemetryTransportProtocol getProtocol() { + return this.protocol; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public OtlpTelemetryEndpoint setAuth(TelemetryEndpointAuth auth) { + super.setAuth(auth); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeArrayField("data", getData(), + (writer, element) -> writer.writeString(element == null ? null : element.toString())); + jsonWriter.writeJsonField("auth", getAuth()); + jsonWriter.writeStringField("endpoint", this.endpoint); + jsonWriter.writeStringField("protocol", this.protocol == null ? null : this.protocol.toString()); + jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of OtlpTelemetryEndpoint from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of OtlpTelemetryEndpoint if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the OtlpTelemetryEndpoint. + */ + @Generated + public static OtlpTelemetryEndpoint fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + List data = null; + TelemetryEndpointAuth auth = null; + String endpoint = null; + TelemetryTransportProtocol protocol = null; + TelemetryEndpointKind kind = TelemetryEndpointKind.OTLP; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("data".equals(fieldName)) { + data = reader.readArray(reader1 -> TelemetryDataKind.fromString(reader1.getString())); + } else if ("auth".equals(fieldName)) { + auth = TelemetryEndpointAuth.fromJson(reader); + } else if ("endpoint".equals(fieldName)) { + endpoint = reader.getString(); + } else if ("protocol".equals(fieldName)) { + protocol = TelemetryTransportProtocol.fromString(reader.getString()); + } else if ("kind".equals(fieldName)) { + kind = TelemetryEndpointKind.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + OtlpTelemetryEndpoint deserializedOtlpTelemetryEndpoint + = new OtlpTelemetryEndpoint(data, endpoint, protocol); + deserializedOtlpTelemetryEndpoint.setAuth(auth); + deserializedOtlpTelemetryEndpoint.kind = kind; + return deserializedOtlpTelemetryEndpoint; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java index d4f543ca4406..20b1351ae2e3 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java @@ -5,14 +5,14 @@ import com.azure.core.annotation.Generated; import com.azure.core.annotation.Immutable; -import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.time.Instant; import java.time.OffsetDateTime; -import java.time.format.DateTimeFormatter; +import java.time.ZoneOffset; /** * A single entry in a directory listing. @@ -39,10 +39,10 @@ public final class SessionDirectoryEntry implements JsonSerializable CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); + modifiedTime = OffsetDateTime.ofInstant(Instant.ofEpochSecond(reader.getLong()), ZoneOffset.UTC); } else { reader.skipChildren(); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java index 6cdc2f1101d0..01ec4d38dfa1 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java @@ -3,8 +3,8 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.ai.agents.models; +import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -13,7 +13,7 @@ /** * The input definition information for a sharepoint tool as used to configure an agent. */ -@Immutable +@Fluent public final class SharepointPreviewTool extends Tool { /* @@ -68,6 +68,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeJsonField("sharepoint_grounding_preview", this.sharepointGroundingPreview); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("description", this.description); return jsonWriter.writeEndObject(); } @@ -85,6 +87,8 @@ public static SharepointPreviewTool fromJson(JsonReader jsonReader) throws IOExc return jsonReader.readObject(reader -> { SharepointGroundingToolParameters sharepointGroundingPreview = null; ToolType type = ToolType.SHAREPOINT_GROUNDING_PREVIEW; + String name = null; + String description = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -92,6 +96,10 @@ public static SharepointPreviewTool fromJson(JsonReader jsonReader) throws IOExc sharepointGroundingPreview = SharepointGroundingToolParameters.fromJson(reader); } else if ("type".equals(fieldName)) { type = ToolType.fromString(reader.getString()); + } else if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("description".equals(fieldName)) { + description = reader.getString(); } else { reader.skipChildren(); } @@ -99,7 +107,65 @@ public static SharepointPreviewTool fromJson(JsonReader jsonReader) throws IOExc SharepointPreviewTool deserializedSharepointPreviewTool = new SharepointPreviewTool(sharepointGroundingPreview); deserializedSharepointPreviewTool.type = type; + deserializedSharepointPreviewTool.name = name; + deserializedSharepointPreviewTool.description = description; return deserializedSharepointPreviewTool; }); } + + /* + * Optional user-defined name for this tool or configuration. + */ + @Generated + private String name; + + /* + * Optional user-defined description for this tool or configuration. + */ + @Generated + private String description; + + /** + * Get the name property: Optional user-defined name for this tool or configuration. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Set the name property: Optional user-defined name for this tool or configuration. + * + * @param name the name value to set. + * @return the SharepointPreviewTool object itself. + */ + @Generated + public SharepointPreviewTool setName(String name) { + this.name = name; + return this; + } + + /** + * Get the description property: Optional user-defined description for this tool or configuration. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional user-defined description for this tool or configuration. + * + * @param description the description value to set. + * @return the SharepointPreviewTool object itself. + */ + @Generated + public SharepointPreviewTool setDescription(String description) { + this.description = description; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryConfig.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryConfig.java new file mode 100644 index 000000000000..1be6ae6ad382 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryConfig.java @@ -0,0 +1,83 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Customer-supplied telemetry configuration for exporting container logs, traces, and metrics. + */ +@Immutable +public final class TelemetryConfig implements JsonSerializable { + + /* + * Customer-supplied telemetry export endpoint configurations. + */ + @Generated + private final List endpoints; + + /** + * Creates an instance of TelemetryConfig class. + * + * @param endpoints the endpoints value to set. + */ + @Generated + public TelemetryConfig(List endpoints) { + this.endpoints = endpoints; + } + + /** + * Get the endpoints property: Customer-supplied telemetry export endpoint configurations. + * + * @return the endpoints value. + */ + @Generated + public List getEndpoints() { + return this.endpoints; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeArrayField("endpoints", this.endpoints, (writer, element) -> writer.writeJson(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TelemetryConfig from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TelemetryConfig if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the TelemetryConfig. + */ + @Generated + public static TelemetryConfig fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + List endpoints = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("endpoints".equals(fieldName)) { + endpoints = reader.readArray(reader1 -> TelemetryEndpoint.fromJson(reader1)); + } else { + reader.skipChildren(); + } + } + return new TelemetryConfig(endpoints); + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java new file mode 100644 index 000000000000..e42b9c927d9c --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java @@ -0,0 +1,63 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The type of telemetry data to export. + */ +public final class TelemetryDataKind extends ExpandableStringEnum { + + /** + * Container stdout and stderr logs. + */ + @Generated + public static final TelemetryDataKind CONTAINER_STDOUT_STDERR = fromString("ContainerStdoutStderr"); + + /** + * Container OpenTelemetry signals. + */ + @Generated + public static final TelemetryDataKind CONTAINER_OTEL = fromString("ContainerOtel"); + + /** + * Container metrics. + */ + @Generated + public static final TelemetryDataKind METRICS = fromString("Metrics"); + + /** + * Creates a new instance of TelemetryDataKind value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public TelemetryDataKind() { + } + + /** + * Creates or finds a TelemetryDataKind from its string representation. + * + * @param name a name to look for. + * @return the corresponding TelemetryDataKind. + */ + @Generated + public static TelemetryDataKind fromString(String name) { + return fromString(name, TelemetryDataKind.class); + } + + /** + * Gets known TelemetryDataKind values. + * + * @return known TelemetryDataKind values. + */ + @Generated + public static Collection values() { + return values(TelemetryDataKind.class); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java new file mode 100644 index 000000000000..cddb20a8caa4 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java @@ -0,0 +1,166 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * A telemetry export endpoint configuration. + */ +@Fluent +public class TelemetryEndpoint implements JsonSerializable { + + /* + * The telemetry export endpoint kind. + */ + @Generated + private TelemetryEndpointKind kind = TelemetryEndpointKind.fromString("TelemetryEndpoint"); + + /* + * Data types to export to this endpoint. Use an empty array to export no data. + */ + @Generated + private final List data; + + /* + * Optional authentication configuration. + */ + @Generated + private TelemetryEndpointAuth auth; + + /** + * Creates an instance of TelemetryEndpoint class. + * + * @param data the data value to set. + */ + @Generated + public TelemetryEndpoint(List data) { + this.data = data; + } + + /** + * Get the kind property: The telemetry export endpoint kind. + * + * @return the kind value. + */ + @Generated + public TelemetryEndpointKind getKind() { + return this.kind; + } + + /** + * Get the data property: Data types to export to this endpoint. Use an empty array to export no data. + * + * @return the data value. + */ + @Generated + public List getData() { + return this.data; + } + + /** + * Get the auth property: Optional authentication configuration. + * + * @return the auth value. + */ + @Generated + public TelemetryEndpointAuth getAuth() { + return this.auth; + } + + /** + * Set the auth property: Optional authentication configuration. + * + * @param auth the auth value to set. + * @return the TelemetryEndpoint object itself. + */ + @Generated + public TelemetryEndpoint setAuth(TelemetryEndpointAuth auth) { + this.auth = auth; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeArrayField("data", this.data, + (writer, element) -> writer.writeString(element == null ? null : element.toString())); + jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); + jsonWriter.writeJsonField("auth", this.auth); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TelemetryEndpoint from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TelemetryEndpoint if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the TelemetryEndpoint. + */ + @Generated + public static TelemetryEndpoint fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + // Prepare for reading + readerToUse.nextToken(); + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("kind".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("OTLP".equals(discriminatorValue)) { + return OtlpTelemetryEndpoint.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static TelemetryEndpoint fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + List data = null; + TelemetryEndpointKind kind = null; + TelemetryEndpointAuth auth = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("data".equals(fieldName)) { + data = reader.readArray(reader1 -> TelemetryDataKind.fromString(reader1.getString())); + } else if ("kind".equals(fieldName)) { + kind = TelemetryEndpointKind.fromString(reader.getString()); + } else if ("auth".equals(fieldName)) { + auth = TelemetryEndpointAuth.fromJson(reader); + } else { + reader.skipChildren(); + } + } + TelemetryEndpoint deserializedTelemetryEndpoint = new TelemetryEndpoint(data); + deserializedTelemetryEndpoint.kind = kind; + deserializedTelemetryEndpoint.auth = auth; + return deserializedTelemetryEndpoint; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java new file mode 100644 index 000000000000..aaa2802ebaf3 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java @@ -0,0 +1,105 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Authentication configuration for a telemetry endpoint. + */ +@Immutable +public class TelemetryEndpointAuth implements JsonSerializable { + + /* + * The authentication type. + */ + @Generated + private TelemetryEndpointAuthType type = TelemetryEndpointAuthType.fromString("TelemetryEndpointAuth"); + + /** + * Creates an instance of TelemetryEndpointAuth class. + */ + @Generated + public TelemetryEndpointAuth() { + } + + /** + * Get the type property: The authentication type. + * + * @return the type value. + */ + @Generated + public TelemetryEndpointAuthType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TelemetryEndpointAuth from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TelemetryEndpointAuth if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the TelemetryEndpointAuth. + */ + @Generated + public static TelemetryEndpointAuth fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + // Prepare for reading + readerToUse.nextToken(); + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("type".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("header".equals(discriminatorValue)) { + return HeaderTelemetryEndpointAuth.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static TelemetryEndpointAuth fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + TelemetryEndpointAuth deserializedTelemetryEndpointAuth = new TelemetryEndpointAuth(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("type".equals(fieldName)) { + deserializedTelemetryEndpointAuth.type = TelemetryEndpointAuthType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + return deserializedTelemetryEndpointAuth; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java new file mode 100644 index 000000000000..01e610a655eb --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The type of authentication for a telemetry endpoint. + */ +public final class TelemetryEndpointAuthType extends ExpandableStringEnum { + + /** + * Header-based secret authentication. + */ + @Generated + public static final TelemetryEndpointAuthType HEADER = fromString("header"); + + /** + * Creates a new instance of TelemetryEndpointAuthType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public TelemetryEndpointAuthType() { + } + + /** + * Creates or finds a TelemetryEndpointAuthType from its string representation. + * + * @param name a name to look for. + * @return the corresponding TelemetryEndpointAuthType. + */ + @Generated + public static TelemetryEndpointAuthType fromString(String name) { + return fromString(name, TelemetryEndpointAuthType.class); + } + + /** + * Gets known TelemetryEndpointAuthType values. + * + * @return known TelemetryEndpointAuthType values. + */ + @Generated + public static Collection values() { + return values(TelemetryEndpointAuthType.class); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java new file mode 100644 index 000000000000..aa77cc337cf4 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The kind of telemetry export endpoint. + */ +public final class TelemetryEndpointKind extends ExpandableStringEnum { + + /** + * OpenTelemetry Protocol (OTLP) endpoint. + */ + @Generated + public static final TelemetryEndpointKind OTLP = fromString("OTLP"); + + /** + * Creates a new instance of TelemetryEndpointKind value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public TelemetryEndpointKind() { + } + + /** + * Creates or finds a TelemetryEndpointKind from its string representation. + * + * @param name a name to look for. + * @return the corresponding TelemetryEndpointKind. + */ + @Generated + public static TelemetryEndpointKind fromString(String name) { + return fromString(name, TelemetryEndpointKind.class); + } + + /** + * Gets known TelemetryEndpointKind values. + * + * @return known TelemetryEndpointKind values. + */ + @Generated + public static Collection values() { + return values(TelemetryEndpointKind.class); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java new file mode 100644 index 000000000000..2e0365a22fa3 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The transport protocol for telemetry export. + */ +public final class TelemetryTransportProtocol extends ExpandableStringEnum { + + /** + * HTTP transport protocol. + */ + @Generated + public static final TelemetryTransportProtocol HTTP = fromString("Http"); + + /** + * gRPC transport protocol. + */ + @Generated + public static final TelemetryTransportProtocol GRPC = fromString("Grpc"); + + /** + * Creates a new instance of TelemetryTransportProtocol value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public TelemetryTransportProtocol() { + } + + /** + * Creates or finds a TelemetryTransportProtocol from its string representation. + * + * @param name a name to look for. + * @return the corresponding TelemetryTransportProtocol. + */ + @Generated + public static TelemetryTransportProtocol fromString(String name) { + return fromString(name, TelemetryTransportProtocol.class); + } + + /** + * Gets known TelemetryTransportProtocol values. + * + * @return known TelemetryTransportProtocol values. + */ + @Generated + public static Collection values() { + return values(TelemetryTransportProtocol.class); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/Tool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/Tool.java index 38481372f097..5751d4c490d5 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/Tool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/Tool.java @@ -99,8 +99,12 @@ public static Tool fromJson(JsonReader jsonReader) throws IOException { return A2APreviewTool.fromJson(readerToUse.reset()); } else if ("work_iq_preview".equals(discriminatorValue)) { return WorkIqPreviewTool.fromJson(readerToUse.reset()); + } else if ("fabric_iq_preview".equals(discriminatorValue)) { + return FabricIQPreviewTool.fromJson(readerToUse.reset()); } else if ("memory_search_preview".equals(discriminatorValue)) { return MemorySearchPreviewTool.fromJson(readerToUse.reset()); + } else if ("toolbox_search_preview".equals(discriminatorValue)) { + return ToolboxSearchPreviewTool.fromJson(readerToUse.reset()); } else if ("code_interpreter".equals(discriminatorValue)) { return CodeInterpreterTool.fromJson(readerToUse.reset()); } else if ("function".equals(discriminatorValue)) { diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolType.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolType.java index 0826c0926809..7c40d8f7f4c2 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolType.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolType.java @@ -186,4 +186,16 @@ public static Collection values() { */ @Generated public static final ToolType WORK_IQ_PREVIEW = fromString("work_iq_preview"); + + /** + * Static value fabric_iq_preview for ToolType. + */ + @Generated + public static final ToolType FABRIC_IQ_PREVIEW = fromString("fabric_iq_preview"); + + /** + * Static value toolbox_search_preview for ToolType. + */ + @Generated + public static final ToolType TOOLBOX_SEARCH_PREVIEW = fromString("toolbox_search_preview"); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java new file mode 100644 index 000000000000..2d3e1f9edf3e --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java @@ -0,0 +1,142 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A tool for searching over the agent's toolbox. + * When present, deferred tools are hidden from `tools/list` and only + * discoverable via `search_tools` queries at runtime. + */ +@Fluent +public final class ToolboxSearchPreviewTool extends Tool { + + /* + * The type property. + */ + @Generated + private ToolType type = ToolType.TOOLBOX_SEARCH_PREVIEW; + + /* + * Optional user-defined name for this tool or configuration. + */ + @Generated + private String name; + + /* + * Optional user-defined description for this tool or configuration. + */ + @Generated + private String description; + + /** + * Creates an instance of ToolboxSearchPreviewTool class. + */ + @Generated + public ToolboxSearchPreviewTool() { + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public ToolType getType() { + return this.type; + } + + /** + * Get the name property: Optional user-defined name for this tool or configuration. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Set the name property: Optional user-defined name for this tool or configuration. + * + * @param name the name value to set. + * @return the ToolboxSearchPreviewTool object itself. + */ + @Generated + public ToolboxSearchPreviewTool setName(String name) { + this.name = name; + return this; + } + + /** + * Get the description property: Optional user-defined description for this tool or configuration. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional user-defined description for this tool or configuration. + * + * @param description the description value to set. + * @return the ToolboxSearchPreviewTool object itself. + */ + @Generated + public ToolboxSearchPreviewTool setDescription(String description) { + this.description = description; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("description", this.description); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ToolboxSearchPreviewTool from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ToolboxSearchPreviewTool if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IOException If an error occurs while reading the ToolboxSearchPreviewTool. + */ + @Generated + public static ToolboxSearchPreviewTool fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ToolboxSearchPreviewTool deserializedToolboxSearchPreviewTool = new ToolboxSearchPreviewTool(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("type".equals(fieldName)) { + deserializedToolboxSearchPreviewTool.type = ToolType.fromString(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedToolboxSearchPreviewTool.name = reader.getString(); + } else if ("description".equals(fieldName)) { + deserializedToolboxSearchPreviewTool.description = reader.getString(); + } else { + reader.skipChildren(); + } + } + return deserializedToolboxSearchPreviewTool; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java index ddb11a72baa4..69d7190e135a 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java @@ -24,7 +24,7 @@ public final class UpdateAgentDetailsOptions implements JsonSerializable { - - /* - * The ID of the WorkIQ project connection. - */ - @Generated - private final String projectConnectionId; - - /** - * Creates an instance of WorkIQPreviewToolParameters class. - * - * @param projectConnectionId the projectConnectionId value to set. - */ - @Generated - public WorkIQPreviewToolParameters(String projectConnectionId) { - this.projectConnectionId = projectConnectionId; - } - - /** - * Get the projectConnectionId property: The ID of the WorkIQ project connection. - * - * @return the projectConnectionId value. - */ - @Generated - public String getProjectConnectionId() { - return this.projectConnectionId; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("project_connection_id", this.projectConnectionId); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of WorkIQPreviewToolParameters from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of WorkIQPreviewToolParameters if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the WorkIQPreviewToolParameters. - */ - @Generated - public static WorkIQPreviewToolParameters fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String projectConnectionId = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("project_connection_id".equals(fieldName)) { - projectConnectionId = reader.getString(); - } else { - reader.skipChildren(); - } - } - return new WorkIQPreviewToolParameters(projectConnectionId); - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java index 527e7a4d8bb0..fa3c88c87088 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java @@ -34,22 +34,6 @@ public final class WorkIqPreviewTool extends Tool { @Generated private String description; - /* - * The WorkIQ tool parameters. - */ - @Generated - private final WorkIQPreviewToolParameters workIqPreview; - - /** - * Creates an instance of WorkIqPreviewTool class. - * - * @param workIqPreview the workIqPreview value to set. - */ - @Generated - public WorkIqPreviewTool(WorkIQPreviewToolParameters workIqPreview) { - this.workIqPreview = workIqPreview; - } - /** * Get the type property: The type property. * @@ -105,16 +89,6 @@ public WorkIqPreviewTool setDescription(String description) { return this; } - /** - * Get the workIqPreview property: The WorkIQ tool parameters. - * - * @return the workIqPreview value. - */ - @Generated - public WorkIQPreviewToolParameters getWorkIqPreview() { - return this.workIqPreview; - } - /** * {@inheritDoc} */ @@ -122,7 +96,7 @@ public WorkIQPreviewToolParameters getWorkIqPreview() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeJsonField("work_iq_preview", this.workIqPreview); + jsonWriter.writeStringField("project_connection_id", this.projectConnectionId); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); jsonWriter.writeStringField("name", this.name); jsonWriter.writeStringField("description", this.description); @@ -141,15 +115,15 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { @Generated public static WorkIqPreviewTool fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - WorkIQPreviewToolParameters workIqPreview = null; + String projectConnectionId = null; ToolType type = ToolType.WORK_IQ_PREVIEW; String name = null; String description = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("work_iq_preview".equals(fieldName)) { - workIqPreview = WorkIQPreviewToolParameters.fromJson(reader); + if ("project_connection_id".equals(fieldName)) { + projectConnectionId = reader.getString(); } else if ("type".equals(fieldName)) { type = ToolType.fromString(reader.getString()); } else if ("name".equals(fieldName)) { @@ -160,11 +134,37 @@ public static WorkIqPreviewTool fromJson(JsonReader jsonReader) throws IOExcepti reader.skipChildren(); } } - WorkIqPreviewTool deserializedWorkIqPreviewTool = new WorkIqPreviewTool(workIqPreview); + WorkIqPreviewTool deserializedWorkIqPreviewTool = new WorkIqPreviewTool(projectConnectionId); deserializedWorkIqPreviewTool.type = type; deserializedWorkIqPreviewTool.name = name; deserializedWorkIqPreviewTool.description = description; return deserializedWorkIqPreviewTool; }); } + + /* + * The ID of the WorkIQ project connection. + */ + @Generated + private final String projectConnectionId; + + /** + * Creates an instance of WorkIqPreviewTool class. + * + * @param projectConnectionId the projectConnectionId value to set. + */ + @Generated + public WorkIqPreviewTool(String projectConnectionId) { + this.projectConnectionId = projectConnectionId; + } + + /** + * Get the projectConnectionId property: The ID of the WorkIQ project connection. + * + * @return the projectConnectionId value. + */ + @Generated + public String getProjectConnectionId() { + return this.projectConnectionId; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json index b31ecdaede2e..9186f57229da 100644 --- a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json +++ b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.Annotation":"OpenAI.Annotation","com.azure.ai.agents.implementation.models.AnnotationType":"OpenAI.AnnotationType","com.azure.ai.agents.implementation.models.ApplyPatchCallOutputStatusParam":"OpenAI.ApplyPatchCallOutputStatusParam","com.azure.ai.agents.implementation.models.ApplyPatchCallStatusParam":"OpenAI.ApplyPatchCallStatusParam","com.azure.ai.agents.implementation.models.ApplyPatchCreateFileOperationParam":"OpenAI.ApplyPatchCreateFileOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchDeleteFileOperationParam":"OpenAI.ApplyPatchDeleteFileOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchOperationParam":"OpenAI.ApplyPatchOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchOperationParamType":"OpenAI.ApplyPatchOperationParamType","com.azure.ai.agents.implementation.models.ApplyPatchUpdateFileOperationParam":"OpenAI.ApplyPatchUpdateFileOperationParam","com.azure.ai.agents.implementation.models.ClickButtonType":"OpenAI.ClickButtonType","com.azure.ai.agents.implementation.models.ClickParam":"OpenAI.ClickParam","com.azure.ai.agents.implementation.models.CodeInterpreterOutputImage":"OpenAI.CodeInterpreterOutputImage","com.azure.ai.agents.implementation.models.CodeInterpreterOutputLogs":"OpenAI.CodeInterpreterOutputLogs","com.azure.ai.agents.implementation.models.ComputerAction":"OpenAI.ComputerAction","com.azure.ai.agents.implementation.models.ComputerActionType":"OpenAI.ComputerActionType","com.azure.ai.agents.implementation.models.ComputerCallSafetyCheckParam":"OpenAI.ComputerCallSafetyCheckParam","com.azure.ai.agents.implementation.models.ComputerScreenshotImage":"OpenAI.ComputerScreenshotImage","com.azure.ai.agents.implementation.models.ContainerFileCitationBody":"OpenAI.ContainerFileCitationBody","com.azure.ai.agents.implementation.models.CoordParam":"OpenAI.CoordParam","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.DoubleClickAction":"OpenAI.DoubleClickAction","com.azure.ai.agents.implementation.models.DragParam":"OpenAI.DragParam","com.azure.ai.agents.implementation.models.EasyInputMessage":"OpenAI.EasyInputMessage","com.azure.ai.agents.implementation.models.EasyInputMessageRole":"OpenAI.EasyInputMessage.role.anonymous","com.azure.ai.agents.implementation.models.EasyInputMessageStatus":"OpenAI.EasyInputMessage.status.anonymous","com.azure.ai.agents.implementation.models.FileCitationBody":"OpenAI.FileCitationBody","com.azure.ai.agents.implementation.models.FilePath":"OpenAI.FilePath","com.azure.ai.agents.implementation.models.FileSearchToolCallResults":"OpenAI.FileSearchToolCallResults","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutput":"OpenAI.FunctionAndCustomToolCallOutput","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputFileContent":"OpenAI.FunctionAndCustomToolCallOutputInputFileContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputImageContent":"OpenAI.FunctionAndCustomToolCallOutputInputImageContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputTextContent":"OpenAI.FunctionAndCustomToolCallOutputInputTextContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputType":"OpenAI.FunctionAndCustomToolCallOutputType","com.azure.ai.agents.implementation.models.FunctionCallItemStatus":"OpenAI.FunctionCallItemStatus","com.azure.ai.agents.implementation.models.FunctionShellActionParam":"OpenAI.FunctionShellActionParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironment":"OpenAI.FunctionShellCallItemParamEnvironment","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentContainerReferenceParam":"OpenAI.FunctionShellCallItemParamEnvironmentContainerReferenceParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentLocalEnvironmentParam":"OpenAI.FunctionShellCallItemParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentType":"OpenAI.FunctionShellCallItemParamEnvironmentType","com.azure.ai.agents.implementation.models.FunctionShellCallItemStatus":"OpenAI.FunctionShellCallItemStatus","com.azure.ai.agents.implementation.models.FunctionShellCallOutputContentParam":"OpenAI.FunctionShellCallOutputContentParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputExitOutcomeParam":"OpenAI.FunctionShellCallOutputExitOutcomeParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputOutcomeParam":"OpenAI.FunctionShellCallOutputOutcomeParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputOutcomeParamType":"OpenAI.FunctionShellCallOutputOutcomeParamType","com.azure.ai.agents.implementation.models.FunctionShellCallOutputTimeoutOutcomeParam":"OpenAI.FunctionShellCallOutputTimeoutOutcomeParam","com.azure.ai.agents.implementation.models.ImageDetail":"OpenAI.ImageDetail","com.azure.ai.agents.implementation.models.ImageDetailLevel":"OpenAI.DetailEnum","com.azure.ai.agents.implementation.models.InputContent":"OpenAI.InputContent","com.azure.ai.agents.implementation.models.InputContentInputFileContent":"OpenAI.InputContentInputFileContent","com.azure.ai.agents.implementation.models.InputContentInputImageContent":"OpenAI.InputContentInputImageContent","com.azure.ai.agents.implementation.models.InputContentInputTextContent":"OpenAI.InputContentInputTextContent","com.azure.ai.agents.implementation.models.InputContentType":"OpenAI.InputContentType","com.azure.ai.agents.implementation.models.InputFileContentParam":"OpenAI.InputFileContentParam","com.azure.ai.agents.implementation.models.InputImageContentParamAutoParam":"OpenAI.InputImageContentParamAutoParam","com.azure.ai.agents.implementation.models.InputItem":"OpenAI.InputItem","com.azure.ai.agents.implementation.models.InputItemApplyPatchToolCallItemParam":"OpenAI.InputItemApplyPatchToolCallItemParam","com.azure.ai.agents.implementation.models.InputItemApplyPatchToolCallOutputItemParam":"OpenAI.InputItemApplyPatchToolCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemCodeInterpreterToolCall":"OpenAI.InputItemCodeInterpreterToolCall","com.azure.ai.agents.implementation.models.InputItemCodeInterpreterToolCallStatus":"OpenAI.InputItemCodeInterpreterToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemCompactionSummaryItemParam":"OpenAI.InputItemCompactionSummaryItemParam","com.azure.ai.agents.implementation.models.InputItemComputerCallOutputItemParam":"OpenAI.InputItemComputerCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemComputerToolCall":"OpenAI.InputItemComputerToolCall","com.azure.ai.agents.implementation.models.InputItemComputerToolCallStatus":"OpenAI.InputItemComputerToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemCustomToolCall":"OpenAI.InputItemCustomToolCall","com.azure.ai.agents.implementation.models.InputItemCustomToolCallOutput":"OpenAI.InputItemCustomToolCallOutput","com.azure.ai.agents.implementation.models.InputItemFileSearchToolCall":"OpenAI.InputItemFileSearchToolCall","com.azure.ai.agents.implementation.models.InputItemFileSearchToolCallStatus":"OpenAI.InputItemFileSearchToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemFunctionCallOutputItemParam":"OpenAI.InputItemFunctionCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionShellCallItemParam":"OpenAI.InputItemFunctionShellCallItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionShellCallOutputItemParam":"OpenAI.InputItemFunctionShellCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionToolCall":"OpenAI.InputItemFunctionToolCall","com.azure.ai.agents.implementation.models.InputItemFunctionToolCallStatus":"OpenAI.InputItemFunctionToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemImageGenToolCall":"OpenAI.InputItemImageGenToolCall","com.azure.ai.agents.implementation.models.InputItemImageGenToolCallStatus":"OpenAI.InputItemImageGenToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCall":"OpenAI.InputItemLocalShellToolCall","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallOutput":"OpenAI.InputItemLocalShellToolCallOutput","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallOutputStatus":"OpenAI.InputItemLocalShellToolCallOutput.status.anonymous","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallStatus":"OpenAI.InputItemLocalShellToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemMcpApprovalRequest":"OpenAI.InputItemMcpApprovalRequest","com.azure.ai.agents.implementation.models.InputItemMcpApprovalResponse":"OpenAI.InputItemMcpApprovalResponse","com.azure.ai.agents.implementation.models.InputItemMcpListTools":"OpenAI.InputItemMcpListTools","com.azure.ai.agents.implementation.models.InputItemMcpToolCall":"OpenAI.InputItemMcpToolCall","com.azure.ai.agents.implementation.models.InputItemOutputMessage":"OpenAI.InputItemOutputMessage","com.azure.ai.agents.implementation.models.InputItemOutputMessageStatus":"OpenAI.InputItemOutputMessage.status.anonymous","com.azure.ai.agents.implementation.models.InputItemReasoningItem":"OpenAI.InputItemReasoningItem","com.azure.ai.agents.implementation.models.InputItemReasoningItemStatus":"OpenAI.InputItemReasoningItem.status.anonymous","com.azure.ai.agents.implementation.models.InputItemType":"OpenAI.InputItemType","com.azure.ai.agents.implementation.models.InputItemWebSearchToolCall":"OpenAI.InputItemWebSearchToolCall","com.azure.ai.agents.implementation.models.InputItemWebSearchToolCallStatus":"OpenAI.InputItemWebSearchToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputTextContentParam":"OpenAI.InputTextContentParam","com.azure.ai.agents.implementation.models.ItemReferenceParam":"OpenAI.ItemReferenceParam","com.azure.ai.agents.implementation.models.KeyPressAction":"OpenAI.KeyPressAction","com.azure.ai.agents.implementation.models.LocalShellExecAction":"OpenAI.LocalShellExecAction","com.azure.ai.agents.implementation.models.LogProb":"OpenAI.LogProb","com.azure.ai.agents.implementation.models.McpListToolsTool":"OpenAI.MCPListToolsTool","com.azure.ai.agents.implementation.models.McpListToolsToolAnnotations":"OpenAI.MCPListToolsToolAnnotations","com.azure.ai.agents.implementation.models.McpListToolsToolInputSchema":"OpenAI.MCPListToolsToolInputSchema","com.azure.ai.agents.implementation.models.McpToolCallStatus":"OpenAI.MCPToolCallStatus","com.azure.ai.agents.implementation.models.MessageContent":"OpenAI.MessageContent","com.azure.ai.agents.implementation.models.MessageContentType":"OpenAI.MessageContentType","com.azure.ai.agents.implementation.models.MoveParam":"OpenAI.MoveParam","com.azure.ai.agents.implementation.models.OutputMessageContent":"OpenAI.OutputMessageContent","com.azure.ai.agents.implementation.models.OutputMessageContentOutputTextContent":"OpenAI.OutputMessageContentOutputTextContent","com.azure.ai.agents.implementation.models.OutputMessageContentRefusalContent":"OpenAI.OutputMessageContentRefusalContent","com.azure.ai.agents.implementation.models.OutputMessageContentType":"OpenAI.OutputMessageContentType","com.azure.ai.agents.implementation.models.ReasoningTextContent":"OpenAI.ReasoningTextContent","com.azure.ai.agents.implementation.models.ScreenshotParam":"OpenAI.ScreenshotParam","com.azure.ai.agents.implementation.models.ScrollParam":"OpenAI.ScrollParam","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SummaryTextContent":"OpenAI.SummaryTextContent","com.azure.ai.agents.implementation.models.TopLogProb":"OpenAI.TopLogProb","com.azure.ai.agents.implementation.models.TypeParam":"OpenAI.TypeParam","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.implementation.models.UrlCitationBody":"OpenAI.UrlCitationBody","com.azure.ai.agents.implementation.models.VectorStoreFileAttributes":"OpenAI.VectorStoreFileAttributes","com.azure.ai.agents.implementation.models.WaitParam":"OpenAI.WaitParam","com.azure.ai.agents.implementation.models.WebSearchActionFind":"OpenAI.WebSearchActionFind","com.azure.ai.agents.implementation.models.WebSearchActionOpenPage":"OpenAI.WebSearchActionOpenPage","com.azure.ai.agents.implementation.models.WebSearchActionSearch":"OpenAI.WebSearchActionSearch","com.azure.ai.agents.implementation.models.WebSearchActionSearchSources":"OpenAI.WebSearchActionSearchSources","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpoint":"Azure.AI.Projects.AgentEndpoint","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIQPreviewToolParameters":"Azure.AI.Projects.WorkIQPreviewToolParameters","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/Annotation.java","src/main/java/com/azure/ai/agents/implementation/models/AnnotationType.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallOutputStatusParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallStatusParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCreateFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchDeleteFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParamType.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchUpdateFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ClickButtonType.java","src/main/java/com/azure/ai/agents/implementation/models/ClickParam.java","src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputImage.java","src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputLogs.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerAction.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerActionType.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerCallSafetyCheckParam.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerScreenshotImage.java","src/main/java/com/azure/ai/agents/implementation/models/ContainerFileCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/CoordParam.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/DoubleClickAction.java","src/main/java/com/azure/ai/agents/implementation/models/DragParam.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessage.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageRole.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FileCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/FilePath.java","src/main/java/com/azure/ai/agents/implementation/models/FileSearchToolCallResults.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputFileContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputImageContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionCallItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellActionParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironment.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentContainerReferenceParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentLocalEnvironmentParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputExitOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParamType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputTimeoutOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/ImageDetail.java","src/main/java/com/azure/ai/agents/implementation/models/ImageDetailLevel.java","src/main/java/com/azure/ai/agents/implementation/models/InputContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputFileContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputImageContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentType.java","src/main/java/com/azure/ai/agents/implementation/models/InputFileContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputImageContentParamAutoParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItem.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCompactionSummaryItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutputStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalRequest.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalResponse.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpListTools.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessage.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessageStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItem.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemType.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputTextContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/ItemReferenceParam.java","src/main/java/com/azure/ai/agents/implementation/models/KeyPressAction.java","src/main/java/com/azure/ai/agents/implementation/models/LocalShellExecAction.java","src/main/java/com/azure/ai/agents/implementation/models/LogProb.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsTool.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolAnnotations.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolInputSchema.java","src/main/java/com/azure/ai/agents/implementation/models/McpToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/MessageContent.java","src/main/java/com/azure/ai/agents/implementation/models/MessageContentType.java","src/main/java/com/azure/ai/agents/implementation/models/MoveParam.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentOutputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentRefusalContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentType.java","src/main/java/com/azure/ai/agents/implementation/models/ReasoningTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/ScreenshotParam.java","src/main/java/com/azure/ai/agents/implementation/models/ScrollParam.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SummaryTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/TopLogProb.java","src/main/java/com/azure/ai/agents/implementation/models/TypeParam.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UrlCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/VectorStoreFileAttributes.java","src/main/java/com/azure/ai/agents/implementation/models/WaitParam.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionFind.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionOpenPage.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearch.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearchSources.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpoint.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIQPreviewToolParameters.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentVersionCode":"Azure.AI.Projects.Agents.downloadAgentVersionCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentVersionCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentVersionCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentVersionCode":"Azure.AI.Projects.Agents.downloadAgentVersionCode","com.azure.ai.agents.AgentsClient.downloadAgentVersionCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentVersionCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.Annotation":"OpenAI.Annotation","com.azure.ai.agents.implementation.models.AnnotationType":"OpenAI.AnnotationType","com.azure.ai.agents.implementation.models.ApplyPatchCallOutputStatusParam":"OpenAI.ApplyPatchCallOutputStatusParam","com.azure.ai.agents.implementation.models.ApplyPatchCallStatusParam":"OpenAI.ApplyPatchCallStatusParam","com.azure.ai.agents.implementation.models.ApplyPatchCreateFileOperationParam":"OpenAI.ApplyPatchCreateFileOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchDeleteFileOperationParam":"OpenAI.ApplyPatchDeleteFileOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchOperationParam":"OpenAI.ApplyPatchOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchOperationParamType":"OpenAI.ApplyPatchOperationParamType","com.azure.ai.agents.implementation.models.ApplyPatchUpdateFileOperationParam":"OpenAI.ApplyPatchUpdateFileOperationParam","com.azure.ai.agents.implementation.models.ClickButtonType":"OpenAI.ClickButtonType","com.azure.ai.agents.implementation.models.ClickParam":"OpenAI.ClickParam","com.azure.ai.agents.implementation.models.CodeInterpreterOutputImage":"OpenAI.CodeInterpreterOutputImage","com.azure.ai.agents.implementation.models.CodeInterpreterOutputLogs":"OpenAI.CodeInterpreterOutputLogs","com.azure.ai.agents.implementation.models.ComputerAction":"OpenAI.ComputerAction","com.azure.ai.agents.implementation.models.ComputerActionType":"OpenAI.ComputerActionType","com.azure.ai.agents.implementation.models.ComputerCallSafetyCheckParam":"OpenAI.ComputerCallSafetyCheckParam","com.azure.ai.agents.implementation.models.ComputerScreenshotImage":"OpenAI.ComputerScreenshotImage","com.azure.ai.agents.implementation.models.ContainerFileCitationBody":"OpenAI.ContainerFileCitationBody","com.azure.ai.agents.implementation.models.CoordParam":"OpenAI.CoordParam","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.DoubleClickAction":"OpenAI.DoubleClickAction","com.azure.ai.agents.implementation.models.DragParam":"OpenAI.DragParam","com.azure.ai.agents.implementation.models.EasyInputMessage":"OpenAI.EasyInputMessage","com.azure.ai.agents.implementation.models.EasyInputMessageRole":"OpenAI.EasyInputMessage.role.anonymous","com.azure.ai.agents.implementation.models.EasyInputMessageStatus":"OpenAI.EasyInputMessage.status.anonymous","com.azure.ai.agents.implementation.models.FileCitationBody":"OpenAI.FileCitationBody","com.azure.ai.agents.implementation.models.FilePath":"OpenAI.FilePath","com.azure.ai.agents.implementation.models.FileSearchToolCallResults":"OpenAI.FileSearchToolCallResults","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutput":"OpenAI.FunctionAndCustomToolCallOutput","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputFileContent":"OpenAI.FunctionAndCustomToolCallOutputInputFileContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputImageContent":"OpenAI.FunctionAndCustomToolCallOutputInputImageContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputTextContent":"OpenAI.FunctionAndCustomToolCallOutputInputTextContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputType":"OpenAI.FunctionAndCustomToolCallOutputType","com.azure.ai.agents.implementation.models.FunctionCallItemStatus":"OpenAI.FunctionCallItemStatus","com.azure.ai.agents.implementation.models.FunctionShellActionParam":"OpenAI.FunctionShellActionParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironment":"OpenAI.FunctionShellCallItemParamEnvironment","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentContainerReferenceParam":"OpenAI.FunctionShellCallItemParamEnvironmentContainerReferenceParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentLocalEnvironmentParam":"OpenAI.FunctionShellCallItemParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentType":"OpenAI.FunctionShellCallItemParamEnvironmentType","com.azure.ai.agents.implementation.models.FunctionShellCallItemStatus":"OpenAI.FunctionShellCallItemStatus","com.azure.ai.agents.implementation.models.FunctionShellCallOutputContentParam":"OpenAI.FunctionShellCallOutputContentParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputExitOutcomeParam":"OpenAI.FunctionShellCallOutputExitOutcomeParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputOutcomeParam":"OpenAI.FunctionShellCallOutputOutcomeParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputOutcomeParamType":"OpenAI.FunctionShellCallOutputOutcomeParamType","com.azure.ai.agents.implementation.models.FunctionShellCallOutputTimeoutOutcomeParam":"OpenAI.FunctionShellCallOutputTimeoutOutcomeParam","com.azure.ai.agents.implementation.models.ImageDetail":"OpenAI.ImageDetail","com.azure.ai.agents.implementation.models.ImageDetailLevel":"OpenAI.DetailEnum","com.azure.ai.agents.implementation.models.InputContent":"OpenAI.InputContent","com.azure.ai.agents.implementation.models.InputContentInputFileContent":"OpenAI.InputContentInputFileContent","com.azure.ai.agents.implementation.models.InputContentInputImageContent":"OpenAI.InputContentInputImageContent","com.azure.ai.agents.implementation.models.InputContentInputTextContent":"OpenAI.InputContentInputTextContent","com.azure.ai.agents.implementation.models.InputContentType":"OpenAI.InputContentType","com.azure.ai.agents.implementation.models.InputFileContentParam":"OpenAI.InputFileContentParam","com.azure.ai.agents.implementation.models.InputImageContentParamAutoParam":"OpenAI.InputImageContentParamAutoParam","com.azure.ai.agents.implementation.models.InputItem":"OpenAI.InputItem","com.azure.ai.agents.implementation.models.InputItemApplyPatchToolCallItemParam":"OpenAI.InputItemApplyPatchToolCallItemParam","com.azure.ai.agents.implementation.models.InputItemApplyPatchToolCallOutputItemParam":"OpenAI.InputItemApplyPatchToolCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemCodeInterpreterToolCall":"OpenAI.InputItemCodeInterpreterToolCall","com.azure.ai.agents.implementation.models.InputItemCodeInterpreterToolCallStatus":"OpenAI.InputItemCodeInterpreterToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemCompactionSummaryItemParam":"OpenAI.InputItemCompactionSummaryItemParam","com.azure.ai.agents.implementation.models.InputItemComputerCallOutputItemParam":"OpenAI.InputItemComputerCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemComputerToolCall":"OpenAI.InputItemComputerToolCall","com.azure.ai.agents.implementation.models.InputItemComputerToolCallStatus":"OpenAI.InputItemComputerToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemCustomToolCall":"OpenAI.InputItemCustomToolCall","com.azure.ai.agents.implementation.models.InputItemCustomToolCallOutput":"OpenAI.InputItemCustomToolCallOutput","com.azure.ai.agents.implementation.models.InputItemFileSearchToolCall":"OpenAI.InputItemFileSearchToolCall","com.azure.ai.agents.implementation.models.InputItemFileSearchToolCallStatus":"OpenAI.InputItemFileSearchToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemFunctionCallOutputItemParam":"OpenAI.InputItemFunctionCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionShellCallItemParam":"OpenAI.InputItemFunctionShellCallItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionShellCallOutputItemParam":"OpenAI.InputItemFunctionShellCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionToolCall":"OpenAI.InputItemFunctionToolCall","com.azure.ai.agents.implementation.models.InputItemFunctionToolCallStatus":"OpenAI.InputItemFunctionToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemImageGenToolCall":"OpenAI.InputItemImageGenToolCall","com.azure.ai.agents.implementation.models.InputItemImageGenToolCallStatus":"OpenAI.InputItemImageGenToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCall":"OpenAI.InputItemLocalShellToolCall","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallOutput":"OpenAI.InputItemLocalShellToolCallOutput","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallOutputStatus":"OpenAI.InputItemLocalShellToolCallOutput.status.anonymous","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallStatus":"OpenAI.InputItemLocalShellToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemMcpApprovalRequest":"OpenAI.InputItemMcpApprovalRequest","com.azure.ai.agents.implementation.models.InputItemMcpApprovalResponse":"OpenAI.InputItemMcpApprovalResponse","com.azure.ai.agents.implementation.models.InputItemMcpListTools":"OpenAI.InputItemMcpListTools","com.azure.ai.agents.implementation.models.InputItemMcpToolCall":"OpenAI.InputItemMcpToolCall","com.azure.ai.agents.implementation.models.InputItemOutputMessage":"OpenAI.InputItemOutputMessage","com.azure.ai.agents.implementation.models.InputItemOutputMessageStatus":"OpenAI.InputItemOutputMessage.status.anonymous","com.azure.ai.agents.implementation.models.InputItemReasoningItem":"OpenAI.InputItemReasoningItem","com.azure.ai.agents.implementation.models.InputItemReasoningItemStatus":"OpenAI.InputItemReasoningItem.status.anonymous","com.azure.ai.agents.implementation.models.InputItemType":"OpenAI.InputItemType","com.azure.ai.agents.implementation.models.InputItemWebSearchToolCall":"OpenAI.InputItemWebSearchToolCall","com.azure.ai.agents.implementation.models.InputItemWebSearchToolCallStatus":"OpenAI.InputItemWebSearchToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputTextContentParam":"OpenAI.InputTextContentParam","com.azure.ai.agents.implementation.models.ItemReferenceParam":"OpenAI.ItemReferenceParam","com.azure.ai.agents.implementation.models.KeyPressAction":"OpenAI.KeyPressAction","com.azure.ai.agents.implementation.models.LocalShellExecAction":"OpenAI.LocalShellExecAction","com.azure.ai.agents.implementation.models.LogProb":"OpenAI.LogProb","com.azure.ai.agents.implementation.models.McpListToolsTool":"OpenAI.MCPListToolsTool","com.azure.ai.agents.implementation.models.McpListToolsToolAnnotations":"OpenAI.MCPListToolsToolAnnotations","com.azure.ai.agents.implementation.models.McpListToolsToolInputSchema":"OpenAI.MCPListToolsToolInputSchema","com.azure.ai.agents.implementation.models.McpToolCallStatus":"OpenAI.MCPToolCallStatus","com.azure.ai.agents.implementation.models.MessageContent":"OpenAI.MessageContent","com.azure.ai.agents.implementation.models.MessageContentType":"OpenAI.MessageContentType","com.azure.ai.agents.implementation.models.MoveParam":"OpenAI.MoveParam","com.azure.ai.agents.implementation.models.OutputMessageContent":"OpenAI.OutputMessageContent","com.azure.ai.agents.implementation.models.OutputMessageContentOutputTextContent":"OpenAI.OutputMessageContentOutputTextContent","com.azure.ai.agents.implementation.models.OutputMessageContentRefusalContent":"OpenAI.OutputMessageContentRefusalContent","com.azure.ai.agents.implementation.models.OutputMessageContentType":"OpenAI.OutputMessageContentType","com.azure.ai.agents.implementation.models.ReasoningTextContent":"OpenAI.ReasoningTextContent","com.azure.ai.agents.implementation.models.ScreenshotParam":"OpenAI.ScreenshotParam","com.azure.ai.agents.implementation.models.ScrollParam":"OpenAI.ScrollParam","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SummaryTextContent":"OpenAI.SummaryTextContent","com.azure.ai.agents.implementation.models.TopLogProb":"OpenAI.TopLogProb","com.azure.ai.agents.implementation.models.TypeParam":"OpenAI.TypeParam","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.implementation.models.UrlCitationBody":"OpenAI.UrlCitationBody","com.azure.ai.agents.implementation.models.VectorStoreFileAttributes":"OpenAI.VectorStoreFileAttributes","com.azure.ai.agents.implementation.models.WaitParam":"OpenAI.WaitParam","com.azure.ai.agents.implementation.models.WebSearchActionFind":"OpenAI.WebSearchActionFind","com.azure.ai.agents.implementation.models.WebSearchActionOpenPage":"OpenAI.WebSearchActionOpenPage","com.azure.ai.agents.implementation.models.WebSearchActionSearch":"OpenAI.WebSearchActionSearch","com.azure.ai.agents.implementation.models.WebSearchActionSearchSources":"OpenAI.WebSearchActionSearchSources","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/Annotation.java","src/main/java/com/azure/ai/agents/implementation/models/AnnotationType.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallOutputStatusParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallStatusParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCreateFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchDeleteFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParamType.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchUpdateFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ClickButtonType.java","src/main/java/com/azure/ai/agents/implementation/models/ClickParam.java","src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputImage.java","src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputLogs.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerAction.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerActionType.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerCallSafetyCheckParam.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerScreenshotImage.java","src/main/java/com/azure/ai/agents/implementation/models/ContainerFileCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/CoordParam.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/DoubleClickAction.java","src/main/java/com/azure/ai/agents/implementation/models/DragParam.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessage.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageRole.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FileCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/FilePath.java","src/main/java/com/azure/ai/agents/implementation/models/FileSearchToolCallResults.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputFileContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputImageContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionCallItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellActionParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironment.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentContainerReferenceParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentLocalEnvironmentParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputExitOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParamType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputTimeoutOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/ImageDetail.java","src/main/java/com/azure/ai/agents/implementation/models/ImageDetailLevel.java","src/main/java/com/azure/ai/agents/implementation/models/InputContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputFileContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputImageContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentType.java","src/main/java/com/azure/ai/agents/implementation/models/InputFileContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputImageContentParamAutoParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItem.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCompactionSummaryItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutputStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalRequest.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalResponse.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpListTools.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessage.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessageStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItem.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemType.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputTextContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/ItemReferenceParam.java","src/main/java/com/azure/ai/agents/implementation/models/KeyPressAction.java","src/main/java/com/azure/ai/agents/implementation/models/LocalShellExecAction.java","src/main/java/com/azure/ai/agents/implementation/models/LogProb.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsTool.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolAnnotations.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolInputSchema.java","src/main/java/com/azure/ai/agents/implementation/models/McpToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/MessageContent.java","src/main/java/com/azure/ai/agents/implementation/models/MessageContentType.java","src/main/java/com/azure/ai/agents/implementation/models/MoveParam.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentOutputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentRefusalContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentType.java","src/main/java/com/azure/ai/agents/implementation/models/ReasoningTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/ScreenshotParam.java","src/main/java/com/azure/ai/agents/implementation/models/ScrollParam.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SummaryTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/TopLogProb.java","src/main/java/com/azure/ai/agents/implementation/models/TypeParam.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UrlCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/VectorStoreFileAttributes.java","src/main/java/com/azure/ai/agents/implementation/models/WaitParam.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionFind.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionOpenPage.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearch.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearchSources.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index 41216b50f846..c31080ca7491 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: a833499a35901cdbbf8cd5dc637e3dc813d951c0 +commit: c63598fa9cf556376a4d21fded4907507bd20f7e repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java index 21fef4cc8a45..ef6a110e51f0 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java @@ -54,25 +54,31 @@ ConnectionsClient.class, DatasetsClient.class, IndexesClient.class, + ModelsClient.class, DeploymentsClient.class, RedTeamsClient.class, EvaluationRulesClient.class, EvaluationTaxonomiesClient.class, EvaluatorsClient.class, + EvaluatorGenerationJobsClient.class, InsightsClient.class, SchedulesClient.class, SkillsClient.class, + DataGenerationJobsClient.class, ConnectionsAsyncClient.class, DatasetsAsyncClient.class, IndexesAsyncClient.class, + ModelsAsyncClient.class, DeploymentsAsyncClient.class, RedTeamsAsyncClient.class, EvaluationRulesAsyncClient.class, EvaluationTaxonomiesAsyncClient.class, EvaluatorsAsyncClient.class, + EvaluatorGenerationJobsAsyncClient.class, InsightsAsyncClient.class, SchedulesAsyncClient.class, - SkillsAsyncClient.class }) + SkillsAsyncClient.class, + DataGenerationJobsAsyncClient.class }) public final class AIProjectClientBuilder implements HttpTrait, ConfigurationTrait, TokenCredentialTrait, EndpointTrait { @@ -648,4 +654,64 @@ public SkillsAsyncClient buildSkillsAsyncClient() { public SkillsClient buildSkillsClient() { return new SkillsClient(buildInnerClient().getSkills()); } + + /** + * Builds an instance of ModelsAsyncClient class. + * + * @return an instance of ModelsAsyncClient. + */ + @Generated + public ModelsAsyncClient buildModelsAsyncClient() { + return new ModelsAsyncClient(buildInnerClient().getModels()); + } + + /** + * Builds an instance of EvaluatorGenerationJobsAsyncClient class. + * + * @return an instance of EvaluatorGenerationJobsAsyncClient. + */ + @Generated + public EvaluatorGenerationJobsAsyncClient buildEvaluatorGenerationJobsAsyncClient() { + return new EvaluatorGenerationJobsAsyncClient(buildInnerClient().getEvaluatorGenerationJobs()); + } + + /** + * Builds an instance of DataGenerationJobsAsyncClient class. + * + * @return an instance of DataGenerationJobsAsyncClient. + */ + @Generated + public DataGenerationJobsAsyncClient buildDataGenerationJobsAsyncClient() { + return new DataGenerationJobsAsyncClient(buildInnerClient().getDataGenerationJobs()); + } + + /** + * Builds an instance of ModelsClient class. + * + * @return an instance of ModelsClient. + */ + @Generated + public ModelsClient buildModelsClient() { + return new ModelsClient(buildInnerClient().getModels()); + } + + /** + * Builds an instance of EvaluatorGenerationJobsClient class. + * + * @return an instance of EvaluatorGenerationJobsClient. + */ + @Generated + public EvaluatorGenerationJobsClient buildEvaluatorGenerationJobsClient() { + return new EvaluatorGenerationJobsClient(buildInnerClient().getEvaluatorGenerationJobs()); + } + + /** + * Builds an instance of DataGenerationJobsClient class. + * + * @return an instance of DataGenerationJobsClient. + */ + @Generated + public DataGenerationJobsClient buildDataGenerationJobsClient() { + return new DataGenerationJobsClient(buildInnerClient().getDataGenerationJobs()); + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java new file mode 100644 index 000000000000..61c39e0bfdb2 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java @@ -0,0 +1,828 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects; + +import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.projects.implementation.DataGenerationJobsImpl; +import com.azure.ai.projects.models.DataGenerationJob; +import com.azure.ai.projects.models.DataGenerationJobScenario; +import com.azure.ai.projects.models.DataGenerationJobType; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpHeaderName; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.util.BinaryData; +import com.azure.core.util.FluxUtil; +import java.util.List; +import java.util.Objects; +import java.util.stream.Collectors; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; + +/** + * Initializes a new instance of the asynchronous AIProjectClient type. + */ +@ServiceClient(builder = AIProjectClientBuilder.class, isAsync = true) +public final class DataGenerationJobsAsyncClient { + + @Generated + private final DataGenerationJobsImpl serviceClient; + + /** + * Initializes an instance of DataGenerationJobsAsyncClient class. + * + * @param serviceClient the service client implementation. + */ + @Generated + DataGenerationJobsAsyncClient(DataGenerationJobsImpl serviceClient) { + this.serviceClient = serviceClient; + } + + /** + * Get info about a data generation job. + * + * Gets the details of a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about a data generation job. + * + * Gets the details of a data generation job by its ID along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.getGenerationJobWithResponseAsync(jobId, requestOptions); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: + * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form + * of "," separated string.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listGenerationJobs(RequestOptions requestOptions) { + return this.serviceClient.listGenerationJobsAsync(requestOptions); + } + + /** + * Creates a data generation job. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return data Generation Job resource along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { + return this.serviceClient.createGenerationJobWithResponseAsync(job, requestOptions); + } + + /** + * Cancels a data generation job. + * + * Cancels a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return data Generation Job resource along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.cancelGenerationJobWithResponseAsync(jobId, requestOptions); + } + + /** + * Deletes a data generation job. + * + * Deletes a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.deleteGenerationJobWithResponseAsync(jobId, requestOptions); + } + + /** + * Get info about a data generation job. + * + * Gets the details of a data generation job by its ID. + * + * @param jobId The ID of the job. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about a data generation job. + * + * Gets the details of a data generation job by its ID on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); + } + + /** + * Get info about a data generation job. + * + * Gets the details of a data generation job by its ID. + * + * @param jobId The ID of the job. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about a data generation job. + * + * Gets the details of a data generation job by its ID on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getGenerationJob(String jobId) { + // Generated convenience method for getGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + * + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @param scenario Filter data generation jobs by their scenario. + * @param type Filter data generation jobs by their type. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, + PageOrder order, String after, String before, DataGenerationJobScenario scenario, + List type) { + // Generated convenience method for listGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + if (scenario != null) { + requestOptions.addQueryParam("scenario", scenario.toString(), false); + } + if (type != null) { + requestOptions.addQueryParam("type", + type.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + PagedFlux pagedFluxResponse = listGenerationJobs(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listGenerationJobs() { + // Generated convenience method for listGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + PagedFlux pagedFluxResponse = listGenerationJobs(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Creates a data generation job. + * + * @param job The job to create. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job + * unconditionally. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return data Generation Job resource on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createGenerationJob(DataGenerationJob job, FoundryFeaturesOptInKeys foundryFeatures, + String operationId) { + // Generated convenience method for createGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (operationId != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); + } + return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); + } + + /** + * Creates a data generation job. + * + * @param job The job to create. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return data Generation Job resource on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createGenerationJob(DataGenerationJob job) { + // Generated convenience method for createGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); + } + + /** + * Cancels a data generation job. + * + * Cancels a data generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return data Generation Job resource on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cancelGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for cancelGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return cancelGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); + } + + /** + * Cancels a data generation job. + * + * Cancels a data generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return data Generation Job resource on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cancelGenerationJob(String jobId) { + // Generated convenience method for cancelGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cancelGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); + } + + /** + * Deletes a data generation job. + * + * Deletes a data generation job by its ID. + * + * @param jobId The ID of the job to delete. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for deleteGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return deleteGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Deletes a data generation job. + * + * Deletes a data generation job by its ID. + * + * @param jobId The ID of the job to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteGenerationJob(String jobId) { + // Generated convenience method for deleteGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return deleteGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java new file mode 100644 index 000000000000..4a72bb4bd52f --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java @@ -0,0 +1,794 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects; + +import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.projects.implementation.DataGenerationJobsImpl; +import com.azure.ai.projects.models.DataGenerationJob; +import com.azure.ai.projects.models.DataGenerationJobScenario; +import com.azure.ai.projects.models.DataGenerationJobType; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpHeaderName; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.util.BinaryData; +import java.util.List; +import java.util.Objects; +import java.util.stream.Collectors; + +/** + * Initializes a new instance of the synchronous AIProjectClient type. + */ +@ServiceClient(builder = AIProjectClientBuilder.class) +public final class DataGenerationJobsClient { + + @Generated + private final DataGenerationJobsImpl serviceClient; + + /** + * Initializes an instance of DataGenerationJobsClient class. + * + * @param serviceClient the service client implementation. + */ + @Generated + DataGenerationJobsClient(DataGenerationJobsImpl serviceClient) { + this.serviceClient = serviceClient; + } + + /** + * Get info about a data generation job. + * + * Gets the details of a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about a data generation job. + * + * Gets the details of a data generation job by its ID along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.getGenerationJobWithResponse(jobId, requestOptions); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: + * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form + * of "," separated string.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listGenerationJobs(RequestOptions requestOptions) { + return this.serviceClient.listGenerationJobs(requestOptions); + } + + /** + * Creates a data generation job. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return data Generation Job resource along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { + return this.serviceClient.createGenerationJobWithResponse(job, requestOptions); + } + + /** + * Cancels a data generation job. + * + * Cancels a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return data Generation Job resource along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.cancelGenerationJobWithResponse(jobId, requestOptions); + } + + /** + * Deletes a data generation job. + * + * Deletes a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.deleteGenerationJobWithResponse(jobId, requestOptions); + } + + /** + * Get info about a data generation job. + * + * Gets the details of a data generation job by its ID. + * + * @param jobId The ID of the job. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about a data generation job. + * + * Gets the details of a data generation job by its ID. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DataGenerationJob getGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(DataGenerationJob.class); + } + + /** + * Get info about a data generation job. + * + * Gets the details of a data generation job by its ID. + * + * @param jobId The ID of the job. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about a data generation job. + * + * Gets the details of a data generation job by its ID. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DataGenerationJob getGenerationJob(String jobId) { + // Generated convenience method for getGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(DataGenerationJob.class); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + * + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @param scenario Filter data generation jobs by their scenario. + * @param type Filter data generation jobs by their type. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, + PageOrder order, String after, String before, DataGenerationJobScenario scenario, + List type) { + // Generated convenience method for listGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + if (scenario != null) { + requestOptions.addQueryParam("scenario", scenario.toString(), false); + } + if (type != null) { + requestOptions.addQueryParam("type", + type.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + return serviceClient.listGenerationJobs(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(DataGenerationJob.class)); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listGenerationJobs() { + // Generated convenience method for listGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + return serviceClient.listGenerationJobs(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(DataGenerationJob.class)); + } + + /** + * Creates a data generation job. + * + * @param job The job to create. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job + * unconditionally. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return data Generation Job resource. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DataGenerationJob createGenerationJob(DataGenerationJob job, FoundryFeaturesOptInKeys foundryFeatures, + String operationId) { + // Generated convenience method for createGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (operationId != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); + } + return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue() + .toObject(DataGenerationJob.class); + } + + /** + * Creates a data generation job. + * + * @param job The job to create. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return data Generation Job resource. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DataGenerationJob createGenerationJob(DataGenerationJob job) { + // Generated convenience method for createGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue() + .toObject(DataGenerationJob.class); + } + + /** + * Cancels a data generation job. + * + * Cancels a data generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return data Generation Job resource. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DataGenerationJob cancelGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for cancelGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return cancelGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(DataGenerationJob.class); + } + + /** + * Cancels a data generation job. + * + * Cancels a data generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return data Generation Job resource. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DataGenerationJob cancelGenerationJob(String jobId) { + // Generated convenience method for cancelGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cancelGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(DataGenerationJob.class); + } + + /** + * Deletes a data generation job. + * + * Deletes a data generation job by its ID. + * + * @param jobId The ID of the job to delete. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for deleteGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + deleteGenerationJobWithResponse(jobId, requestOptions).getValue(); + } + + /** + * Deletes a data generation job. + * + * Deletes a data generation job by its ID. + * + * @param jobId The ID of the job to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteGenerationJob(String jobId) { + // Generated convenience method for deleteGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + deleteGenerationJobWithResponse(jobId, requestOptions).getValue(); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java index 07001d10455f..6e1b2718bd09 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java @@ -244,7 +244,7 @@ public Mono createDatasetWithFolder(String name, String ve * { * pendingUploadId: String (Optional) * connectionName: String (Optional) - * pendingUploadType: String(None/BlobReference) (Required) + * pendingUploadType: String(None/TemporaryBlobReference) (Required) * } * } * @@ -264,7 +264,7 @@ public Mono createDatasetWithFolder(String name, String ve * } * pendingUploadId: String (Required) * version: String (Optional) - * pendingUploadType: String(None/BlobReference) (Required) + * pendingUploadType: String(None/TemporaryBlobReference) (Required) * } * } * diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsClient.java index b5e0286aab97..cc228568a0de 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsClient.java @@ -232,7 +232,7 @@ public FolderDatasetVersion createDatasetWithFolder(String name, String version, * { * pendingUploadId: String (Optional) * connectionName: String (Optional) - * pendingUploadType: String(None/BlobReference) (Required) + * pendingUploadType: String(None/TemporaryBlobReference) (Required) * } * } * @@ -252,7 +252,7 @@ public FolderDatasetVersion createDatasetWithFolder(String name, String version, * } * pendingUploadId: String (Required) * version: String (Optional) - * pendingUploadType: String(None/BlobReference) (Required) + * pendingUploadType: String(None/TemporaryBlobReference) (Required) * } * } * diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java index 78040ea0e8d5..f3d4b211dd34 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java @@ -111,7 +111,7 @@ public Mono> deleteEvaluationRuleWithResponse(String id, RequestO * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java index 2ad4fa777d0f..00b19e1fa0fc 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java @@ -105,7 +105,7 @@ public Response deleteEvaluationRuleWithResponse(String id, RequestOptions * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java index b926fef41037..600c4aea31bb 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java @@ -278,7 +278,7 @@ public Mono> deleteEvaluationTaxonomyWithResponse(String name, Re * * * @param name The name of the evaluation taxonomy. - * @param body The evaluation taxonomy. + * @param taxonomy The evaluation taxonomy. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -288,9 +288,9 @@ public Mono> deleteEvaluationTaxonomyWithResponse(String name, Re */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createEvaluationTaxonomyWithResponse(String name, BinaryData body, + public Mono> createEvaluationTaxonomyWithResponse(String name, BinaryData taxonomy, RequestOptions requestOptions) { - return this.serviceClient.createEvaluationTaxonomyWithResponseAsync(name, body, requestOptions); + return this.serviceClient.createEvaluationTaxonomyWithResponseAsync(name, taxonomy, requestOptions); } /** @@ -384,7 +384,7 @@ public Mono> createEvaluationTaxonomyWithResponse(String na * * * @param name The name of the evaluation taxonomy. - * @param body The evaluation taxonomy. + * @param taxonomy The evaluation taxonomy. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -394,9 +394,9 @@ public Mono> createEvaluationTaxonomyWithResponse(String na */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateEvaluationTaxonomyWithResponse(String name, BinaryData body, + public Mono> updateEvaluationTaxonomyWithResponse(String name, BinaryData taxonomy, RequestOptions requestOptions) { - return this.serviceClient.updateEvaluationTaxonomyWithResponseAsync(name, body, requestOptions); + return this.serviceClient.updateEvaluationTaxonomyWithResponseAsync(name, taxonomy, requestOptions); } /** @@ -513,7 +513,7 @@ public Mono deleteEvaluationTaxonomy(String name) { * Create an evaluation taxonomy. * * @param name The name of the evaluation taxonomy. - * @param body The evaluation taxonomy. + * @param taxonomy The evaluation taxonomy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -524,10 +524,10 @@ public Mono deleteEvaluationTaxonomy(String name) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createEvaluationTaxonomy(String name, EvaluationTaxonomy body) { + public Mono createEvaluationTaxonomy(String name, EvaluationTaxonomy taxonomy) { // Generated convenience method for createEvaluationTaxonomyWithResponse RequestOptions requestOptions = new RequestOptions(); - return createEvaluationTaxonomyWithResponse(name, BinaryData.fromObject(body), requestOptions) + return createEvaluationTaxonomyWithResponse(name, BinaryData.fromObject(taxonomy), requestOptions) .flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(EvaluationTaxonomy.class)); } @@ -536,7 +536,7 @@ public Mono createEvaluationTaxonomy(String name, Evaluation * Update an evaluation taxonomy. * * @param name The name of the evaluation taxonomy. - * @param body The evaluation taxonomy. + * @param taxonomy The evaluation taxonomy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -547,10 +547,10 @@ public Mono createEvaluationTaxonomy(String name, Evaluation */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateEvaluationTaxonomy(String name, EvaluationTaxonomy body) { + public Mono updateEvaluationTaxonomy(String name, EvaluationTaxonomy taxonomy) { // Generated convenience method for updateEvaluationTaxonomyWithResponse RequestOptions requestOptions = new RequestOptions(); - return updateEvaluationTaxonomyWithResponse(name, BinaryData.fromObject(body), requestOptions) + return updateEvaluationTaxonomyWithResponse(name, BinaryData.fromObject(taxonomy), requestOptions) .flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(EvaluationTaxonomy.class)); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java index 01f596a5ad70..cdfb59e6bad4 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java @@ -272,7 +272,7 @@ public Response deleteEvaluationTaxonomyWithResponse(String name, RequestO * * * @param name The name of the evaluation taxonomy. - * @param body The evaluation taxonomy. + * @param taxonomy The evaluation taxonomy. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -282,9 +282,9 @@ public Response deleteEvaluationTaxonomyWithResponse(String name, RequestO */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response createEvaluationTaxonomyWithResponse(String name, BinaryData body, + public Response createEvaluationTaxonomyWithResponse(String name, BinaryData taxonomy, RequestOptions requestOptions) { - return this.serviceClient.createEvaluationTaxonomyWithResponse(name, body, requestOptions); + return this.serviceClient.createEvaluationTaxonomyWithResponse(name, taxonomy, requestOptions); } /** @@ -378,7 +378,7 @@ public Response createEvaluationTaxonomyWithResponse(String name, Bi * * * @param name The name of the evaluation taxonomy. - * @param body The evaluation taxonomy. + * @param taxonomy The evaluation taxonomy. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -388,9 +388,9 @@ public Response createEvaluationTaxonomyWithResponse(String name, Bi */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateEvaluationTaxonomyWithResponse(String name, BinaryData body, + public Response updateEvaluationTaxonomyWithResponse(String name, BinaryData taxonomy, RequestOptions requestOptions) { - return this.serviceClient.updateEvaluationTaxonomyWithResponse(name, body, requestOptions); + return this.serviceClient.updateEvaluationTaxonomyWithResponse(name, taxonomy, requestOptions); } /** @@ -483,7 +483,7 @@ public void deleteEvaluationTaxonomy(String name) { * Create an evaluation taxonomy. * * @param name The name of the evaluation taxonomy. - * @param body The evaluation taxonomy. + * @param taxonomy The evaluation taxonomy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -494,10 +494,10 @@ public void deleteEvaluationTaxonomy(String name) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public EvaluationTaxonomy createEvaluationTaxonomy(String name, EvaluationTaxonomy body) { + public EvaluationTaxonomy createEvaluationTaxonomy(String name, EvaluationTaxonomy taxonomy) { // Generated convenience method for createEvaluationTaxonomyWithResponse RequestOptions requestOptions = new RequestOptions(); - return createEvaluationTaxonomyWithResponse(name, BinaryData.fromObject(body), requestOptions).getValue() + return createEvaluationTaxonomyWithResponse(name, BinaryData.fromObject(taxonomy), requestOptions).getValue() .toObject(EvaluationTaxonomy.class); } @@ -505,7 +505,7 @@ public EvaluationTaxonomy createEvaluationTaxonomy(String name, EvaluationTaxono * Update an evaluation taxonomy. * * @param name The name of the evaluation taxonomy. - * @param body The evaluation taxonomy. + * @param taxonomy The evaluation taxonomy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -516,10 +516,10 @@ public EvaluationTaxonomy createEvaluationTaxonomy(String name, EvaluationTaxono */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public EvaluationTaxonomy updateEvaluationTaxonomy(String name, EvaluationTaxonomy body) { + public EvaluationTaxonomy updateEvaluationTaxonomy(String name, EvaluationTaxonomy taxonomy) { // Generated convenience method for updateEvaluationTaxonomyWithResponse RequestOptions requestOptions = new RequestOptions(); - return updateEvaluationTaxonomyWithResponse(name, BinaryData.fromObject(body), requestOptions).getValue() + return updateEvaluationTaxonomyWithResponse(name, BinaryData.fromObject(taxonomy), requestOptions).getValue() .toObject(EvaluationTaxonomy.class); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java new file mode 100644 index 000000000000..8303cc57e03b --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java @@ -0,0 +1,987 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects; + +import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.projects.implementation.EvaluatorGenerationJobsImpl; +import com.azure.ai.projects.models.EvaluatorCategory; +import com.azure.ai.projects.models.EvaluatorGenerationJob; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpHeaderName; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.util.BinaryData; +import com.azure.core.util.FluxUtil; +import java.util.stream.Collectors; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; + +/** + * Initializes a new instance of the asynchronous AIProjectClient type. + */ +@ServiceClient(builder = AIProjectClientBuilder.class, isAsync = true) +public final class EvaluatorGenerationJobsAsyncClient { + + @Generated + private final EvaluatorGenerationJobsImpl serviceClient; + + /** + * Initializes an instance of EvaluatorGenerationJobsAsyncClient class. + * + * @param serviceClient the service client implementation. + */ + @Generated + EvaluatorGenerationJobsAsyncClient(EvaluatorGenerationJobsImpl serviceClient) { + this.serviceClient = serviceClient; + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { + return this.serviceClient.createGenerationJobWithResponseAsync(job, requestOptions); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.getGenerationJobWithResponseAsync(jobId, requestOptions); + } + + /** + * Returns a list of evaluator generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: + * "quality", "safety", "agents".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listGenerationJobs(RequestOptions requestOptions) { + return this.serviceClient.listGenerationJobsAsync(requestOptions); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.cancelGenerationJobWithResponseAsync(jobId, requestOptions); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.deleteGenerationJobWithResponseAsync(jobId, requestOptions); + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + * + * @param job The job to create. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job + * unconditionally. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createGenerationJob(EvaluatorGenerationJob job, + FoundryFeaturesOptInKeys foundryFeatures, String operationId) { + // Generated convenience method for createGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (operationId != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); + } + return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + * + * @param job The job to create. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createGenerationJob(EvaluatorGenerationJob job) { + // Generated convenience method for createGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + * + * @param jobId The ID of the job. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + * + * @param jobId The ID of the job. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getGenerationJob(String jobId) { + // Generated convenience method for getGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Returns a list of evaluator generation jobs. + * + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @param category Filter evaluator generation jobs by category. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, + PageOrder order, String after, String before, EvaluatorCategory category) { + // Generated convenience method for listGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + if (category != null) { + requestOptions.addQueryParam("category", category.toString(), false); + } + PagedFlux pagedFluxResponse = listGenerationJobs(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux + .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Returns a list of evaluator generation jobs. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listGenerationJobs() { + // Generated convenience method for listGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + PagedFlux pagedFluxResponse = listGenerationJobs(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux + .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cancelGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for cancelGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return cancelGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cancelGenerationJob(String jobId) { + // Generated convenience method for cancelGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cancelGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + * + * @param jobId The ID of the job to delete. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for deleteGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return deleteGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + * + * @param jobId The ID of the job to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteGenerationJob(String jobId) { + // Generated convenience method for deleteGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return deleteGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java new file mode 100644 index 000000000000..d49489c931df --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java @@ -0,0 +1,950 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects; + +import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.projects.implementation.EvaluatorGenerationJobsImpl; +import com.azure.ai.projects.models.EvaluatorCategory; +import com.azure.ai.projects.models.EvaluatorGenerationJob; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpHeaderName; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.util.BinaryData; + +/** + * Initializes a new instance of the synchronous AIProjectClient type. + */ +@ServiceClient(builder = AIProjectClientBuilder.class) +public final class EvaluatorGenerationJobsClient { + + @Generated + private final EvaluatorGenerationJobsImpl serviceClient; + + /** + * Initializes an instance of EvaluatorGenerationJobsClient class. + * + * @param serviceClient the service client implementation. + */ + @Generated + EvaluatorGenerationJobsClient(EvaluatorGenerationJobsImpl serviceClient) { + this.serviceClient = serviceClient; + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { + return this.serviceClient.createGenerationJobWithResponse(job, requestOptions); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.getGenerationJobWithResponse(jobId, requestOptions); + } + + /** + * Returns a list of evaluator generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: + * "quality", "safety", "agents".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listGenerationJobs(RequestOptions requestOptions) { + return this.serviceClient.listGenerationJobs(requestOptions); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.cancelGenerationJobWithResponse(jobId, requestOptions); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.deleteGenerationJobWithResponse(jobId, requestOptions); + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + * + * @param job The job to create. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job + * unconditionally. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public EvaluatorGenerationJob createGenerationJob(EvaluatorGenerationJob job, + FoundryFeaturesOptInKeys foundryFeatures, String operationId) { + // Generated convenience method for createGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (operationId != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); + } + return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue() + .toObject(EvaluatorGenerationJob.class); + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + * + * @param job The job to create. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public EvaluatorGenerationJob createGenerationJob(EvaluatorGenerationJob job) { + // Generated convenience method for createGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue() + .toObject(EvaluatorGenerationJob.class); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + * + * @param jobId The ID of the job. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public EvaluatorGenerationJob getGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(EvaluatorGenerationJob.class); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + * + * @param jobId The ID of the job. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public EvaluatorGenerationJob getGenerationJob(String jobId) { + // Generated convenience method for getGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(EvaluatorGenerationJob.class); + } + + /** + * Returns a list of evaluator generation jobs. + * + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @param category Filter evaluator generation jobs by category. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, + Integer limit, PageOrder order, String after, String before, EvaluatorCategory category) { + // Generated convenience method for listGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + if (category != null) { + requestOptions.addQueryParam("category", category.toString(), false); + } + return serviceClient.listGenerationJobs(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Returns a list of evaluator generation jobs. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listGenerationJobs() { + // Generated convenience method for listGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + return serviceClient.listGenerationJobs(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public EvaluatorGenerationJob cancelGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for cancelGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return cancelGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(EvaluatorGenerationJob.class); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public EvaluatorGenerationJob cancelGenerationJob(String jobId) { + // Generated convenience method for cancelGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cancelGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(EvaluatorGenerationJob.class); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + * + * @param jobId The ID of the job to delete. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for deleteGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + deleteGenerationJobWithResponse(jobId, requestOptions).getValue(); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + * + * @param jobId The ID of the job to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteGenerationJob(String jobId) { + // Generated convenience method for deleteGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + deleteGenerationJobWithResponse(jobId, requestOptions).getValue(); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java index e10d08ca3193..f8f29c22f822 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java @@ -70,7 +70,7 @@ public final class EvaluatorsAsyncClient { * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -88,6 +88,15 @@ public final class EvaluatorsAsyncClient { * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -142,7 +151,7 @@ public PagedFlux listEvaluatorVersions(String name, RequestOptions r * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -160,6 +169,15 @@ public PagedFlux listEvaluatorVersions(String name, RequestOptions r * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -204,7 +222,7 @@ public PagedFlux listLatestEvaluatorVersions(RequestOptions requestO * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -222,6 +240,15 @@ public PagedFlux listLatestEvaluatorVersions(RequestOptions requestO * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -289,7 +316,7 @@ public Mono> deleteEvaluatorVersionWithResponse(String name, Stri * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -307,6 +334,15 @@ public Mono> deleteEvaluatorVersionWithResponse(String name, Stri * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -335,7 +371,7 @@ public Mono> deleteEvaluatorVersionWithResponse(String name, Stri * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -353,6 +389,15 @@ public Mono> deleteEvaluatorVersionWithResponse(String name, Stri * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -399,7 +444,7 @@ public Mono> createEvaluatorVersionWithResponse(String name * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -417,6 +462,15 @@ public Mono> createEvaluatorVersionWithResponse(String name * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -445,7 +499,7 @@ public Mono> createEvaluatorVersionWithResponse(String name * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -463,6 +517,15 @@ public Mono> createEvaluatorVersionWithResponse(String name * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java index d2f2dab0ec23..18ba805fe465 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java @@ -64,7 +64,7 @@ public final class EvaluatorsClient { * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -82,6 +82,15 @@ public final class EvaluatorsClient { * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -136,7 +145,7 @@ public PagedIterable listEvaluatorVersions(String name, RequestOptio * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -154,6 +163,15 @@ public PagedIterable listEvaluatorVersions(String name, RequestOptio * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -198,7 +216,7 @@ public PagedIterable listLatestEvaluatorVersions(RequestOptions requ * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -216,6 +234,15 @@ public PagedIterable listLatestEvaluatorVersions(RequestOptions requ * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -282,7 +309,7 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -300,6 +327,15 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -328,7 +364,7 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -346,6 +382,15 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -392,7 +437,7 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -410,6 +455,15 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -438,7 +492,7 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -456,6 +510,15 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java index b066b0129aba..3982385e22ac 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java @@ -55,7 +55,7 @@ public final class InsightsAsyncClient { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -137,7 +137,7 @@ public Mono> generateInsightWithResponse(BinaryData insight * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -198,7 +198,7 @@ public Mono> getInsightWithResponse(String id, RequestOptio * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java index fddfd744cc55..6097a4d44761 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java @@ -49,7 +49,7 @@ public final class InsightsClient { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -130,7 +130,7 @@ public Response generateInsightWithResponse(BinaryData insight, Requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -191,7 +191,7 @@ public Response getInsightWithResponse(String id, RequestOptions req * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java new file mode 100644 index 000000000000..94b92467c6a9 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java @@ -0,0 +1,725 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects; + +import com.azure.ai.projects.implementation.JsonMergePatchHelper; +import com.azure.ai.projects.implementation.ModelsImpl; +import com.azure.ai.projects.models.DatasetCredential; +import com.azure.ai.projects.models.ModelCredentialRequest; +import com.azure.ai.projects.models.ModelVersion; +import com.azure.ai.projects.models.PendingUploadRequest; +import com.azure.ai.projects.models.PendingUploadResponse; +import com.azure.ai.projects.models.UpdateModelVersionRequest; +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.util.BinaryData; +import com.azure.core.util.FluxUtil; +import java.util.stream.Collectors; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; + +/** + * Initializes a new instance of the asynchronous AIProjectClient type. + */ +@ServiceClient(builder = AIProjectClientBuilder.class, isAsync = true) +public final class ModelsAsyncClient { + + @Generated + private final ModelsImpl serviceClient; + + /** + * Initializes an instance of ModelsAsyncClient class. + * + * @param serviceClient the service client implementation. + */ + @Generated + ModelsAsyncClient(ModelsImpl serviceClient) { + this.serviceClient = serviceClient; + } + + /** + * List all versions of the given ModelVersion. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of ModelVersion items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listModelVersions(String name, RequestOptions requestOptions) { + return this.serviceClient.listModelVersionsAsync(name, requestOptions); + } + + /** + * List the latest version of each ModelVersion. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of ModelVersion items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listLatestModelVersions(RequestOptions requestOptions) { + return this.serviceClient.listLatestModelVersionsAsync(requestOptions); + } + + /** + * Get the specific version of the ModelVersion. The service returns 404 Not Found error if the ModelVersion does + * not exist. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name The name of the resource. + * @param version The specific version id of the ModelVersion to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the specific version of the ModelVersion along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getModelVersionWithResponse(String name, String version, + RequestOptions requestOptions) { + return this.serviceClient.getModelVersionWithResponseAsync(name, version, requestOptions); + } + + /** + * Delete the specific version of the ModelVersion. The service returns 204 No Content if the ModelVersion was + * deleted successfully or if the ModelVersion does not exist. + * + * @param name The name of the resource. + * @param version The version of the ModelVersion to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteModelVersionWithResponse(String name, String version, + RequestOptions requestOptions) { + return this.serviceClient.deleteModelVersionWithResponseAsync(name, version, requestOptions); + } + + /** + * Update an existing ModelVersion with the given version id. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name The name of the resource. + * @param version The specific version id of the UpdateModelVersionRequest to create or update. + * @param body The UpdateModelVersionRequest to create or update. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return model Version Definition along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> updateModelVersionWithResponse(String name, String version, BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.updateModelVersionWithResponseAsync(name, version, body, requestOptions); + } + + /** + * Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a Location header + * for polling. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name Name of the model. + * @param version Version of the model. + * @param body Model version to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createModelVersionAsyncWithResponse(String name, String version, BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.createModelVersionAsyncWithResponseAsync(name, version, body, requestOptions); + } + + /** + * Start or retrieve a pending upload for a model version. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     pendingUploadId: String (Optional)
+     *     connectionName: String (Optional)
+     *     pendingUploadType: String(None/TemporaryBlobReference) (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobReference (Required): {
+     *         blobUri: String (Required)
+     *         storageAccountArmId: String (Required)
+     *         credential (Required): {
+     *             sasUri: String (Required)
+     *             type: String(ApiKey/AAD/SAS/CustomKeys/None/AgenticIdentityToken_Preview) (Required)
+     *         }
+     *     }
+     *     pendingUploadId: String (Required)
+     *     version: String (Optional)
+     *     pendingUploadType: String(None/TemporaryBlobReference) (Required)
+     * }
+     * }
+     * 
+ * + * @param name Name of the model. + * @param version Version of the model. + * @param body The body parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represents the response for a pending upload request along with {@link Response} on successful completion + * of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> startModelPendingUploadWithResponse(String name, String version, BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.startModelPendingUploadWithResponseAsync(name, version, body, requestOptions); + } + + /** + * Get credentials for a model version asset. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobUri: String (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobReference (Required): {
+     *         blobUri: String (Required)
+     *         storageAccountArmId: String (Required)
+     *         credential (Required): {
+     *             sasUri: String (Required)
+     *             type: String(ApiKey/AAD/SAS/CustomKeys/None/AgenticIdentityToken_Preview) (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name Name of the model. + * @param version Version of the model. + * @param body The body parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return credentials for a model version asset along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getModelCredentialsWithResponse(String name, String version, BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.getModelCredentialsWithResponseAsync(name, version, body, requestOptions); + } + + /** + * List all versions of the given ModelVersion. + * + * @param name The name of the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return paged collection of ModelVersion items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listModelVersions(String name) { + // Generated convenience method for listModelVersions + RequestOptions requestOptions = new RequestOptions(); + PagedFlux pagedFluxResponse = listModelVersions(name, requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(ModelVersion.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * List the latest version of each ModelVersion. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return paged collection of ModelVersion items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listLatestModelVersions() { + // Generated convenience method for listLatestModelVersions + RequestOptions requestOptions = new RequestOptions(); + PagedFlux pagedFluxResponse = listLatestModelVersions(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(ModelVersion.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Get the specific version of the ModelVersion. The service returns 404 Not Found error if the ModelVersion does + * not exist. + * + * @param name The name of the resource. + * @param version The specific version id of the ModelVersion to retrieve. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the specific version of the ModelVersion on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getModelVersion(String name, String version) { + // Generated convenience method for getModelVersionWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getModelVersionWithResponse(name, version, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(ModelVersion.class)); + } + + /** + * Delete the specific version of the ModelVersion. The service returns 204 No Content if the ModelVersion was + * deleted successfully or if the ModelVersion does not exist. + * + * @param name The name of the resource. + * @param version The version of the ModelVersion to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteModelVersion(String name, String version) { + // Generated convenience method for deleteModelVersionWithResponse + RequestOptions requestOptions = new RequestOptions(); + return deleteModelVersionWithResponse(name, version, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Update an existing ModelVersion with the given version id. + * + * @param name The name of the resource. + * @param version The specific version id of the UpdateModelVersionRequest to create or update. + * @param body The UpdateModelVersionRequest to create or update. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return model Version Definition on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono updateModelVersion(String name, String version, UpdateModelVersionRequest body) { + // Generated convenience method for updateModelVersionWithResponse + RequestOptions requestOptions = new RequestOptions(); + JsonMergePatchHelper.getUpdateModelVersionRequestAccessor().prepareModelForJsonMergePatch(body, true); + BinaryData bodyInBinaryData = BinaryData.fromObject(body); + // BinaryData.fromObject() will not fire serialization, use getLength() to fire serialization. + bodyInBinaryData.getLength(); + JsonMergePatchHelper.getUpdateModelVersionRequestAccessor().prepareModelForJsonMergePatch(body, false); + return updateModelVersionWithResponse(name, version, bodyInBinaryData, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(ModelVersion.class)); + } + + /** + * Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a Location header + * for polling. + * + * @param name Name of the model. + * @param version Version of the model. + * @param body Model version to create. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createModelVersionAsync(String name, String version, ModelVersion body) { + // Generated convenience method for createModelVersionAsyncWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createModelVersionAsyncWithResponse(name, version, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Start or retrieve a pending upload for a model version. + * + * @param name Name of the model. + * @param version Version of the model. + * @param body The body parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents the response for a pending upload request on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono startModelPendingUpload(String name, String version, PendingUploadRequest body) { + // Generated convenience method for startModelPendingUploadWithResponse + RequestOptions requestOptions = new RequestOptions(); + return startModelPendingUploadWithResponse(name, version, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(PendingUploadResponse.class)); + } + + /** + * Get credentials for a model version asset. + * + * @param name Name of the model. + * @param version Version of the model. + * @param body The body parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return credentials for a model version asset on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getModelCredentials(String name, String version, ModelCredentialRequest body) { + // Generated convenience method for getModelCredentialsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getModelCredentialsWithResponse(name, version, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DatasetCredential.class)); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java new file mode 100644 index 000000000000..75efc04da056 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java @@ -0,0 +1,688 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects; + +import com.azure.ai.projects.implementation.JsonMergePatchHelper; +import com.azure.ai.projects.implementation.ModelsImpl; +import com.azure.ai.projects.models.DatasetCredential; +import com.azure.ai.projects.models.ModelCredentialRequest; +import com.azure.ai.projects.models.ModelVersion; +import com.azure.ai.projects.models.PendingUploadRequest; +import com.azure.ai.projects.models.PendingUploadResponse; +import com.azure.ai.projects.models.UpdateModelVersionRequest; +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.util.BinaryData; + +/** + * Initializes a new instance of the synchronous AIProjectClient type. + */ +@ServiceClient(builder = AIProjectClientBuilder.class) +public final class ModelsClient { + + @Generated + private final ModelsImpl serviceClient; + + /** + * Initializes an instance of ModelsClient class. + * + * @param serviceClient the service client implementation. + */ + @Generated + ModelsClient(ModelsImpl serviceClient) { + this.serviceClient = serviceClient; + } + + /** + * List all versions of the given ModelVersion. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of ModelVersion items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listModelVersions(String name, RequestOptions requestOptions) { + return this.serviceClient.listModelVersions(name, requestOptions); + } + + /** + * List the latest version of each ModelVersion. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of ModelVersion items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listLatestModelVersions(RequestOptions requestOptions) { + return this.serviceClient.listLatestModelVersions(requestOptions); + } + + /** + * Get the specific version of the ModelVersion. The service returns 404 Not Found error if the ModelVersion does + * not exist. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name The name of the resource. + * @param version The specific version id of the ModelVersion to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the specific version of the ModelVersion along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getModelVersionWithResponse(String name, String version, + RequestOptions requestOptions) { + return this.serviceClient.getModelVersionWithResponse(name, version, requestOptions); + } + + /** + * Delete the specific version of the ModelVersion. The service returns 204 No Content if the ModelVersion was + * deleted successfully or if the ModelVersion does not exist. + * + * @param name The name of the resource. + * @param version The version of the ModelVersion to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteModelVersionWithResponse(String name, String version, RequestOptions requestOptions) { + return this.serviceClient.deleteModelVersionWithResponse(name, version, requestOptions); + } + + /** + * Update an existing ModelVersion with the given version id. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name The name of the resource. + * @param version The specific version id of the UpdateModelVersionRequest to create or update. + * @param body The UpdateModelVersionRequest to create or update. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return model Version Definition along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response updateModelVersionWithResponse(String name, String version, BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.updateModelVersionWithResponse(name, version, body, requestOptions); + } + + /** + * Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a Location header + * for polling. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name Name of the model. + * @param version Version of the model. + * @param body Model version to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createModelVersionAsyncWithResponse(String name, String version, BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.createModelVersionAsyncWithResponse(name, version, body, requestOptions); + } + + /** + * Start or retrieve a pending upload for a model version. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     pendingUploadId: String (Optional)
+     *     connectionName: String (Optional)
+     *     pendingUploadType: String(None/TemporaryBlobReference) (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobReference (Required): {
+     *         blobUri: String (Required)
+     *         storageAccountArmId: String (Required)
+     *         credential (Required): {
+     *             sasUri: String (Required)
+     *             type: String(ApiKey/AAD/SAS/CustomKeys/None/AgenticIdentityToken_Preview) (Required)
+     *         }
+     *     }
+     *     pendingUploadId: String (Required)
+     *     version: String (Optional)
+     *     pendingUploadType: String(None/TemporaryBlobReference) (Required)
+     * }
+     * }
+     * 
+ * + * @param name Name of the model. + * @param version Version of the model. + * @param body The body parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represents the response for a pending upload request along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response startModelPendingUploadWithResponse(String name, String version, BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.startModelPendingUploadWithResponse(name, version, body, requestOptions); + } + + /** + * Get credentials for a model version asset. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobUri: String (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobReference (Required): {
+     *         blobUri: String (Required)
+     *         storageAccountArmId: String (Required)
+     *         credential (Required): {
+     *             sasUri: String (Required)
+     *             type: String(ApiKey/AAD/SAS/CustomKeys/None/AgenticIdentityToken_Preview) (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name Name of the model. + * @param version Version of the model. + * @param body The body parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return credentials for a model version asset along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getModelCredentialsWithResponse(String name, String version, BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.getModelCredentialsWithResponse(name, version, body, requestOptions); + } + + /** + * List all versions of the given ModelVersion. + * + * @param name The name of the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return paged collection of ModelVersion items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listModelVersions(String name) { + // Generated convenience method for listModelVersions + RequestOptions requestOptions = new RequestOptions(); + return serviceClient.listModelVersions(name, requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(ModelVersion.class)); + } + + /** + * List the latest version of each ModelVersion. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return paged collection of ModelVersion items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listLatestModelVersions() { + // Generated convenience method for listLatestModelVersions + RequestOptions requestOptions = new RequestOptions(); + return serviceClient.listLatestModelVersions(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(ModelVersion.class)); + } + + /** + * Get the specific version of the ModelVersion. The service returns 404 Not Found error if the ModelVersion does + * not exist. + * + * @param name The name of the resource. + * @param version The specific version id of the ModelVersion to retrieve. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the specific version of the ModelVersion. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public ModelVersion getModelVersion(String name, String version) { + // Generated convenience method for getModelVersionWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getModelVersionWithResponse(name, version, requestOptions).getValue().toObject(ModelVersion.class); + } + + /** + * Delete the specific version of the ModelVersion. The service returns 204 No Content if the ModelVersion was + * deleted successfully or if the ModelVersion does not exist. + * + * @param name The name of the resource. + * @param version The version of the ModelVersion to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteModelVersion(String name, String version) { + // Generated convenience method for deleteModelVersionWithResponse + RequestOptions requestOptions = new RequestOptions(); + deleteModelVersionWithResponse(name, version, requestOptions).getValue(); + } + + /** + * Update an existing ModelVersion with the given version id. + * + * @param name The name of the resource. + * @param version The specific version id of the UpdateModelVersionRequest to create or update. + * @param body The UpdateModelVersionRequest to create or update. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return model Version Definition. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public ModelVersion updateModelVersion(String name, String version, UpdateModelVersionRequest body) { + // Generated convenience method for updateModelVersionWithResponse + RequestOptions requestOptions = new RequestOptions(); + JsonMergePatchHelper.getUpdateModelVersionRequestAccessor().prepareModelForJsonMergePatch(body, true); + BinaryData bodyInBinaryData = BinaryData.fromObject(body); + // BinaryData.fromObject() will not fire serialization, use getLength() to fire serialization. + bodyInBinaryData.getLength(); + JsonMergePatchHelper.getUpdateModelVersionRequestAccessor().prepareModelForJsonMergePatch(body, false); + return updateModelVersionWithResponse(name, version, bodyInBinaryData, requestOptions).getValue() + .toObject(ModelVersion.class); + } + + /** + * Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a Location header + * for polling. + * + * @param name Name of the model. + * @param version Version of the model. + * @param body Model version to create. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void createModelVersionAsync(String name, String version, ModelVersion body) { + // Generated convenience method for createModelVersionAsyncWithResponse + RequestOptions requestOptions = new RequestOptions(); + createModelVersionAsyncWithResponse(name, version, BinaryData.fromObject(body), requestOptions).getValue(); + } + + /** + * Start or retrieve a pending upload for a model version. + * + * @param name Name of the model. + * @param version Version of the model. + * @param body The body parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents the response for a pending upload request. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public PendingUploadResponse startModelPendingUpload(String name, String version, PendingUploadRequest body) { + // Generated convenience method for startModelPendingUploadWithResponse + RequestOptions requestOptions = new RequestOptions(); + return startModelPendingUploadWithResponse(name, version, BinaryData.fromObject(body), requestOptions) + .getValue() + .toObject(PendingUploadResponse.class); + } + + /** + * Get credentials for a model version asset. + * + * @param name Name of the model. + * @param version Version of the model. + * @param body The body parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return credentials for a model version asset. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DatasetCredential getModelCredentials(String name, String version, ModelCredentialRequest body) { + // Generated convenience method for getModelCredentialsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getModelCredentialsWithResponse(name, version, BinaryData.fromObject(body), requestOptions).getValue() + .toObject(DatasetCredential.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java index 19e84e827da1..84ccf6dc1b37 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java @@ -121,7 +121,7 @@ public Mono> createSkillWithResponse(BinaryData createSkill * } * * - * @param body The zip package used to create the skill. + * @param content The zip package used to create the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -131,9 +131,9 @@ public Mono> createSkillWithResponse(BinaryData createSkill */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createSkillFromPackageWithResponse(BinaryData body, + public Mono> createSkillFromPackageWithResponse(BinaryData content, RequestOptions requestOptions) { - return this.serviceClient.createSkillFromPackageWithResponseAsync(body, requestOptions); + return this.serviceClient.createSkillFromPackageWithResponseAsync(content, requestOptions); } /** @@ -154,7 +154,7 @@ public Mono> createSkillFromPackageWithResponse(BinaryData * } * * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -164,8 +164,8 @@ public Mono> createSkillFromPackageWithResponse(BinaryData */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getSkillWithResponse(String skillName, RequestOptions requestOptions) { - return this.serviceClient.getSkillWithResponseAsync(skillName, requestOptions); + public Mono> getSkillWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.getSkillWithResponseAsync(name, requestOptions); } /** @@ -180,7 +180,7 @@ public Mono> getSkillWithResponse(String skillName, Request * } * * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,8 +190,8 @@ public Mono> getSkillWithResponse(String skillName, Request */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> downloadSkillWithResponse(String skillName, RequestOptions requestOptions) { - return this.serviceClient.downloadSkillWithResponseAsync(skillName, requestOptions); + public Mono> downloadSkillWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.downloadSkillWithResponseAsync(name, requestOptions); } /** @@ -277,7 +277,7 @@ public PagedFlux listSkills(RequestOptions requestOptions) { * } * * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @param updateSkillRequest The updateSkillRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -288,9 +288,9 @@ public PagedFlux listSkills(RequestOptions requestOptions) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateSkillWithResponse(String skillName, BinaryData updateSkillRequest, + public Mono> updateSkillWithResponse(String name, BinaryData updateSkillRequest, RequestOptions requestOptions) { - return this.serviceClient.updateSkillWithResponseAsync(skillName, updateSkillRequest, requestOptions); + return this.serviceClient.updateSkillWithResponseAsync(name, updateSkillRequest, requestOptions); } /** @@ -306,7 +306,7 @@ public Mono> updateSkillWithResponse(String skillName, Bina * } * * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -316,8 +316,8 @@ public Mono> updateSkillWithResponse(String skillName, Bina */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteSkillWithResponse(String skillName, RequestOptions requestOptions) { - return this.serviceClient.deleteSkillWithResponseAsync(skillName, requestOptions); + public Mono> deleteSkillWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.deleteSkillWithResponseAsync(name, requestOptions); } /** @@ -380,7 +380,7 @@ public Mono createSkill(String name) { /** * Creates a skill from a zip package. * - * @param body The zip package used to create the skill. + * @param content The zip package used to create the skill. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -391,17 +391,17 @@ public Mono createSkill(String name) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createSkillFromPackage(BinaryData body) { + public Mono createSkillFromPackage(BinaryData content) { // Generated convenience method for createSkillFromPackageWithResponse RequestOptions requestOptions = new RequestOptions(); - return createSkillFromPackageWithResponse(body, requestOptions).flatMap(FluxUtil::toMono) + return createSkillFromPackageWithResponse(content, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(SkillDetails.class)); } /** * Retrieves a skill. * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -412,10 +412,10 @@ public Mono createSkillFromPackage(BinaryData body) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getSkill(String skillName) { + public Mono getSkill(String name) { // Generated convenience method for getSkillWithResponse RequestOptions requestOptions = new RequestOptions(); - return getSkillWithResponse(skillName, requestOptions).flatMap(FluxUtil::toMono) + return getSkillWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(SkillDetails.class)); } @@ -424,7 +424,7 @@ public Mono getSkill(String skillName) { * skills created via {@code createSkillFromPackage}; materializes a ZIP from stored instructions for skills created * via {@code createSkill}. * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -435,10 +435,10 @@ public Mono getSkill(String skillName) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono downloadSkill(String skillName) { + public Mono downloadSkill(String name) { // Generated convenience method for downloadSkillWithResponse RequestOptions requestOptions = new RequestOptions(); - return downloadSkillWithResponse(skillName, requestOptions).flatMap(FluxUtil::toMono); + return downloadSkillWithResponse(name, requestOptions).flatMap(FluxUtil::toMono); } /** @@ -527,7 +527,7 @@ public PagedFlux listSkills() { /** * Updates an existing skill. * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @param description A human-readable description of the skill. * @param instructions Instructions that define the behavior of the skill. * @param metadata Set of 16 key-value pairs that can be attached to an object. This can be @@ -546,21 +546,21 @@ public PagedFlux listSkills() { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateSkill(String skillName, String description, String instructions, + public Mono updateSkill(String name, String description, String instructions, Map metadata) { // Generated convenience method for updateSkillWithResponse RequestOptions requestOptions = new RequestOptions(); UpdateSkillRequest updateSkillRequestObj = new UpdateSkillRequest().setDescription(description).setInstructions(instructions).setMetadata(metadata); BinaryData updateSkillRequest = BinaryData.fromObject(updateSkillRequestObj); - return updateSkillWithResponse(skillName, updateSkillRequest, requestOptions).flatMap(FluxUtil::toMono) + return updateSkillWithResponse(name, updateSkillRequest, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(SkillDetails.class)); } /** * Updates an existing skill. * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -571,12 +571,12 @@ public Mono updateSkill(String skillName, String description, Stri */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateSkill(String skillName) { + public Mono updateSkill(String name) { // Generated convenience method for updateSkillWithResponse RequestOptions requestOptions = new RequestOptions(); UpdateSkillRequest updateSkillRequestObj = new UpdateSkillRequest(); BinaryData updateSkillRequest = BinaryData.fromObject(updateSkillRequestObj); - return updateSkillWithResponse(skillName, updateSkillRequest, requestOptions).flatMap(FluxUtil::toMono) + return updateSkillWithResponse(name, updateSkillRequest, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(SkillDetails.class)); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java index e026d09c1b4d..4967c08d03d0 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java @@ -114,7 +114,7 @@ public Response createSkillWithResponse(BinaryData createSkillReques * } * * - * @param body The zip package used to create the skill. + * @param content The zip package used to create the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,8 +124,8 @@ public Response createSkillWithResponse(BinaryData createSkillReques */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response createSkillFromPackageWithResponse(BinaryData body, RequestOptions requestOptions) { - return this.serviceClient.createSkillFromPackageWithResponse(body, requestOptions); + public Response createSkillFromPackageWithResponse(BinaryData content, RequestOptions requestOptions) { + return this.serviceClient.createSkillFromPackageWithResponse(content, requestOptions); } /** @@ -146,7 +146,7 @@ public Response createSkillFromPackageWithResponse(BinaryData body, * } * * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -156,8 +156,8 @@ public Response createSkillFromPackageWithResponse(BinaryData body, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSkillWithResponse(String skillName, RequestOptions requestOptions) { - return this.serviceClient.getSkillWithResponse(skillName, requestOptions); + public Response getSkillWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.getSkillWithResponse(name, requestOptions); } /** @@ -172,7 +172,7 @@ public Response getSkillWithResponse(String skillName, RequestOption * } * * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -182,8 +182,8 @@ public Response getSkillWithResponse(String skillName, RequestOption */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response downloadSkillWithResponse(String skillName, RequestOptions requestOptions) { - return this.serviceClient.downloadSkillWithResponse(skillName, requestOptions); + public Response downloadSkillWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.downloadSkillWithResponse(name, requestOptions); } /** @@ -269,7 +269,7 @@ public PagedIterable listSkills(RequestOptions requestOptions) { * } * * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @param updateSkillRequest The updateSkillRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -280,9 +280,9 @@ public PagedIterable listSkills(RequestOptions requestOptions) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateSkillWithResponse(String skillName, BinaryData updateSkillRequest, + public Response updateSkillWithResponse(String name, BinaryData updateSkillRequest, RequestOptions requestOptions) { - return this.serviceClient.updateSkillWithResponse(skillName, updateSkillRequest, requestOptions); + return this.serviceClient.updateSkillWithResponse(name, updateSkillRequest, requestOptions); } /** @@ -298,7 +298,7 @@ public Response updateSkillWithResponse(String skillName, BinaryData * } * * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -308,8 +308,8 @@ public Response updateSkillWithResponse(String skillName, BinaryData */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteSkillWithResponse(String skillName, RequestOptions requestOptions) { - return this.serviceClient.deleteSkillWithResponse(skillName, requestOptions); + public Response deleteSkillWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.deleteSkillWithResponse(name, requestOptions); } /** @@ -370,7 +370,7 @@ public SkillDetails createSkill(String name) { /** * Creates a skill from a zip package. * - * @param body The zip package used to create the skill. + * @param content The zip package used to create the skill. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -381,16 +381,16 @@ public SkillDetails createSkill(String name) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SkillDetails createSkillFromPackage(BinaryData body) { + public SkillDetails createSkillFromPackage(BinaryData content) { // Generated convenience method for createSkillFromPackageWithResponse RequestOptions requestOptions = new RequestOptions(); - return createSkillFromPackageWithResponse(body, requestOptions).getValue().toObject(SkillDetails.class); + return createSkillFromPackageWithResponse(content, requestOptions).getValue().toObject(SkillDetails.class); } /** * Retrieves a skill. * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -401,10 +401,10 @@ public SkillDetails createSkillFromPackage(BinaryData body) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SkillDetails getSkill(String skillName) { + public SkillDetails getSkill(String name) { // Generated convenience method for getSkillWithResponse RequestOptions requestOptions = new RequestOptions(); - return getSkillWithResponse(skillName, requestOptions).getValue().toObject(SkillDetails.class); + return getSkillWithResponse(name, requestOptions).getValue().toObject(SkillDetails.class); } /** @@ -412,7 +412,7 @@ public SkillDetails getSkill(String skillName) { * skills created via {@code createSkillFromPackage}; materializes a ZIP from stored instructions for skills created * via {@code createSkill}. * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -423,10 +423,10 @@ public SkillDetails getSkill(String skillName) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData downloadSkill(String skillName) { + public BinaryData downloadSkill(String name) { // Generated convenience method for downloadSkillWithResponse RequestOptions requestOptions = new RequestOptions(); - return downloadSkillWithResponse(skillName, requestOptions).getValue(); + return downloadSkillWithResponse(name, requestOptions).getValue(); } /** @@ -493,7 +493,7 @@ public PagedIterable listSkills() { /** * Updates an existing skill. * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @param description A human-readable description of the skill. * @param instructions Instructions that define the behavior of the skill. * @param metadata Set of 16 key-value pairs that can be attached to an object. This can be @@ -512,21 +512,21 @@ public PagedIterable listSkills() { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SkillDetails updateSkill(String skillName, String description, String instructions, + public SkillDetails updateSkill(String name, String description, String instructions, Map metadata) { // Generated convenience method for updateSkillWithResponse RequestOptions requestOptions = new RequestOptions(); UpdateSkillRequest updateSkillRequestObj = new UpdateSkillRequest().setDescription(description).setInstructions(instructions).setMetadata(metadata); BinaryData updateSkillRequest = BinaryData.fromObject(updateSkillRequestObj); - return updateSkillWithResponse(skillName, updateSkillRequest, requestOptions).getValue() + return updateSkillWithResponse(name, updateSkillRequest, requestOptions).getValue() .toObject(SkillDetails.class); } /** * Updates an existing skill. * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -537,12 +537,12 @@ public SkillDetails updateSkill(String skillName, String description, String ins */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SkillDetails updateSkill(String skillName) { + public SkillDetails updateSkill(String name) { // Generated convenience method for updateSkillWithResponse RequestOptions requestOptions = new RequestOptions(); UpdateSkillRequest updateSkillRequestObj = new UpdateSkillRequest(); BinaryData updateSkillRequest = BinaryData.fromObject(updateSkillRequestObj); - return updateSkillWithResponse(skillName, updateSkillRequest, requestOptions).getValue() + return updateSkillWithResponse(name, updateSkillRequest, requestOptions).getValue() .toObject(SkillDetails.class); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java index 5224d2637538..08f6257431b8 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java @@ -122,6 +122,20 @@ public IndexesImpl getIndexes() { return this.indexes; } + /** + * The ModelsImpl object to access its operations. + */ + private final ModelsImpl models; + + /** + * Gets the ModelsImpl object to access its operations. + * + * @return the ModelsImpl object. + */ + public ModelsImpl getModels() { + return this.models; + } + /** * The DeploymentsImpl object to access its operations. */ @@ -192,6 +206,20 @@ public EvaluatorsImpl getEvaluators() { return this.evaluators; } + /** + * The EvaluatorGenerationJobsImpl object to access its operations. + */ + private final EvaluatorGenerationJobsImpl evaluatorGenerationJobs; + + /** + * Gets the EvaluatorGenerationJobsImpl object to access its operations. + * + * @return the EvaluatorGenerationJobsImpl object. + */ + public EvaluatorGenerationJobsImpl getEvaluatorGenerationJobs() { + return this.evaluatorGenerationJobs; + } + /** * The InsightsImpl object to access its operations. */ @@ -234,6 +262,20 @@ public SkillsImpl getSkills() { return this.skills; } + /** + * The DataGenerationJobsImpl object to access its operations. + */ + private final DataGenerationJobsImpl dataGenerationJobs; + + /** + * Gets the DataGenerationJobsImpl object to access its operations. + * + * @return the DataGenerationJobsImpl object. + */ + public DataGenerationJobsImpl getDataGenerationJobs() { + return this.dataGenerationJobs; + } + /** * Initializes an instance of AIProjectClient client. * @@ -285,13 +327,16 @@ public AIProjectClientImpl(HttpPipeline httpPipeline, SerializerAdapter serializ this.connections = new ConnectionsImpl(this); this.datasets = new DatasetsImpl(this); this.indexes = new IndexesImpl(this); + this.models = new ModelsImpl(this); this.deployments = new DeploymentsImpl(this); this.redTeams = new RedTeamsImpl(this); this.evaluationRules = new EvaluationRulesImpl(this); this.evaluationTaxonomies = new EvaluationTaxonomiesImpl(this); this.evaluators = new EvaluatorsImpl(this); + this.evaluatorGenerationJobs = new EvaluatorGenerationJobsImpl(this); this.insights = new InsightsImpl(this); this.schedules = new SchedulesImpl(this); this.skills = new SkillsImpl(this); + this.dataGenerationJobs = new DataGenerationJobsImpl(this); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java new file mode 100644 index 000000000000..9d2134d84dae --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java @@ -0,0 +1,1361 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.implementation; + +import com.azure.ai.projects.AIProjectsServiceVersion; +import com.azure.core.annotation.BodyParam; +import com.azure.core.annotation.Delete; +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.Get; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.Post; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; +import reactor.core.publisher.Mono; + +/** + * An instance of this class provides access to all the operations defined in DataGenerationJobs. + */ +public final class DataGenerationJobsImpl { + /** + * The proxy service used to perform REST calls. + */ + private final DataGenerationJobsService service; + + /** + * The service client containing this operation class. + */ + private final AIProjectClientImpl client; + + /** + * Initializes an instance of DataGenerationJobsImpl. + * + * @param client the instance of the service client containing this operation class. + */ + DataGenerationJobsImpl(AIProjectClientImpl client) { + this.service = RestProxy.create(DataGenerationJobsService.class, client.getHttpPipeline(), + client.getSerializerAdapter()); + this.client = client; + } + + /** + * Gets Service version. + * + * @return the serviceVersion value. + */ + public AIProjectsServiceVersion getServiceVersion() { + return client.getServiceVersion(); + } + + /** + * The interface defining all the services for AIProjectClientDataGenerationJobs to be used by the proxy service to + * perform REST calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "AIProjectClientDataGenerationJobs") + public interface DataGenerationJobsService { + @Get("/data_generation_jobs/{jobId}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getGenerationJob(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data_generation_jobs/{jobId}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getGenerationJobSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data_generation_jobs") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> listGenerationJobs(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data_generation_jobs") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response listGenerationJobsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Post("/data_generation_jobs") + @ExpectedResponses({ 201 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> createGenerationJob(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, + RequestOptions requestOptions, Context context); + + @Post("/data_generation_jobs") + @ExpectedResponses({ 201 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response createGenerationJobSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, + RequestOptions requestOptions, Context context); + + @Post("/data_generation_jobs/{jobId}:cancel") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> cancelGenerationJob(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Post("/data_generation_jobs/{jobId}:cancel") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response cancelGenerationJobSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Delete("/data_generation_jobs/{jobId}") + @ExpectedResponses({ 204 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> deleteGenerationJob(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + RequestOptions requestOptions, Context context); + + @Delete("/data_generation_jobs/{jobId}") + @ExpectedResponses({ 204 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response deleteGenerationJobSync(@HostParam("endpoint") String endpoint, @PathParam("jobId") String jobId, + @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); + } + + /** + * Get info about a data generation job. + * + * Gets the details of a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about a data generation job. + * + * Gets the details of a data generation job by its ID along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getGenerationJobWithResponseAsync(String jobId, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getGenerationJob(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Get info about a data generation job. + * + * Gets the details of a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about a data generation job. + * + * Gets the details of a data generation job by its ID along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getGenerationJobSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: + * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form + * of "," separated string.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listGenerationJobsSinglePageAsync(RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listGenerationJobs(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null)); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: + * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form + * of "," separated string.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listGenerationJobsAsync(RequestOptions requestOptions) { + return new PagedFlux<>(() -> listGenerationJobsSinglePageAsync(requestOptions)); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: + * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form + * of "," separated string.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listGenerationJobsSinglePage(RequestOptions requestOptions) { + final String accept = "application/json"; + Response res = service.listGenerationJobsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: + * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form + * of "," separated string.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listGenerationJobs(RequestOptions requestOptions) { + return new PagedIterable<>(() -> listGenerationJobsSinglePage(requestOptions)); + } + + /** + * Creates a data generation job. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return data Generation Job resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createGenerationJobWithResponseAsync(BinaryData job, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.createGenerationJob(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), contentType, accept, job, requestOptions, context)); + } + + /** + * Creates a data generation job. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return data Generation Job resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.createGenerationJobSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + contentType, accept, job, requestOptions, Context.NONE); + } + + /** + * Cancels a data generation job. + * + * Cancels a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return data Generation Job resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cancelGenerationJobWithResponseAsync(String jobId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.cancelGenerationJob(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Cancels a data generation job. + * + * Cancels a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return data Generation Job resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.cancelGenerationJobSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Deletes a data generation job. + * + * Deletes a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteGenerationJobWithResponseAsync(String jobId, RequestOptions requestOptions) { + return FluxUtil.withContext(context -> service.deleteGenerationJob(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), requestOptions, context)); + } + + /** + * Deletes a data generation job. + * + * Deletes a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return service.deleteGenerationJobSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); + } + + private List getValues(BinaryData binaryData, String path) { + try { + Map obj = binaryData.toObject(Map.class); + List values = (List) obj.get(path); + return values.stream().map(BinaryData::fromObject).collect(Collectors.toList()); + } catch (RuntimeException e) { + return null; + } + } + + private String getNextLink(BinaryData binaryData, String path) { + try { + Map obj = binaryData.toObject(Map.class); + return (String) obj.get(path); + } catch (RuntimeException e) { + return null; + } + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java index f376ba88a340..0fd375f69e45 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java @@ -838,7 +838,7 @@ public Response createOrUpdateDatasetVersionWithResponse(String name * { * pendingUploadId: String (Optional) * connectionName: String (Optional) - * pendingUploadType: String(None/BlobReference) (Required) + * pendingUploadType: String(None/TemporaryBlobReference) (Required) * } * } * @@ -858,7 +858,7 @@ public Response createOrUpdateDatasetVersionWithResponse(String name * } * pendingUploadId: String (Required) * version: String (Optional) - * pendingUploadType: String(None/BlobReference) (Required) + * pendingUploadType: String(None/TemporaryBlobReference) (Required) * } * } * @@ -893,7 +893,7 @@ public Mono> pendingUploadWithResponseAsync(String name, St * { * pendingUploadId: String (Optional) * connectionName: String (Optional) - * pendingUploadType: String(None/BlobReference) (Required) + * pendingUploadType: String(None/TemporaryBlobReference) (Required) * } * } * @@ -913,7 +913,7 @@ public Mono> pendingUploadWithResponseAsync(String name, St * } * pendingUploadId: String (Required) * version: String (Optional) - * pendingUploadType: String(None/BlobReference) (Required) + * pendingUploadType: String(None/TemporaryBlobReference) (Required) * } * } * diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java index 185770021da4..0c982b76a4a2 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java @@ -305,7 +305,7 @@ public Response deleteEvaluationRuleWithResponse(String id, RequestOptions * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -382,7 +382,7 @@ public Mono> createOrUpdateEvaluationRuleWithResponseAsync( * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java index 879e65c882a8..5689abe1a802 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java @@ -151,7 +151,7 @@ Response deleteEvaluationTaxonomySync(@HostParam("endpoint") String endpoi Mono> createEvaluationTaxonomy(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData taxonomy, RequestOptions requestOptions, Context context); @Put("/evaluationtaxonomies/{name}") @@ -163,7 +163,7 @@ Mono> createEvaluationTaxonomy(@HostParam("endpoint") Strin Response createEvaluationTaxonomySync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData taxonomy, RequestOptions requestOptions, Context context); @Patch("/evaluationtaxonomies/{name}") @@ -175,7 +175,7 @@ Response createEvaluationTaxonomySync(@HostParam("endpoint") String Mono> updateEvaluationTaxonomy(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData taxonomy, RequestOptions requestOptions, Context context); @Patch("/evaluationtaxonomies/{name}") @@ -187,7 +187,7 @@ Mono> updateEvaluationTaxonomy(@HostParam("endpoint") Strin Response updateEvaluationTaxonomySync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData taxonomy, RequestOptions requestOptions, Context context); @Get("{nextLink}") @@ -749,7 +749,7 @@ public Response deleteEvaluationTaxonomyWithResponse(String name, RequestO * * * @param name The name of the evaluation taxonomy. - * @param body The evaluation taxonomy. + * @param taxonomy The evaluation taxonomy. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -758,13 +758,13 @@ public Response deleteEvaluationTaxonomyWithResponse(String name, RequestO * @return evaluation Taxonomy Definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createEvaluationTaxonomyWithResponseAsync(String name, BinaryData body, + public Mono> createEvaluationTaxonomyWithResponseAsync(String name, BinaryData taxonomy, RequestOptions requestOptions) { final String foundryFeatures = "Evaluations=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil.withContext(context -> service.createEvaluationTaxonomy(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), foundryFeatures, name, contentType, accept, body, + this.client.getServiceVersion().getVersion(), foundryFeatures, name, contentType, accept, taxonomy, requestOptions, context)); } @@ -859,7 +859,7 @@ public Mono> createEvaluationTaxonomyWithResponseAsync(Stri * * * @param name The name of the evaluation taxonomy. - * @param body The evaluation taxonomy. + * @param taxonomy The evaluation taxonomy. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -868,13 +868,13 @@ public Mono> createEvaluationTaxonomyWithResponseAsync(Stri * @return evaluation Taxonomy Definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response createEvaluationTaxonomyWithResponse(String name, BinaryData body, + public Response createEvaluationTaxonomyWithResponse(String name, BinaryData taxonomy, RequestOptions requestOptions) { final String foundryFeatures = "Evaluations=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; return service.createEvaluationTaxonomySync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), foundryFeatures, name, contentType, accept, body, + this.client.getServiceVersion().getVersion(), foundryFeatures, name, contentType, accept, taxonomy, requestOptions, Context.NONE); } @@ -969,7 +969,7 @@ public Response createEvaluationTaxonomyWithResponse(String name, Bi * * * @param name The name of the evaluation taxonomy. - * @param body The evaluation taxonomy. + * @param taxonomy The evaluation taxonomy. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -978,13 +978,13 @@ public Response createEvaluationTaxonomyWithResponse(String name, Bi * @return evaluation Taxonomy Definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateEvaluationTaxonomyWithResponseAsync(String name, BinaryData body, + public Mono> updateEvaluationTaxonomyWithResponseAsync(String name, BinaryData taxonomy, RequestOptions requestOptions) { final String foundryFeatures = "Evaluations=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil.withContext(context -> service.updateEvaluationTaxonomy(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), foundryFeatures, name, contentType, accept, body, + this.client.getServiceVersion().getVersion(), foundryFeatures, name, contentType, accept, taxonomy, requestOptions, context)); } @@ -1079,7 +1079,7 @@ public Mono> updateEvaluationTaxonomyWithResponseAsync(Stri * * * @param name The name of the evaluation taxonomy. - * @param body The evaluation taxonomy. + * @param taxonomy The evaluation taxonomy. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1088,13 +1088,13 @@ public Mono> updateEvaluationTaxonomyWithResponseAsync(Stri * @return evaluation Taxonomy Definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateEvaluationTaxonomyWithResponse(String name, BinaryData body, + public Response updateEvaluationTaxonomyWithResponse(String name, BinaryData taxonomy, RequestOptions requestOptions) { final String foundryFeatures = "Evaluations=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; return service.updateEvaluationTaxonomySync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), foundryFeatures, name, contentType, accept, body, + this.client.getServiceVersion().getVersion(), foundryFeatures, name, contentType, accept, taxonomy, requestOptions, Context.NONE); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java new file mode 100644 index 000000000000..f1d4a1facb02 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java @@ -0,0 +1,1749 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.implementation; + +import com.azure.ai.projects.AIProjectsServiceVersion; +import com.azure.core.annotation.BodyParam; +import com.azure.core.annotation.Delete; +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.Get; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.Post; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; +import reactor.core.publisher.Mono; + +/** + * An instance of this class provides access to all the operations defined in EvaluatorGenerationJobs. + */ +public final class EvaluatorGenerationJobsImpl { + /** + * The proxy service used to perform REST calls. + */ + private final EvaluatorGenerationJobsService service; + + /** + * The service client containing this operation class. + */ + private final AIProjectClientImpl client; + + /** + * Initializes an instance of EvaluatorGenerationJobsImpl. + * + * @param client the instance of the service client containing this operation class. + */ + EvaluatorGenerationJobsImpl(AIProjectClientImpl client) { + this.service = RestProxy.create(EvaluatorGenerationJobsService.class, client.getHttpPipeline(), + client.getSerializerAdapter()); + this.client = client; + } + + /** + * Gets Service version. + * + * @return the serviceVersion value. + */ + public AIProjectsServiceVersion getServiceVersion() { + return client.getServiceVersion(); + } + + /** + * The interface defining all the services for AIProjectClientEvaluatorGenerationJobs to be used by the proxy + * service to perform REST calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "AIProjectClientEvaluatorGenerationJobs") + public interface EvaluatorGenerationJobsService { + @Post("/evaluator_generation_jobs") + @ExpectedResponses({ 201 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> createGenerationJob(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, + RequestOptions requestOptions, Context context); + + @Post("/evaluator_generation_jobs") + @ExpectedResponses({ 201 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response createGenerationJobSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, + RequestOptions requestOptions, Context context); + + @Get("/evaluator_generation_jobs/{jobId}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getGenerationJob(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/evaluator_generation_jobs/{jobId}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getGenerationJobSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/evaluator_generation_jobs") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> listGenerationJobs(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/evaluator_generation_jobs") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response listGenerationJobsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Post("/evaluator_generation_jobs/{jobId}:cancel") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> cancelGenerationJob(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Post("/evaluator_generation_jobs/{jobId}:cancel") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response cancelGenerationJobSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Delete("/evaluator_generation_jobs/{jobId}") + @ExpectedResponses({ 204 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> deleteGenerationJob(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + RequestOptions requestOptions, Context context); + + @Delete("/evaluator_generation_jobs/{jobId}") + @ExpectedResponses({ 204 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response deleteGenerationJobSync(@HostParam("endpoint") String endpoint, @PathParam("jobId") String jobId, + @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createGenerationJobWithResponseAsync(BinaryData job, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.createGenerationJob(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), contentType, accept, job, requestOptions, context)); + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.createGenerationJobSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + contentType, accept, job, requestOptions, Context.NONE); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getGenerationJobWithResponseAsync(String jobId, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getGenerationJob(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getGenerationJobSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Returns a list of evaluator generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: + * "quality", "safety", "agents".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listGenerationJobsSinglePageAsync(RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listGenerationJobs(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null)); + } + + /** + * Returns a list of evaluator generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: + * "quality", "safety", "agents".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listGenerationJobsAsync(RequestOptions requestOptions) { + return new PagedFlux<>(() -> listGenerationJobsSinglePageAsync(requestOptions)); + } + + /** + * Returns a list of evaluator generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: + * "quality", "safety", "agents".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listGenerationJobsSinglePage(RequestOptions requestOptions) { + final String accept = "application/json"; + Response res = service.listGenerationJobsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null); + } + + /** + * Returns a list of evaluator generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: + * "quality", "safety", "agents".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listGenerationJobs(RequestOptions requestOptions) { + return new PagedIterable<>(() -> listGenerationJobsSinglePage(requestOptions)); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cancelGenerationJobWithResponseAsync(String jobId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.cancelGenerationJob(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         category: String(quality/safety/agents) (Optional)
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.cancelGenerationJobSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteGenerationJobWithResponseAsync(String jobId, RequestOptions requestOptions) { + return FluxUtil.withContext(context -> service.deleteGenerationJob(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), requestOptions, context)); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return service.deleteGenerationJobSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); + } + + private List getValues(BinaryData binaryData, String path) { + try { + Map obj = binaryData.toObject(Map.class); + List values = (List) obj.get(path); + return values.stream().map(BinaryData::fromObject).collect(Collectors.toList()); + } catch (RuntimeException e) { + return null; + } + } + + private String getNextLink(BinaryData binaryData, String path) { + try { + Map obj = binaryData.toObject(Map.class); + return (String) obj.get(path); + } catch (RuntimeException e) { + return null; + } + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java index 0cab4112528c..646d4d121174 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java @@ -285,7 +285,7 @@ Response listLatestEvaluatorVersionsNextSync( * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -303,6 +303,15 @@ Response listLatestEvaluatorVersionsNextSync( * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -364,7 +373,7 @@ private Mono> listEvaluatorVersionsSinglePageAsync(Str * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -382,6 +391,15 @@ private Mono> listEvaluatorVersionsSinglePageAsync(Str * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -439,7 +457,7 @@ public PagedFlux listEvaluatorVersionsAsync(String name, RequestOpti * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -457,6 +475,15 @@ public PagedFlux listEvaluatorVersionsAsync(String name, RequestOpti * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -515,7 +542,7 @@ private PagedResponse listEvaluatorVersionsSinglePage(String name, R * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -533,6 +560,15 @@ private PagedResponse listEvaluatorVersionsSinglePage(String name, R * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -590,7 +626,7 @@ public PagedIterable listEvaluatorVersions(String name, RequestOptio * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -608,6 +644,15 @@ public PagedIterable listEvaluatorVersions(String name, RequestOptio * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -667,7 +712,7 @@ private Mono> listLatestEvaluatorVersionsSinglePageAsy * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -685,6 +730,15 @@ private Mono> listLatestEvaluatorVersionsSinglePageAsy * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -741,7 +795,7 @@ public PagedFlux listLatestEvaluatorVersionsAsync(RequestOptions req * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -759,6 +813,15 @@ public PagedFlux listLatestEvaluatorVersionsAsync(RequestOptions req * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -816,7 +879,7 @@ private PagedResponse listLatestEvaluatorVersionsSinglePage(RequestO * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -834,6 +897,15 @@ private PagedResponse listLatestEvaluatorVersionsSinglePage(RequestO * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -881,7 +953,7 @@ public PagedIterable listLatestEvaluatorVersions(RequestOptions requ * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -899,6 +971,15 @@ public PagedIterable listLatestEvaluatorVersions(RequestOptions requ * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -950,7 +1031,7 @@ public Mono> getEvaluatorVersionWithResponseAsync(String na * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -968,6 +1049,15 @@ public Mono> getEvaluatorVersionWithResponseAsync(String na * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1058,7 +1148,7 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1076,6 +1166,15 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1104,7 +1203,7 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1122,6 +1221,15 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1172,7 +1280,7 @@ public Mono> createEvaluatorVersionWithResponseAsync(String * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1190,6 +1298,15 @@ public Mono> createEvaluatorVersionWithResponseAsync(String * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1218,7 +1335,7 @@ public Mono> createEvaluatorVersionWithResponseAsync(String * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1236,6 +1353,15 @@ public Mono> createEvaluatorVersionWithResponseAsync(String * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1286,7 +1412,7 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1304,6 +1430,15 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1332,7 +1467,7 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1350,6 +1485,15 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1401,7 +1545,7 @@ public Mono> updateEvaluatorVersionWithResponseAsync(String * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1419,6 +1563,15 @@ public Mono> updateEvaluatorVersionWithResponseAsync(String * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1447,7 +1600,7 @@ public Mono> updateEvaluatorVersionWithResponseAsync(String * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1465,6 +1618,15 @@ public Mono> updateEvaluatorVersionWithResponseAsync(String * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1516,7 +1678,7 @@ public Response updateEvaluatorVersionWithResponse(String name, Stri * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1534,6 +1696,15 @@ public Response updateEvaluatorVersionWithResponse(String name, Stri * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1585,7 +1756,7 @@ private Mono> listEvaluatorVersionsNextSinglePageAsync * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1603,6 +1774,15 @@ private Mono> listEvaluatorVersionsNextSinglePageAsync * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1652,7 +1832,7 @@ private PagedResponse listEvaluatorVersionsNextSinglePage(String nex * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1670,6 +1850,15 @@ private PagedResponse listEvaluatorVersionsNextSinglePage(String nex * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1721,7 +1910,7 @@ private Mono> listLatestEvaluatorVersionsNextSinglePag * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1739,6 +1928,15 @@ private Mono> listLatestEvaluatorVersionsNextSinglePag * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java index e46ec94e954b..32afcb6e3f89 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java @@ -173,7 +173,7 @@ Response listInsightsNextSync(@PathParam(value = "nextLink", encoded * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -264,7 +264,7 @@ public Mono> generateInsightWithResponseAsync(BinaryData in * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -361,7 +361,7 @@ public Response generateInsightWithResponse(BinaryData insight, Requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -418,7 +418,7 @@ public Mono> getInsightWithResponseAsync(String id, Request * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -480,7 +480,7 @@ public Response getInsightWithResponse(String id, RequestOptions req * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -545,7 +545,7 @@ private Mono> listInsightsSinglePageAsync(RequestOptio * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -608,7 +608,7 @@ public PagedFlux listInsightsAsync(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -671,7 +671,7 @@ private PagedResponse listInsightsSinglePage(RequestOptions requestO * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -721,7 +721,7 @@ public PagedIterable listInsights(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -774,7 +774,7 @@ private Mono> listInsightsNextSinglePageAsync(String n * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java index e0ae53055cd9..e3449c3bd34f 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java @@ -8,6 +8,7 @@ import com.azure.ai.projects.models.DatasetVersion; import com.azure.ai.projects.models.EmbeddingConfiguration; import com.azure.ai.projects.models.FieldMapping; +import com.azure.ai.projects.models.UpdateModelVersionRequest; import java.util.Map; /** @@ -104,4 +105,21 @@ public static void setEmbeddingConfigurationAccessor(EmbeddingConfigurationAcces public static EmbeddingConfigurationAccessor getEmbeddingConfigurationAccessor() { return embeddingConfigurationAccessor; } + + private static UpdateModelVersionRequestAccessor updateModelVersionRequestAccessor; + + public interface UpdateModelVersionRequestAccessor { + UpdateModelVersionRequest prepareModelForJsonMergePatch(UpdateModelVersionRequest updateModelVersionRequest, + boolean jsonMergePatchEnabled); + + boolean isJsonMergePatch(UpdateModelVersionRequest updateModelVersionRequest); + } + + public static void setUpdateModelVersionRequestAccessor(UpdateModelVersionRequestAccessor accessor) { + updateModelVersionRequestAccessor = accessor; + } + + public static UpdateModelVersionRequestAccessor getUpdateModelVersionRequestAccessor() { + return updateModelVersionRequestAccessor; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java new file mode 100644 index 000000000000..6b6f6b2a6879 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java @@ -0,0 +1,1834 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.implementation; + +import com.azure.ai.projects.AIProjectsServiceVersion; +import com.azure.core.annotation.BodyParam; +import com.azure.core.annotation.Delete; +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.Get; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.Patch; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.Post; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; +import reactor.core.publisher.Mono; + +/** + * An instance of this class provides access to all the operations defined in Models. + */ +public final class ModelsImpl { + /** + * The proxy service used to perform REST calls. + */ + private final ModelsService service; + + /** + * The service client containing this operation class. + */ + private final AIProjectClientImpl client; + + /** + * Initializes an instance of ModelsImpl. + * + * @param client the instance of the service client containing this operation class. + */ + ModelsImpl(AIProjectClientImpl client) { + this.service = RestProxy.create(ModelsService.class, client.getHttpPipeline(), client.getSerializerAdapter()); + this.client = client; + } + + /** + * Gets Service version. + * + * @return the serviceVersion value. + */ + public AIProjectsServiceVersion getServiceVersion() { + return client.getServiceVersion(); + } + + /** + * The interface defining all the services for AIProjectClientModels to be used by the proxy service to perform REST + * calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "AIProjectClientModels") + public interface ModelsService { + @Get("/models/{name}/versions") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> listModelVersions(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("name") String name, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/models/{name}/versions") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response listModelVersionsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("name") String name, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/models") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> listLatestModelVersions(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/models") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response listLatestModelVersionsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/models/{name}/versions/{version}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getModelVersion(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("name") String name, + @PathParam("version") String version, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/models/{name}/versions/{version}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getModelVersionSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("name") String name, + @PathParam("version") String version, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Delete("/models/{name}/versions/{version}") + @ExpectedResponses({ 204 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> deleteModelVersion(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("name") String name, + @PathParam("version") String version, RequestOptions requestOptions, Context context); + + @Delete("/models/{name}/versions/{version}") + @ExpectedResponses({ 204 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response deleteModelVersionSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("name") String name, + @PathParam("version") String version, RequestOptions requestOptions, Context context); + + @Patch("/models/{name}/versions/{version}") + @ExpectedResponses({ 200, 201 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> updateModelVersion(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("name") String name, + @HeaderParam("Content-Type") String contentType, @PathParam("version") String version, + @HeaderParam("Accept") String accept, @BodyParam("application/merge-patch+json") BinaryData body, + RequestOptions requestOptions, Context context); + + @Patch("/models/{name}/versions/{version}") + @ExpectedResponses({ 200, 201 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response updateModelVersionSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("name") String name, + @HeaderParam("Content-Type") String contentType, @PathParam("version") String version, + @HeaderParam("Accept") String accept, @BodyParam("application/merge-patch+json") BinaryData body, + RequestOptions requestOptions, Context context); + + @Post("/models/{name}/versions/{version}/createAsync") + @ExpectedResponses({ 202 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> createModelVersionAsync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("name") String name, + @PathParam("version") String version, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); + + @Post("/models/{name}/versions/{version}/createAsync") + @ExpectedResponses({ 202 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response createModelVersionAsyncSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("name") String name, + @PathParam("version") String version, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); + + @Post("/models/{name}/versions/{version}/startPendingUpload") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> startModelPendingUpload(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("name") String name, + @PathParam("version") String version, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + RequestOptions requestOptions, Context context); + + @Post("/models/{name}/versions/{version}/startPendingUpload") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response startModelPendingUploadSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("name") String name, + @PathParam("version") String version, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + RequestOptions requestOptions, Context context); + + @Post("/models/{name}/versions/{version}/credentials") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getModelCredentials(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("name") String name, + @PathParam("version") String version, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + RequestOptions requestOptions, Context context); + + @Post("/models/{name}/versions/{version}/credentials") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getModelCredentialsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("name") String name, + @PathParam("version") String version, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + RequestOptions requestOptions, Context context); + + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> listModelVersionsNext(@PathParam(value = "nextLink", encoded = true) String nextLink, + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response listModelVersionsNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> listLatestModelVersionsNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response listLatestModelVersionsNextSync( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + } + + /** + * List all versions of the given ModelVersion. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of ModelVersion items along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listModelVersionsSinglePageAsync(String name, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listModelVersions(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), name, accept, requestOptions, context)) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null)); + } + + /** + * List all versions of the given ModelVersion. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of ModelVersion items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listModelVersionsAsync(String name, RequestOptions requestOptions) { + RequestOptions requestOptionsForNextPage = new RequestOptions(); + requestOptionsForNextPage.setContext( + requestOptions != null && requestOptions.getContext() != null ? requestOptions.getContext() : Context.NONE); + return new PagedFlux<>(() -> listModelVersionsSinglePageAsync(name, requestOptions), + nextLink -> listModelVersionsNextSinglePageAsync(nextLink, requestOptionsForNextPage)); + } + + /** + * List all versions of the given ModelVersion. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of ModelVersion items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listModelVersionsSinglePage(String name, RequestOptions requestOptions) { + final String accept = "application/json"; + Response res = service.listModelVersionsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), name, accept, requestOptions, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null); + } + + /** + * List all versions of the given ModelVersion. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of ModelVersion items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listModelVersions(String name, RequestOptions requestOptions) { + RequestOptions requestOptionsForNextPage = new RequestOptions(); + requestOptionsForNextPage.setContext( + requestOptions != null && requestOptions.getContext() != null ? requestOptions.getContext() : Context.NONE); + return new PagedIterable<>(() -> listModelVersionsSinglePage(name, requestOptions), + nextLink -> listModelVersionsNextSinglePage(nextLink, requestOptionsForNextPage)); + } + + /** + * List the latest version of each ModelVersion. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of ModelVersion items along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listLatestModelVersionsSinglePageAsync(RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listLatestModelVersions(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null)); + } + + /** + * List the latest version of each ModelVersion. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of ModelVersion items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listLatestModelVersionsAsync(RequestOptions requestOptions) { + RequestOptions requestOptionsForNextPage = new RequestOptions(); + requestOptionsForNextPage.setContext( + requestOptions != null && requestOptions.getContext() != null ? requestOptions.getContext() : Context.NONE); + return new PagedFlux<>(() -> listLatestModelVersionsSinglePageAsync(requestOptions), + nextLink -> listLatestModelVersionsNextSinglePageAsync(nextLink, requestOptionsForNextPage)); + } + + /** + * List the latest version of each ModelVersion. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of ModelVersion items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listLatestModelVersionsSinglePage(RequestOptions requestOptions) { + final String accept = "application/json"; + Response res = service.listLatestModelVersionsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null); + } + + /** + * List the latest version of each ModelVersion. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of ModelVersion items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listLatestModelVersions(RequestOptions requestOptions) { + RequestOptions requestOptionsForNextPage = new RequestOptions(); + requestOptionsForNextPage.setContext( + requestOptions != null && requestOptions.getContext() != null ? requestOptions.getContext() : Context.NONE); + return new PagedIterable<>(() -> listLatestModelVersionsSinglePage(requestOptions), + nextLink -> listLatestModelVersionsNextSinglePage(nextLink, requestOptionsForNextPage)); + } + + /** + * Get the specific version of the ModelVersion. The service returns 404 Not Found error if the ModelVersion does + * not exist. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name The name of the resource. + * @param version The specific version id of the ModelVersion to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the specific version of the ModelVersion along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getModelVersionWithResponseAsync(String name, String version, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getModelVersion(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), name, version, accept, requestOptions, context)); + } + + /** + * Get the specific version of the ModelVersion. The service returns 404 Not Found error if the ModelVersion does + * not exist. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name The name of the resource. + * @param version The specific version id of the ModelVersion to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the specific version of the ModelVersion along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getModelVersionWithResponse(String name, String version, + RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getModelVersionSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + name, version, accept, requestOptions, Context.NONE); + } + + /** + * Delete the specific version of the ModelVersion. The service returns 204 No Content if the ModelVersion was + * deleted successfully or if the ModelVersion does not exist. + * + * @param name The name of the resource. + * @param version The version of the ModelVersion to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteModelVersionWithResponseAsync(String name, String version, + RequestOptions requestOptions) { + return FluxUtil.withContext(context -> service.deleteModelVersion(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), name, version, requestOptions, context)); + } + + /** + * Delete the specific version of the ModelVersion. The service returns 204 No Content if the ModelVersion was + * deleted successfully or if the ModelVersion does not exist. + * + * @param name The name of the resource. + * @param version The version of the ModelVersion to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteModelVersionWithResponse(String name, String version, RequestOptions requestOptions) { + return service.deleteModelVersionSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + name, version, requestOptions, Context.NONE); + } + + /** + * Update an existing ModelVersion with the given version id. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name The name of the resource. + * @param version The specific version id of the UpdateModelVersionRequest to create or update. + * @param body The UpdateModelVersionRequest to create or update. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return model Version Definition along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> updateModelVersionWithResponseAsync(String name, String version, BinaryData body, + RequestOptions requestOptions) { + final String contentType = "application/merge-patch+json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.updateModelVersion(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), name, contentType, version, accept, body, requestOptions, + context)); + } + + /** + * Update an existing ModelVersion with the given version id. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name The name of the resource. + * @param version The specific version id of the UpdateModelVersionRequest to create or update. + * @param body The UpdateModelVersionRequest to create or update. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return model Version Definition along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response updateModelVersionWithResponse(String name, String version, BinaryData body, + RequestOptions requestOptions) { + final String contentType = "application/merge-patch+json"; + final String accept = "application/json"; + return service.updateModelVersionSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + name, contentType, version, accept, body, requestOptions, Context.NONE); + } + + /** + * Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a Location header + * for polling. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name Name of the model. + * @param version Version of the model. + * @param body Model version to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createModelVersionAsyncWithResponseAsync(String name, String version, BinaryData body, + RequestOptions requestOptions) { + final String contentType = "application/json"; + return FluxUtil.withContext(context -> service.createModelVersionAsync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), name, version, contentType, body, requestOptions, context)); + } + + /** + * Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a Location header + * for polling. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name Name of the model. + * @param version Version of the model. + * @param body Model version to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createModelVersionAsyncWithResponse(String name, String version, BinaryData body, + RequestOptions requestOptions) { + final String contentType = "application/json"; + return service.createModelVersionAsyncSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), name, version, contentType, body, requestOptions, + Context.NONE); + } + + /** + * Start or retrieve a pending upload for a model version. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     pendingUploadId: String (Optional)
+     *     connectionName: String (Optional)
+     *     pendingUploadType: String(None/TemporaryBlobReference) (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobReference (Required): {
+     *         blobUri: String (Required)
+     *         storageAccountArmId: String (Required)
+     *         credential (Required): {
+     *             sasUri: String (Required)
+     *             type: String(ApiKey/AAD/SAS/CustomKeys/None/AgenticIdentityToken_Preview) (Required)
+     *         }
+     *     }
+     *     pendingUploadId: String (Required)
+     *     version: String (Optional)
+     *     pendingUploadType: String(None/TemporaryBlobReference) (Required)
+     * }
+     * }
+     * 
+ * + * @param name Name of the model. + * @param version Version of the model. + * @param body The body parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represents the response for a pending upload request along with {@link Response} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> startModelPendingUploadWithResponseAsync(String name, String version, + BinaryData body, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.startModelPendingUpload(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), name, version, contentType, accept, body, requestOptions, + context)); + } + + /** + * Start or retrieve a pending upload for a model version. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     pendingUploadId: String (Optional)
+     *     connectionName: String (Optional)
+     *     pendingUploadType: String(None/TemporaryBlobReference) (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobReference (Required): {
+     *         blobUri: String (Required)
+     *         storageAccountArmId: String (Required)
+     *         credential (Required): {
+     *             sasUri: String (Required)
+     *             type: String(ApiKey/AAD/SAS/CustomKeys/None/AgenticIdentityToken_Preview) (Required)
+     *         }
+     *     }
+     *     pendingUploadId: String (Required)
+     *     version: String (Optional)
+     *     pendingUploadType: String(None/TemporaryBlobReference) (Required)
+     * }
+     * }
+     * 
+ * + * @param name Name of the model. + * @param version Version of the model. + * @param body The body parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represents the response for a pending upload request along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response startModelPendingUploadWithResponse(String name, String version, BinaryData body, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.startModelPendingUploadSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), name, version, contentType, accept, body, requestOptions, + Context.NONE); + } + + /** + * Get credentials for a model version asset. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobUri: String (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobReference (Required): {
+     *         blobUri: String (Required)
+     *         storageAccountArmId: String (Required)
+     *         credential (Required): {
+     *             sasUri: String (Required)
+     *             type: String(ApiKey/AAD/SAS/CustomKeys/None/AgenticIdentityToken_Preview) (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name Name of the model. + * @param version Version of the model. + * @param body The body parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return credentials for a model version asset along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getModelCredentialsWithResponseAsync(String name, String version, BinaryData body, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getModelCredentials(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), name, version, contentType, accept, body, requestOptions, + context)); + } + + /** + * Get credentials for a model version asset. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobUri: String (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobReference (Required): {
+     *         blobUri: String (Required)
+     *         storageAccountArmId: String (Required)
+     *         credential (Required): {
+     *             sasUri: String (Required)
+     *             type: String(ApiKey/AAD/SAS/CustomKeys/None/AgenticIdentityToken_Preview) (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name Name of the model. + * @param version Version of the model. + * @param body The body parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return credentials for a model version asset along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getModelCredentialsWithResponse(String name, String version, BinaryData body, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.getModelCredentialsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + name, version, contentType, accept, body, requestOptions, Context.NONE); + } + + /** + * Get the next page of items. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param nextLink The URL to get the next list of items. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of ModelVersion items along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listModelVersionsNextSinglePageAsync(String nextLink, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listModelVersionsNext(nextLink, this.client.getEndpoint(), accept, + requestOptions, context)) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null)); + } + + /** + * Get the next page of items. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param nextLink The URL to get the next list of items. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of ModelVersion items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listModelVersionsNextSinglePage(String nextLink, RequestOptions requestOptions) { + final String accept = "application/json"; + Response res = service.listModelVersionsNextSync(nextLink, this.client.getEndpoint(), accept, + requestOptions, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null); + } + + /** + * Get the next page of items. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param nextLink The URL to get the next list of items. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of ModelVersion items along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listLatestModelVersionsNextSinglePageAsync(String nextLink, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listLatestModelVersionsNext(nextLink, this.client.getEndpoint(), accept, + requestOptions, context)) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null)); + } + + /** + * Get the next page of items. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param nextLink The URL to get the next list of items. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of ModelVersion items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listLatestModelVersionsNextSinglePage(String nextLink, + RequestOptions requestOptions) { + final String accept = "application/json"; + Response res = service.listLatestModelVersionsNextSync(nextLink, this.client.getEndpoint(), accept, + requestOptions, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null); + } + + private List getValues(BinaryData binaryData, String path) { + try { + Map obj = binaryData.toObject(Map.class); + List values = (List) obj.get(path); + return values.stream().map(BinaryData::fromObject).collect(Collectors.toList()); + } catch (RuntimeException e) { + return null; + } + } + + private String getNextLink(BinaryData binaryData, String path) { + try { + Map obj = binaryData.toObject(Map.class); + return (String) obj.get(path); + } catch (RuntimeException e) { + return null; + } + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java index 14f690b127b9..dd5644109558 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java @@ -111,7 +111,7 @@ Response createSkillSync(@HostParam("endpoint") String endpoint, Mono> createSkillFromPackage(@HostParam("endpoint") String endpoint, @HeaderParam("Content-Type") String contentType, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @BodyParam("application/zip") BinaryData body, RequestOptions requestOptions, Context context); + @BodyParam("application/zip") BinaryData content, RequestOptions requestOptions, Context context); @Post("/skills:import") @ExpectedResponses({ 201 }) @@ -122,51 +122,47 @@ Mono> createSkillFromPackage(@HostParam("endpoint") String Response createSkillFromPackageSync(@HostParam("endpoint") String endpoint, @HeaderParam("Content-Type") String contentType, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @BodyParam("application/zip") BinaryData body, RequestOptions requestOptions, Context context); + @BodyParam("application/zip") BinaryData content, RequestOptions requestOptions, Context context); - @Get("/skills/{skill_name}") + @Get("/skills/{name}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getSkill(@HostParam("endpoint") String endpoint, - @PathParam("skill_name") String skillName, @HeaderParam("Foundry-Features") String foundryFeatures, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + Mono> getSkill(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/skills/{skill_name}") + @Get("/skills/{name}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getSkillSync(@HostParam("endpoint") String endpoint, - @PathParam("skill_name") String skillName, @HeaderParam("Foundry-Features") String foundryFeatures, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + Response getSkillSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/skills/{skill_name}:download") + @Get("/skills/{name}:download") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> downloadSkill(@HostParam("endpoint") String endpoint, - @PathParam("skill_name") String skillName, @HeaderParam("Foundry-Features") String foundryFeatures, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + Mono> downloadSkill(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/skills/{skill_name}:download") + @Get("/skills/{name}:download") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response downloadSkillSync(@HostParam("endpoint") String endpoint, - @PathParam("skill_name") String skillName, @HeaderParam("Foundry-Features") String foundryFeatures, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + Response downloadSkillSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @Get("/skills") @ExpectedResponses({ 200 }) @@ -188,51 +184,49 @@ Response listSkillsSync(@HostParam("endpoint") String endpoint, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Post("/skills/{skill_name}") + @Post("/skills/{name}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> updateSkill(@HostParam("endpoint") String endpoint, - @PathParam("skill_name") String skillName, @HeaderParam("Foundry-Features") String foundryFeatures, - @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData updateSkillRequest, - RequestOptions requestOptions, Context context); + Mono> updateSkill(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData updateSkillRequest, RequestOptions requestOptions, + Context context); - @Post("/skills/{skill_name}") + @Post("/skills/{name}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response updateSkillSync(@HostParam("endpoint") String endpoint, - @PathParam("skill_name") String skillName, @HeaderParam("Foundry-Features") String foundryFeatures, - @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData updateSkillRequest, - RequestOptions requestOptions, Context context); + Response updateSkillSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData updateSkillRequest, RequestOptions requestOptions, + Context context); - @Delete("/skills/{skill_name}") + @Delete("/skills/{name}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> deleteSkill(@HostParam("endpoint") String endpoint, - @PathParam("skill_name") String skillName, @HeaderParam("Foundry-Features") String foundryFeatures, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + Mono> deleteSkill(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Delete("/skills/{skill_name}") + @Delete("/skills/{name}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response deleteSkillSync(@HostParam("endpoint") String endpoint, - @PathParam("skill_name") String skillName, @HeaderParam("Foundry-Features") String foundryFeatures, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + Response deleteSkillSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); } /** @@ -364,7 +358,7 @@ public Response createSkillWithResponse(BinaryData createSkillReques * } * * - * @param body The zip package used to create the skill. + * @param content The zip package used to create the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -373,13 +367,13 @@ public Response createSkillWithResponse(BinaryData createSkillReques * @return a skill object along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createSkillFromPackageWithResponseAsync(BinaryData body, + public Mono> createSkillFromPackageWithResponseAsync(BinaryData content, RequestOptions requestOptions) { final String contentType = "application/zip"; final String foundryFeatures = "Skills=V1Preview"; final String accept = "application/json"; return FluxUtil.withContext(context -> service.createSkillFromPackage(this.client.getEndpoint(), contentType, - foundryFeatures, this.client.getServiceVersion().getVersion(), accept, body, requestOptions, context)); + foundryFeatures, this.client.getServiceVersion().getVersion(), accept, content, requestOptions, context)); } /** @@ -408,7 +402,7 @@ public Mono> createSkillFromPackageWithResponseAsync(Binary * } * * - * @param body The zip package used to create the skill. + * @param content The zip package used to create the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -417,12 +411,12 @@ public Mono> createSkillFromPackageWithResponseAsync(Binary * @return a skill object along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response createSkillFromPackageWithResponse(BinaryData body, RequestOptions requestOptions) { + public Response createSkillFromPackageWithResponse(BinaryData content, RequestOptions requestOptions) { final String contentType = "application/zip"; final String foundryFeatures = "Skills=V1Preview"; final String accept = "application/json"; return service.createSkillFromPackageSync(this.client.getEndpoint(), contentType, foundryFeatures, - this.client.getServiceVersion().getVersion(), accept, body, requestOptions, Context.NONE); + this.client.getServiceVersion().getVersion(), accept, content, requestOptions, Context.NONE); } /** @@ -443,7 +437,7 @@ public Response createSkillFromPackageWithResponse(BinaryData body, * } * * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -452,10 +446,10 @@ public Response createSkillFromPackageWithResponse(BinaryData body, * @return a skill object along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getSkillWithResponseAsync(String skillName, RequestOptions requestOptions) { + public Mono> getSkillWithResponseAsync(String name, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getSkill(this.client.getEndpoint(), skillName, foundryFeatures, + return FluxUtil.withContext(context -> service.getSkill(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } @@ -477,7 +471,7 @@ public Mono> getSkillWithResponseAsync(String skillName, Re * } * * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -486,10 +480,10 @@ public Mono> getSkillWithResponseAsync(String skillName, Re * @return a skill object along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSkillWithResponse(String skillName, RequestOptions requestOptions) { + public Response getSkillWithResponse(String name, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String accept = "application/json"; - return service.getSkillSync(this.client.getEndpoint(), skillName, foundryFeatures, + return service.getSkillSync(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } @@ -505,7 +499,7 @@ public Response getSkillWithResponse(String skillName, RequestOption * } * * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -514,11 +508,11 @@ public Response getSkillWithResponse(String skillName, RequestOption * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> downloadSkillWithResponseAsync(String skillName, RequestOptions requestOptions) { + public Mono> downloadSkillWithResponseAsync(String name, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String accept = "application/zip"; - return FluxUtil.withContext(context -> service.downloadSkill(this.client.getEndpoint(), skillName, - foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.downloadSkill(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } /** @@ -533,7 +527,7 @@ public Mono> downloadSkillWithResponseAsync(String skillNam * } * * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -542,10 +536,10 @@ public Mono> downloadSkillWithResponseAsync(String skillNam * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response downloadSkillWithResponse(String skillName, RequestOptions requestOptions) { + public Response downloadSkillWithResponse(String name, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String accept = "application/zip"; - return service.downloadSkillSync(this.client.getEndpoint(), skillName, foundryFeatures, + return service.downloadSkillSync(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } @@ -793,7 +787,7 @@ public PagedIterable listSkills(RequestOptions requestOptions) { * } * * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @param updateSkillRequest The updateSkillRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -803,14 +797,14 @@ public PagedIterable listSkills(RequestOptions requestOptions) { * @return a skill object along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateSkillWithResponseAsync(String skillName, BinaryData updateSkillRequest, + public Mono> updateSkillWithResponseAsync(String name, BinaryData updateSkillRequest, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.updateSkill(this.client.getEndpoint(), skillName, - foundryFeatures, this.client.getServiceVersion().getVersion(), contentType, accept, updateSkillRequest, - requestOptions, context)); + return FluxUtil.withContext(context -> service.updateSkill(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), contentType, accept, updateSkillRequest, requestOptions, + context)); } /** @@ -845,7 +839,7 @@ public Mono> updateSkillWithResponseAsync(String skillName, * } * * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @param updateSkillRequest The updateSkillRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -855,12 +849,12 @@ public Mono> updateSkillWithResponseAsync(String skillName, * @return a skill object along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateSkillWithResponse(String skillName, BinaryData updateSkillRequest, + public Response updateSkillWithResponse(String name, BinaryData updateSkillRequest, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; - return service.updateSkillSync(this.client.getEndpoint(), skillName, foundryFeatures, + return service.updateSkillSync(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), contentType, accept, updateSkillRequest, requestOptions, Context.NONE); } @@ -878,7 +872,7 @@ public Response updateSkillWithResponse(String skillName, BinaryData * } * * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -887,11 +881,11 @@ public Response updateSkillWithResponse(String skillName, BinaryData * @return a deleted skill Object along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteSkillWithResponseAsync(String skillName, RequestOptions requestOptions) { + public Mono> deleteSkillWithResponseAsync(String name, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.deleteSkill(this.client.getEndpoint(), skillName, - foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.deleteSkill(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } /** @@ -907,7 +901,7 @@ public Mono> deleteSkillWithResponseAsync(String skillName, * } * * - * @param skillName The unique name of the skill. + * @param name The unique name of the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -916,10 +910,10 @@ public Mono> deleteSkillWithResponseAsync(String skillName, * @return a deleted skill Object along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteSkillWithResponse(String skillName, RequestOptions requestOptions) { + public Response deleteSkillWithResponse(String name, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String accept = "application/json"; - return service.deleteSkillSync(this.client.getEndpoint(), skillName, foundryFeatures, + return service.deleteSkillSync(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java new file mode 100644 index 000000000000..8c02b35a70e8 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java @@ -0,0 +1,174 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Agent source for data generation jobs — references an agent to fetch instructions and metadata from. + */ +@Fluent +public final class AgentDataGenerationJobSource extends DataGenerationJobSource { + + /* + * The type of source. + */ + @Generated + private DataGenerationJobSourceType type = DataGenerationJobSourceType.AGENT; + + /* + * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company + * refund policy document' or 'Describes the agent's core capabilities'). + */ + @Generated + private String description; + + /* + * The agent name to fetch instructions from. + */ + @Generated + private final String agentName; + + /* + * The agent version. If not specified, the latest version is used. + */ + @Generated + private String agentVersion; + + /** + * Creates an instance of AgentDataGenerationJobSource class. + * + * @param agentName the agentName value to set. + */ + @Generated + public AgentDataGenerationJobSource(String agentName) { + this.agentName = agentName; + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @param description the description value to set. + * @return the AgentDataGenerationJobSource object itself. + */ + @Generated + public AgentDataGenerationJobSource setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the agentName property: The agent name to fetch instructions from. + * + * @return the agentName value. + */ + @Generated + public String getAgentName() { + return this.agentName; + } + + /** + * Get the agentVersion property: The agent version. If not specified, the latest version is used. + * + * @return the agentVersion value. + */ + @Generated + public String getAgentVersion() { + return this.agentVersion; + } + + /** + * Set the agentVersion property: The agent version. If not specified, the latest version is used. + * + * @param agentVersion the agentVersion value to set. + * @return the AgentDataGenerationJobSource object itself. + */ + @Generated + public AgentDataGenerationJobSource setAgentVersion(String agentVersion) { + this.agentVersion = agentVersion; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("agent_name", this.agentName); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeStringField("agent_version", this.agentVersion); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of AgentDataGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of AgentDataGenerationJobSource if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the AgentDataGenerationJobSource. + */ + @Generated + public static AgentDataGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String agentName = null; + DataGenerationJobSourceType type = DataGenerationJobSourceType.AGENT; + String description = null; + String agentVersion = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("agent_name".equals(fieldName)) { + agentName = reader.getString(); + } else if ("type".equals(fieldName)) { + type = DataGenerationJobSourceType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("agent_version".equals(fieldName)) { + agentVersion = reader.getString(); + } else { + reader.skipChildren(); + } + } + AgentDataGenerationJobSource deserializedAgentDataGenerationJobSource + = new AgentDataGenerationJobSource(agentName); + deserializedAgentDataGenerationJobSource.type = type; + deserializedAgentDataGenerationJobSource.description = description; + deserializedAgentDataGenerationJobSource.agentVersion = agentVersion; + return deserializedAgentDataGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java new file mode 100644 index 000000000000..47bad90ee947 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java @@ -0,0 +1,174 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Agent source for evaluator generation jobs — references an agent to fetch instructions and metadata from. + */ +@Fluent +public final class AgentEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource { + + /* + * The type of source. + */ + @Generated + private EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.AGENT; + + /* + * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company + * refund policy document' or 'Describes the agent's core capabilities'). + */ + @Generated + private String description; + + /* + * The agent name to fetch instructions from. + */ + @Generated + private final String agentName; + + /* + * The agent version. If not specified, the latest version is used. + */ + @Generated + private String agentVersion; + + /** + * Creates an instance of AgentEvaluatorGenerationJobSource class. + * + * @param agentName the agentName value to set. + */ + @Generated + public AgentEvaluatorGenerationJobSource(String agentName) { + this.agentName = agentName; + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + @Override + public EvaluatorGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @param description the description value to set. + * @return the AgentEvaluatorGenerationJobSource object itself. + */ + @Generated + public AgentEvaluatorGenerationJobSource setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the agentName property: The agent name to fetch instructions from. + * + * @return the agentName value. + */ + @Generated + public String getAgentName() { + return this.agentName; + } + + /** + * Get the agentVersion property: The agent version. If not specified, the latest version is used. + * + * @return the agentVersion value. + */ + @Generated + public String getAgentVersion() { + return this.agentVersion; + } + + /** + * Set the agentVersion property: The agent version. If not specified, the latest version is used. + * + * @param agentVersion the agentVersion value to set. + * @return the AgentEvaluatorGenerationJobSource object itself. + */ + @Generated + public AgentEvaluatorGenerationJobSource setAgentVersion(String agentVersion) { + this.agentVersion = agentVersion; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("agent_name", this.agentName); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeStringField("agent_version", this.agentVersion); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of AgentEvaluatorGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of AgentEvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the AgentEvaluatorGenerationJobSource. + */ + @Generated + public static AgentEvaluatorGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String agentName = null; + EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.AGENT; + String description = null; + String agentVersion = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("agent_name".equals(fieldName)) { + agentName = reader.getString(); + } else if ("type".equals(fieldName)) { + type = EvaluatorGenerationJobSourceType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("agent_version".equals(fieldName)) { + agentVersion = reader.getString(); + } else { + reader.skipChildren(); + } + } + AgentEvaluatorGenerationJobSource deserializedAgentEvaluatorGenerationJobSource + = new AgentEvaluatorGenerationJobSource(agentName); + deserializedAgentEvaluatorGenerationJobSource.type = type; + deserializedAgentEvaluatorGenerationJobSource.description = description; + deserializedAgentEvaluatorGenerationJobSource.agentVersion = agentVersion; + return deserializedAgentEvaluatorGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApiError.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApiError.java new file mode 100644 index 000000000000..57b7d4282a38 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApiError.java @@ -0,0 +1,227 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; +import java.util.Map; + +/** + * The ApiError model. + */ +@Immutable +public final class ApiError implements JsonSerializable { + + /* + * The code property. + */ + @Generated + private final String code; + + /* + * The message property. + */ + @Generated + private final String message; + + /* + * The param property. + */ + @Generated + private String param; + + /* + * The type property. + */ + @Generated + private String type; + + /* + * The details property. + */ + @Generated + private List details; + + /* + * The additionalInfo property. + */ + @Generated + private Map additionalInfo; + + /* + * The debugInfo property. + */ + @Generated + private Map debugInfo; + + /** + * Creates an instance of ApiError class. + * + * @param code the code value to set. + * @param message the message value to set. + */ + @Generated + private ApiError(String code, String message) { + this.code = code; + this.message = message; + } + + /** + * Get the code property: The code property. + * + * @return the code value. + */ + @Generated + public String getCode() { + return this.code; + } + + /** + * Get the message property: The message property. + * + * @return the message value. + */ + @Generated + public String getMessage() { + return this.message; + } + + /** + * Get the param property: The param property. + * + * @return the param value. + */ + @Generated + public String getParam() { + return this.param; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the details property: The details property. + * + * @return the details value. + */ + @Generated + public List getDetails() { + return this.details; + } + + /** + * Get the additionalInfo property: The additionalInfo property. + * + * @return the additionalInfo value. + */ + @Generated + public Map getAdditionalInfo() { + return this.additionalInfo; + } + + /** + * Get the debugInfo property: The debugInfo property. + * + * @return the debugInfo value. + */ + @Generated + public Map getDebugInfo() { + return this.debugInfo; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("code", this.code); + jsonWriter.writeStringField("message", this.message); + jsonWriter.writeStringField("param", this.param); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeArrayField("details", this.details, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeMapField("additionalInfo", this.additionalInfo, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + jsonWriter.writeMapField("debugInfo", this.debugInfo, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ApiError from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ApiError if the JsonReader was pointing to an instance of it, or null if it was pointing + * to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ApiError. + */ + @Generated + public static ApiError fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String code = null; + String message = null; + String param = null; + String type = null; + List details = null; + Map additionalInfo = null; + Map debugInfo = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("code".equals(fieldName)) { + code = reader.getString(); + } else if ("message".equals(fieldName)) { + message = reader.getString(); + } else if ("param".equals(fieldName)) { + param = reader.getString(); + } else if ("type".equals(fieldName)) { + type = reader.getString(); + } else if ("details".equals(fieldName)) { + details = reader.readArray(reader1 -> ApiError.fromJson(reader1)); + } else if ("additionalInfo".equals(fieldName)) { + additionalInfo = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); + } else if ("debugInfo".equals(fieldName)) { + debugInfo = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); + } else { + reader.skipChildren(); + } + } + ApiError deserializedApiError = new ApiError(code, message); + deserializedApiError.param = param; + deserializedApiError.type = type; + deserializedApiError.details = details; + deserializedApiError.additionalInfo = additionalInfo; + deserializedApiError.debugInfo = debugInfo; + return deserializedApiError; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ArtifactProfile.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ArtifactProfile.java new file mode 100644 index 000000000000..cf2ef8e62ec7 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ArtifactProfile.java @@ -0,0 +1,107 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Artifact profile of the model. + */ +@Immutable +public final class ArtifactProfile implements JsonSerializable { + + /* + * The category of the artifact profile + */ + @Generated + private final FoundryModelArtifactProfileCategory category; + + /* + * Signals detected in the model artifact + */ + @Generated + private List signals; + + /** + * Creates an instance of ArtifactProfile class. + * + * @param category the category value to set. + */ + @Generated + private ArtifactProfile(FoundryModelArtifactProfileCategory category) { + this.category = category; + } + + /** + * Get the category property: The category of the artifact profile. + * + * @return the category value. + */ + @Generated + public FoundryModelArtifactProfileCategory getCategory() { + return this.category; + } + + /** + * Get the signals property: Signals detected in the model artifact. + * + * @return the signals value. + */ + @Generated + public List getSignals() { + return this.signals; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("category", this.category == null ? null : this.category.toString()); + jsonWriter.writeArrayField("signals", this.signals, + (writer, element) -> writer.writeString(element == null ? null : element.toString())); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ArtifactProfile from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ArtifactProfile if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ArtifactProfile. + */ + @Generated + public static ArtifactProfile fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + FoundryModelArtifactProfileCategory category = null; + List signals = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("category".equals(fieldName)) { + category = FoundryModelArtifactProfileCategory.fromString(reader.getString()); + } else if ("signals".equals(fieldName)) { + signals = reader + .readArray(reader1 -> FoundryModelArtifactProfileSignal.fromString(reader1.getString())); + } else { + reader.skipChildren(); + } + } + ArtifactProfile deserializedArtifactProfile = new ArtifactProfile(category); + deserializedArtifactProfile.signals = signals; + return deserializedArtifactProfile; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java index f89a2326b106..658842c0e969 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java @@ -14,7 +14,7 @@ * Azure OpenAI model configuration. The API version would be selected by the service for querying the model. */ @Immutable -public final class AzureOpenAIModelConfiguration extends TargetConfig { +public final class AzureOpenAIModelConfiguration extends RedTeamTargetConfig { /* * Type of the model configuration. diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJob.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJob.java new file mode 100644 index 000000000000..a37f81af9c30 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJob.java @@ -0,0 +1,207 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; + +/** + * Data Generation Job resource. + */ +@Fluent +public final class DataGenerationJob implements JsonSerializable { + + /* + * Server-assigned unique identifier. + */ + @Generated + private String id; + + /* + * Caller-supplied inputs. + */ + @Generated + private DataGenerationJobInputs inputs; + + /* + * Result produced on success. + */ + @Generated + private DataGenerationJobResult result; + + /* + * Current lifecycle status. + */ + @Generated + private JobStatus status; + + /* + * Error details — populated only on failure. + */ + @Generated + private ApiError error; + + /* + * The timestamp when the job was created, represented in Unix time (seconds since January 1, 1970). + */ + @Generated + private long createdAt; + + /* + * The timestamp when the job was finished, represented in Unix time (seconds since January 1, 1970). + */ + @Generated + private Long finishedAt; + + /** + * Creates an instance of DataGenerationJob class. + */ + @Generated + public DataGenerationJob() { + } + + /** + * Get the id property: Server-assigned unique identifier. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } + + /** + * Get the inputs property: Caller-supplied inputs. + * + * @return the inputs value. + */ + @Generated + public DataGenerationJobInputs getInputs() { + return this.inputs; + } + + /** + * Set the inputs property: Caller-supplied inputs. + * + * @param inputs the inputs value to set. + * @return the DataGenerationJob object itself. + */ + @Generated + public DataGenerationJob setInputs(DataGenerationJobInputs inputs) { + this.inputs = inputs; + return this; + } + + /** + * Get the result property: Result produced on success. + * + * @return the result value. + */ + @Generated + public DataGenerationJobResult getResult() { + return this.result; + } + + /** + * Get the status property: Current lifecycle status. + * + * @return the status value. + */ + @Generated + public JobStatus getStatus() { + return this.status; + } + + /** + * Get the error property: Error details — populated only on failure. + * + * @return the error value. + */ + @Generated + public ApiError getError() { + return this.error; + } + + /** + * Get the createdAt property: The timestamp when the job was created, represented in Unix time (seconds since + * January 1, 1970). + * + * @return the createdAt value. + */ + @Generated + public OffsetDateTime getCreatedAt() { + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.createdAt), ZoneOffset.UTC); + } + + /** + * Get the finishedAt property: The timestamp when the job was finished, represented in Unix time (seconds since + * January 1, 1970). + * + * @return the finishedAt value. + */ + @Generated + public OffsetDateTime getFinishedAt() { + if (this.finishedAt == null) { + return null; + } + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.finishedAt), ZoneOffset.UTC); + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("inputs", this.inputs); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DataGenerationJob from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DataGenerationJob if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DataGenerationJob. + */ + @Generated + public static DataGenerationJob fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + DataGenerationJob deserializedDataGenerationJob = new DataGenerationJob(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("id".equals(fieldName)) { + deserializedDataGenerationJob.id = reader.getString(); + } else if ("status".equals(fieldName)) { + deserializedDataGenerationJob.status = JobStatus.fromString(reader.getString()); + } else if ("created_at".equals(fieldName)) { + deserializedDataGenerationJob.createdAt = reader.getLong(); + } else if ("inputs".equals(fieldName)) { + deserializedDataGenerationJob.inputs = DataGenerationJobInputs.fromJson(reader); + } else if ("result".equals(fieldName)) { + deserializedDataGenerationJob.result = DataGenerationJobResult.fromJson(reader); + } else if ("error".equals(fieldName)) { + deserializedDataGenerationJob.error = ApiError.fromJson(reader); + } else if ("finished_at".equals(fieldName)) { + deserializedDataGenerationJob.finishedAt = reader.getNullable(JsonReader::getLong); + } else { + reader.skipChildren(); + } + } + return deserializedDataGenerationJob; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java new file mode 100644 index 000000000000..d75345287c84 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java @@ -0,0 +1,150 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Caller-supplied inputs for a data generation job. + */ +@Immutable +public final class DataGenerationJobInputs implements JsonSerializable { + + /* + * The display name of the data generation job. + */ + @Generated + private final String name; + + /* + * The sources used for the data generation job. + */ + @Generated + private final List sources; + + /* + * The options for the data generation job. + */ + @Generated + private final DataGenerationJobOptions options; + + /* + * The scenario of the data generation job. Either for fine-tuning or evaluation. + */ + @Generated + private final DataGenerationJobScenario scenario; + + /** + * Creates an instance of DataGenerationJobInputs class. + * + * @param name the name value to set. + * @param sources the sources value to set. + * @param options the options value to set. + * @param scenario the scenario value to set. + */ + @Generated + public DataGenerationJobInputs(String name, List sources, DataGenerationJobOptions options, + DataGenerationJobScenario scenario) { + this.name = name; + this.sources = sources; + this.options = options; + this.scenario = scenario; + } + + /** + * Get the name property: The display name of the data generation job. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the sources property: The sources used for the data generation job. + * + * @return the sources value. + */ + @Generated + public List getSources() { + return this.sources; + } + + /** + * Get the options property: The options for the data generation job. + * + * @return the options value. + */ + @Generated + public DataGenerationJobOptions getOptions() { + return this.options; + } + + /** + * Get the scenario property: The scenario of the data generation job. Either for fine-tuning or evaluation. + * + * @return the scenario value. + */ + @Generated + public DataGenerationJobScenario getScenario() { + return this.scenario; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeArrayField("sources", this.sources, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeJsonField("options", this.options); + jsonWriter.writeStringField("scenario", this.scenario == null ? null : this.scenario.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DataGenerationJobInputs from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DataGenerationJobInputs if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DataGenerationJobInputs. + */ + @Generated + public static DataGenerationJobInputs fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + List sources = null; + DataGenerationJobOptions options = null; + DataGenerationJobScenario scenario = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("sources".equals(fieldName)) { + sources = reader.readArray(reader1 -> DataGenerationJobSource.fromJson(reader1)); + } else if ("options".equals(fieldName)) { + options = DataGenerationJobOptions.fromJson(reader); + } else if ("scenario".equals(fieldName)) { + scenario = DataGenerationJobScenario.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + return new DataGenerationJobInputs(name, sources, options, scenario); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java new file mode 100644 index 000000000000..1011dd2f961b --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java @@ -0,0 +1,204 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Options for managing data generation jobs. + */ +@Fluent +public class DataGenerationJobOptions implements JsonSerializable { + + /* + * The data generation job type. + */ + @Generated + private DataGenerationJobType type = DataGenerationJobType.fromString("DataGenerationJobOptions"); + + /* + * Maximum number of samples to generate. + */ + @Generated + private final int maxSamples; + + /* + * The proportion of the generated data to be used for training when the data is used for fine-tuning. The rest will + * be used for validation. Value should be between 0 and 1. + */ + @Generated + private Double trainSplit; + + /* + * The LLM model options. + */ + @Generated + private DataGenerationModelOptions modelOptions; + + /** + * Creates an instance of DataGenerationJobOptions class. + * + * @param maxSamples the maxSamples value to set. + */ + @Generated + public DataGenerationJobOptions(int maxSamples) { + this.maxSamples = maxSamples; + } + + /** + * Get the type property: The data generation job type. + * + * @return the type value. + */ + @Generated + public DataGenerationJobType getType() { + return this.type; + } + + /** + * Get the maxSamples property: Maximum number of samples to generate. + * + * @return the maxSamples value. + */ + @Generated + public int getMaxSamples() { + return this.maxSamples; + } + + /** + * Get the trainSplit property: The proportion of the generated data to be used for training when the data is used + * for fine-tuning. The rest will be used for validation. Value should be between 0 and 1. + * + * @return the trainSplit value. + */ + @Generated + public Double getTrainSplit() { + return this.trainSplit; + } + + /** + * Set the trainSplit property: The proportion of the generated data to be used for training when the data is used + * for fine-tuning. The rest will be used for validation. Value should be between 0 and 1. + * + * @param trainSplit the trainSplit value to set. + * @return the DataGenerationJobOptions object itself. + */ + @Generated + public DataGenerationJobOptions setTrainSplit(Double trainSplit) { + this.trainSplit = trainSplit; + return this; + } + + /** + * Get the modelOptions property: The LLM model options. + * + * @return the modelOptions value. + */ + @Generated + public DataGenerationModelOptions getModelOptions() { + return this.modelOptions; + } + + /** + * Set the modelOptions property: The LLM model options. + * + * @param modelOptions the modelOptions value to set. + * @return the DataGenerationJobOptions object itself. + */ + @Generated + public DataGenerationJobOptions setModelOptions(DataGenerationModelOptions modelOptions) { + this.modelOptions = modelOptions; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeIntField("max_samples", this.maxSamples); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeNumberField("train_split", this.trainSplit); + jsonWriter.writeJsonField("model_options", this.modelOptions); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DataGenerationJobOptions from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DataGenerationJobOptions if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DataGenerationJobOptions. + */ + @Generated + public static DataGenerationJobOptions fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + // Prepare for reading + readerToUse.nextToken(); + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("type".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("simple_qna".equals(discriminatorValue)) { + return SimpleQnADataGenerationJobOptions.fromJson(readerToUse.reset()); + } else if ("traces".equals(discriminatorValue)) { + return TracesDataGenerationJobOptions.fromJson(readerToUse.reset()); + } else if ("tool_use".equals(discriminatorValue)) { + return ToolUseFineTuningDataGenerationJobOptions.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static DataGenerationJobOptions fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + int maxSamples = 0; + DataGenerationJobType type = null; + Double trainSplit = null; + DataGenerationModelOptions modelOptions = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("max_samples".equals(fieldName)) { + maxSamples = reader.getInt(); + } else if ("type".equals(fieldName)) { + type = DataGenerationJobType.fromString(reader.getString()); + } else if ("train_split".equals(fieldName)) { + trainSplit = reader.getNullable(JsonReader::getDouble); + } else if ("model_options".equals(fieldName)) { + modelOptions = DataGenerationModelOptions.fromJson(reader); + } else { + reader.skipChildren(); + } + } + DataGenerationJobOptions deserializedDataGenerationJobOptions = new DataGenerationJobOptions(maxSamples); + deserializedDataGenerationJobOptions.type = type; + deserializedDataGenerationJobOptions.trainSplit = trainSplit; + deserializedDataGenerationJobOptions.modelOptions = modelOptions; + return deserializedDataGenerationJobOptions; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java new file mode 100644 index 000000000000..f42a56ba95d2 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java @@ -0,0 +1,108 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Output information for a data generation job. + */ +@Immutable +public class DataGenerationJobOutput implements JsonSerializable { + + /* + * The type of the output. + */ + @Generated + private DataGenerationJobOutputType type = DataGenerationJobOutputType.fromString("DataGenerationJobOutput"); + + /** + * Creates an instance of DataGenerationJobOutput class. + */ + @Generated + protected DataGenerationJobOutput() { + } + + /** + * Get the type property: The type of the output. + * + * @return the type value. + */ + @Generated + public DataGenerationJobOutputType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DataGenerationJobOutput from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DataGenerationJobOutput if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the DataGenerationJobOutput. + */ + @Generated + public static DataGenerationJobOutput fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + // Prepare for reading + readerToUse.nextToken(); + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("type".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("file".equals(discriminatorValue)) { + return FileDataGenerationJobOutput.fromJson(readerToUse.reset()); + } else if ("dataset".equals(discriminatorValue)) { + return DatasetDataGenerationJobOutput.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static DataGenerationJobOutput fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + DataGenerationJobOutput deserializedDataGenerationJobOutput = new DataGenerationJobOutput(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("type".equals(fieldName)) { + deserializedDataGenerationJobOutput.type + = DataGenerationJobOutputType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + return deserializedDataGenerationJobOutput; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java new file mode 100644 index 000000000000..a4b311e57c5c --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The supported output file types for a data generation job. + */ +public final class DataGenerationJobOutputType extends ExpandableStringEnum { + + /** + * The generated data is an Azure OpenAI File. + */ + @Generated + public static final DataGenerationJobOutputType FILE = fromString("file"); + + /** + * The generated data is a Dataset. + */ + @Generated + public static final DataGenerationJobOutputType DATASET = fromString("dataset"); + + /** + * Creates a new instance of DataGenerationJobOutputType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public DataGenerationJobOutputType() { + } + + /** + * Creates or finds a DataGenerationJobOutputType from its string representation. + * + * @param name a name to look for. + * @return the corresponding DataGenerationJobOutputType. + */ + @Generated + public static DataGenerationJobOutputType fromString(String name) { + return fromString(name, DataGenerationJobOutputType.class); + } + + /** + * Gets known DataGenerationJobOutputType values. + * + * @return known DataGenerationJobOutputType values. + */ + @Generated + public static Collection values() { + return values(DataGenerationJobOutputType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java new file mode 100644 index 000000000000..cc5b35ec84d2 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java @@ -0,0 +1,126 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Result produced by a successful data generation job. + */ +@Immutable +public final class DataGenerationJobResult implements JsonSerializable { + + /* + * The final job outputs: Azure OpenAI files for fine-tuning, or datasets for evaluation. + */ + @Generated + private List outputs; + + /* + * The number of samples actually generated. + */ + @Generated + private final int generatedSamples; + + /* + * The token usage information for the data generation job. + */ + @Generated + private DataGenerationTokenUsage tokenUsage; + + /** + * Creates an instance of DataGenerationJobResult class. + * + * @param generatedSamples the generatedSamples value to set. + */ + @Generated + private DataGenerationJobResult(int generatedSamples) { + this.generatedSamples = generatedSamples; + } + + /** + * Get the outputs property: The final job outputs: Azure OpenAI files for fine-tuning, or datasets for evaluation. + * + * @return the outputs value. + */ + @Generated + public List getOutputs() { + return this.outputs; + } + + /** + * Get the generatedSamples property: The number of samples actually generated. + * + * @return the generatedSamples value. + */ + @Generated + public int getGeneratedSamples() { + return this.generatedSamples; + } + + /** + * Get the tokenUsage property: The token usage information for the data generation job. + * + * @return the tokenUsage value. + */ + @Generated + public DataGenerationTokenUsage getTokenUsage() { + return this.tokenUsage; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeIntField("generated_samples", this.generatedSamples); + jsonWriter.writeArrayField("outputs", this.outputs, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeJsonField("token_usage", this.tokenUsage); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DataGenerationJobResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DataGenerationJobResult if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DataGenerationJobResult. + */ + @Generated + public static DataGenerationJobResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + int generatedSamples = 0; + List outputs = null; + DataGenerationTokenUsage tokenUsage = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("generated_samples".equals(fieldName)) { + generatedSamples = reader.getInt(); + } else if ("outputs".equals(fieldName)) { + outputs = reader.readArray(reader1 -> DataGenerationJobOutput.fromJson(reader1)); + } else if ("token_usage".equals(fieldName)) { + tokenUsage = DataGenerationTokenUsage.fromJson(reader); + } else { + reader.skipChildren(); + } + } + DataGenerationJobResult deserializedDataGenerationJobResult = new DataGenerationJobResult(generatedSamples); + deserializedDataGenerationJobResult.outputs = outputs; + deserializedDataGenerationJobResult.tokenUsage = tokenUsage; + return deserializedDataGenerationJobResult; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java new file mode 100644 index 000000000000..a59cf787f930 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java @@ -0,0 +1,63 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The supported scenarios for a data generation job. + */ +public final class DataGenerationJobScenario extends ExpandableStringEnum { + + /** + * Supervised Fine-tuning scenario. + */ + @Generated + public static final DataGenerationJobScenario SUPERVISED_FINETUNING = fromString("supervised_finetuning"); + + /** + * Reinforcement Fine-tuning scenario. + */ + @Generated + public static final DataGenerationJobScenario REINFORCEMENT_FINETUNING = fromString("reinforcement_finetuning"); + + /** + * Evaluation scenario. + */ + @Generated + public static final DataGenerationJobScenario EVALUATION = fromString("evaluation"); + + /** + * Creates a new instance of DataGenerationJobScenario value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public DataGenerationJobScenario() { + } + + /** + * Creates or finds a DataGenerationJobScenario from its string representation. + * + * @param name a name to look for. + * @return the corresponding DataGenerationJobScenario. + */ + @Generated + public static DataGenerationJobScenario fromString(String name) { + return fromString(name, DataGenerationJobScenario.class); + } + + /** + * Gets known DataGenerationJobScenario values. + * + * @return known DataGenerationJobScenario values. + */ + @Generated + public static Collection values() { + return values(DataGenerationJobScenario.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java new file mode 100644 index 000000000000..5a2348814daf --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java @@ -0,0 +1,148 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The base source model for data generation jobs. + */ +@Fluent +public class DataGenerationJobSource implements JsonSerializable { + + /* + * The type of source. + */ + @Generated + private DataGenerationJobSourceType type = DataGenerationJobSourceType.fromString("DataGenerationJobSource"); + + /* + * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company + * refund policy document' or 'Describes the agent's core capabilities'). + */ + @Generated + private String description; + + /** + * Creates an instance of DataGenerationJobSource class. + */ + @Generated + public DataGenerationJobSource() { + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + public DataGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @param description the description value to set. + * @return the DataGenerationJobSource object itself. + */ + @Generated + public DataGenerationJobSource setDescription(String description) { + this.description = description; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DataGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DataGenerationJobSource if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the DataGenerationJobSource. + */ + @Generated + public static DataGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + // Prepare for reading + readerToUse.nextToken(); + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("type".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("prompt".equals(discriminatorValue)) { + return PromptDataGenerationJobSource.fromJson(readerToUse.reset()); + } else if ("agent".equals(discriminatorValue)) { + return AgentDataGenerationJobSource.fromJson(readerToUse.reset()); + } else if ("traces".equals(discriminatorValue)) { + return TracesDataGenerationJobSource.fromJson(readerToUse.reset()); + } else if ("dataset".equals(discriminatorValue)) { + return DatasetDataGenerationJobSource.fromJson(readerToUse.reset()); + } else if ("file".equals(discriminatorValue)) { + return FileDataGenerationJobSource.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static DataGenerationJobSource fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + DataGenerationJobSource deserializedDataGenerationJobSource = new DataGenerationJobSource(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("type".equals(fieldName)) { + deserializedDataGenerationJobSource.type + = DataGenerationJobSourceType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + deserializedDataGenerationJobSource.description = reader.getString(); + } else { + reader.skipChildren(); + } + } + return deserializedDataGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java new file mode 100644 index 000000000000..b93f4d48b656 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The supported source types for data generation jobs. + */ +public final class DataGenerationJobSourceType extends ExpandableStringEnum { + + /** + * Prompt source — inline text provided by the user. + */ + @Generated + public static final DataGenerationJobSourceType PROMPT = fromString("prompt"); + + /** + * Agent source — references an agent. + */ + @Generated + public static final DataGenerationJobSourceType AGENT = fromString("agent"); + + /** + * Traces source — conversation traces from Application Insights. + */ + @Generated + public static final DataGenerationJobSourceType TRACES = fromString("traces"); + + /** + * Dataset source — reference to a dataset. + */ + @Generated + public static final DataGenerationJobSourceType DATASET = fromString("dataset"); + + /** + * File source — Azure OpenAI file. + */ + @Generated + public static final DataGenerationJobSourceType FILE = fromString("file"); + + /** + * Creates a new instance of DataGenerationJobSourceType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public DataGenerationJobSourceType() { + } + + /** + * Creates or finds a DataGenerationJobSourceType from its string representation. + * + * @param name a name to look for. + * @return the corresponding DataGenerationJobSourceType. + */ + @Generated + public static DataGenerationJobSourceType fromString(String name) { + return fromString(name, DataGenerationJobSourceType.class); + } + + /** + * Gets known DataGenerationJobSourceType values. + * + * @return known DataGenerationJobSourceType values. + */ + @Generated + public static Collection values() { + return values(DataGenerationJobSourceType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java new file mode 100644 index 000000000000..8fe5e4afc300 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java @@ -0,0 +1,63 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The supported data generation job types. + */ +public final class DataGenerationJobType extends ExpandableStringEnum { + + /** + * Simple question and answers between user and agent. + */ + @Generated + public static final DataGenerationJobType SIMPLE_QNA = fromString("simple_qna"); + + /** + * Single turn query and response from agent traces. + */ + @Generated + public static final DataGenerationJobType TRACES = fromString("traces"); + + /** + * Tool calling conversation between user and agent. + */ + @Generated + public static final DataGenerationJobType TOOL_USE = fromString("tool_use"); + + /** + * Creates a new instance of DataGenerationJobType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public DataGenerationJobType() { + } + + /** + * Creates or finds a DataGenerationJobType from its string representation. + * + * @param name a name to look for. + * @return the corresponding DataGenerationJobType. + */ + @Generated + public static DataGenerationJobType fromString(String name) { + return fromString(name, DataGenerationJobType.class); + } + + /** + * Gets known DataGenerationJobType values. + * + * @return known DataGenerationJobType values. + */ + @Generated + public static Collection values() { + return values(DataGenerationJobType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java new file mode 100644 index 000000000000..bc5ab0aadb68 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java @@ -0,0 +1,82 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * LLM model options for data generation jobs. + */ +@Immutable +public final class DataGenerationModelOptions implements JsonSerializable { + + /* + * Base model name used to generate data. + */ + @Generated + private final String model; + + /** + * Creates an instance of DataGenerationModelOptions class. + * + * @param model the model value to set. + */ + @Generated + public DataGenerationModelOptions(String model) { + this.model = model; + } + + /** + * Get the model property: Base model name used to generate data. + * + * @return the model value. + */ + @Generated + public String getModel() { + return this.model; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("model", this.model); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DataGenerationModelOptions from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DataGenerationModelOptions if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DataGenerationModelOptions. + */ + @Generated + public static DataGenerationModelOptions fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String model = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("model".equals(fieldName)) { + model = reader.getString(); + } else { + reader.skipChildren(); + } + } + return new DataGenerationModelOptions(model); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java new file mode 100644 index 000000000000..6830172dd46e --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java @@ -0,0 +1,114 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Token usage information for a data generation job. + */ +@Immutable +public final class DataGenerationTokenUsage implements JsonSerializable { + + /* + * The number of prompt tokens used. + */ + @Generated + private long promptTokens; + + /* + * The number of completion tokens generated. + */ + @Generated + private long completionTokens; + + /* + * Total number of tokens used. + */ + @Generated + private long totalTokens; + + /** + * Creates an instance of DataGenerationTokenUsage class. + */ + @Generated + private DataGenerationTokenUsage() { + } + + /** + * Get the promptTokens property: The number of prompt tokens used. + * + * @return the promptTokens value. + */ + @Generated + public long getPromptTokens() { + return this.promptTokens; + } + + /** + * Get the completionTokens property: The number of completion tokens generated. + * + * @return the completionTokens value. + */ + @Generated + public long getCompletionTokens() { + return this.completionTokens; + } + + /** + * Get the totalTokens property: Total number of tokens used. + * + * @return the totalTokens value. + */ + @Generated + public long getTotalTokens() { + return this.totalTokens; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DataGenerationTokenUsage from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DataGenerationTokenUsage if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DataGenerationTokenUsage. + */ + @Generated + public static DataGenerationTokenUsage fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + DataGenerationTokenUsage deserializedDataGenerationTokenUsage = new DataGenerationTokenUsage(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("prompt_tokens".equals(fieldName)) { + deserializedDataGenerationTokenUsage.promptTokens = reader.getLong(); + } else if ("completion_tokens".equals(fieldName)) { + deserializedDataGenerationTokenUsage.completionTokens = reader.getLong(); + } else if ("total_tokens".equals(fieldName)) { + deserializedDataGenerationTokenUsage.totalTokens = reader.getLong(); + } else { + reader.skipChildren(); + } + } + return deserializedDataGenerationTokenUsage; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java new file mode 100644 index 000000000000..127b14fa83f7 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java @@ -0,0 +1,176 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.Map; + +/** + * Dataset output for a data generation job. + */ +@Immutable +public final class DatasetDataGenerationJobOutput extends DataGenerationJobOutput { + + /* + * The type of the output. + */ + @Generated + private DataGenerationJobOutputType type = DataGenerationJobOutputType.DATASET; + + /* + * The id of the output dataset created. + */ + @Generated + private String id; + + /* + * The name of the output dataset and can be optionally set during job creation time. + */ + @Generated + private String name; + + /* + * The version of the output dataset. + */ + @Generated + private String version; + + /* + * Description of the output dataset and can be optionally set during job creation time. + */ + @Generated + private String description; + + /* + * Tag dictionary of the output dataset and can be optionally set during job creation time. + */ + @Generated + private Map tags; + + /** + * Creates an instance of DatasetDataGenerationJobOutput class. + */ + @Generated + private DatasetDataGenerationJobOutput() { + } + + /** + * Get the type property: The type of the output. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobOutputType getType() { + return this.type; + } + + /** + * Get the id property: The id of the output dataset created. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } + + /** + * Get the name property: The name of the output dataset and can be optionally set during job creation time. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the version property: The version of the output dataset. + * + * @return the version value. + */ + @Generated + public String getVersion() { + return this.version; + } + + /** + * Get the description property: Description of the output dataset and can be optionally set during job creation + * time. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Get the tags property: Tag dictionary of the output dataset and can be optionally set during job creation time. + * + * @return the tags value. + */ + @Generated + public Map getTags() { + return this.tags; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DatasetDataGenerationJobOutput from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DatasetDataGenerationJobOutput if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the DatasetDataGenerationJobOutput. + */ + @Generated + public static DatasetDataGenerationJobOutput fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + DatasetDataGenerationJobOutput deserializedDatasetDataGenerationJobOutput + = new DatasetDataGenerationJobOutput(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("type".equals(fieldName)) { + deserializedDatasetDataGenerationJobOutput.type + = DataGenerationJobOutputType.fromString(reader.getString()); + } else if ("id".equals(fieldName)) { + deserializedDatasetDataGenerationJobOutput.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedDatasetDataGenerationJobOutput.name = reader.getString(); + } else if ("version".equals(fieldName)) { + deserializedDatasetDataGenerationJobOutput.version = reader.getString(); + } else if ("description".equals(fieldName)) { + deserializedDatasetDataGenerationJobOutput.description = reader.getString(); + } else if ("tags".equals(fieldName)) { + Map tags = reader.readMap(reader1 -> reader1.getString()); + deserializedDatasetDataGenerationJobOutput.tags = tags; + } else { + reader.skipChildren(); + } + } + return deserializedDatasetDataGenerationJobOutput; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java new file mode 100644 index 000000000000..7a9bb3cb2403 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java @@ -0,0 +1,174 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Dataset source for data generation jobs — reference to a dataset. + */ +@Fluent +public final class DatasetDataGenerationJobSource extends DataGenerationJobSource { + + /* + * The type of source. + */ + @Generated + private DataGenerationJobSourceType type = DataGenerationJobSourceType.DATASET; + + /* + * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company + * refund policy document' or 'Describes the agent's core capabilities'). + */ + @Generated + private String description; + + /* + * The name of the dataset. + */ + @Generated + private final String name; + + /* + * The version of the dataset. If not specified, the latest version is used. + */ + @Generated + private String version; + + /** + * Creates an instance of DatasetDataGenerationJobSource class. + * + * @param name the name value to set. + */ + @Generated + public DatasetDataGenerationJobSource(String name) { + this.name = name; + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @param description the description value to set. + * @return the DatasetDataGenerationJobSource object itself. + */ + @Generated + public DatasetDataGenerationJobSource setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the name property: The name of the dataset. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the version property: The version of the dataset. If not specified, the latest version is used. + * + * @return the version value. + */ + @Generated + public String getVersion() { + return this.version; + } + + /** + * Set the version property: The version of the dataset. If not specified, the latest version is used. + * + * @param version the version value to set. + * @return the DatasetDataGenerationJobSource object itself. + */ + @Generated + public DatasetDataGenerationJobSource setVersion(String version) { + this.version = version; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeStringField("version", this.version); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DatasetDataGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DatasetDataGenerationJobSource if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DatasetDataGenerationJobSource. + */ + @Generated + public static DatasetDataGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + DataGenerationJobSourceType type = DataGenerationJobSourceType.DATASET; + String description = null; + String version = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("type".equals(fieldName)) { + type = DataGenerationJobSourceType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("version".equals(fieldName)) { + version = reader.getString(); + } else { + reader.skipChildren(); + } + } + DatasetDataGenerationJobSource deserializedDatasetDataGenerationJobSource + = new DatasetDataGenerationJobSource(name); + deserializedDatasetDataGenerationJobSource.type = type; + deserializedDatasetDataGenerationJobSource.description = description; + deserializedDatasetDataGenerationJobSource.version = version; + return deserializedDatasetDataGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java new file mode 100644 index 000000000000..b0af845acc60 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java @@ -0,0 +1,174 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Dataset source for evaluator generation jobs — reference to a dataset. + */ +@Fluent +public final class DatasetEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource { + + /* + * The type of source. + */ + @Generated + private EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.DATASET; + + /* + * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company + * refund policy document' or 'Describes the agent's core capabilities'). + */ + @Generated + private String description; + + /* + * The name of the dataset. + */ + @Generated + private final String name; + + /* + * The version of the dataset. If not specified, the latest version is used. + */ + @Generated + private String version; + + /** + * Creates an instance of DatasetEvaluatorGenerationJobSource class. + * + * @param name the name value to set. + */ + @Generated + public DatasetEvaluatorGenerationJobSource(String name) { + this.name = name; + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + @Override + public EvaluatorGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @param description the description value to set. + * @return the DatasetEvaluatorGenerationJobSource object itself. + */ + @Generated + public DatasetEvaluatorGenerationJobSource setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the name property: The name of the dataset. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the version property: The version of the dataset. If not specified, the latest version is used. + * + * @return the version value. + */ + @Generated + public String getVersion() { + return this.version; + } + + /** + * Set the version property: The version of the dataset. If not specified, the latest version is used. + * + * @param version the version value to set. + * @return the DatasetEvaluatorGenerationJobSource object itself. + */ + @Generated + public DatasetEvaluatorGenerationJobSource setVersion(String version) { + this.version = version; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeStringField("version", this.version); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DatasetEvaluatorGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DatasetEvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, + * or null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DatasetEvaluatorGenerationJobSource. + */ + @Generated + public static DatasetEvaluatorGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.DATASET; + String description = null; + String version = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("type".equals(fieldName)) { + type = EvaluatorGenerationJobSourceType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("version".equals(fieldName)) { + version = reader.getString(); + } else { + reader.skipChildren(); + } + } + DatasetEvaluatorGenerationJobSource deserializedDatasetEvaluatorGenerationJobSource + = new DatasetEvaluatorGenerationJobSource(name); + deserializedDatasetEvaluatorGenerationJobSource.type = type; + deserializedDatasetEvaluatorGenerationJobSource.description = description; + deserializedDatasetEvaluatorGenerationJobSource.version = version; + return deserializedDatasetEvaluatorGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetReference.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetReference.java new file mode 100644 index 000000000000..51e2f10e15b8 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetReference.java @@ -0,0 +1,104 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Reference to a versioned Foundry Dataset. + */ +@Immutable +public final class DatasetReference implements JsonSerializable { + + /* + * Dataset name. + */ + @Generated + private final String name; + + /* + * Dataset version. + */ + @Generated + private final String version; + + /** + * Creates an instance of DatasetReference class. + * + * @param name the name value to set. + * @param version the version value to set. + */ + @Generated + private DatasetReference(String name, String version) { + this.name = name; + this.version = version; + } + + /** + * Get the name property: Dataset name. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the version property: Dataset version. + * + * @return the version value. + */ + @Generated + public String getVersion() { + return this.version; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("version", this.version); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DatasetReference from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DatasetReference if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DatasetReference. + */ + @Generated + public static DatasetReference fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + String version = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("version".equals(fieldName)) { + version = reader.getString(); + } else { + reader.skipChildren(); + } + } + return new DatasetReference(name, version); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java index 8c9db84a7c82..aaf72ab0ea04 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java @@ -162,6 +162,8 @@ public static EvaluatorDefinition fromJson(JsonReader jsonReader) throws IOExcep return CodeBasedEvaluatorDefinition.fromJson(readerToUse.reset()); } else if ("prompt".equals(discriminatorValue)) { return PromptBasedEvaluatorDefinition.fromJson(readerToUse.reset()); + } else if ("rubrics".equals(discriminatorValue)) { + return RubricBasedEvaluatorDefinition.fromJson(readerToUse.reset()); } else { return fromJsonKnownDiscriminator(readerToUse.reset()); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java index 9e2d5501690d..fef367fb03ec 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java @@ -72,4 +72,11 @@ public static EvaluatorDefinitionType fromString(String name) { public static Collection values() { return values(EvaluatorDefinitionType.class); } + + /** + * Rubric-based evaluator definition. Stores rubric criteria for both quality and safety evaluators. Can be created + * via the generate API or manually via createVersion. + */ + @Generated + public static final EvaluatorDefinitionType RUBRICS = fromString("rubrics"); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java new file mode 100644 index 000000000000..67ffdbaf0f66 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java @@ -0,0 +1,117 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Service-managed provenance artifacts produced by an evaluator generation job. Present only on EvaluatorVersion + * resources created via the generation pipeline. The combined-JSONL Foundry Dataset is read-only and resolves to a + * versioned dataset in a service-reserved namespace. + */ +@Immutable +public final class EvaluatorGenerationArtifacts implements JsonSerializable { + + /* + * Reference to the single Foundry Dataset (one combined JSONL file, version-aligned to `EvaluatorVersion.version`) + * holding all artifacts produced by the generation pipeline. Each row in the JSONL carries a `kind` field + * discriminating its content (e.g. `spec`, `tools`, `context`). + */ + @Generated + private final DatasetReference dataset; + + /* + * The kinds of rows present in `dataset`. Always contains `"spec"` (the generated evaluation specification, a + * Markdown document describing what the evaluator measures). May additionally contain `"tools"` (when the + * generation pipeline produced or inferred OpenAI tool schemas) and/or `"context"` (when supplementary materials + * such as file uploads or trace samples were used during generation). + */ + @Generated + private final List kinds; + + /** + * Creates an instance of EvaluatorGenerationArtifacts class. + * + * @param dataset the dataset value to set. + * @param kinds the kinds value to set. + */ + @Generated + private EvaluatorGenerationArtifacts(DatasetReference dataset, List kinds) { + this.dataset = dataset; + this.kinds = kinds; + } + + /** + * Get the dataset property: Reference to the single Foundry Dataset (one combined JSONL file, version-aligned to + * `EvaluatorVersion.version`) holding all artifacts produced by the generation pipeline. Each row in the JSONL + * carries a `kind` field discriminating its content (e.g. `spec`, `tools`, `context`). + * + * @return the dataset value. + */ + @Generated + public DatasetReference getDataset() { + return this.dataset; + } + + /** + * Get the kinds property: The kinds of rows present in `dataset`. Always contains `"spec"` (the generated + * evaluation specification, a Markdown document describing what the evaluator measures). May additionally contain + * `"tools"` (when the generation pipeline produced or inferred OpenAI tool schemas) and/or `"context"` (when + * supplementary materials such as file uploads or trace samples were used during generation). + * + * @return the kinds value. + */ + @Generated + public List getKinds() { + return this.kinds; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("dataset", this.dataset); + jsonWriter.writeArrayField("kinds", this.kinds, (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EvaluatorGenerationArtifacts from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EvaluatorGenerationArtifacts if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the EvaluatorGenerationArtifacts. + */ + @Generated + public static EvaluatorGenerationArtifacts fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + DatasetReference dataset = null; + List kinds = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("dataset".equals(fieldName)) { + dataset = DatasetReference.fromJson(reader); + } else if ("kinds".equals(fieldName)) { + kinds = reader.readArray(reader1 -> reader1.getString()); + } else { + reader.skipChildren(); + } + } + return new EvaluatorGenerationArtifacts(dataset, kinds); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java new file mode 100644 index 000000000000..5deb42be66b2 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java @@ -0,0 +1,200 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Caller-supplied inputs for an evaluator generation job. + */ +@Fluent +public final class EvaluatorGenerationInputs implements JsonSerializable { + + /* + * Display name for this generation job. + */ + @Generated + private final String name; + + /* + * Source materials for generation — agent descriptions, prompts, traces, or datasets. Each entry is an + * `EvaluatorGenerationJobSource` variant discriminated by `type`. + */ + @Generated + private final List sources; + + /* + * Category determines the rubric generation focus: 'quality' (default) produces quality-focused rubric criteria, + * 'safety' produces policy-derived safety rubric criteria. Both use the same rubric structure. Singular because + * quality and safety generation are mutually exclusive pipelines — the output EvaluatorVersion.categories is an + * array (e.g., ['agents', 'quality']). + */ + @Generated + private EvaluatorCategory category; + + /* + * The LLM model to use for rubric generation (e.g., 'gpt-4o'). Required — users must provide their own model rather + * than relying on service-owned capacity. + */ + @Generated + private final String model; + + /* + * The evaluator name to create or update. If an evaluator with this name already exists, the service retrieves the + * latest version's criteria as context for improvement. + */ + @Generated + private final String evaluatorName; + + /** + * Creates an instance of EvaluatorGenerationInputs class. + * + * @param name the name value to set. + * @param sources the sources value to set. + * @param model the model value to set. + * @param evaluatorName the evaluatorName value to set. + */ + @Generated + public EvaluatorGenerationInputs(String name, List sources, String model, + String evaluatorName) { + this.name = name; + this.sources = sources; + this.model = model; + this.evaluatorName = evaluatorName; + } + + /** + * Get the name property: Display name for this generation job. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the sources property: Source materials for generation — agent descriptions, prompts, traces, or datasets. + * Each entry is an `EvaluatorGenerationJobSource` variant discriminated by `type`. + * + * @return the sources value. + */ + @Generated + public List getSources() { + return this.sources; + } + + /** + * Get the category property: Category determines the rubric generation focus: 'quality' (default) produces + * quality-focused rubric criteria, 'safety' produces policy-derived safety rubric criteria. Both use the same + * rubric structure. Singular because quality and safety generation are mutually exclusive pipelines — the output + * EvaluatorVersion.categories is an array (e.g., ['agents', 'quality']). + * + * @return the category value. + */ + @Generated + public EvaluatorCategory getCategory() { + return this.category; + } + + /** + * Set the category property: Category determines the rubric generation focus: 'quality' (default) produces + * quality-focused rubric criteria, 'safety' produces policy-derived safety rubric criteria. Both use the same + * rubric structure. Singular because quality and safety generation are mutually exclusive pipelines — the output + * EvaluatorVersion.categories is an array (e.g., ['agents', 'quality']). + * + * @param category the category value to set. + * @return the EvaluatorGenerationInputs object itself. + */ + @Generated + public EvaluatorGenerationInputs setCategory(EvaluatorCategory category) { + this.category = category; + return this; + } + + /** + * Get the model property: The LLM model to use for rubric generation (e.g., 'gpt-4o'). Required — users must + * provide their own model rather than relying on service-owned capacity. + * + * @return the model value. + */ + @Generated + public String getModel() { + return this.model; + } + + /** + * Get the evaluatorName property: The evaluator name to create or update. If an evaluator with this name already + * exists, the service retrieves the latest version's criteria as context for improvement. + * + * @return the evaluatorName value. + */ + @Generated + public String getEvaluatorName() { + return this.evaluatorName; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeArrayField("sources", this.sources, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeStringField("model", this.model); + jsonWriter.writeStringField("evaluator_name", this.evaluatorName); + jsonWriter.writeStringField("category", this.category == null ? null : this.category.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EvaluatorGenerationInputs from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EvaluatorGenerationInputs if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the EvaluatorGenerationInputs. + */ + @Generated + public static EvaluatorGenerationInputs fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + List sources = null; + String model = null; + String evaluatorName = null; + EvaluatorCategory category = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("sources".equals(fieldName)) { + sources = reader.readArray(reader1 -> EvaluatorGenerationJobSource.fromJson(reader1)); + } else if ("model".equals(fieldName)) { + model = reader.getString(); + } else if ("evaluator_name".equals(fieldName)) { + evaluatorName = reader.getString(); + } else if ("category".equals(fieldName)) { + category = EvaluatorCategory.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + EvaluatorGenerationInputs deserializedEvaluatorGenerationInputs + = new EvaluatorGenerationInputs(name, sources, model, evaluatorName); + deserializedEvaluatorGenerationInputs.category = category; + return deserializedEvaluatorGenerationInputs; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java new file mode 100644 index 000000000000..79f7bd26a96f --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java @@ -0,0 +1,226 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; + +/** + * Evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions from source + * materials. On success, the result is the persisted EvaluatorVersion. + */ +@Fluent +public final class EvaluatorGenerationJob implements JsonSerializable { + + /* + * Server-assigned unique identifier. + */ + @Generated + private String id; + + /* + * Caller-supplied inputs. + */ + @Generated + private EvaluatorGenerationInputs inputs; + + /* + * Result produced on success. + */ + @Generated + private EvaluatorVersion result; + + /* + * Current lifecycle status. + */ + @Generated + private JobStatus status; + + /* + * Error details — populated only on failure. + */ + @Generated + private ApiError error; + + /* + * The timestamp when the job was created, represented in Unix time (seconds since January 1, 1970). + */ + @Generated + private long createdAt; + + /* + * The timestamp when the job finished, represented in Unix time (seconds since January 1, 1970). + */ + @Generated + private Long finishedAt; + + /* + * Token consumption summary. Populated when the job reaches a terminal state. + */ + @Generated + private EvaluatorGenerationTokenUsage usage; + + /** + * Creates an instance of EvaluatorGenerationJob class. + */ + @Generated + public EvaluatorGenerationJob() { + } + + /** + * Get the id property: Server-assigned unique identifier. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } + + /** + * Get the inputs property: Caller-supplied inputs. + * + * @return the inputs value. + */ + @Generated + public EvaluatorGenerationInputs getInputs() { + return this.inputs; + } + + /** + * Set the inputs property: Caller-supplied inputs. + * + * @param inputs the inputs value to set. + * @return the EvaluatorGenerationJob object itself. + */ + @Generated + public EvaluatorGenerationJob setInputs(EvaluatorGenerationInputs inputs) { + this.inputs = inputs; + return this; + } + + /** + * Get the result property: Result produced on success. + * + * @return the result value. + */ + @Generated + public EvaluatorVersion getResult() { + return this.result; + } + + /** + * Get the status property: Current lifecycle status. + * + * @return the status value. + */ + @Generated + public JobStatus getStatus() { + return this.status; + } + + /** + * Get the error property: Error details — populated only on failure. + * + * @return the error value. + */ + @Generated + public ApiError getError() { + return this.error; + } + + /** + * Get the createdAt property: The timestamp when the job was created, represented in Unix time (seconds since + * January 1, 1970). + * + * @return the createdAt value. + */ + @Generated + public OffsetDateTime getCreatedAt() { + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.createdAt), ZoneOffset.UTC); + } + + /** + * Get the finishedAt property: The timestamp when the job finished, represented in Unix time (seconds since January + * 1, 1970). + * + * @return the finishedAt value. + */ + @Generated + public OffsetDateTime getFinishedAt() { + if (this.finishedAt == null) { + return null; + } + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.finishedAt), ZoneOffset.UTC); + } + + /** + * Get the usage property: Token consumption summary. Populated when the job reaches a terminal state. + * + * @return the usage value. + */ + @Generated + public EvaluatorGenerationTokenUsage getUsage() { + return this.usage; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("inputs", this.inputs); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EvaluatorGenerationJob from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EvaluatorGenerationJob if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the EvaluatorGenerationJob. + */ + @Generated + public static EvaluatorGenerationJob fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + EvaluatorGenerationJob deserializedEvaluatorGenerationJob = new EvaluatorGenerationJob(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("id".equals(fieldName)) { + deserializedEvaluatorGenerationJob.id = reader.getString(); + } else if ("status".equals(fieldName)) { + deserializedEvaluatorGenerationJob.status = JobStatus.fromString(reader.getString()); + } else if ("created_at".equals(fieldName)) { + deserializedEvaluatorGenerationJob.createdAt = reader.getLong(); + } else if ("inputs".equals(fieldName)) { + deserializedEvaluatorGenerationJob.inputs = EvaluatorGenerationInputs.fromJson(reader); + } else if ("result".equals(fieldName)) { + deserializedEvaluatorGenerationJob.result = EvaluatorVersion.fromJson(reader); + } else if ("error".equals(fieldName)) { + deserializedEvaluatorGenerationJob.error = ApiError.fromJson(reader); + } else if ("finished_at".equals(fieldName)) { + deserializedEvaluatorGenerationJob.finishedAt = reader.getNullable(JsonReader::getLong); + } else if ("usage".equals(fieldName)) { + deserializedEvaluatorGenerationJob.usage = EvaluatorGenerationTokenUsage.fromJson(reader); + } else { + reader.skipChildren(); + } + } + return deserializedEvaluatorGenerationJob; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java new file mode 100644 index 000000000000..e777f2b081a7 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java @@ -0,0 +1,113 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The base source model for evaluator generation jobs. Polymorphic over `type`. + */ +@Immutable +public class EvaluatorGenerationJobSource implements JsonSerializable { + + /* + * The type of source. + */ + @Generated + private EvaluatorGenerationJobSourceType type + = EvaluatorGenerationJobSourceType.fromString("EvaluatorGenerationJobSource"); + + /** + * Creates an instance of EvaluatorGenerationJobSource class. + */ + @Generated + public EvaluatorGenerationJobSource() { + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + public EvaluatorGenerationJobSourceType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EvaluatorGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the EvaluatorGenerationJobSource. + */ + @Generated + public static EvaluatorGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + // Prepare for reading + readerToUse.nextToken(); + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("type".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("prompt".equals(discriminatorValue)) { + return PromptEvaluatorGenerationJobSource.fromJson(readerToUse.reset()); + } else if ("agent".equals(discriminatorValue)) { + return AgentEvaluatorGenerationJobSource.fromJson(readerToUse.reset()); + } else if ("traces".equals(discriminatorValue)) { + return TracesEvaluatorGenerationJobSource.fromJson(readerToUse.reset()); + } else if ("dataset".equals(discriminatorValue)) { + return DatasetEvaluatorGenerationJobSource.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static EvaluatorGenerationJobSource fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + EvaluatorGenerationJobSource deserializedEvaluatorGenerationJobSource = new EvaluatorGenerationJobSource(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("type".equals(fieldName)) { + deserializedEvaluatorGenerationJobSource.type + = EvaluatorGenerationJobSourceType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + return deserializedEvaluatorGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java new file mode 100644 index 000000000000..b49a6f230215 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The supported source types for evaluator generation jobs. + */ +public final class EvaluatorGenerationJobSourceType extends ExpandableStringEnum { + + /** + * Prompt source — inline text provided by the user. + */ + @Generated + public static final EvaluatorGenerationJobSourceType PROMPT = fromString("prompt"); + + /** + * Agent source — references an agent to fetch instructions and metadata from. + */ + @Generated + public static final EvaluatorGenerationJobSourceType AGENT = fromString("agent"); + + /** + * Traces source — conversation traces from Application Insights. + */ + @Generated + public static final EvaluatorGenerationJobSourceType TRACES = fromString("traces"); + + /** + * Dataset source — reference to a dataset. + */ + @Generated + public static final EvaluatorGenerationJobSourceType DATASET = fromString("dataset"); + + /** + * Creates a new instance of EvaluatorGenerationJobSourceType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public EvaluatorGenerationJobSourceType() { + } + + /** + * Creates or finds a EvaluatorGenerationJobSourceType from its string representation. + * + * @param name a name to look for. + * @return the corresponding EvaluatorGenerationJobSourceType. + */ + @Generated + public static EvaluatorGenerationJobSourceType fromString(String name) { + return fromString(name, EvaluatorGenerationJobSourceType.class); + } + + /** + * Gets known EvaluatorGenerationJobSourceType values. + * + * @return known EvaluatorGenerationJobSourceType values. + */ + @Generated + public static Collection values() { + return values(EvaluatorGenerationJobSourceType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java new file mode 100644 index 000000000000..1b797124a860 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java @@ -0,0 +1,126 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Token consumption summary for an evaluator generation job. Populated when the job reaches a terminal state. + */ +@Immutable +public final class EvaluatorGenerationTokenUsage implements JsonSerializable { + + /* + * Number of input (prompt) tokens consumed. + */ + @Generated + private final long inputTokens; + + /* + * Number of output (completion) tokens generated. + */ + @Generated + private final long outputTokens; + + /* + * Total tokens consumed (input + output). + */ + @Generated + private final long totalTokens; + + /** + * Creates an instance of EvaluatorGenerationTokenUsage class. + * + * @param inputTokens the inputTokens value to set. + * @param outputTokens the outputTokens value to set. + * @param totalTokens the totalTokens value to set. + */ + @Generated + private EvaluatorGenerationTokenUsage(long inputTokens, long outputTokens, long totalTokens) { + this.inputTokens = inputTokens; + this.outputTokens = outputTokens; + this.totalTokens = totalTokens; + } + + /** + * Get the inputTokens property: Number of input (prompt) tokens consumed. + * + * @return the inputTokens value. + */ + @Generated + public long getInputTokens() { + return this.inputTokens; + } + + /** + * Get the outputTokens property: Number of output (completion) tokens generated. + * + * @return the outputTokens value. + */ + @Generated + public long getOutputTokens() { + return this.outputTokens; + } + + /** + * Get the totalTokens property: Total tokens consumed (input + output). + * + * @return the totalTokens value. + */ + @Generated + public long getTotalTokens() { + return this.totalTokens; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeLongField("input_tokens", this.inputTokens); + jsonWriter.writeLongField("output_tokens", this.outputTokens); + jsonWriter.writeLongField("total_tokens", this.totalTokens); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EvaluatorGenerationTokenUsage from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EvaluatorGenerationTokenUsage if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the EvaluatorGenerationTokenUsage. + */ + @Generated + public static EvaluatorGenerationTokenUsage fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + long inputTokens = 0L; + long outputTokens = 0L; + long totalTokens = 0L; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("input_tokens".equals(fieldName)) { + inputTokens = reader.getLong(); + } else if ("output_tokens".equals(fieldName)) { + outputTokens = reader.getLong(); + } else if ("total_tokens".equals(fieldName)) { + totalTokens = reader.getLong(); + } else { + reader.skipChildren(); + } + } + return new EvaluatorGenerationTokenUsage(inputTokens, outputTokens, totalTokens); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java index 025fb0f18566..678deb89fc14 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java @@ -335,6 +335,7 @@ public static EvaluatorVersion fromJson(JsonReader jsonReader) throws IOExceptio String version = null; String displayName = null; Map metadata = null; + EvaluatorGenerationArtifacts generationArtifacts = null; String id = null; String description = null; Map tags = null; @@ -363,6 +364,8 @@ public static EvaluatorVersion fromJson(JsonReader jsonReader) throws IOExceptio displayName = reader.getString(); } else if ("metadata".equals(fieldName)) { metadata = reader.readMap(reader1 -> reader1.getString()); + } else if ("generation_artifacts".equals(fieldName)) { + generationArtifacts = EvaluatorGenerationArtifacts.fromJson(reader); } else if ("id".equals(fieldName)) { id = reader.getString(); } else if ("description".equals(fieldName)) { @@ -381,10 +384,30 @@ public static EvaluatorVersion fromJson(JsonReader jsonReader) throws IOExceptio deserializedEvaluatorVersion.version = version; deserializedEvaluatorVersion.displayName = displayName; deserializedEvaluatorVersion.metadata = metadata; + deserializedEvaluatorVersion.generationArtifacts = generationArtifacts; deserializedEvaluatorVersion.id = id; deserializedEvaluatorVersion.description = description; deserializedEvaluatorVersion.tags = tags; return deserializedEvaluatorVersion; }); } + + /* + * Provenance artifacts from the generation pipeline. Read-only; present only on evaluator versions created via an + * EvaluatorGenerationJob. Each artifact resolves to a versioned Foundry Dataset. + */ + @Generated + private EvaluatorGenerationArtifacts generationArtifacts; + + /** + * Get the generationArtifacts property: Provenance artifacts from the generation pipeline. Read-only; present only + * on evaluator versions created via an EvaluatorGenerationJob. Each artifact resolves to a versioned Foundry + * Dataset. + * + * @return the generationArtifacts value. + */ + @Generated + public EvaluatorGenerationArtifacts getGenerationArtifacts() { + return this.generationArtifacts; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java new file mode 100644 index 000000000000..40657f9017d9 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Azure OpenAI file output for a data generation job. + */ +@Immutable +public final class FileDataGenerationJobOutput extends DataGenerationJobOutput { + + /* + * The type of the output. + */ + @Generated + private DataGenerationJobOutputType type = DataGenerationJobOutputType.FILE; + + /* + * The id of the output Azure OpenAI file. + */ + @Generated + private String id; + + /* + * The filename of the output Azure OpenAI file. + */ + @Generated + private String filename; + + /** + * Creates an instance of FileDataGenerationJobOutput class. + */ + @Generated + private FileDataGenerationJobOutput() { + } + + /** + * Get the type property: The type of the output. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobOutputType getType() { + return this.type; + } + + /** + * Get the id property: The id of the output Azure OpenAI file. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } + + /** + * Get the filename property: The filename of the output Azure OpenAI file. + * + * @return the filename value. + */ + @Generated + public String getFilename() { + return this.filename; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FileDataGenerationJobOutput from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FileDataGenerationJobOutput if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the FileDataGenerationJobOutput. + */ + @Generated + public static FileDataGenerationJobOutput fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + FileDataGenerationJobOutput deserializedFileDataGenerationJobOutput = new FileDataGenerationJobOutput(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("id".equals(fieldName)) { + deserializedFileDataGenerationJobOutput.id = reader.getString(); + } else if ("filename".equals(fieldName)) { + deserializedFileDataGenerationJobOutput.filename = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedFileDataGenerationJobOutput.type + = DataGenerationJobOutputType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + return deserializedFileDataGenerationJobOutput; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java new file mode 100644 index 000000000000..f11d9c33ac42 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java @@ -0,0 +1,119 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * File source for data generation jobs — Azure OpenAI file input. + */ +@Fluent +public final class FileDataGenerationJobSource extends DataGenerationJobSource { + + /* + * The type of source. + */ + @Generated + private DataGenerationJobSourceType type = DataGenerationJobSourceType.FILE; + + /* + * Input Azure Open AI file id used for data generation. + */ + @Generated + private final String id; + + /** + * Creates an instance of FileDataGenerationJobSource class. + * + * @param id the id value to set. + */ + @Generated + public FileDataGenerationJobSource(String id) { + this.id = id; + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the id property: Input Azure Open AI file id used for data generation. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public FileDataGenerationJobSource setDescription(String description) { + super.setDescription(description); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("description", getDescription()); + jsonWriter.writeStringField("id", this.id); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FileDataGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FileDataGenerationJobSource if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the FileDataGenerationJobSource. + */ + @Generated + public static FileDataGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String description = null; + String id = null; + DataGenerationJobSourceType type = DataGenerationJobSourceType.FILE; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("id".equals(fieldName)) { + id = reader.getString(); + } else if ("type".equals(fieldName)) { + type = DataGenerationJobSourceType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + FileDataGenerationJobSource deserializedFileDataGenerationJobSource = new FileDataGenerationJobSource(id); + deserializedFileDataGenerationJobSource.setDescription(description); + deserializedFileDataGenerationJobSource.type = type; + return deserializedFileDataGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java index c7115b27daec..4cb1228b4fb1 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java @@ -41,7 +41,12 @@ public enum FoundryFeaturesOptInKeys { /** * Enum value Skills=V1Preview. */ - SKILLS_V1_PREVIEW("Skills=V1Preview"); + SKILLS_V1_PREVIEW("Skills=V1Preview"), + + /** + * Enum value DataGenerationJobs=V1Preview. + */ + DATA_GENERATION_JOBS_V1_PREVIEW("DataGenerationJobs=V1Preview"); /** * The actual serialized value for a FoundryFeaturesOptInKeys instance. diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java new file mode 100644 index 000000000000..6c2a934cc4b2 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java @@ -0,0 +1,64 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The artifact profile category. + */ +public final class FoundryModelArtifactProfileCategory + extends ExpandableStringEnum { + + /** + * Data only artifacts. + */ + @Generated + public static final FoundryModelArtifactProfileCategory DATA_ONLY = fromString("DataOnly"); + + /** + * Runtime dependent artifacts. + */ + @Generated + public static final FoundryModelArtifactProfileCategory RUNTIME_DEPENDENT = fromString("RuntimeDependent"); + + /** + * Unknown category. + */ + @Generated + public static final FoundryModelArtifactProfileCategory UNKNOWN = fromString("Unknown"); + + /** + * Creates a new instance of FoundryModelArtifactProfileCategory value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public FoundryModelArtifactProfileCategory() { + } + + /** + * Creates or finds a FoundryModelArtifactProfileCategory from its string representation. + * + * @param name a name to look for. + * @return the corresponding FoundryModelArtifactProfileCategory. + */ + @Generated + public static FoundryModelArtifactProfileCategory fromString(String name) { + return fromString(name, FoundryModelArtifactProfileCategory.class); + } + + /** + * Gets known FoundryModelArtifactProfileCategory values. + * + * @return known FoundryModelArtifactProfileCategory values. + */ + @Generated + public static Collection values() { + return values(FoundryModelArtifactProfileCategory.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java new file mode 100644 index 000000000000..01b80bd68b49 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Signals detected in the model artifact. + */ +public final class FoundryModelArtifactProfileSignal extends ExpandableStringEnum { + + /** + * Pickle deserialization detected. + */ + @Generated + public static final FoundryModelArtifactProfileSignal PICKLE_DESERIALIZATION = fromString("PickleDeserialization"); + + /** + * Custom Python code detected. + */ + @Generated + public static final FoundryModelArtifactProfileSignal CUSTOM_PYTHON_CODE = fromString("CustomPythonCode"); + + /** + * Dynamic operations detected. + */ + @Generated + public static final FoundryModelArtifactProfileSignal DYNAMIC_OPS = fromString("DynamicOps"); + + /** + * Native binary code detected. + */ + @Generated + public static final FoundryModelArtifactProfileSignal NATIVE_BINARY = fromString("NativeBinary"); + + /** + * Unknown format detected. + */ + @Generated + public static final FoundryModelArtifactProfileSignal UNKNOWN_FORMAT = fromString("UnknownFormat"); + + /** + * Creates a new instance of FoundryModelArtifactProfileSignal value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public FoundryModelArtifactProfileSignal() { + } + + /** + * Creates or finds a FoundryModelArtifactProfileSignal from its string representation. + * + * @param name a name to look for. + * @return the corresponding FoundryModelArtifactProfileSignal. + */ + @Generated + public static FoundryModelArtifactProfileSignal fromString(String name) { + return fromString(name, FoundryModelArtifactProfileSignal.class); + } + + /** + * Gets known FoundryModelArtifactProfileSignal values. + * + * @return known FoundryModelArtifactProfileSignal values. + */ + @Generated + public static Collection values() { + return values(FoundryModelArtifactProfileSignal.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java new file mode 100644 index 000000000000..c79bef767a14 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The source type of the model. + */ +public final class FoundryModelSourceType extends ExpandableStringEnum { + + /** + * Model was uploaded locally. + */ + @Generated + public static final FoundryModelSourceType LOCAL_UPLOAD = fromString("LocalUpload"); + + /** + * Model was produced by a training job. + */ + @Generated + public static final FoundryModelSourceType TRAINING_JOB = fromString("TrainingJob"); + + /** + * Creates a new instance of FoundryModelSourceType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public FoundryModelSourceType() { + } + + /** + * Creates or finds a FoundryModelSourceType from its string representation. + * + * @param name a name to look for. + * @return the corresponding FoundryModelSourceType. + */ + @Generated + public static FoundryModelSourceType fromString(String name) { + return fromString(name, FoundryModelSourceType.class); + } + + /** + * Gets known FoundryModelSourceType values. + * + * @return known FoundryModelSourceType values. + */ + @Generated + public static Collection values() { + return values(FoundryModelSourceType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java new file mode 100644 index 000000000000..5c0b04039d1e --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java @@ -0,0 +1,97 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A warning associated with a model. + */ +@Immutable +public final class FoundryModelWarning implements JsonSerializable { + + /* + * The warning code. + */ + @Generated + private FoundryModelWarningCode code; + + /* + * The warning message. + */ + @Generated + private String message; + + /** + * Creates an instance of FoundryModelWarning class. + */ + @Generated + private FoundryModelWarning() { + } + + /** + * Get the code property: The warning code. + * + * @return the code value. + */ + @Generated + public FoundryModelWarningCode getCode() { + return this.code; + } + + /** + * Get the message property: The warning message. + * + * @return the message value. + */ + @Generated + public String getMessage() { + return this.message; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("code", this.code == null ? null : this.code.toString()); + jsonWriter.writeStringField("message", this.message); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FoundryModelWarning from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FoundryModelWarning if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the FoundryModelWarning. + */ + @Generated + public static FoundryModelWarning fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + FoundryModelWarning deserializedFoundryModelWarning = new FoundryModelWarning(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("code".equals(fieldName)) { + deserializedFoundryModelWarning.code = FoundryModelWarningCode.fromString(reader.getString()); + } else if ("message".equals(fieldName)) { + deserializedFoundryModelWarning.message = reader.getString(); + } else { + reader.skipChildren(); + } + } + return deserializedFoundryModelWarning; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java new file mode 100644 index 000000000000..b9aa173abd32 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Warning code for model artifacts. + */ +public final class FoundryModelWarningCode extends ExpandableStringEnum { + + /** + * Runtime dependent artifact warning. + */ + @Generated + public static final FoundryModelWarningCode RUNTIME_DEPENDENT_ARTIFACT = fromString("RuntimeDependentArtifact"); + + /** + * Unclassified artifact warning. + */ + @Generated + public static final FoundryModelWarningCode UNCLASSIFIED_ARTIFACT = fromString("UnclassifiedArtifact"); + + /** + * Creates a new instance of FoundryModelWarningCode value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public FoundryModelWarningCode() { + } + + /** + * Creates or finds a FoundryModelWarningCode from its string representation. + * + * @param name a name to look for. + * @return the corresponding FoundryModelWarningCode. + */ + @Generated + public static FoundryModelWarningCode fromString(String name) { + return fromString(name, FoundryModelWarningCode.class); + } + + /** + * Gets known FoundryModelWarningCode values. + * + * @return known FoundryModelWarningCode values. + */ + @Generated + public static Collection values() { + return values(FoundryModelWarningCode.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java new file mode 100644 index 000000000000..d22653d4cc96 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java @@ -0,0 +1,63 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The weight type of the model. + */ +public final class FoundryModelWeightType extends ExpandableStringEnum { + + /** + * Full weight model. + */ + @Generated + public static final FoundryModelWeightType FULL_WEIGHT = fromString("FullWeight"); + + /** + * LoRA adapter weights. + */ + @Generated + public static final FoundryModelWeightType LO_RA = fromString("LoRA"); + + /** + * Draft model weights. + */ + @Generated + public static final FoundryModelWeightType DRAFT_MODEL = fromString("DraftModel"); + + /** + * Creates a new instance of FoundryModelWeightType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public FoundryModelWeightType() { + } + + /** + * Creates or finds a FoundryModelWeightType from its string representation. + * + * @param name a name to look for. + * @return the corresponding FoundryModelWeightType. + */ + @Generated + public static FoundryModelWeightType fromString(String name) { + return fromString(name, FoundryModelWeightType.class); + } + + /** + * Gets known FoundryModelWeightType values. + * + * @return known FoundryModelWeightType values. + */ + @Generated + public static Collection values() { + return values(FoundryModelWeightType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/JobStatus.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/JobStatus.java new file mode 100644 index 000000000000..693abcf60e1a --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/JobStatus.java @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Extensible status values shared by Foundry jobs. + */ +public final class JobStatus extends ExpandableStringEnum { + + /** + * Job is waiting to start. + */ + @Generated + public static final JobStatus QUEUED = fromString("queued"); + + /** + * Job is actively processing. + */ + @Generated + public static final JobStatus IN_PROGRESS = fromString("in_progress"); + + /** + * Job completed successfully. + */ + @Generated + public static final JobStatus SUCCEEDED = fromString("succeeded"); + + /** + * Job failed. + */ + @Generated + public static final JobStatus FAILED = fromString("failed"); + + /** + * Job was cancelled by the caller. + */ + @Generated + public static final JobStatus CANCELLED = fromString("cancelled"); + + /** + * Creates a new instance of JobStatus value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public JobStatus() { + } + + /** + * Creates or finds a JobStatus from its string representation. + * + * @param name a name to look for. + * @return the corresponding JobStatus. + */ + @Generated + public static JobStatus fromString(String name) { + return fromString(name, JobStatus.class); + } + + /** + * Gets known JobStatus values. + * + * @return known JobStatus values. + */ + @Generated + public static Collection values() { + return values(JobStatus.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LoraConfig.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LoraConfig.java new file mode 100644 index 000000000000..b0bfb53285ac --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LoraConfig.java @@ -0,0 +1,188 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Adapter-specific metadata for LoRA models. Drives serving engine configuration at deployment time. + */ +@Fluent +public final class LoraConfig implements JsonSerializable { + + /* + * LoRA rank (r). Positive integer. Common values: 8, 16, 32, 64. + */ + @Generated + private Integer rank; + + /* + * LoRA scaling factor (α). Positive integer; typically 2× the rank. + */ + @Generated + private Integer alpha; + + /* + * Model layers modified by the adapter (e.g., q_proj, v_proj). Auto-detected from adapter_config.json if omitted. + */ + @Generated + private List targetModules; + + /* + * Dropout rate used during training. Informational — not used at serving time. + */ + @Generated + private Double dropout; + + /** + * Creates an instance of LoraConfig class. + */ + @Generated + public LoraConfig() { + } + + /** + * Get the rank property: LoRA rank (r). Positive integer. Common values: 8, 16, 32, 64. + * + * @return the rank value. + */ + @Generated + public Integer getRank() { + return this.rank; + } + + /** + * Set the rank property: LoRA rank (r). Positive integer. Common values: 8, 16, 32, 64. + * + * @param rank the rank value to set. + * @return the LoraConfig object itself. + */ + @Generated + public LoraConfig setRank(Integer rank) { + this.rank = rank; + return this; + } + + /** + * Get the alpha property: LoRA scaling factor (α). Positive integer; typically 2× the rank. + * + * @return the alpha value. + */ + @Generated + public Integer getAlpha() { + return this.alpha; + } + + /** + * Set the alpha property: LoRA scaling factor (α). Positive integer; typically 2× the rank. + * + * @param alpha the alpha value to set. + * @return the LoraConfig object itself. + */ + @Generated + public LoraConfig setAlpha(Integer alpha) { + this.alpha = alpha; + return this; + } + + /** + * Get the targetModules property: Model layers modified by the adapter (e.g., q_proj, v_proj). Auto-detected from + * adapter_config.json if omitted. + * + * @return the targetModules value. + */ + @Generated + public List getTargetModules() { + return this.targetModules; + } + + /** + * Set the targetModules property: Model layers modified by the adapter (e.g., q_proj, v_proj). Auto-detected from + * adapter_config.json if omitted. + * + * @param targetModules the targetModules value to set. + * @return the LoraConfig object itself. + */ + @Generated + public LoraConfig setTargetModules(List targetModules) { + this.targetModules = targetModules; + return this; + } + + /** + * Get the dropout property: Dropout rate used during training. Informational — not used at serving time. + * + * @return the dropout value. + */ + @Generated + public Double getDropout() { + return this.dropout; + } + + /** + * Set the dropout property: Dropout rate used during training. Informational — not used at serving time. + * + * @param dropout the dropout value to set. + * @return the LoraConfig object itself. + */ + @Generated + public LoraConfig setDropout(Double dropout) { + this.dropout = dropout; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeNumberField("rank", this.rank); + jsonWriter.writeNumberField("alpha", this.alpha); + jsonWriter.writeArrayField("targetModules", this.targetModules, + (writer, element) -> writer.writeString(element)); + jsonWriter.writeNumberField("dropout", this.dropout); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of LoraConfig from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of LoraConfig if the JsonReader was pointing to an instance of it, or null if it was pointing + * to JSON null. + * @throws IOException If an error occurs while reading the LoraConfig. + */ + @Generated + public static LoraConfig fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + LoraConfig deserializedLoraConfig = new LoraConfig(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("rank".equals(fieldName)) { + deserializedLoraConfig.rank = reader.getNullable(JsonReader::getInt); + } else if ("alpha".equals(fieldName)) { + deserializedLoraConfig.alpha = reader.getNullable(JsonReader::getInt); + } else if ("targetModules".equals(fieldName)) { + List targetModules = reader.readArray(reader1 -> reader1.getString()); + deserializedLoraConfig.targetModules = targetModules; + } else if ("dropout".equals(fieldName)) { + deserializedLoraConfig.dropout = reader.getNullable(JsonReader::getDouble); + } else { + reader.skipChildren(); + } + } + return deserializedLoraConfig; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java new file mode 100644 index 000000000000..4cc4dc3432a3 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java @@ -0,0 +1,82 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Request to fetch credentials for a model asset. + */ +@Immutable +public final class ModelCredentialRequest implements JsonSerializable { + + /* + * Blob URI of the model asset to fetch credentials for. + */ + @Generated + private final String blobUri; + + /** + * Creates an instance of ModelCredentialRequest class. + * + * @param blobUri the blobUri value to set. + */ + @Generated + public ModelCredentialRequest(String blobUri) { + this.blobUri = blobUri; + } + + /** + * Get the blobUri property: Blob URI of the model asset to fetch credentials for. + * + * @return the blobUri value. + */ + @Generated + public String getBlobUri() { + return this.blobUri; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("blobUri", this.blobUri); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ModelCredentialRequest from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ModelCredentialRequest if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ModelCredentialRequest. + */ + @Generated + public static ModelCredentialRequest fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String blobUri = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("blobUri".equals(fieldName)) { + blobUri = reader.getString(); + } else { + reader.skipChildren(); + } + } + return new ModelCredentialRequest(blobUri); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java index 4127ae67535e..22344d442c96 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java @@ -3,8 +3,8 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.ai.projects.models; +import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,76 +14,60 @@ /** * Represents a set of parameters used to control the sampling behavior of a language model during text generation. */ -@Immutable +@Fluent public final class ModelSamplingParams implements JsonSerializable { /* - * The temperature parameter for sampling. + * The temperature parameter for sampling. Defaults to 1.0. */ @Generated - private final double temperature; + private Double temperature; /* - * The top-p parameter for nucleus sampling. + * The top-p parameter for nucleus sampling. Defaults to 1.0. */ @Generated - private final double topP; + private Double topP; /* - * The random seed for reproducibility. + * The random seed for reproducibility. Defaults to 42. */ @Generated - private final int seed; + private Integer seed; /* * The maximum number of tokens allowed in the completion. */ @Generated - private final int maxCompletionTokens; + private Integer maxCompletionTokens; /** - * Creates an instance of ModelSamplingParams class. - * - * @param temperature the temperature value to set. - * @param topP the topP value to set. - * @param seed the seed value to set. - * @param maxCompletionTokens the maxCompletionTokens value to set. - */ - @Generated - public ModelSamplingParams(double temperature, double topP, int seed, int maxCompletionTokens) { - this.temperature = temperature; - this.topP = topP; - this.seed = seed; - this.maxCompletionTokens = maxCompletionTokens; - } - - /** - * Get the temperature property: The temperature parameter for sampling. + * Get the temperature property: The temperature parameter for sampling. Defaults to 1.0. * * @return the temperature value. */ @Generated - public double getTemperature() { + public Double getTemperature() { return this.temperature; } /** - * Get the topP property: The top-p parameter for nucleus sampling. + * Get the topP property: The top-p parameter for nucleus sampling. Defaults to 1.0. * * @return the topP value. */ @Generated - public double getTopP() { + public Double getTopP() { return this.topP; } /** - * Get the seed property: The random seed for reproducibility. + * Get the seed property: The random seed for reproducibility. Defaults to 42. * * @return the seed value. */ @Generated - public int getSeed() { + public Integer getSeed() { return this.seed; } @@ -93,7 +77,7 @@ public int getSeed() { * @return the maxCompletionTokens value. */ @Generated - public int getMaxCompletionTokens() { + public Integer getMaxCompletionTokens() { return this.maxCompletionTokens; } @@ -104,10 +88,10 @@ public int getMaxCompletionTokens() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeDoubleField("temperature", this.temperature); - jsonWriter.writeDoubleField("top_p", this.topP); - jsonWriter.writeIntField("seed", this.seed); - jsonWriter.writeIntField("max_completion_tokens", this.maxCompletionTokens); + jsonWriter.writeNumberField("temperature", this.temperature); + jsonWriter.writeNumberField("top_p", this.topP); + jsonWriter.writeNumberField("seed", this.seed); + jsonWriter.writeNumberField("max_completion_tokens", this.maxCompletionTokens); return jsonWriter.writeEndObject(); } @@ -117,32 +101,83 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ModelSamplingParams if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. * @throws IOException If an error occurs while reading the ModelSamplingParams. */ @Generated public static ModelSamplingParams fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - double temperature = 0.0; - double topP = 0.0; - int seed = 0; - int maxCompletionTokens = 0; + ModelSamplingParams deserializedModelSamplingParams = new ModelSamplingParams(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("temperature".equals(fieldName)) { - temperature = reader.getDouble(); + deserializedModelSamplingParams.temperature = reader.getNullable(JsonReader::getDouble); } else if ("top_p".equals(fieldName)) { - topP = reader.getDouble(); + deserializedModelSamplingParams.topP = reader.getNullable(JsonReader::getDouble); } else if ("seed".equals(fieldName)) { - seed = reader.getInt(); + deserializedModelSamplingParams.seed = reader.getNullable(JsonReader::getInt); } else if ("max_completion_tokens".equals(fieldName)) { - maxCompletionTokens = reader.getInt(); + deserializedModelSamplingParams.maxCompletionTokens = reader.getNullable(JsonReader::getInt); } else { reader.skipChildren(); } } - return new ModelSamplingParams(temperature, topP, seed, maxCompletionTokens); + return deserializedModelSamplingParams; }); } + + /** + * Creates an instance of ModelSamplingParams class. + */ + @Generated + public ModelSamplingParams() { + } + + /** + * Set the temperature property: The temperature parameter for sampling. Defaults to 1.0. + * + * @param temperature the temperature value to set. + * @return the ModelSamplingParams object itself. + */ + @Generated + public ModelSamplingParams setTemperature(Double temperature) { + this.temperature = temperature; + return this; + } + + /** + * Set the topP property: The top-p parameter for nucleus sampling. Defaults to 1.0. + * + * @param topP the topP value to set. + * @return the ModelSamplingParams object itself. + */ + @Generated + public ModelSamplingParams setTopP(Double topP) { + this.topP = topP; + return this; + } + + /** + * Set the seed property: The random seed for reproducibility. Defaults to 42. + * + * @param seed the seed value to set. + * @return the ModelSamplingParams object itself. + */ + @Generated + public ModelSamplingParams setSeed(Integer seed) { + this.seed = seed; + return this; + } + + /** + * Set the maxCompletionTokens property: The maximum number of tokens allowed in the completion. + * + * @param maxCompletionTokens the maxCompletionTokens value to set. + * @return the ModelSamplingParams object itself. + */ + @Generated + public ModelSamplingParams setMaxCompletionTokens(Integer maxCompletionTokens) { + this.maxCompletionTokens = maxCompletionTokens; + return this; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelSourceData.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelSourceData.java new file mode 100644 index 000000000000..9e1c7725aea2 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelSourceData.java @@ -0,0 +1,121 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Source information for the model. + */ +@Fluent +public final class ModelSourceData implements JsonSerializable { + + /* + * The source type of the model + */ + @Generated + private FoundryModelSourceType sourceType; + + /* + * The job ID that produced this model + */ + @Generated + private String jobId; + + /** + * Creates an instance of ModelSourceData class. + */ + @Generated + public ModelSourceData() { + } + + /** + * Get the sourceType property: The source type of the model. + * + * @return the sourceType value. + */ + @Generated + public FoundryModelSourceType getSourceType() { + return this.sourceType; + } + + /** + * Set the sourceType property: The source type of the model. + * + * @param sourceType the sourceType value to set. + * @return the ModelSourceData object itself. + */ + @Generated + public ModelSourceData setSourceType(FoundryModelSourceType sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Get the jobId property: The job ID that produced this model. + * + * @return the jobId value. + */ + @Generated + public String getJobId() { + return this.jobId; + } + + /** + * Set the jobId property: The job ID that produced this model. + * + * @param jobId the jobId value to set. + * @return the ModelSourceData object itself. + */ + @Generated + public ModelSourceData setJobId(String jobId) { + this.jobId = jobId; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("sourceType", this.sourceType == null ? null : this.sourceType.toString()); + jsonWriter.writeStringField("jobId", this.jobId); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ModelSourceData from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ModelSourceData if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the ModelSourceData. + */ + @Generated + public static ModelSourceData fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ModelSourceData deserializedModelSourceData = new ModelSourceData(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("sourceType".equals(fieldName)) { + deserializedModelSourceData.sourceType = FoundryModelSourceType.fromString(reader.getString()); + } else if ("jobId".equals(fieldName)) { + deserializedModelSourceData.jobId = reader.getString(); + } else { + reader.skipChildren(); + } + } + return deserializedModelSourceData; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelVersion.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelVersion.java new file mode 100644 index 000000000000..27d99e5f2da8 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelVersion.java @@ -0,0 +1,409 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; +import java.util.Map; + +/** + * Model Version Definition. + */ +@Fluent +public final class ModelVersion implements JsonSerializable { + + /* + * System related metadata + */ + @Generated + private SystemDataV3 systemData; + + /* + * URI of the model artifact in blob storage + */ + @Generated + private final String blobUri; + + /* + * The weight type of the model + */ + @Generated + private FoundryModelWeightType weightType; + + /* + * Base model asset ID + */ + @Generated + private String baseModel; + + /* + * The source of the model + */ + @Generated + private ModelSourceData source; + + /* + * Adapter-specific configuration. Required when weight_type is lora; ignored otherwise. May be auto-populated from + * adapter_config.json when present in the uploaded files — user-provided values take precedence over auto-detected + * values. + */ + @Generated + private LoraConfig loraConfig; + + /* + * The artifact profile of the model + */ + @Generated + private ArtifactProfile artifactProfile; + + /* + * Service-computed advisory warnings derived from the artifact profile. + */ + @Generated + private List warnings; + + /* + * Asset ID, a unique identifier for the asset + */ + @Generated + private String id; + + /* + * The name of the resource + */ + @Generated + private String name; + + /* + * The version of the resource + */ + @Generated + private String version; + + /* + * The asset description text. + */ + @Generated + private String description; + + /* + * Tag dictionary. Tags can be added, removed, and updated. + */ + @Generated + private Map tags; + + /** + * Creates an instance of ModelVersion class. + * + * @param blobUri the blobUri value to set. + */ + @Generated + public ModelVersion(String blobUri) { + this.blobUri = blobUri; + } + + /** + * Get the systemData property: System related metadata. + * + * @return the systemData value. + */ + @Generated + public SystemDataV3 getSystemData() { + return this.systemData; + } + + /** + * Get the blobUri property: URI of the model artifact in blob storage. + * + * @return the blobUri value. + */ + @Generated + public String getBlobUri() { + return this.blobUri; + } + + /** + * Get the weightType property: The weight type of the model. + * + * @return the weightType value. + */ + @Generated + public FoundryModelWeightType getWeightType() { + return this.weightType; + } + + /** + * Set the weightType property: The weight type of the model. + * + * @param weightType the weightType value to set. + * @return the ModelVersion object itself. + */ + @Generated + public ModelVersion setWeightType(FoundryModelWeightType weightType) { + this.weightType = weightType; + return this; + } + + /** + * Get the baseModel property: Base model asset ID. + * + * @return the baseModel value. + */ + @Generated + public String getBaseModel() { + return this.baseModel; + } + + /** + * Set the baseModel property: Base model asset ID. + * + * @param baseModel the baseModel value to set. + * @return the ModelVersion object itself. + */ + @Generated + public ModelVersion setBaseModel(String baseModel) { + this.baseModel = baseModel; + return this; + } + + /** + * Get the source property: The source of the model. + * + * @return the source value. + */ + @Generated + public ModelSourceData getSource() { + return this.source; + } + + /** + * Set the source property: The source of the model. + * + * @param source the source value to set. + * @return the ModelVersion object itself. + */ + @Generated + public ModelVersion setSource(ModelSourceData source) { + this.source = source; + return this; + } + + /** + * Get the loraConfig property: Adapter-specific configuration. Required when weight_type is lora; ignored + * otherwise. May be auto-populated from adapter_config.json when present in the uploaded files — user-provided + * values take precedence over auto-detected values. + * + * @return the loraConfig value. + */ + @Generated + public LoraConfig getLoraConfig() { + return this.loraConfig; + } + + /** + * Set the loraConfig property: Adapter-specific configuration. Required when weight_type is lora; ignored + * otherwise. May be auto-populated from adapter_config.json when present in the uploaded files — user-provided + * values take precedence over auto-detected values. + * + * @param loraConfig the loraConfig value to set. + * @return the ModelVersion object itself. + */ + @Generated + public ModelVersion setLoraConfig(LoraConfig loraConfig) { + this.loraConfig = loraConfig; + return this; + } + + /** + * Get the artifactProfile property: The artifact profile of the model. + * + * @return the artifactProfile value. + */ + @Generated + public ArtifactProfile getArtifactProfile() { + return this.artifactProfile; + } + + /** + * Get the warnings property: Service-computed advisory warnings derived from the artifact profile. + * + * @return the warnings value. + */ + @Generated + public List getWarnings() { + return this.warnings; + } + + /** + * Get the id property: Asset ID, a unique identifier for the asset. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } + + /** + * Get the name property: The name of the resource. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the version property: The version of the resource. + * + * @return the version value. + */ + @Generated + public String getVersion() { + return this.version; + } + + /** + * Get the description property: The asset description text. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: The asset description text. + * + * @param description the description value to set. + * @return the ModelVersion object itself. + */ + @Generated + public ModelVersion setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the tags property: Tag dictionary. Tags can be added, removed, and updated. + * + * @return the tags value. + */ + @Generated + public Map getTags() { + return this.tags; + } + + /** + * Set the tags property: Tag dictionary. Tags can be added, removed, and updated. + * + * @param tags the tags value to set. + * @return the ModelVersion object itself. + */ + @Generated + public ModelVersion setTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("blobUri", this.blobUri); + jsonWriter.writeStringField("weightType", this.weightType == null ? null : this.weightType.toString()); + jsonWriter.writeStringField("baseModel", this.baseModel); + jsonWriter.writeJsonField("source", this.source); + jsonWriter.writeJsonField("loraConfig", this.loraConfig); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ModelVersion from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ModelVersion if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ModelVersion. + */ + @Generated + public static ModelVersion fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String blobUri = null; + String name = null; + String version = null; + SystemDataV3 systemData = null; + FoundryModelWeightType weightType = null; + String baseModel = null; + ModelSourceData source = null; + LoraConfig loraConfig = null; + ArtifactProfile artifactProfile = null; + List warnings = null; + String id = null; + String description = null; + Map tags = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("blobUri".equals(fieldName)) { + blobUri = reader.getString(); + } else if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("version".equals(fieldName)) { + version = reader.getString(); + } else if ("systemData".equals(fieldName)) { + systemData = SystemDataV3.fromJson(reader); + } else if ("weightType".equals(fieldName)) { + weightType = FoundryModelWeightType.fromString(reader.getString()); + } else if ("baseModel".equals(fieldName)) { + baseModel = reader.getString(); + } else if ("source".equals(fieldName)) { + source = ModelSourceData.fromJson(reader); + } else if ("loraConfig".equals(fieldName)) { + loraConfig = LoraConfig.fromJson(reader); + } else if ("artifactProfile".equals(fieldName)) { + artifactProfile = ArtifactProfile.fromJson(reader); + } else if ("warnings".equals(fieldName)) { + warnings = reader.readArray(reader1 -> FoundryModelWarning.fromJson(reader1)); + } else if ("id".equals(fieldName)) { + id = reader.getString(); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("tags".equals(fieldName)) { + tags = reader.readMap(reader1 -> reader1.getString()); + } else { + reader.skipChildren(); + } + } + ModelVersion deserializedModelVersion = new ModelVersion(blobUri); + deserializedModelVersion.name = name; + deserializedModelVersion.version = version; + deserializedModelVersion.systemData = systemData; + deserializedModelVersion.weightType = weightType; + deserializedModelVersion.baseModel = baseModel; + deserializedModelVersion.source = source; + deserializedModelVersion.loraConfig = loraConfig; + deserializedModelVersion.artifactProfile = artifactProfile; + deserializedModelVersion.warnings = warnings; + deserializedModelVersion.id = id; + deserializedModelVersion.description = description; + deserializedModelVersion.tags = tags; + return deserializedModelVersion; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java index dc7bdf306b69..43c93cf7b0c8 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java @@ -30,10 +30,10 @@ public final class PendingUploadRequest implements JsonSerializable values() { return values(PendingUploadType.class); } + + /** + * Temporary blob reference. + */ + @Generated + public static final PendingUploadType TEMPORARY_BLOB_REFERENCE = fromString("TemporaryBlobReference"); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java new file mode 100644 index 000000000000..f1c9e15d3a79 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java @@ -0,0 +1,141 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Prompt source for data generation jobs — inline text provided by the user. + */ +@Fluent +public final class PromptDataGenerationJobSource extends DataGenerationJobSource { + + /* + * The type of source. + */ + @Generated + private DataGenerationJobSourceType type = DataGenerationJobSourceType.PROMPT; + + /* + * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company + * refund policy document' or 'Describes the agent's core capabilities'). + */ + @Generated + private String description; + + /* + * Inline prompt text (e.g., agent description, policy text, supplementary context). + */ + @Generated + private final String prompt; + + /** + * Creates an instance of PromptDataGenerationJobSource class. + * + * @param prompt the prompt value to set. + */ + @Generated + public PromptDataGenerationJobSource(String prompt) { + this.prompt = prompt; + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @param description the description value to set. + * @return the PromptDataGenerationJobSource object itself. + */ + @Generated + public PromptDataGenerationJobSource setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the prompt property: Inline prompt text (e.g., agent description, policy text, supplementary context). + * + * @return the prompt value. + */ + @Generated + public String getPrompt() { + return this.prompt; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("prompt", this.prompt); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of PromptDataGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of PromptDataGenerationJobSource if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the PromptDataGenerationJobSource. + */ + @Generated + public static PromptDataGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String prompt = null; + DataGenerationJobSourceType type = DataGenerationJobSourceType.PROMPT; + String description = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("prompt".equals(fieldName)) { + prompt = reader.getString(); + } else if ("type".equals(fieldName)) { + type = DataGenerationJobSourceType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else { + reader.skipChildren(); + } + } + PromptDataGenerationJobSource deserializedPromptDataGenerationJobSource + = new PromptDataGenerationJobSource(prompt); + deserializedPromptDataGenerationJobSource.type = type; + deserializedPromptDataGenerationJobSource.description = description; + return deserializedPromptDataGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java new file mode 100644 index 000000000000..d31c637c8cae --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java @@ -0,0 +1,141 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Prompt source for evaluator generation jobs — inline text provided by the user. + */ +@Fluent +public final class PromptEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource { + + /* + * The type of source. + */ + @Generated + private EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.PROMPT; + + /* + * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company + * refund policy document' or 'Describes the agent's core capabilities'). + */ + @Generated + private String description; + + /* + * Inline prompt text (e.g., agent description, policy text, supplementary context). + */ + @Generated + private final String prompt; + + /** + * Creates an instance of PromptEvaluatorGenerationJobSource class. + * + * @param prompt the prompt value to set. + */ + @Generated + public PromptEvaluatorGenerationJobSource(String prompt) { + this.prompt = prompt; + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + @Override + public EvaluatorGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @param description the description value to set. + * @return the PromptEvaluatorGenerationJobSource object itself. + */ + @Generated + public PromptEvaluatorGenerationJobSource setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the prompt property: Inline prompt text (e.g., agent description, policy text, supplementary context). + * + * @return the prompt value. + */ + @Generated + public String getPrompt() { + return this.prompt; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("prompt", this.prompt); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of PromptEvaluatorGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of PromptEvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the PromptEvaluatorGenerationJobSource. + */ + @Generated + public static PromptEvaluatorGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String prompt = null; + EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.PROMPT; + String description = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("prompt".equals(fieldName)) { + prompt = reader.getString(); + } else if ("type".equals(fieldName)) { + type = EvaluatorGenerationJobSourceType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else { + reader.skipChildren(); + } + } + PromptEvaluatorGenerationJobSource deserializedPromptEvaluatorGenerationJobSource + = new PromptEvaluatorGenerationJobSource(prompt); + deserializedPromptEvaluatorGenerationJobSource.type = type; + deserializedPromptEvaluatorGenerationJobSource.description = description; + return deserializedPromptEvaluatorGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RedTeam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RedTeam.java index 6f4c47c64c8a..464739894c97 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RedTeam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RedTeam.java @@ -84,17 +84,7 @@ public final class RedTeam implements JsonSerializable { * Target configuration for the red-team run. */ @Generated - private final TargetConfig target; - - /** - * Creates an instance of RedTeam class. - * - * @param target the target value to set. - */ - @Generated - public RedTeam(TargetConfig target) { - this.target = target; - } + private final RedTeamTargetConfig target; /** * Get the name property: Identifier of the red team run. @@ -304,7 +294,7 @@ public String getStatus() { * @return the target value. */ @Generated - public TargetConfig getTarget() { + public RedTeamTargetConfig getTarget() { return this.target; } @@ -342,7 +332,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { public static RedTeam fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String name = null; - TargetConfig target = null; + RedTeamTargetConfig target = null; String displayName = null; Integer numTurns = null; List attackStrategies = null; @@ -358,7 +348,7 @@ public static RedTeam fromJson(JsonReader jsonReader) throws IOException { if ("id".equals(fieldName)) { name = reader.getString(); } else if ("target".equals(fieldName)) { - target = TargetConfig.fromJson(reader); + target = RedTeamTargetConfig.fromJson(reader); } else if ("displayName".equals(fieldName)) { displayName = reader.getString(); } else if ("numTurns".equals(fieldName)) { @@ -395,4 +385,14 @@ public static RedTeam fromJson(JsonReader jsonReader) throws IOException { return deserializedRedTeam; }); } + + /** + * Creates an instance of RedTeam class. + * + * @param target the target value to set. + */ + @Generated + public RedTeam(RedTeamTargetConfig target) { + this.target = target; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TargetConfig.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RedTeamTargetConfig.java similarity index 76% rename from sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TargetConfig.java rename to sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RedTeamTargetConfig.java index a131dddf51d2..e9f3d81150d5 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TargetConfig.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RedTeamTargetConfig.java @@ -15,19 +15,19 @@ * Abstract class for target configuration. */ @Immutable -public class TargetConfig implements JsonSerializable { +public class RedTeamTargetConfig implements JsonSerializable { /* * Type of the model configuration. */ @Generated - private String type = "TargetConfig"; + private String type = "RedTeamTargetConfig"; /** - * Creates an instance of TargetConfig class. + * Creates an instance of RedTeamTargetConfig class. */ @Generated - public TargetConfig() { + public RedTeamTargetConfig() { } /** @@ -52,15 +52,15 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of TargetConfig from the JsonReader. + * Reads an instance of RedTeamTargetConfig from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of TargetConfig if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of RedTeamTargetConfig if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. - * @throws IOException If an error occurs while reading the TargetConfig. + * @throws IOException If an error occurs while reading the RedTeamTargetConfig. */ @Generated - public static TargetConfig fromJson(JsonReader jsonReader) throws IOException { + public static RedTeamTargetConfig fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { @@ -87,19 +87,19 @@ public static TargetConfig fromJson(JsonReader jsonReader) throws IOException { } @Generated - static TargetConfig fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + static RedTeamTargetConfig fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - TargetConfig deserializedTargetConfig = new TargetConfig(); + RedTeamTargetConfig deserializedRedTeamTargetConfig = new RedTeamTargetConfig(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("type".equals(fieldName)) { - deserializedTargetConfig.type = reader.getString(); + deserializedRedTeamTargetConfig.type = reader.getString(); } else { reader.skipChildren(); } } - return deserializedTargetConfig; + return deserializedRedTeamTargetConfig; }); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java new file mode 100644 index 000000000000..dd2ee16d5b44 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java @@ -0,0 +1,173 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; +import java.util.Map; + +/** + * Rubric-based evaluator definition — stores rubric criteria produced by the generate API. Used for both quality and + * safety evaluators. + */ +@Fluent +public final class RubricBasedEvaluatorDefinition extends EvaluatorDefinition { + + /* + * The type of evaluator definition + */ + @Generated + private EvaluatorDefinitionType type = EvaluatorDefinitionType.RUBRICS; + + /* + * Rubric criteria — the scoring blueprint used by the LLM judge. Quality evaluators include a non-editable residual + * criterion with rubric_id 'general_quality' (always_applicable: true); safety evaluators include + * 'general_policy_compliance'. Both use the same rubric structure. + */ + @Generated + private final List rubricCriteria; + + /** + * Creates an instance of RubricBasedEvaluatorDefinition class. + * + * @param rubricCriteria the rubricCriteria value to set. + */ + @Generated + public RubricBasedEvaluatorDefinition(List rubricCriteria) { + this.rubricCriteria = rubricCriteria; + } + + /** + * Get the type property: The type of evaluator definition. + * + * @return the type value. + */ + @Generated + @Override + public EvaluatorDefinitionType getType() { + return this.type; + } + + /** + * Get the rubricCriteria property: Rubric criteria — the scoring blueprint used by the LLM judge. Quality + * evaluators include a non-editable residual criterion with rubric_id 'general_quality' (always_applicable: true); + * safety evaluators include 'general_policy_compliance'. Both use the same rubric structure. + * + * @return the rubricCriteria value. + */ + @Generated + public List getRubricCriteria() { + return this.rubricCriteria; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public RubricBasedEvaluatorDefinition setInitParameters(Map initParameters) { + super.setInitParameters(initParameters); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public RubricBasedEvaluatorDefinition setDataSchema(Map dataSchema) { + super.setDataSchema(dataSchema); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public RubricBasedEvaluatorDefinition setMetrics(Map metrics) { + super.setMetrics(metrics); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeMapField("init_parameters", getInitParameters(), (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + jsonWriter.writeMapField("data_schema", getDataSchema(), (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + jsonWriter.writeMapField("metrics", getMetrics(), (writer, element) -> writer.writeJson(element)); + jsonWriter.writeArrayField("rubric_criteria", this.rubricCriteria, + (writer, element) -> writer.writeJson(element)); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of RubricBasedEvaluatorDefinition from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of RubricBasedEvaluatorDefinition if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the RubricBasedEvaluatorDefinition. + */ + @Generated + public static RubricBasedEvaluatorDefinition fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + Map initParameters = null; + Map dataSchema = null; + Map metrics = null; + List rubricCriteria = null; + EvaluatorDefinitionType type = EvaluatorDefinitionType.RUBRICS; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("init_parameters".equals(fieldName)) { + initParameters = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); + } else if ("data_schema".equals(fieldName)) { + dataSchema = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); + } else if ("metrics".equals(fieldName)) { + metrics = reader.readMap(reader1 -> EvaluatorMetric.fromJson(reader1)); + } else if ("rubric_criteria".equals(fieldName)) { + rubricCriteria = reader.readArray(reader1 -> RubricCriterion.fromJson(reader1)); + } else if ("type".equals(fieldName)) { + type = EvaluatorDefinitionType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + RubricBasedEvaluatorDefinition deserializedRubricBasedEvaluatorDefinition + = new RubricBasedEvaluatorDefinition(rubricCriteria); + deserializedRubricBasedEvaluatorDefinition.setInitParameters(initParameters); + deserializedRubricBasedEvaluatorDefinition.setDataSchema(dataSchema); + deserializedRubricBasedEvaluatorDefinition.setMetrics(metrics); + deserializedRubricBasedEvaluatorDefinition.type = type; + return deserializedRubricBasedEvaluatorDefinition; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricCriterion.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricCriterion.java new file mode 100644 index 000000000000..dba7e7ee3ad7 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricCriterion.java @@ -0,0 +1,175 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A single rubric criterion — one measurable quality dimension in an evaluator's scoring blueprint. + */ +@Fluent +public final class RubricCriterion implements JsonSerializable { + + /* + * Stable identifier for this rubric criterion (snake_case, e.g., `correct_resolution`). Required. Provided by the + * user when manually creating a rubric evaluator or during human-in-the-loop review of a generated catalog; the + * generation pipeline produces an initial value the user can edit. Editable when saving new versions. + */ + @Generated + private final String rubricId; + + /* + * What this criterion measures (e.g., 'Correctly identifies the user's reservation intent and pursues the + * appropriate workflow'). + */ + @Generated + private final String description; + + /* + * Relative weight of this criterion (1-10). The generation pipeline assigns exactly one criterion weight 8-10; all + * others use 1-6. User edits are not constrained by this heuristic. + */ + @Generated + private final int weight; + + /* + * When true, the LLM judge always scores this criterion regardless of relevance (skips applicability assessment). + * The service-generated general quality/policy criterion has this set to true and is non-editable. Users may set + * this on their own custom criteria. + */ + @Generated + private Boolean alwaysApplicable; + + /** + * Creates an instance of RubricCriterion class. + * + * @param rubricId the rubricId value to set. + * @param description the description value to set. + * @param weight the weight value to set. + */ + @Generated + public RubricCriterion(String rubricId, String description, int weight) { + this.rubricId = rubricId; + this.description = description; + this.weight = weight; + } + + /** + * Get the rubricId property: Stable identifier for this rubric criterion (snake_case, e.g., `correct_resolution`). + * Required. Provided by the user when manually creating a rubric evaluator or during human-in-the-loop review of a + * generated catalog; the generation pipeline produces an initial value the user can edit. Editable when saving new + * versions. + * + * @return the rubricId value. + */ + @Generated + public String getRubricId() { + return this.rubricId; + } + + /** + * Get the description property: What this criterion measures (e.g., 'Correctly identifies the user's reservation + * intent and pursues the appropriate workflow'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Get the weight property: Relative weight of this criterion (1-10). The generation pipeline assigns exactly one + * criterion weight 8-10; all others use 1-6. User edits are not constrained by this heuristic. + * + * @return the weight value. + */ + @Generated + public int getWeight() { + return this.weight; + } + + /** + * Get the alwaysApplicable property: When true, the LLM judge always scores this criterion regardless of relevance + * (skips applicability assessment). The service-generated general quality/policy criterion has this set to true and + * is non-editable. Users may set this on their own custom criteria. + * + * @return the alwaysApplicable value. + */ + @Generated + public Boolean isAlwaysApplicable() { + return this.alwaysApplicable; + } + + /** + * Set the alwaysApplicable property: When true, the LLM judge always scores this criterion regardless of relevance + * (skips applicability assessment). The service-generated general quality/policy criterion has this set to true and + * is non-editable. Users may set this on their own custom criteria. + * + * @param alwaysApplicable the alwaysApplicable value to set. + * @return the RubricCriterion object itself. + */ + @Generated + public RubricCriterion setAlwaysApplicable(Boolean alwaysApplicable) { + this.alwaysApplicable = alwaysApplicable; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("rubric_id", this.rubricId); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeIntField("weight", this.weight); + jsonWriter.writeBooleanField("always_applicable", this.alwaysApplicable); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of RubricCriterion from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of RubricCriterion if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the RubricCriterion. + */ + @Generated + public static RubricCriterion fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String rubricId = null; + String description = null; + int weight = 0; + Boolean alwaysApplicable = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("rubric_id".equals(fieldName)) { + rubricId = reader.getString(); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("weight".equals(fieldName)) { + weight = reader.getInt(); + } else if ("always_applicable".equals(fieldName)) { + alwaysApplicable = reader.getNullable(JsonReader::getBoolean); + } else { + reader.skipChildren(); + } + } + RubricCriterion deserializedRubricCriterion = new RubricCriterion(rubricId, description, weight); + deserializedRubricCriterion.alwaysApplicable = alwaysApplicable; + return deserializedRubricCriterion; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java new file mode 100644 index 000000000000..a402185b034d --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java @@ -0,0 +1,155 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * The options for a data generation job with SimpleQnA type. + */ +@Fluent +public final class SimpleQnADataGenerationJobOptions extends DataGenerationJobOptions { + + /* + * The data generation job type. + */ + @Generated + private DataGenerationJobType type = DataGenerationJobType.SIMPLE_QNA; + + /* + * The question types to generate. Used only for fine-tuning scenarios. + */ + @Generated + private List questionTypes; + + /** + * Creates an instance of SimpleQnADataGenerationJobOptions class. + * + * @param maxSamples the maxSamples value to set. + */ + @Generated + public SimpleQnADataGenerationJobOptions(int maxSamples) { + super(maxSamples); + } + + /** + * Get the type property: The data generation job type. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobType getType() { + return this.type; + } + + /** + * Get the questionTypes property: The question types to generate. Used only for fine-tuning scenarios. + * + * @return the questionTypes value. + */ + @Generated + public List getQuestionTypes() { + return this.questionTypes; + } + + /** + * Set the questionTypes property: The question types to generate. Used only for fine-tuning scenarios. + * + * @param questionTypes the questionTypes value to set. + * @return the SimpleQnADataGenerationJobOptions object itself. + */ + @Generated + public SimpleQnADataGenerationJobOptions setQuestionTypes(List questionTypes) { + this.questionTypes = questionTypes; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public SimpleQnADataGenerationJobOptions setTrainSplit(Double trainSplit) { + super.setTrainSplit(trainSplit); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public SimpleQnADataGenerationJobOptions setModelOptions(DataGenerationModelOptions modelOptions) { + super.setModelOptions(modelOptions); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeIntField("max_samples", getMaxSamples()); + jsonWriter.writeNumberField("train_split", getTrainSplit()); + jsonWriter.writeJsonField("model_options", getModelOptions()); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeArrayField("question_types", this.questionTypes, + (writer, element) -> writer.writeString(element == null ? null : element.toString())); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SimpleQnADataGenerationJobOptions from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SimpleQnADataGenerationJobOptions if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the SimpleQnADataGenerationJobOptions. + */ + @Generated + public static SimpleQnADataGenerationJobOptions fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + int maxSamples = 0; + Double trainSplit = null; + DataGenerationModelOptions modelOptions = null; + DataGenerationJobType type = DataGenerationJobType.SIMPLE_QNA; + List questionTypes = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("max_samples".equals(fieldName)) { + maxSamples = reader.getInt(); + } else if ("train_split".equals(fieldName)) { + trainSplit = reader.getNullable(JsonReader::getDouble); + } else if ("model_options".equals(fieldName)) { + modelOptions = DataGenerationModelOptions.fromJson(reader); + } else if ("type".equals(fieldName)) { + type = DataGenerationJobType.fromString(reader.getString()); + } else if ("question_types".equals(fieldName)) { + questionTypes + = reader.readArray(reader1 -> SimpleQnAFineTuningQuestionType.fromString(reader1.getString())); + } else { + reader.skipChildren(); + } + } + SimpleQnADataGenerationJobOptions deserializedSimpleQnADataGenerationJobOptions + = new SimpleQnADataGenerationJobOptions(maxSamples); + deserializedSimpleQnADataGenerationJobOptions.setTrainSplit(trainSplit); + deserializedSimpleQnADataGenerationJobOptions.setModelOptions(modelOptions); + deserializedSimpleQnADataGenerationJobOptions.type = type; + deserializedSimpleQnADataGenerationJobOptions.questionTypes = questionTypes; + return deserializedSimpleQnADataGenerationJobOptions; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java new file mode 100644 index 000000000000..94515e5dd17e --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The supported question types for SimpleQnA data generation jobs used for fine-tuning scenarios. + */ +public final class SimpleQnAFineTuningQuestionType extends ExpandableStringEnum { + + /** + * Short answer question type. + */ + @Generated + public static final SimpleQnAFineTuningQuestionType SHORT_ANSWER = fromString("short_answer"); + + /** + * Long answer question type. + */ + @Generated + public static final SimpleQnAFineTuningQuestionType LONG_ANSWER = fromString("long_answer"); + + /** + * Creates a new instance of SimpleQnAFineTuningQuestionType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public SimpleQnAFineTuningQuestionType() { + } + + /** + * Creates or finds a SimpleQnAFineTuningQuestionType from its string representation. + * + * @param name a name to look for. + * @return the corresponding SimpleQnAFineTuningQuestionType. + */ + @Generated + public static SimpleQnAFineTuningQuestionType fromString(String name) { + return fromString(name, SimpleQnAFineTuningQuestionType.class); + } + + /** + * Gets known SimpleQnAFineTuningQuestionType values. + * + * @return known SimpleQnAFineTuningQuestionType values. + */ + @Generated + public static Collection values() { + return values(SimpleQnAFineTuningQuestionType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SystemDataV3.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SystemDataV3.java new file mode 100644 index 000000000000..5ae87ab33724 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SystemDataV3.java @@ -0,0 +1,144 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; + +/** + * System metadata for a resource. + */ +@Immutable +public final class SystemDataV3 implements JsonSerializable { + + /* + * Timestamp of resource creation + */ + @Generated + private Long createdAt; + + /* + * Identity that created the resource + */ + @Generated + private String createdBy; + + /* + * Type of identity that created the resource + */ + @Generated + private String createdByType; + + /* + * Timestamp of last resource modification + */ + @Generated + private Long lastModifiedAt; + + /** + * Creates an instance of SystemDataV3 class. + */ + @Generated + private SystemDataV3() { + } + + /** + * Get the createdAt property: Timestamp of resource creation. + * + * @return the createdAt value. + */ + @Generated + public OffsetDateTime getCreatedAt() { + if (this.createdAt == null) { + return null; + } + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.createdAt), ZoneOffset.UTC); + } + + /** + * Get the createdBy property: Identity that created the resource. + * + * @return the createdBy value. + */ + @Generated + public String getCreatedBy() { + return this.createdBy; + } + + /** + * Get the createdByType property: Type of identity that created the resource. + * + * @return the createdByType value. + */ + @Generated + public String getCreatedByType() { + return this.createdByType; + } + + /** + * Get the lastModifiedAt property: Timestamp of last resource modification. + * + * @return the lastModifiedAt value. + */ + @Generated + public OffsetDateTime getLastModifiedAt() { + if (this.lastModifiedAt == null) { + return null; + } + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.lastModifiedAt), ZoneOffset.UTC); + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeNumberField("createdAt", this.createdAt); + jsonWriter.writeStringField("createdBy", this.createdBy); + jsonWriter.writeStringField("createdByType", this.createdByType); + jsonWriter.writeNumberField("lastModifiedAt", this.lastModifiedAt); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SystemDataV3 from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SystemDataV3 if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the SystemDataV3. + */ + @Generated + public static SystemDataV3 fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + SystemDataV3 deserializedSystemDataV3 = new SystemDataV3(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("createdAt".equals(fieldName)) { + deserializedSystemDataV3.createdAt = reader.getNullable(JsonReader::getLong); + } else if ("createdBy".equals(fieldName)) { + deserializedSystemDataV3.createdBy = reader.getString(); + } else if ("createdByType".equals(fieldName)) { + deserializedSystemDataV3.createdByType = reader.getString(); + } else if ("lastModifiedAt".equals(fieldName)) { + deserializedSystemDataV3.lastModifiedAt = reader.getNullable(JsonReader::getLong); + } else { + reader.skipChildren(); + } + } + return deserializedSystemDataV3; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java new file mode 100644 index 000000000000..cb3ba51894f4 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java @@ -0,0 +1,119 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The options for a data generation job with ToolUse type. Used only for fine-tuning scenarios. + */ +@Fluent +public final class ToolUseFineTuningDataGenerationJobOptions extends DataGenerationJobOptions { + + /* + * The data generation job type. + */ + @Generated + private DataGenerationJobType type = DataGenerationJobType.TOOL_USE; + + /** + * Creates an instance of ToolUseFineTuningDataGenerationJobOptions class. + * + * @param maxSamples the maxSamples value to set. + */ + @Generated + public ToolUseFineTuningDataGenerationJobOptions(int maxSamples) { + super(maxSamples); + } + + /** + * Get the type property: The data generation job type. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public ToolUseFineTuningDataGenerationJobOptions setTrainSplit(Double trainSplit) { + super.setTrainSplit(trainSplit); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public ToolUseFineTuningDataGenerationJobOptions setModelOptions(DataGenerationModelOptions modelOptions) { + super.setModelOptions(modelOptions); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeIntField("max_samples", getMaxSamples()); + jsonWriter.writeNumberField("train_split", getTrainSplit()); + jsonWriter.writeJsonField("model_options", getModelOptions()); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ToolUseFineTuningDataGenerationJobOptions from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ToolUseFineTuningDataGenerationJobOptions if the JsonReader was pointing to an instance of + * it, or null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ToolUseFineTuningDataGenerationJobOptions. + */ + @Generated + public static ToolUseFineTuningDataGenerationJobOptions fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + int maxSamples = 0; + Double trainSplit = null; + DataGenerationModelOptions modelOptions = null; + DataGenerationJobType type = DataGenerationJobType.TOOL_USE; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("max_samples".equals(fieldName)) { + maxSamples = reader.getInt(); + } else if ("train_split".equals(fieldName)) { + trainSplit = reader.getNullable(JsonReader::getDouble); + } else if ("model_options".equals(fieldName)) { + modelOptions = DataGenerationModelOptions.fromJson(reader); + } else if ("type".equals(fieldName)) { + type = DataGenerationJobType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + ToolUseFineTuningDataGenerationJobOptions deserializedToolUseFineTuningDataGenerationJobOptions + = new ToolUseFineTuningDataGenerationJobOptions(maxSamples); + deserializedToolUseFineTuningDataGenerationJobOptions.setTrainSplit(trainSplit); + deserializedToolUseFineTuningDataGenerationJobOptions.setModelOptions(modelOptions); + deserializedToolUseFineTuningDataGenerationJobOptions.type = type; + return deserializedToolUseFineTuningDataGenerationJobOptions; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java new file mode 100644 index 000000000000..8c8ee0845c3f --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java @@ -0,0 +1,119 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The options for a data generation job with Traces type. + */ +@Fluent +public final class TracesDataGenerationJobOptions extends DataGenerationJobOptions { + + /* + * The data generation job type. + */ + @Generated + private DataGenerationJobType type = DataGenerationJobType.TRACES; + + /** + * Creates an instance of TracesDataGenerationJobOptions class. + * + * @param maxSamples the maxSamples value to set. + */ + @Generated + public TracesDataGenerationJobOptions(int maxSamples) { + super(maxSamples); + } + + /** + * Get the type property: The data generation job type. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public TracesDataGenerationJobOptions setTrainSplit(Double trainSplit) { + super.setTrainSplit(trainSplit); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public TracesDataGenerationJobOptions setModelOptions(DataGenerationModelOptions modelOptions) { + super.setModelOptions(modelOptions); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeIntField("max_samples", getMaxSamples()); + jsonWriter.writeNumberField("train_split", getTrainSplit()); + jsonWriter.writeJsonField("model_options", getModelOptions()); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TracesDataGenerationJobOptions from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TracesDataGenerationJobOptions if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the TracesDataGenerationJobOptions. + */ + @Generated + public static TracesDataGenerationJobOptions fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + int maxSamples = 0; + Double trainSplit = null; + DataGenerationModelOptions modelOptions = null; + DataGenerationJobType type = DataGenerationJobType.TRACES; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("max_samples".equals(fieldName)) { + maxSamples = reader.getInt(); + } else if ("train_split".equals(fieldName)) { + trainSplit = reader.getNullable(JsonReader::getDouble); + } else if ("model_options".equals(fieldName)) { + modelOptions = DataGenerationModelOptions.fromJson(reader); + } else if ("type".equals(fieldName)) { + type = DataGenerationJobType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + TracesDataGenerationJobOptions deserializedTracesDataGenerationJobOptions + = new TracesDataGenerationJobOptions(maxSamples); + deserializedTracesDataGenerationJobOptions.setTrainSplit(trainSplit); + deserializedTracesDataGenerationJobOptions.setModelOptions(modelOptions); + deserializedTracesDataGenerationJobOptions.type = type; + return deserializedTracesDataGenerationJobOptions; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java new file mode 100644 index 000000000000..dc7f5e360cdc --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java @@ -0,0 +1,328 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; + +/** + * Traces source for data generation jobs — conversation traces from Application Insights. + */ +@Fluent +public final class TracesDataGenerationJobSource extends DataGenerationJobSource { + + /* + * The type of source. + */ + @Generated + private DataGenerationJobSourceType type = DataGenerationJobSourceType.TRACES; + + /* + * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company + * refund policy document' or 'Describes the agent's core capabilities'). + */ + @Generated + private String description; + + /* + * The unique agent ID used to filter traces. Optional — when omitted, traces are filtered by `agent_name` (and + * `agent_version` if specified). + */ + @Generated + private String agentId; + + /* + * The agent name to fetch traces for. + */ + @Generated + private final String agentName; + + /* + * The agent version. If not specified, traces for ALL versions of the agent are included within the time window. + */ + @Generated + private String agentVersion; + + /* + * Start of the time window (Unix timestamp in seconds) for fetching traces. + */ + @Generated + private Long startTime; + + /* + * End of the time window (Unix timestamp in seconds). Defaults to current time. + */ + @Generated + private Long endTime; + + /* + * Maximum number of traces to retrieve. + */ + @Generated + private Integer maxTraces; + + /** + * Creates an instance of TracesDataGenerationJobSource class. + * + * @param agentName the agentName value to set. + */ + @Generated + public TracesDataGenerationJobSource(String agentName) { + this.agentName = agentName; + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @param description the description value to set. + * @return the TracesDataGenerationJobSource object itself. + */ + @Generated + public TracesDataGenerationJobSource setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the agentId property: The unique agent ID used to filter traces. Optional — when omitted, traces are filtered + * by `agent_name` (and `agent_version` if specified). + * + * @return the agentId value. + */ + @Generated + public String getAgentId() { + return this.agentId; + } + + /** + * Set the agentId property: The unique agent ID used to filter traces. Optional — when omitted, traces are filtered + * by `agent_name` (and `agent_version` if specified). + * + * @param agentId the agentId value to set. + * @return the TracesDataGenerationJobSource object itself. + */ + @Generated + public TracesDataGenerationJobSource setAgentId(String agentId) { + this.agentId = agentId; + return this; + } + + /** + * Get the agentName property: The agent name to fetch traces for. + * + * @return the agentName value. + */ + @Generated + public String getAgentName() { + return this.agentName; + } + + /** + * Get the agentVersion property: The agent version. If not specified, traces for ALL versions of the agent are + * included within the time window. + * + * @return the agentVersion value. + */ + @Generated + public String getAgentVersion() { + return this.agentVersion; + } + + /** + * Set the agentVersion property: The agent version. If not specified, traces for ALL versions of the agent are + * included within the time window. + * + * @param agentVersion the agentVersion value to set. + * @return the TracesDataGenerationJobSource object itself. + */ + @Generated + public TracesDataGenerationJobSource setAgentVersion(String agentVersion) { + this.agentVersion = agentVersion; + return this; + } + + /** + * Get the startTime property: Start of the time window (Unix timestamp in seconds) for fetching traces. + * + * @return the startTime value. + */ + @Generated + public OffsetDateTime getStartTime() { + if (this.startTime == null) { + return null; + } + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.startTime), ZoneOffset.UTC); + } + + /** + * Set the startTime property: Start of the time window (Unix timestamp in seconds) for fetching traces. + * + * @param startTime the startTime value to set. + * @return the TracesDataGenerationJobSource object itself. + */ + @Generated + public TracesDataGenerationJobSource setStartTime(OffsetDateTime startTime) { + if (startTime == null) { + this.startTime = null; + } else { + this.startTime = startTime.toEpochSecond(); + } + return this; + } + + /** + * Get the endTime property: End of the time window (Unix timestamp in seconds). Defaults to current time. + * + * @return the endTime value. + */ + @Generated + public OffsetDateTime getEndTime() { + if (this.endTime == null) { + return null; + } + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.endTime), ZoneOffset.UTC); + } + + /** + * Set the endTime property: End of the time window (Unix timestamp in seconds). Defaults to current time. + * + * @param endTime the endTime value to set. + * @return the TracesDataGenerationJobSource object itself. + */ + @Generated + public TracesDataGenerationJobSource setEndTime(OffsetDateTime endTime) { + if (endTime == null) { + this.endTime = null; + } else { + this.endTime = endTime.toEpochSecond(); + } + return this; + } + + /** + * Get the maxTraces property: Maximum number of traces to retrieve. + * + * @return the maxTraces value. + */ + @Generated + public Integer getMaxTraces() { + return this.maxTraces; + } + + /** + * Set the maxTraces property: Maximum number of traces to retrieve. + * + * @param maxTraces the maxTraces value to set. + * @return the TracesDataGenerationJobSource object itself. + */ + @Generated + public TracesDataGenerationJobSource setMaxTraces(Integer maxTraces) { + this.maxTraces = maxTraces; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("agent_name", this.agentName); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeStringField("agent_id", this.agentId); + jsonWriter.writeStringField("agent_version", this.agentVersion); + jsonWriter.writeNumberField("start_time", this.startTime); + jsonWriter.writeNumberField("end_time", this.endTime); + jsonWriter.writeNumberField("max_traces", this.maxTraces); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TracesDataGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TracesDataGenerationJobSource if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the TracesDataGenerationJobSource. + */ + @Generated + public static TracesDataGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String agentName = null; + DataGenerationJobSourceType type = DataGenerationJobSourceType.TRACES; + String description = null; + String agentId = null; + String agentVersion = null; + Long startTime = null; + Long endTime = null; + Integer maxTraces = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("agent_name".equals(fieldName)) { + agentName = reader.getString(); + } else if ("type".equals(fieldName)) { + type = DataGenerationJobSourceType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("agent_id".equals(fieldName)) { + agentId = reader.getString(); + } else if ("agent_version".equals(fieldName)) { + agentVersion = reader.getString(); + } else if ("start_time".equals(fieldName)) { + startTime = reader.getNullable(JsonReader::getLong); + } else if ("end_time".equals(fieldName)) { + endTime = reader.getNullable(JsonReader::getLong); + } else if ("max_traces".equals(fieldName)) { + maxTraces = reader.getNullable(JsonReader::getInt); + } else { + reader.skipChildren(); + } + } + TracesDataGenerationJobSource deserializedTracesDataGenerationJobSource + = new TracesDataGenerationJobSource(agentName); + deserializedTracesDataGenerationJobSource.type = type; + deserializedTracesDataGenerationJobSource.description = description; + deserializedTracesDataGenerationJobSource.agentId = agentId; + deserializedTracesDataGenerationJobSource.agentVersion = agentVersion; + deserializedTracesDataGenerationJobSource.startTime = startTime; + deserializedTracesDataGenerationJobSource.endTime = endTime; + deserializedTracesDataGenerationJobSource.maxTraces = maxTraces; + return deserializedTracesDataGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java new file mode 100644 index 000000000000..38651ef6d1e9 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java @@ -0,0 +1,328 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; + +/** + * Traces source for evaluator generation jobs — conversation traces from Application Insights. + */ +@Fluent +public final class TracesEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource { + + /* + * The type of source. + */ + @Generated + private EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.TRACES; + + /* + * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company + * refund policy document' or 'Describes the agent's core capabilities'). + */ + @Generated + private String description; + + /* + * The unique agent ID used to filter traces. Optional — when omitted, traces are filtered by `agent_name` (and + * `agent_version` if specified). + */ + @Generated + private String agentId; + + /* + * The agent name to fetch traces for. + */ + @Generated + private final String agentName; + + /* + * The agent version. If not specified, traces for ALL versions of the agent are included within the time window. + */ + @Generated + private String agentVersion; + + /* + * Start of the time window (Unix timestamp in seconds) for fetching traces. + */ + @Generated + private Long startTime; + + /* + * End of the time window (Unix timestamp in seconds). Defaults to current time. + */ + @Generated + private Long endTime; + + /* + * Maximum number of traces to retrieve. + */ + @Generated + private Integer maxTraces; + + /** + * Creates an instance of TracesEvaluatorGenerationJobSource class. + * + * @param agentName the agentName value to set. + */ + @Generated + public TracesEvaluatorGenerationJobSource(String agentName) { + this.agentName = agentName; + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + @Override + public EvaluatorGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @param description the description value to set. + * @return the TracesEvaluatorGenerationJobSource object itself. + */ + @Generated + public TracesEvaluatorGenerationJobSource setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the agentId property: The unique agent ID used to filter traces. Optional — when omitted, traces are filtered + * by `agent_name` (and `agent_version` if specified). + * + * @return the agentId value. + */ + @Generated + public String getAgentId() { + return this.agentId; + } + + /** + * Set the agentId property: The unique agent ID used to filter traces. Optional — when omitted, traces are filtered + * by `agent_name` (and `agent_version` if specified). + * + * @param agentId the agentId value to set. + * @return the TracesEvaluatorGenerationJobSource object itself. + */ + @Generated + public TracesEvaluatorGenerationJobSource setAgentId(String agentId) { + this.agentId = agentId; + return this; + } + + /** + * Get the agentName property: The agent name to fetch traces for. + * + * @return the agentName value. + */ + @Generated + public String getAgentName() { + return this.agentName; + } + + /** + * Get the agentVersion property: The agent version. If not specified, traces for ALL versions of the agent are + * included within the time window. + * + * @return the agentVersion value. + */ + @Generated + public String getAgentVersion() { + return this.agentVersion; + } + + /** + * Set the agentVersion property: The agent version. If not specified, traces for ALL versions of the agent are + * included within the time window. + * + * @param agentVersion the agentVersion value to set. + * @return the TracesEvaluatorGenerationJobSource object itself. + */ + @Generated + public TracesEvaluatorGenerationJobSource setAgentVersion(String agentVersion) { + this.agentVersion = agentVersion; + return this; + } + + /** + * Get the startTime property: Start of the time window (Unix timestamp in seconds) for fetching traces. + * + * @return the startTime value. + */ + @Generated + public OffsetDateTime getStartTime() { + if (this.startTime == null) { + return null; + } + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.startTime), ZoneOffset.UTC); + } + + /** + * Set the startTime property: Start of the time window (Unix timestamp in seconds) for fetching traces. + * + * @param startTime the startTime value to set. + * @return the TracesEvaluatorGenerationJobSource object itself. + */ + @Generated + public TracesEvaluatorGenerationJobSource setStartTime(OffsetDateTime startTime) { + if (startTime == null) { + this.startTime = null; + } else { + this.startTime = startTime.toEpochSecond(); + } + return this; + } + + /** + * Get the endTime property: End of the time window (Unix timestamp in seconds). Defaults to current time. + * + * @return the endTime value. + */ + @Generated + public OffsetDateTime getEndTime() { + if (this.endTime == null) { + return null; + } + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.endTime), ZoneOffset.UTC); + } + + /** + * Set the endTime property: End of the time window (Unix timestamp in seconds). Defaults to current time. + * + * @param endTime the endTime value to set. + * @return the TracesEvaluatorGenerationJobSource object itself. + */ + @Generated + public TracesEvaluatorGenerationJobSource setEndTime(OffsetDateTime endTime) { + if (endTime == null) { + this.endTime = null; + } else { + this.endTime = endTime.toEpochSecond(); + } + return this; + } + + /** + * Get the maxTraces property: Maximum number of traces to retrieve. + * + * @return the maxTraces value. + */ + @Generated + public Integer getMaxTraces() { + return this.maxTraces; + } + + /** + * Set the maxTraces property: Maximum number of traces to retrieve. + * + * @param maxTraces the maxTraces value to set. + * @return the TracesEvaluatorGenerationJobSource object itself. + */ + @Generated + public TracesEvaluatorGenerationJobSource setMaxTraces(Integer maxTraces) { + this.maxTraces = maxTraces; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("agent_name", this.agentName); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeStringField("agent_id", this.agentId); + jsonWriter.writeStringField("agent_version", this.agentVersion); + jsonWriter.writeNumberField("start_time", this.startTime); + jsonWriter.writeNumberField("end_time", this.endTime); + jsonWriter.writeNumberField("max_traces", this.maxTraces); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TracesEvaluatorGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TracesEvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the TracesEvaluatorGenerationJobSource. + */ + @Generated + public static TracesEvaluatorGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String agentName = null; + EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.TRACES; + String description = null; + String agentId = null; + String agentVersion = null; + Long startTime = null; + Long endTime = null; + Integer maxTraces = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("agent_name".equals(fieldName)) { + agentName = reader.getString(); + } else if ("type".equals(fieldName)) { + type = EvaluatorGenerationJobSourceType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("agent_id".equals(fieldName)) { + agentId = reader.getString(); + } else if ("agent_version".equals(fieldName)) { + agentVersion = reader.getString(); + } else if ("start_time".equals(fieldName)) { + startTime = reader.getNullable(JsonReader::getLong); + } else if ("end_time".equals(fieldName)) { + endTime = reader.getNullable(JsonReader::getLong); + } else if ("max_traces".equals(fieldName)) { + maxTraces = reader.getNullable(JsonReader::getInt); + } else { + reader.skipChildren(); + } + } + TracesEvaluatorGenerationJobSource deserializedTracesEvaluatorGenerationJobSource + = new TracesEvaluatorGenerationJobSource(agentName); + deserializedTracesEvaluatorGenerationJobSource.type = type; + deserializedTracesEvaluatorGenerationJobSource.description = description; + deserializedTracesEvaluatorGenerationJobSource.agentId = agentId; + deserializedTracesEvaluatorGenerationJobSource.agentVersion = agentVersion; + deserializedTracesEvaluatorGenerationJobSource.startTime = startTime; + deserializedTracesEvaluatorGenerationJobSource.endTime = endTime; + deserializedTracesEvaluatorGenerationJobSource.maxTraces = maxTraces; + return deserializedTracesEvaluatorGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java new file mode 100644 index 000000000000..8d1e862382c8 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java @@ -0,0 +1,190 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.ai.projects.implementation.JsonMergePatchHelper; +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.HashSet; +import java.util.Map; +import java.util.Set; + +/** + * Request body for updating a model version. Only description and tags can be modified. + */ +@Fluent +public final class UpdateModelVersionRequest implements JsonSerializable { + + /* + * The asset description text. + */ + @Generated + private String description; + + /* + * Tag dictionary. Tags can be added, removed, and updated. + */ + @Generated + private Map tags; + + /** + * Stores updated model property, the value is property name, not serialized name. + */ + @Generated + private final Set updatedProperties = new HashSet<>(); + + @Generated + private boolean jsonMergePatch; + + @Generated + private void serializeAsJsonMergePatch(boolean jsonMergePatch) { + this.jsonMergePatch = jsonMergePatch; + } + + static { + JsonMergePatchHelper + .setUpdateModelVersionRequestAccessor(new JsonMergePatchHelper.UpdateModelVersionRequestAccessor() { + + @Override + public UpdateModelVersionRequest prepareModelForJsonMergePatch(UpdateModelVersionRequest model, + boolean jsonMergePatchEnabled) { + model.serializeAsJsonMergePatch(jsonMergePatchEnabled); + return model; + } + + @Override + public boolean isJsonMergePatch(UpdateModelVersionRequest model) { + return model.jsonMergePatch; + } + }); + } + + /** + * Creates an instance of UpdateModelVersionRequest class. + */ + @Generated + public UpdateModelVersionRequest() { + } + + /** + * Get the description property: The asset description text. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: The asset description text. + * + * @param description the description value to set. + * @return the UpdateModelVersionRequest object itself. + */ + @Generated + public UpdateModelVersionRequest setDescription(String description) { + this.description = description; + this.updatedProperties.add("description"); + return this; + } + + /** + * Get the tags property: Tag dictionary. Tags can be added, removed, and updated. + * + * @return the tags value. + */ + @Generated + public Map getTags() { + return this.tags; + } + + /** + * Set the tags property: Tag dictionary. Tags can be added, removed, and updated. + * + * @param tags the tags value to set. + * @return the UpdateModelVersionRequest object itself. + */ + @Generated + public UpdateModelVersionRequest setTags(Map tags) { + this.tags = tags; + this.updatedProperties.add("tags"); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + if (jsonMergePatch) { + return toJsonMergePatch(jsonWriter); + } else { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + } + + @Generated + private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + if (updatedProperties.contains("description")) { + if (this.description == null) { + jsonWriter.writeNullField("description"); + } else { + jsonWriter.writeStringField("description", this.description); + } + } + if (updatedProperties.contains("tags")) { + if (this.tags == null) { + jsonWriter.writeNullField("tags"); + } else { + jsonWriter.writeMapField("tags", this.tags, (writer, element) -> { + if (element != null) { + writer.writeString(element); + } else { + writer.writeNull(); + } + }); + } + } + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of UpdateModelVersionRequest from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of UpdateModelVersionRequest if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IOException If an error occurs while reading the UpdateModelVersionRequest. + */ + @Generated + public static UpdateModelVersionRequest fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + UpdateModelVersionRequest deserializedUpdateModelVersionRequest = new UpdateModelVersionRequest(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("description".equals(fieldName)) { + deserializedUpdateModelVersionRequest.description = reader.getString(); + } else if ("tags".equals(fieldName)) { + Map tags = reader.readMap(reader1 -> reader1.getString()); + deserializedUpdateModelVersionRequest.tags = tags; + } else { + reader.skipChildren(); + } + } + return deserializedUpdateModelVersionRequest; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json index 57d4ac02a60d..67ddb84fa536 100644 --- a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json +++ b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateSkillRequest":"Azure.AI.Projects.createSkill.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SkillDetails":"Azure.AI.Projects.SkillObject","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.TargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SkillDetails.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient":"Azure.AI.Projects.EvaluatorGenerationJobs","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorGenerationJobsClient":"Azure.AI.Projects.EvaluatorGenerationJobs","com.azure.ai.projects.EvaluatorGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateSkillRequest":"Azure.AI.Projects.createSkill.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetDataGenerationJobSource":"Azure.AI.Projects.DatasetDataGenerationJobSource","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RedTeamTargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.RubricCriterion":"Azure.AI.Projects.RubricCriterion","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.SkillDetails":"Azure.AI.Projects.SkillObject","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RedTeamTargetConfig.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/RubricCriterion.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/SkillDetails.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml b/sdk/ai/azure-ai-projects/tsp-location.yaml index b882d1e77f00..2745f41e4e54 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: 0018a7750744ebf7d78f6c67459c4e40c1967433 +commit: c63598fa9cf556376a4d21fded4907507bd20f7e repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From 420fcf5aa2aff8c5dd42c7c18dad979a8735e5ed Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 12 May 2026 02:08:37 -0700 Subject: [PATCH 02/74] suppress spellcheck for dedup --- sdk/ai/azure-ai-agents/cspell.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/ai/azure-ai-agents/cspell.yaml b/sdk/ai/azure-ai-agents/cspell.yaml index d8163c7781be..b10fb66c7d71 100644 --- a/sdk/ai/azure-ai-agents/cspell.yaml +++ b/sdk/ai/azure-ai-agents/cspell.yaml @@ -3,4 +3,5 @@ import: overrides: - filename: "**/sdk/ai/azure-ai-agents/*" words: - - gitmcp \ No newline at end of file + - dedup + - gitmcp From 8c961ff9778edfd6eee374b904c6c44601947789 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 12 May 2026 17:32:00 -0700 Subject: [PATCH 03/74] add checkstyle suppressions --- sdk/ai/azure-ai-agents/checkstyle-suppressions.xml | 1 + sdk/ai/azure-ai-projects/checkstyle-suppressions.xml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/sdk/ai/azure-ai-agents/checkstyle-suppressions.xml b/sdk/ai/azure-ai-agents/checkstyle-suppressions.xml index 74da60b659da..cd4de4aab2fa 100644 --- a/sdk/ai/azure-ai-agents/checkstyle-suppressions.xml +++ b/sdk/ai/azure-ai-agents/checkstyle-suppressions.xml @@ -28,4 +28,5 @@ + diff --git a/sdk/ai/azure-ai-projects/checkstyle-suppressions.xml b/sdk/ai/azure-ai-projects/checkstyle-suppressions.xml index b3e38d331800..2620a491e8f6 100644 --- a/sdk/ai/azure-ai-projects/checkstyle-suppressions.xml +++ b/sdk/ai/azure-ai-projects/checkstyle-suppressions.xml @@ -6,4 +6,6 @@ + + From 2f2fcdb1ebec96bf405ccc48992eca0f9e0ff55a Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 12 May 2026 17:38:10 -0700 Subject: [PATCH 04/74] rename targetconfig --- .../azure/ai/projects/ModelsAsyncClient.java | 182 +++++++++--------- .../com/azure/ai/projects/ModelsClient.java | 178 ++++++++--------- .../models/AzureOpenAIModelConfiguration.java | 2 +- .../com/azure/ai/projects/models/RedTeam.java | 10 +- ...eamTargetConfig.java => TargetConfig.java} | 24 +-- .../META-INF/azure-ai-projects_metadata.json | 2 +- sdk/ai/azure-ai-projects/tsp-location.yaml | 2 +- 7 files changed, 200 insertions(+), 200 deletions(-) rename sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/{RedTeamTargetConfig.java => TargetConfig.java} (76%) diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java index 94b92467c6a9..00cbf18a8795 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java @@ -348,75 +348,6 @@ public Mono> updateModelVersionWithResponse(String name, St return this.serviceClient.updateModelVersionWithResponseAsync(name, version, body, requestOptions); } - /** - * Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a Location header - * for polling. - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     systemData (Optional): {
-     *         createdAt: Long (Optional)
-     *         createdBy: String (Optional)
-     *         createdByType: String (Optional)
-     *         lastModifiedAt: Long (Optional)
-     *     }
-     *     blobUri: String (Required)
-     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
-     *     baseModel: String (Optional)
-     *     source (Optional): {
-     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
-     *         jobId: String (Optional)
-     *     }
-     *     loraConfig (Optional): {
-     *         rank: Integer (Optional)
-     *         alpha: Integer (Optional)
-     *         targetModules (Optional): [
-     *             String (Optional)
-     *         ]
-     *         dropout: Double (Optional)
-     *     }
-     *     artifactProfile (Optional): {
-     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
-     *         signals (Optional): [
-     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
-     *         ]
-     *     }
-     *     warnings (Optional): [
-     *          (Optional){
-     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
-     *             message: String (Optional)
-     *         }
-     *     ]
-     *     id: String (Optional)
-     *     name: String (Required)
-     *     version: String (Required)
-     *     description: String (Optional)
-     *     tags (Optional): {
-     *         String: String (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param name Name of the model. - * @param version Version of the model. - * @param body Model version to create. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createModelVersionAsyncWithResponse(String name, String version, BinaryData body, - RequestOptions requestOptions) { - return this.serviceClient.createModelVersionAsyncWithResponseAsync(name, version, body, requestOptions); - } - /** * Start or retrieve a pending upload for a model version. *

Request Body Schema

@@ -652,31 +583,31 @@ public Mono updateModelVersion(String name, String version, Update } /** - * Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a Location header - * for polling. + * Start or retrieve a pending upload for a model version. * * @param name Name of the model. * @param version Version of the model. - * @param body Model version to create. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return represents the response for a pending upload request on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createModelVersionAsync(String name, String version, ModelVersion body) { - // Generated convenience method for createModelVersionAsyncWithResponse + public Mono startModelPendingUpload(String name, String version, PendingUploadRequest body) { + // Generated convenience method for startModelPendingUploadWithResponse RequestOptions requestOptions = new RequestOptions(); - return createModelVersionAsyncWithResponse(name, version, BinaryData.fromObject(body), requestOptions) - .flatMap(FluxUtil::toMono); + return startModelPendingUploadWithResponse(name, version, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(PendingUploadResponse.class)); } /** - * Start or retrieve a pending upload for a model version. + * Get credentials for a model version asset. * * @param name Name of the model. * @param version Version of the model. @@ -687,39 +618,108 @@ public Mono createModelVersionAsync(String name, String version, ModelVers * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return represents the response for a pending upload request on successful completion of {@link Mono}. + * @return credentials for a model version asset on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startModelPendingUpload(String name, String version, PendingUploadRequest body) { - // Generated convenience method for startModelPendingUploadWithResponse + public Mono getModelCredentials(String name, String version, ModelCredentialRequest body) { + // Generated convenience method for getModelCredentialsWithResponse RequestOptions requestOptions = new RequestOptions(); - return startModelPendingUploadWithResponse(name, version, BinaryData.fromObject(body), requestOptions) + return getModelCredentialsWithResponse(name, version, BinaryData.fromObject(body), requestOptions) .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(PendingUploadResponse.class)); + .map(protocolMethodData -> protocolMethodData.toObject(DatasetCredential.class)); } /** - * Get credentials for a model version asset. + * Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a Location header + * for polling. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
* * @param name Name of the model. * @param version Version of the model. - * @param body The body parameter. + * @param body Model version to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createModelVersionAsyncWithResponse(String name, String version, BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.createModelVersionAsyncWithResponseAsync(name, version, body, requestOptions); + } + + /** + * Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a Location header + * for polling. + * + * @param name Name of the model. + * @param version Version of the model. + * @param body Model version to create. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return credentials for a model version asset on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getModelCredentials(String name, String version, ModelCredentialRequest body) { - // Generated convenience method for getModelCredentialsWithResponse + public Mono createModelVersionAsync(String name, String version, ModelVersion body) { + // Generated convenience method for createModelVersionAsyncWithResponse RequestOptions requestOptions = new RequestOptions(); - return getModelCredentialsWithResponse(name, version, BinaryData.fromObject(body), requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(DatasetCredential.class)); + return createModelVersionAsyncWithResponse(name, version, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java index 75efc04da056..d78fa7c24717 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java @@ -340,75 +340,6 @@ public Response updateModelVersionWithResponse(String name, String v return this.serviceClient.updateModelVersionWithResponse(name, version, body, requestOptions); } - /** - * Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a Location header - * for polling. - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     systemData (Optional): {
-     *         createdAt: Long (Optional)
-     *         createdBy: String (Optional)
-     *         createdByType: String (Optional)
-     *         lastModifiedAt: Long (Optional)
-     *     }
-     *     blobUri: String (Required)
-     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
-     *     baseModel: String (Optional)
-     *     source (Optional): {
-     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
-     *         jobId: String (Optional)
-     *     }
-     *     loraConfig (Optional): {
-     *         rank: Integer (Optional)
-     *         alpha: Integer (Optional)
-     *         targetModules (Optional): [
-     *             String (Optional)
-     *         ]
-     *         dropout: Double (Optional)
-     *     }
-     *     artifactProfile (Optional): {
-     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
-     *         signals (Optional): [
-     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
-     *         ]
-     *     }
-     *     warnings (Optional): [
-     *          (Optional){
-     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
-     *             message: String (Optional)
-     *         }
-     *     ]
-     *     id: String (Optional)
-     *     name: String (Required)
-     *     version: String (Required)
-     *     description: String (Optional)
-     *     tags (Optional): {
-     *         String: String (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param name Name of the model. - * @param version Version of the model. - * @param body Model version to create. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response createModelVersionAsyncWithResponse(String name, String version, BinaryData body, - RequestOptions requestOptions) { - return this.serviceClient.createModelVersionAsyncWithResponse(name, version, body, requestOptions); - } - /** * Start or retrieve a pending upload for a model version. *

Request Body Schema

@@ -618,29 +549,31 @@ public ModelVersion updateModelVersion(String name, String version, UpdateModelV } /** - * Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a Location header - * for polling. + * Start or retrieve a pending upload for a model version. * * @param name Name of the model. * @param version Version of the model. - * @param body Model version to create. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents the response for a pending upload request. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public void createModelVersionAsync(String name, String version, ModelVersion body) { - // Generated convenience method for createModelVersionAsyncWithResponse + public PendingUploadResponse startModelPendingUpload(String name, String version, PendingUploadRequest body) { + // Generated convenience method for startModelPendingUploadWithResponse RequestOptions requestOptions = new RequestOptions(); - createModelVersionAsyncWithResponse(name, version, BinaryData.fromObject(body), requestOptions).getValue(); + return startModelPendingUploadWithResponse(name, version, BinaryData.fromObject(body), requestOptions) + .getValue() + .toObject(PendingUploadResponse.class); } /** - * Start or retrieve a pending upload for a model version. + * Get credentials for a model version asset. * * @param name Name of the model. * @param version Version of the model. @@ -651,38 +584,105 @@ public void createModelVersionAsync(String name, String version, ModelVersion bo * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return represents the response for a pending upload request. + * @return credentials for a model version asset. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public PendingUploadResponse startModelPendingUpload(String name, String version, PendingUploadRequest body) { - // Generated convenience method for startModelPendingUploadWithResponse + public DatasetCredential getModelCredentials(String name, String version, ModelCredentialRequest body) { + // Generated convenience method for getModelCredentialsWithResponse RequestOptions requestOptions = new RequestOptions(); - return startModelPendingUploadWithResponse(name, version, BinaryData.fromObject(body), requestOptions) - .getValue() - .toObject(PendingUploadResponse.class); + return getModelCredentialsWithResponse(name, version, BinaryData.fromObject(body), requestOptions).getValue() + .toObject(DatasetCredential.class); } /** - * Get credentials for a model version asset. + * Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a Location header + * for polling. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     systemData (Optional): {
+     *         createdAt: Long (Optional)
+     *         createdBy: String (Optional)
+     *         createdByType: String (Optional)
+     *         lastModifiedAt: Long (Optional)
+     *     }
+     *     blobUri: String (Required)
+     *     weightType: String(FullWeight/LoRA/DraftModel) (Optional)
+     *     baseModel: String (Optional)
+     *     source (Optional): {
+     *         sourceType: String(LocalUpload/TrainingJob) (Optional)
+     *         jobId: String (Optional)
+     *     }
+     *     loraConfig (Optional): {
+     *         rank: Integer (Optional)
+     *         alpha: Integer (Optional)
+     *         targetModules (Optional): [
+     *             String (Optional)
+     *         ]
+     *         dropout: Double (Optional)
+     *     }
+     *     artifactProfile (Optional): {
+     *         category: String(DataOnly/RuntimeDependent/Unknown) (Required)
+     *         signals (Optional): [
+     *             String(PickleDeserialization/CustomPythonCode/DynamicOps/NativeBinary/UnknownFormat) (Optional)
+     *         ]
+     *     }
+     *     warnings (Optional): [
+     *          (Optional){
+     *             code: String(RuntimeDependentArtifact/UnclassifiedArtifact) (Optional)
+     *             message: String (Optional)
+     *         }
+     *     ]
+     *     id: String (Optional)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Optional)
+     *     tags (Optional): {
+     *         String: String (Required)
+     *     }
+     * }
+     * }
+     * 
* * @param name Name of the model. * @param version Version of the model. - * @param body The body parameter. + * @param body Model version to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createModelVersionAsyncWithResponse(String name, String version, BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.createModelVersionAsyncWithResponse(name, version, body, requestOptions); + } + + /** + * Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a Location header + * for polling. + * + * @param name Name of the model. + * @param version Version of the model. + * @param body Model version to create. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return credentials for a model version asset. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public DatasetCredential getModelCredentials(String name, String version, ModelCredentialRequest body) { - // Generated convenience method for getModelCredentialsWithResponse + public void createModelVersionAsync(String name, String version, ModelVersion body) { + // Generated convenience method for createModelVersionAsyncWithResponse RequestOptions requestOptions = new RequestOptions(); - return getModelCredentialsWithResponse(name, version, BinaryData.fromObject(body), requestOptions).getValue() - .toObject(DatasetCredential.class); + createModelVersionAsyncWithResponse(name, version, BinaryData.fromObject(body), requestOptions).getValue(); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java index 658842c0e969..f89a2326b106 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java @@ -14,7 +14,7 @@ * Azure OpenAI model configuration. The API version would be selected by the service for querying the model. */ @Immutable -public final class AzureOpenAIModelConfiguration extends RedTeamTargetConfig { +public final class AzureOpenAIModelConfiguration extends TargetConfig { /* * Type of the model configuration. diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RedTeam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RedTeam.java index 464739894c97..419103b6db15 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RedTeam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RedTeam.java @@ -84,7 +84,7 @@ public final class RedTeam implements JsonSerializable { * Target configuration for the red-team run. */ @Generated - private final RedTeamTargetConfig target; + private final TargetConfig target; /** * Get the name property: Identifier of the red team run. @@ -294,7 +294,7 @@ public String getStatus() { * @return the target value. */ @Generated - public RedTeamTargetConfig getTarget() { + public TargetConfig getTarget() { return this.target; } @@ -332,7 +332,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { public static RedTeam fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String name = null; - RedTeamTargetConfig target = null; + TargetConfig target = null; String displayName = null; Integer numTurns = null; List attackStrategies = null; @@ -348,7 +348,7 @@ public static RedTeam fromJson(JsonReader jsonReader) throws IOException { if ("id".equals(fieldName)) { name = reader.getString(); } else if ("target".equals(fieldName)) { - target = RedTeamTargetConfig.fromJson(reader); + target = TargetConfig.fromJson(reader); } else if ("displayName".equals(fieldName)) { displayName = reader.getString(); } else if ("numTurns".equals(fieldName)) { @@ -392,7 +392,7 @@ public static RedTeam fromJson(JsonReader jsonReader) throws IOException { * @param target the target value to set. */ @Generated - public RedTeam(RedTeamTargetConfig target) { + public RedTeam(TargetConfig target) { this.target = target; } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RedTeamTargetConfig.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TargetConfig.java similarity index 76% rename from sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RedTeamTargetConfig.java rename to sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TargetConfig.java index e9f3d81150d5..a131dddf51d2 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RedTeamTargetConfig.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TargetConfig.java @@ -15,19 +15,19 @@ * Abstract class for target configuration. */ @Immutable -public class RedTeamTargetConfig implements JsonSerializable { +public class TargetConfig implements JsonSerializable { /* * Type of the model configuration. */ @Generated - private String type = "RedTeamTargetConfig"; + private String type = "TargetConfig"; /** - * Creates an instance of RedTeamTargetConfig class. + * Creates an instance of TargetConfig class. */ @Generated - public RedTeamTargetConfig() { + public TargetConfig() { } /** @@ -52,15 +52,15 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of RedTeamTargetConfig from the JsonReader. + * Reads an instance of TargetConfig from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of RedTeamTargetConfig if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of TargetConfig if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. - * @throws IOException If an error occurs while reading the RedTeamTargetConfig. + * @throws IOException If an error occurs while reading the TargetConfig. */ @Generated - public static RedTeamTargetConfig fromJson(JsonReader jsonReader) throws IOException { + public static TargetConfig fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { @@ -87,19 +87,19 @@ public static RedTeamTargetConfig fromJson(JsonReader jsonReader) throws IOExcep } @Generated - static RedTeamTargetConfig fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + static TargetConfig fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - RedTeamTargetConfig deserializedRedTeamTargetConfig = new RedTeamTargetConfig(); + TargetConfig deserializedTargetConfig = new TargetConfig(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("type".equals(fieldName)) { - deserializedRedTeamTargetConfig.type = reader.getString(); + deserializedTargetConfig.type = reader.getString(); } else { reader.skipChildren(); } } - return deserializedRedTeamTargetConfig; + return deserializedTargetConfig; }); } } diff --git a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json index 67ddb84fa536..c0cc9783f260 100644 --- a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json +++ b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient":"Azure.AI.Projects.EvaluatorGenerationJobs","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorGenerationJobsClient":"Azure.AI.Projects.EvaluatorGenerationJobs","com.azure.ai.projects.EvaluatorGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateSkillRequest":"Azure.AI.Projects.createSkill.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetDataGenerationJobSource":"Azure.AI.Projects.DatasetDataGenerationJobSource","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RedTeamTargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.RubricCriterion":"Azure.AI.Projects.RubricCriterion","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.SkillDetails":"Azure.AI.Projects.SkillObject","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RedTeamTargetConfig.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/RubricCriterion.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/SkillDetails.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient":"Azure.AI.Projects.EvaluatorGenerationJobs","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorGenerationJobsClient":"Azure.AI.Projects.EvaluatorGenerationJobs","com.azure.ai.projects.EvaluatorGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateSkillRequest":"Azure.AI.Projects.createSkill.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetDataGenerationJobSource":"Azure.AI.Projects.DatasetDataGenerationJobSource","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.RubricCriterion":"Azure.AI.Projects.RubricCriterion","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.SkillDetails":"Azure.AI.Projects.SkillObject","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/RubricCriterion.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/SkillDetails.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml b/sdk/ai/azure-ai-projects/tsp-location.yaml index 2745f41e4e54..c7b4150e6ab1 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: c63598fa9cf556376a4d21fded4907507bd20f7e +commit: 9cca5c54a2c61304b7ff72d90ef444ee23326928 repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From 8b3e81148e568429be3ac12c4e0373648b83c34b Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 12 May 2026 17:49:31 -0700 Subject: [PATCH 05/74] add custom overload --- .../ai/projects/models/ModelSamplingParams.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java index 22344d442c96..1f426da2f357 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java @@ -133,6 +133,21 @@ public static ModelSamplingParams fromJson(JsonReader jsonReader) throws IOExcep public ModelSamplingParams() { } + /** + * Creates an instance of ModelSamplingParams class. + * + * @param temperature the temperature value to set. + * @param topP the topP value to set. + * @param seed the seed value to set. + * @param maxCompletionTokens the maxCompletionTokens value to set. + */ + public ModelSamplingParams(double temperature, double topP, int seed, int maxCompletionTokens) { + this.temperature = temperature; + this.topP = topP; + this.seed = seed; + this.maxCompletionTokens = maxCompletionTokens; + } + /** * Set the temperature property: The temperature parameter for sampling. Defaults to 1.0. * From 3eac3e7903e37ff3886cd517e4c08cfecdd0b384 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 12 May 2026 18:03:09 -0700 Subject: [PATCH 06/74] unhide tsp location --- sdk/ai/azure-ai-agents/tsp-location.yaml.hide | 13 ------------- .../{tsp-location.yaml.hide => tsp-location.yaml} | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 sdk/ai/azure-ai-agents/tsp-location.yaml.hide rename sdk/ai/azure-ai-projects/{tsp-location.yaml.hide => tsp-location.yaml} (71%) diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml.hide b/sdk/ai/azure-ai-agents/tsp-location.yaml.hide deleted file mode 100644 index 41216b50f846..000000000000 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml.hide +++ /dev/null @@ -1,13 +0,0 @@ -directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: a833499a35901cdbbf8cd5dc637e3dc813d951c0 -repo: Azure/azure-rest-api-specs -additionalDirectories: - - specification/ai-foundry/data-plane/Foundry/src/agents - - specification/ai-foundry/data-plane/Foundry/src/common - - specification/ai-foundry/data-plane/Foundry/src/memory-stores - - specification/ai-foundry/data-plane/Foundry/src/openai-conversations - - specification/ai-foundry/data-plane/Foundry/src/openai-responses - - specification/ai-foundry/data-plane/Foundry/src/tools - - specification/ai-foundry/data-plane/Foundry/src/servicepatterns.tsp - - specification/ai-foundry/data-plane/Foundry/src/toolboxes - - specification/ai-foundry/data-plane/Foundry/src/agents-session-files diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml.hide b/sdk/ai/azure-ai-projects/tsp-location.yaml similarity index 71% rename from sdk/ai/azure-ai-projects/tsp-location.yaml.hide rename to sdk/ai/azure-ai-projects/tsp-location.yaml index c7b4150e6ab1..2745f41e4e54 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml.hide +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: 9cca5c54a2c61304b7ff72d90ef444ee23326928 +commit: c63598fa9cf556376a4d21fded4907507bd20f7e repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From 5e789994ea05859ab891d2891310c31ee69d8b57 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 12 May 2026 18:15:46 -0700 Subject: [PATCH 07/74] regen --- .../azure/ai/agents/AgentsAsyncClient.java | 22 ++++----- .../com/azure/ai/agents/AgentsClient.java | 22 ++++----- .../ai/agents/implementation/AgentsImpl.java | 48 +++++++++---------- .../agents/models/AgentEndpointProtocol.java | 6 +++ .../azure/ai/agents/models/AgentProtocol.java | 6 +++ sdk/ai/azure-ai-agents/tsp-location.yaml | 2 +- 6 files changed, 59 insertions(+), 47 deletions(-) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java index a37b117e1d85..18282421173a 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java @@ -108,7 +108,7 @@ public final class AgentsAsyncClient { * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -514,7 +514,7 @@ public Mono createAgentVersion(String agentName, AgentDefin * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -590,7 +590,7 @@ public Mono createAgentVersion(String agentName, AgentDefin * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -718,7 +718,7 @@ Mono> createAgentWithResponse(BinaryData createAgentRequest * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -868,7 +868,7 @@ Mono updateAgent(String agentName, AgentDefinition definition) { * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -983,7 +983,7 @@ Mono> createAgentFromManifestWithResponse(BinaryData create * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1533,7 +1533,7 @@ public PagedFlux listAgentVersions(String agentName, Intege * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2343,7 +2343,7 @@ public Mono> getSessionLogStreamWithResponse(String agentNa * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2419,7 +2419,7 @@ public Mono> getSessionLogStreamWithResponse(String agentNa * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2671,7 +2671,7 @@ public Mono updateAgentDetails(String agentName, UpdateAgentDetail * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2788,7 +2788,7 @@ Mono> createAgentFromCodeWithResponse(String agentName, Str * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java index 005b7bf972ba..7ef69f512dfb 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java @@ -102,7 +102,7 @@ public final class AgentsClient { * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -481,7 +481,7 @@ public AgentVersionDetails createAgentVersion(String agentName, AgentDefinition * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -557,7 +557,7 @@ public AgentVersionDetails createAgentVersion(String agentName, AgentDefinition * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -685,7 +685,7 @@ Response createAgentWithResponse(BinaryData createAgentRequest, Requ * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -835,7 +835,7 @@ AgentDetails updateAgent(String agentName, AgentDefinition definition) { * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -949,7 +949,7 @@ Response createAgentFromManifestWithResponse(BinaryData createAgentF * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1469,7 +1469,7 @@ public PagedIterable listAgentVersions(String agentName, In * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2224,7 +2224,7 @@ public Response getSessionLogStreamWithResponse(String agentName, St * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2300,7 +2300,7 @@ public Response getSessionLogStreamWithResponse(String agentName, St * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2547,7 +2547,7 @@ public AgentDetails updateAgentDetails(String agentName, UpdateAgentDetailsOptio * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2663,7 +2663,7 @@ Response createAgentFromCodeWithResponse(String agentName, String co * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java index 55456c966195..6e028faf9e2d 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java @@ -665,7 +665,7 @@ Response listAgentConversationsSync(@HostParam("endpoint") String en * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -761,7 +761,7 @@ public Mono> getAgentWithResponseAsync(String agentName, Re * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -849,7 +849,7 @@ public Response getAgentWithResponse(String agentName, RequestOption * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -925,7 +925,7 @@ public Response getAgentWithResponse(String agentName, RequestOption * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1016,7 +1016,7 @@ public Mono> createAgentWithResponseAsync(BinaryData create * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1092,7 +1092,7 @@ public Mono> createAgentWithResponseAsync(BinaryData create * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1204,7 +1204,7 @@ public Response createAgentWithResponse(BinaryData createAgentReques * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1322,7 +1322,7 @@ public Mono> createAgentFromCodeWithResponseAsync(String ag * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1457,7 +1457,7 @@ public Response createAgentFromCodeWithResponse(String agentName, St * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1590,7 +1590,7 @@ public Mono> updateAgentWithResponseAsync(String agentName, * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1704,7 +1704,7 @@ public Response updateAgentWithResponse(String agentName, BinaryData * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1823,7 +1823,7 @@ public Mono> updateAgentFromCodeWithResponseAsync(String ag * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1945,7 +1945,7 @@ public Response updateAgentFromCodeWithResponse(String agentName, St * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2062,7 +2062,7 @@ public Mono> createAgentFromManifestWithResponseAsync( * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2179,7 +2179,7 @@ public Response createAgentFromManifestWithResponse(BinaryData creat * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2297,7 +2297,7 @@ public Mono> updateAgentFromManifestWithResponseAsync(Strin * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2478,7 +2478,7 @@ public Response internalDeleteAgentWithResponse(String agentName, Re * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2599,7 +2599,7 @@ private Mono> listAgentsSinglePageAsync(RequestOptions * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2714,7 +2714,7 @@ public PagedFlux listAgentsAsync(RequestOptions requestOptions) { * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2833,7 +2833,7 @@ private PagedResponse listAgentsSinglePage(RequestOptions requestOpt * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -3691,7 +3691,7 @@ public PagedIterable listAgentVersions(String agentName, RequestOpti * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -3767,7 +3767,7 @@ public PagedIterable listAgentVersions(String agentName, RequestOpti * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -3845,7 +3845,7 @@ public Mono> updateAgentDetailsWithResponseAsync(String age * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -3921,7 +3921,7 @@ public Mono> updateAgentDetailsWithResponseAsync(String age * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java index c5e14c487786..488f3adde419 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java @@ -66,4 +66,10 @@ public static AgentEndpointProtocol fromString(String name) { public static Collection values() { return values(AgentEndpointProtocol.class); } + + /** + * Static value mcp for AgentEndpointProtocol. + */ + @Generated + public static final AgentEndpointProtocol MCP = fromString("mcp"); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentProtocol.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentProtocol.java index 19e0df8ce288..0efa2c01ef63 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentProtocol.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentProtocol.java @@ -60,4 +60,10 @@ public static Collection values() { */ @Generated public static final AgentProtocol INVOCATIONS = fromString("invocations"); + + /** + * Static value mcp for AgentProtocol. + */ + @Generated + public static final AgentProtocol MCP = fromString("mcp"); } diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index c31080ca7491..152e5e4dd94d 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: c63598fa9cf556376a4d21fded4907507bd20f7e +commit: 28c13e9daa7d3365ff869e0743b02615b0bf3fdf repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents From 7a03a9b739fe60ae0c7eb792c3a5a4353cd72419 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 12 May 2026 18:39:48 -0700 Subject: [PATCH 08/74] add customization for union type --- .../ai/agents/models/FabricIQPreviewTool.java | 62 +++- ...FabricIQPreviewToolSerializationTests.java | 272 ++++++++++++++++++ .../ai/projects/models/TargetConfig.java | 11 +- sdk/ai/azure-ai-projects/tsp-location.yaml | 2 +- 4 files changed, 337 insertions(+), 10 deletions(-) create mode 100644 sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/FabricIQPreviewToolSerializationTests.java diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java index 688926ca72ce..96df7d8f3831 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java @@ -142,8 +142,8 @@ public FabricIQPreviewTool setServerUrl(String serverUrl) { * * @return the requireApproval value. */ - @Generated - public BinaryData getRequireApproval() { + BinaryData getRequireApproval() { + // AI Tooling: union type return this.requireApproval; } @@ -154,12 +154,66 @@ public BinaryData getRequireApproval() { * @param requireApproval the requireApproval value to set. * @return the FabricIQPreviewTool object itself. */ - @Generated - public FabricIQPreviewTool setRequireApproval(BinaryData requireApproval) { + FabricIQPreviewTool setRequireApproval(BinaryData requireApproval) { + // AI Tooling: union type this.requireApproval = requireApproval; return this; } + /** + * Set the requireApproval property: (Optional) Whether the agent requires approval before executing actions. + * Default is always. + * + * @param requireApproval the approval setting string to set (e.g., "always" or "never"). + * @return the FabricIQPreviewTool object itself. + */ + public FabricIQPreviewTool setRequireApproval(String requireApproval) { + // AI Tooling: union type + this.requireApproval = BinaryData.fromString(requireApproval); + return this; + } + + /** + * Set the requireApproval property: (Optional) Whether the agent requires approval before executing actions. + * Default is always. + * + * @param requireApproval the {@link McpToolRequireApproval} value to set. + * @return the FabricIQPreviewTool object itself. + */ + public FabricIQPreviewTool setRequireApproval(McpToolRequireApproval requireApproval) { + // AI Tooling: union type + this.requireApproval = BinaryData.fromObject(requireApproval); + return this; + } + + /** + * Get the requireApproval property as a String: (Optional) Whether the agent requires approval before executing + * actions. Default is always. + * + * @return the requireApproval value as a String. + */ + public String getRequireApprovalAsString() { + // AI Tooling: union type + if (this.requireApproval == null) { + return null; + } + return this.requireApproval.toObject(String.class); + } + + /** + * Get the requireApproval property as a {@link McpToolRequireApproval}: (Optional) Whether the agent requires + * approval before executing actions. Default is always. + * + * @return the requireApproval value as a {@link McpToolRequireApproval}. + */ + public McpToolRequireApproval getRequireApprovalAsMcpToolRequireApproval() { + // AI Tooling: union type + if (this.requireApproval == null) { + return null; + } + return this.requireApproval.toObject(McpToolRequireApproval.class); + } + /** * Get the name property: Optional user-defined name for this tool or configuration. * diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/FabricIQPreviewToolSerializationTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/FabricIQPreviewToolSerializationTests.java new file mode 100644 index 000000000000..a421b794060f --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/FabricIQPreviewToolSerializationTests.java @@ -0,0 +1,272 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.models; + +import com.azure.json.JsonProviders; +import com.azure.json.JsonReader; +import com.azure.json.JsonWriter; +import org.junit.jupiter.api.Test; + +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.util.Arrays; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertNull; +import static org.junit.jupiter.api.Assertions.assertTrue; + +/** + * Tests for FabricIQPreviewTool serialization, focusing on the requireApproval union type handling. + * requireApproval is a union type: String ("always"/"never") | McpToolRequireApproval. + */ +public class FabricIQPreviewToolSerializationTests { + + private static final String TEST_CONNECTION_ID = "test-connection-id"; + + // ===== requireApproval tests ===== + + /** + * Tests serialization when requireApproval is not set (null). + */ + @Test + public void testSerializationWithoutRequireApproval() throws IOException { + FabricIQPreviewTool tool = new FabricIQPreviewTool(TEST_CONNECTION_ID); + + String json = serializeToJson(tool); + + assertNotNull(json); + assertTrue(json.contains("\"project_connection_id\":\"test-connection-id\"")); + assertFalse(json.contains("\"require_approval\"")); + } + + /** + * Tests serialization with requireApproval set to "always" string. + */ + @Test + public void testSerializationWithRequireApprovalAlwaysString() throws IOException { + FabricIQPreviewTool tool = new FabricIQPreviewTool(TEST_CONNECTION_ID).setRequireApproval("always"); + + String json = serializeToJson(tool); + + assertNotNull(json); + assertTrue(json.contains("\"require_approval\":\"always\"")); + } + + /** + * Tests serialization with requireApproval set to "never" string. + */ + @Test + public void testSerializationWithRequireApprovalNeverString() throws IOException { + FabricIQPreviewTool tool = new FabricIQPreviewTool(TEST_CONNECTION_ID).setRequireApproval("never"); + + String json = serializeToJson(tool); + + assertNotNull(json); + assertTrue(json.contains("\"require_approval\":\"never\"")); + } + + /** + * Tests serialization with requireApproval set to an McpToolRequireApproval filter. + */ + @Test + public void testSerializationWithRequireApprovalAsMcpToolRequireApproval() throws IOException { + McpToolFilter alwaysFilter = new McpToolFilter().setToolNames(Arrays.asList("dangerous_tool")); + McpToolFilter neverFilter = new McpToolFilter().setToolNames(Arrays.asList("safe_tool")); + McpToolRequireApproval approval = new McpToolRequireApproval().setAlways(alwaysFilter).setNever(neverFilter); + + FabricIQPreviewTool tool = new FabricIQPreviewTool(TEST_CONNECTION_ID).setRequireApproval(approval); + + String json = serializeToJson(tool); + + assertNotNull(json); + assertTrue(json.contains("\"require_approval\"")); + assertTrue(json.contains("dangerous_tool")); + assertTrue(json.contains("safe_tool")); + assertTrue(json.contains("\"always\"")); + assertTrue(json.contains("\"never\"")); + } + + /** + * Tests deserialization with requireApproval set to "always" string. + */ + @Test + public void testDeserializationWithRequireApprovalAlwaysString() throws IOException { + String json + = "{\"project_connection_id\":\"test-connection-id\",\"type\":\"fabric_iq_preview\",\"require_approval\":\"always\"}"; + + FabricIQPreviewTool tool = deserializeFromJson(json); + + assertNotNull(tool); + assertEquals("always", tool.getRequireApprovalAsString()); + } + + /** + * Tests deserialization with requireApproval set to "never" string. + */ + @Test + public void testDeserializationWithRequireApprovalNeverString() throws IOException { + String json + = "{\"project_connection_id\":\"test-connection-id\",\"type\":\"fabric_iq_preview\",\"require_approval\":\"never\"}"; + + FabricIQPreviewTool tool = deserializeFromJson(json); + + assertNotNull(tool); + assertEquals("never", tool.getRequireApprovalAsString()); + } + + /** + * Tests deserialization with requireApproval set to an McpToolRequireApproval object. + */ + @Test + public void testDeserializationWithRequireApprovalAsMcpToolRequireApproval() throws IOException { + String json + = "{\"project_connection_id\":\"test-connection-id\",\"type\":\"fabric_iq_preview\",\"require_approval\":{\"always\":{\"tool_names\":[\"dangerous_tool\"]},\"never\":{\"tool_names\":[\"safe_tool\"]}}}"; + + FabricIQPreviewTool tool = deserializeFromJson(json); + + assertNotNull(tool); + McpToolRequireApproval approval = tool.getRequireApprovalAsMcpToolRequireApproval(); + assertNotNull(approval); + assertNotNull(approval.getAlways()); + assertNotNull(approval.getNever()); + assertEquals(1, approval.getAlways().getToolNames().size()); + assertEquals("dangerous_tool", approval.getAlways().getToolNames().get(0)); + assertEquals("safe_tool", approval.getNever().getToolNames().get(0)); + } + + /** + * Tests deserialization with requireApproval absent. + */ + @Test + public void testDeserializationWithoutRequireApproval() throws IOException { + String json = "{\"project_connection_id\":\"test-connection-id\",\"type\":\"fabric_iq_preview\"}"; + + FabricIQPreviewTool tool = deserializeFromJson(json); + + assertNotNull(tool); + assertNull(tool.getRequireApprovalAsString()); + assertNull(tool.getRequireApprovalAsMcpToolRequireApproval()); + } + + /** + * Tests round-trip with requireApproval as "always" string. + */ + @Test + public void testRoundTripWithRequireApprovalAlwaysString() throws IOException { + FabricIQPreviewTool original = new FabricIQPreviewTool(TEST_CONNECTION_ID).setRequireApproval("always"); + + String json = serializeToJson(original); + FabricIQPreviewTool deserialized = deserializeFromJson(json); + + assertNotNull(deserialized); + assertEquals("always", deserialized.getRequireApprovalAsString()); + } + + /** + * Tests round-trip with requireApproval as "never" string. + */ + @Test + public void testRoundTripWithRequireApprovalNeverString() throws IOException { + FabricIQPreviewTool original = new FabricIQPreviewTool(TEST_CONNECTION_ID).setRequireApproval("never"); + + String json = serializeToJson(original); + FabricIQPreviewTool deserialized = deserializeFromJson(json); + + assertNotNull(deserialized); + assertEquals("never", deserialized.getRequireApprovalAsString()); + } + + /** + * Tests round-trip with requireApproval as McpToolRequireApproval. + */ + @Test + public void testRoundTripWithRequireApprovalAsMcpToolRequireApproval() throws IOException { + McpToolFilter alwaysFilter = new McpToolFilter().setToolNames(Arrays.asList("tool_1")); + McpToolRequireApproval approval = new McpToolRequireApproval().setAlways(alwaysFilter); + + FabricIQPreviewTool original = new FabricIQPreviewTool(TEST_CONNECTION_ID).setRequireApproval(approval); + + String json = serializeToJson(original); + FabricIQPreviewTool deserialized = deserializeFromJson(json); + + assertNotNull(deserialized); + McpToolRequireApproval deserializedApproval = deserialized.getRequireApprovalAsMcpToolRequireApproval(); + assertNotNull(deserializedApproval); + assertNotNull(deserializedApproval.getAlways()); + assertEquals(1, deserializedApproval.getAlways().getToolNames().size()); + assertEquals("tool_1", deserializedApproval.getAlways().getToolNames().get(0)); + } + + // ===== Regression: no double-quoting ===== + + /** + * Regression: requireApproval string must not be double-quoted in serialized JSON. + */ + @Test + public void testRequireApprovalStringNoDoubleQuoting() throws IOException { + FabricIQPreviewTool tool = new FabricIQPreviewTool(TEST_CONNECTION_ID).setRequireApproval("always"); + + String json = serializeToJson(tool); + + assertTrue(json.contains("\"require_approval\":\"always\""), + "requireApproval string must not be double-quoted, got: " + json); + assertFalse(json.contains("\\\"always\\\""), + "requireApproval string must not have escaped quotes, got: " + json); + } + + /** + * Regression: requireApproval string getter must return the plain string after round-trip. + */ + @Test + public void testRequireApprovalStringRoundTripNoExtraQuotes() throws IOException { + FabricIQPreviewTool original = new FabricIQPreviewTool(TEST_CONNECTION_ID).setRequireApproval("always"); + + String json = serializeToJson(original); + FabricIQPreviewTool deserialized = deserializeFromJson(json); + + assertEquals("always", deserialized.getRequireApprovalAsString(), + "Round-tripped requireApproval string must not have extra quotes"); + } + + /** + * Tests that other properties serialize correctly alongside requireApproval. + */ + @Test + public void testSerializationWithAllProperties() throws IOException { + FabricIQPreviewTool tool = new FabricIQPreviewTool(TEST_CONNECTION_ID).setServerLabel("my-server") + .setServerUrl("https://fabriciq.example.com") + .setRequireApproval("always") + .setName("my-fabric-tool") + .setDescription("A test FabricIQ tool"); + + String json = serializeToJson(tool); + + assertNotNull(json); + assertTrue(json.contains("\"project_connection_id\":\"test-connection-id\"")); + assertTrue(json.contains("\"server_label\":\"my-server\"")); + assertTrue(json.contains("\"server_url\":\"https://fabriciq.example.com\"")); + assertTrue(json.contains("\"require_approval\":\"always\"")); + assertTrue(json.contains("\"name\":\"my-fabric-tool\"")); + assertTrue(json.contains("\"description\":\"A test FabricIQ tool\"")); + assertTrue(json.contains("\"type\":\"fabric_iq_preview\"")); + } + + // Helper method to serialize to JSON string + private String serializeToJson(FabricIQPreviewTool tool) throws IOException { + ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); + try (JsonWriter jsonWriter = JsonProviders.createWriter(outputStream)) { + tool.toJson(jsonWriter); + } + return outputStream.toString("UTF-8"); + } + + // Helper method to deserialize from JSON string + private FabricIQPreviewTool deserializeFromJson(String json) throws IOException { + try (JsonReader jsonReader = JsonProviders.createReader(json)) { + return FabricIQPreviewTool.fromJson(jsonReader); + } + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TargetConfig.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TargetConfig.java index a131dddf51d2..3731cb9d8d81 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TargetConfig.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TargetConfig.java @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. + package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -16,7 +17,6 @@ */ @Immutable public class TargetConfig implements JsonSerializable { - /* * Type of the model configuration. */ @@ -32,7 +32,7 @@ public TargetConfig() { /** * Get the type property: Type of the model configuration. - * + * * @return the type value. */ @Generated @@ -53,7 +53,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of TargetConfig from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of TargetConfig if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -64,8 +64,7 @@ public static TargetConfig fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); + readerToUse.nextToken(); // Prepare for reading while (readerToUse.nextToken() != JsonToken.END_OBJECT) { String fieldName = readerToUse.getFieldName(); readerToUse.nextToken(); @@ -93,12 +92,14 @@ static TargetConfig fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOE while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); + if ("type".equals(fieldName)) { deserializedTargetConfig.type = reader.getString(); } else { reader.skipChildren(); } } + return deserializedTargetConfig; }); } diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml b/sdk/ai/azure-ai-projects/tsp-location.yaml index 2745f41e4e54..2bde4272fe10 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: c63598fa9cf556376a4d21fded4907507bd20f7e +commit: 28c13e9daa7d3365ff869e0743b02615b0bf3fdf repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From 950bf72889d3ce2fb02933f91ed9e835f73239c4 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 12 May 2026 18:46:40 -0700 Subject: [PATCH 09/74] increment versions --- eng/versioning/version_client.txt | 4 ++-- sdk/ai/azure-ai-agents/CHANGELOG.md | 2 +- sdk/ai/azure-ai-agents/README.md | 2 +- sdk/ai/azure-ai-agents/pom.xml | 2 +- sdk/ai/azure-ai-projects/CHANGELOG.md | 2 +- sdk/ai/azure-ai-projects/README.md | 2 +- sdk/ai/azure-ai-projects/pom.xml | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index a9071ece1ffa..92b623e18341 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -37,7 +37,7 @@ com.azure:azure-data-sdk-parent;1.3.0;1.3.0 com.azure:azure-sdk-parent;1.6.0;1.6.0 com.azure:azure-client-sdk-parent;1.7.0;1.7.0 com.azure:azure-ai-agents-persistent;1.0.0-beta.2;1.0.0-beta.3 -com.azure:azure-ai-agents;2.0.1;2.1.0-beta.2 +com.azure:azure-ai-agents;2.0.1;2.1.0 com.azure:azure-ai-anomalydetector;3.0.0-beta.5;3.0.0-beta.6 com.azure:azure-ai-contentsafety;1.0.18;1.1.0-beta.1 com.azure:azure-ai-contentunderstanding;1.0.0;1.1.0-beta.2 @@ -53,7 +53,7 @@ com.azure:azure-ai-openai-assistants;1.0.0-beta.5;1.0.0-beta.6 com.azure:azure-ai-openai-realtime;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-ai-openai-stainless;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-ai-personalizer;1.0.0-beta.1;1.0.0-beta.2 -com.azure:azure-ai-projects;2.0.1;2.1.0-beta.2 +com.azure:azure-ai-projects;2.0.1;2.1.0 com.azure:azure-ai-speech-transcription;1.0.0-beta.3;1.0.0-beta.4 com.azure:azure-ai-textanalytics;5.5.13;5.6.0-beta.1 com.azure:azure-ai-textanalytics-perf;1.0.0-beta.1;1.0.0-beta.1 diff --git a/sdk/ai/azure-ai-agents/CHANGELOG.md b/sdk/ai/azure-ai-agents/CHANGELOG.md index 1c2b3ee8a940..24feb4fe71a6 100644 --- a/sdk/ai/azure-ai-agents/CHANGELOG.md +++ b/sdk/ai/azure-ai-agents/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.1.0-beta.2 (Unreleased) +## 2.1.0 (Unreleased) ### Features Added diff --git a/sdk/ai/azure-ai-agents/README.md b/sdk/ai/azure-ai-agents/README.md index a6f974b32904..617c153f17a1 100644 --- a/sdk/ai/azure-ai-agents/README.md +++ b/sdk/ai/azure-ai-agents/README.md @@ -25,7 +25,7 @@ Various documentation is available to help you get started com.azure azure-ai-agents - 2.1.0-beta.1 + 2.1.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/ai/azure-ai-agents/pom.xml b/sdk/ai/azure-ai-agents/pom.xml index 2bd5bc6b788d..20334354d0bd 100644 --- a/sdk/ai/azure-ai-agents/pom.xml +++ b/sdk/ai/azure-ai-agents/pom.xml @@ -14,7 +14,7 @@ com.azure azure-ai-agents - 2.1.0-beta.2 + 2.1.0 jar Microsoft Azure SDK for Agents diff --git a/sdk/ai/azure-ai-projects/CHANGELOG.md b/sdk/ai/azure-ai-projects/CHANGELOG.md index 538c93642766..db689bfb3570 100644 --- a/sdk/ai/azure-ai-projects/CHANGELOG.md +++ b/sdk/ai/azure-ai-projects/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.1.0-beta.2 (Unreleased) +## 2.1.0 (Unreleased) ### Features Added diff --git a/sdk/ai/azure-ai-projects/README.md b/sdk/ai/azure-ai-projects/README.md index 7031eb516a26..23c8eba7cc44 100644 --- a/sdk/ai/azure-ai-projects/README.md +++ b/sdk/ai/azure-ai-projects/README.md @@ -31,7 +31,7 @@ Various documentation is available to help you get started com.azure azure-ai-projects - 2.1.0-beta.1 + 2.1.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/ai/azure-ai-projects/pom.xml b/sdk/ai/azure-ai-projects/pom.xml index febeb33d1868..d2361888c873 100644 --- a/sdk/ai/azure-ai-projects/pom.xml +++ b/sdk/ai/azure-ai-projects/pom.xml @@ -14,7 +14,7 @@ Code generated by Microsoft (R) TypeSpec Code Generator. com.azure azure-ai-projects - 2.1.0-beta.2 + 2.1.0 jar Microsoft Azure SDK for Projects @@ -72,7 +72,7 @@ Code generated by Microsoft (R) TypeSpec Code Generator. com.azure azure-ai-agents - 2.1.0-beta.2 + 2.1.0 com.openai From 22239bdf70e6fdb2623ff9641b08a9edf7066237 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 12 May 2026 21:07:18 -0700 Subject: [PATCH 10/74] fix spacing --- .../com/azure/ai/projects/models/TargetConfig.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TargetConfig.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TargetConfig.java index 3731cb9d8d81..a131dddf51d2 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TargetConfig.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TargetConfig.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public class TargetConfig implements JsonSerializable { + /* * Type of the model configuration. */ @@ -32,7 +32,7 @@ public TargetConfig() { /** * Get the type property: Type of the model configuration. - * + * * @return the type value. */ @Generated @@ -53,7 +53,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of TargetConfig from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of TargetConfig if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -64,7 +64,8 @@ public static TargetConfig fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { - readerToUse.nextToken(); // Prepare for reading + // Prepare for reading + readerToUse.nextToken(); while (readerToUse.nextToken() != JsonToken.END_OBJECT) { String fieldName = readerToUse.getFieldName(); readerToUse.nextToken(); @@ -92,14 +93,12 @@ static TargetConfig fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOE while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedTargetConfig.type = reader.getString(); } else { reader.skipChildren(); } } - return deserializedTargetConfig; }); } From 560aec61c1d6e654f78c0383e3b7d64b8b9b4f12 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Wed, 13 May 2026 14:37:47 -0700 Subject: [PATCH 11/74] regen --- .../models/FoundryFeaturesOptInKeys.java | 7 +- sdk/ai/azure-ai-agents/tsp-location.yaml | 2 +- .../ai/projects/AIProjectClientBuilder.java | 46 +- .../DataGenerationJobsAsyncClient.java | 828 -------- .../ai/projects/DataGenerationJobsClient.java | 794 -------- .../ai/projects/DatasetsAsyncClient.java | 4 +- .../com/azure/ai/projects/DatasetsClient.java | 4 +- .../projects/EvaluationRulesAsyncClient.java | 2 +- .../ai/projects/EvaluationRulesClient.java | 2 +- .../EvaluatorGenerationJobsAsyncClient.java | 987 ---------- .../EvaluatorGenerationJobsClient.java | 950 --------- .../ai/projects/EvaluatorsAsyncClient.java | 77 +- .../azure/ai/projects/EvaluatorsClient.java | 77 +- .../ai/projects/InsightsAsyncClient.java | 6 +- .../com/azure/ai/projects/InsightsClient.java | 6 +- .../azure/ai/projects/ModelsAsyncClient.java | 92 +- .../com/azure/ai/projects/ModelsClient.java | 90 +- .../implementation/AIProjectClientImpl.java | 30 - .../DataGenerationJobsImpl.java | 1361 ------------- .../projects/implementation/DatasetsImpl.java | 8 +- .../implementation/EvaluationRulesImpl.java | 4 +- .../EvaluatorGenerationJobsImpl.java | 1749 ----------------- .../implementation/EvaluatorsImpl.java | 242 +-- .../projects/implementation/InsightsImpl.java | 20 +- .../projects/implementation/ModelsImpl.java | 238 ++- .../models/AgentDataGenerationJobSource.java | 174 -- .../AgentEvaluatorGenerationJobSource.java | 174 -- .../azure/ai/projects/models/ApiError.java | 227 --- .../projects/models/CreateAsyncResponse.java | 99 + .../ai/projects/models/DataGenerationJob.java | 207 -- .../models/DataGenerationJobInputs.java | 150 -- .../models/DataGenerationJobOptions.java | 204 -- .../models/DataGenerationJobOutput.java | 108 - .../models/DataGenerationJobOutputType.java | 57 - .../models/DataGenerationJobResult.java | 126 -- .../models/DataGenerationJobScenario.java | 63 - .../models/DataGenerationJobSource.java | 148 -- .../models/DataGenerationJobSourceType.java | 75 - .../models/DataGenerationJobType.java | 63 - .../models/DataGenerationModelOptions.java | 82 - .../models/DataGenerationTokenUsage.java | 114 -- .../DatasetDataGenerationJobOutput.java | 176 -- .../DatasetDataGenerationJobSource.java | 174 -- .../DatasetEvaluatorGenerationJobSource.java | 174 -- .../ai/projects/models/DatasetReference.java | 104 - .../projects/models/EvaluatorDefinition.java | 2 - .../models/EvaluatorDefinitionType.java | 7 - .../models/EvaluatorGenerationArtifacts.java | 117 -- .../models/EvaluatorGenerationInputs.java | 200 -- .../models/EvaluatorGenerationJob.java | 226 --- .../models/EvaluatorGenerationJobSource.java | 113 -- .../EvaluatorGenerationJobSourceType.java | 69 - .../models/EvaluatorGenerationTokenUsage.java | 126 -- .../ai/projects/models/EvaluatorVersion.java | 23 - .../models/FileDataGenerationJobOutput.java | 116 -- .../models/FileDataGenerationJobSource.java | 119 -- .../models/FoundryFeaturesOptInKeys.java | 7 +- .../azure/ai/projects/models/JobStatus.java | 75 - .../models/ModelPendingUploadRequest.java | 143 ++ .../models/ModelPendingUploadResponse.java | 149 ++ .../projects/models/PendingUploadRequest.java | 6 +- .../models/PendingUploadResponse.java | 6 +- .../ai/projects/models/PendingUploadType.java | 6 + .../models/PromptDataGenerationJobSource.java | 141 -- .../PromptEvaluatorGenerationJobSource.java | 141 -- .../RubricBasedEvaluatorDefinition.java | 173 -- .../ai/projects/models/RubricCriterion.java | 175 -- .../SimpleQnADataGenerationJobOptions.java | 155 -- .../SimpleQnAFineTuningQuestionType.java | 57 - ...UseFineTuningDataGenerationJobOptions.java | 119 -- .../TracesDataGenerationJobOptions.java | 119 -- .../models/TracesDataGenerationJobSource.java | 328 ---- .../TracesEvaluatorGenerationJobSource.java | 328 ---- .../META-INF/azure-ai-projects_metadata.json | 2 +- sdk/ai/azure-ai-projects/tsp-location.yaml | 2 +- 75 files changed, 735 insertions(+), 12840 deletions(-) delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApiError.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJob.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetReference.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/JobStatus.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricCriterion.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java index 0d7f36a4209e..0ca7093424dc 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java @@ -46,7 +46,12 @@ public enum FoundryFeaturesOptInKeys { /** * Enum value DataGenerationJobs=V1Preview. */ - DATA_GENERATION_JOBS_V1_PREVIEW("DataGenerationJobs=V1Preview"); + DATA_GENERATION_JOBS_V1_PREVIEW("DataGenerationJobs=V1Preview"), + + /** + * Enum value Models=V1Preview. + */ + MODELS_V1_PREVIEW("Models=V1Preview"); /** * The actual serialized value for a FoundryFeaturesOptInKeys instance. diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index 152e5e4dd94d..a894ba1294bb 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: 28c13e9daa7d3365ff869e0743b02615b0bf3fdf +commit: c76e2e52e7c38e6efbdf2c25cc71e02dff59de36 repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java index ef6a110e51f0..8c277c1cf0f5 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java @@ -60,11 +60,9 @@ EvaluationRulesClient.class, EvaluationTaxonomiesClient.class, EvaluatorsClient.class, - EvaluatorGenerationJobsClient.class, InsightsClient.class, SchedulesClient.class, SkillsClient.class, - DataGenerationJobsClient.class, ConnectionsAsyncClient.class, DatasetsAsyncClient.class, IndexesAsyncClient.class, @@ -74,11 +72,9 @@ EvaluationRulesAsyncClient.class, EvaluationTaxonomiesAsyncClient.class, EvaluatorsAsyncClient.class, - EvaluatorGenerationJobsAsyncClient.class, InsightsAsyncClient.class, SchedulesAsyncClient.class, - SkillsAsyncClient.class, - DataGenerationJobsAsyncClient.class }) + SkillsAsyncClient.class }) public final class AIProjectClientBuilder implements HttpTrait, ConfigurationTrait, TokenCredentialTrait, EndpointTrait { @@ -665,26 +661,6 @@ public ModelsAsyncClient buildModelsAsyncClient() { return new ModelsAsyncClient(buildInnerClient().getModels()); } - /** - * Builds an instance of EvaluatorGenerationJobsAsyncClient class. - * - * @return an instance of EvaluatorGenerationJobsAsyncClient. - */ - @Generated - public EvaluatorGenerationJobsAsyncClient buildEvaluatorGenerationJobsAsyncClient() { - return new EvaluatorGenerationJobsAsyncClient(buildInnerClient().getEvaluatorGenerationJobs()); - } - - /** - * Builds an instance of DataGenerationJobsAsyncClient class. - * - * @return an instance of DataGenerationJobsAsyncClient. - */ - @Generated - public DataGenerationJobsAsyncClient buildDataGenerationJobsAsyncClient() { - return new DataGenerationJobsAsyncClient(buildInnerClient().getDataGenerationJobs()); - } - /** * Builds an instance of ModelsClient class. * @@ -694,24 +670,4 @@ public DataGenerationJobsAsyncClient buildDataGenerationJobsAsyncClient() { public ModelsClient buildModelsClient() { return new ModelsClient(buildInnerClient().getModels()); } - - /** - * Builds an instance of EvaluatorGenerationJobsClient class. - * - * @return an instance of EvaluatorGenerationJobsClient. - */ - @Generated - public EvaluatorGenerationJobsClient buildEvaluatorGenerationJobsClient() { - return new EvaluatorGenerationJobsClient(buildInnerClient().getEvaluatorGenerationJobs()); - } - - /** - * Builds an instance of DataGenerationJobsClient class. - * - * @return an instance of DataGenerationJobsClient. - */ - @Generated - public DataGenerationJobsClient buildDataGenerationJobsClient() { - return new DataGenerationJobsClient(buildInnerClient().getDataGenerationJobs()); - } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java deleted file mode 100644 index 61c39e0bfdb2..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java +++ /dev/null @@ -1,828 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects; - -import com.azure.ai.agents.models.PageOrder; -import com.azure.ai.projects.implementation.DataGenerationJobsImpl; -import com.azure.ai.projects.models.DataGenerationJob; -import com.azure.ai.projects.models.DataGenerationJobScenario; -import com.azure.ai.projects.models.DataGenerationJobType; -import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceClient; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.exception.ClientAuthenticationException; -import com.azure.core.exception.HttpResponseException; -import com.azure.core.exception.ResourceModifiedException; -import com.azure.core.exception.ResourceNotFoundException; -import com.azure.core.http.HttpHeaderName; -import com.azure.core.http.rest.PagedFlux; -import com.azure.core.http.rest.PagedResponse; -import com.azure.core.http.rest.PagedResponseBase; -import com.azure.core.http.rest.RequestOptions; -import com.azure.core.http.rest.Response; -import com.azure.core.util.BinaryData; -import com.azure.core.util.FluxUtil; -import java.util.List; -import java.util.Objects; -import java.util.stream.Collectors; -import reactor.core.publisher.Flux; -import reactor.core.publisher.Mono; - -/** - * Initializes a new instance of the asynchronous AIProjectClient type. - */ -@ServiceClient(builder = AIProjectClientBuilder.class, isAsync = true) -public final class DataGenerationJobsAsyncClient { - - @Generated - private final DataGenerationJobsImpl serviceClient; - - /** - * Initializes an instance of DataGenerationJobsAsyncClient class. - * - * @param serviceClient the service client implementation. - */ - @Generated - DataGenerationJobsAsyncClient(DataGenerationJobsImpl serviceClient) { - this.serviceClient = serviceClient; - } - - /** - * Get info about a data generation job. - * - * Gets the details of a data generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return info about a data generation job. - * - * Gets the details of a data generation job by its ID along with {@link Response} on successful completion of - * {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return this.serviceClient.getGenerationJobWithResponseAsync(jobId, requestOptions); - } - - /** - * Returns a list of data generation jobs - * - * Returns a list of data generation jobs. - *

Query Parameters

- * - * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: - * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form - * of "," separated string.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listGenerationJobs(RequestOptions requestOptions) { - return this.serviceClient.listGenerationJobsAsync(requestOptions); - } - - /** - * Creates a data generation job. - *

Header Parameters

- * - * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When - * absent, the server creates the job unconditionally.
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - * @param job The job to create. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return data Generation Job resource along with {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { - return this.serviceClient.createGenerationJobWithResponseAsync(job, requestOptions); - } - - /** - * Cancels a data generation job. - * - * Cancels a data generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job to cancel. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return data Generation Job resource along with {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return this.serviceClient.cancelGenerationJobWithResponseAsync(jobId, requestOptions); - } - - /** - * Deletes a data generation job. - * - * Deletes a data generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - * - * @param jobId The ID of the job to delete. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return this.serviceClient.deleteGenerationJobWithResponseAsync(jobId, requestOptions); - } - - /** - * Get info about a data generation job. - * - * Gets the details of a data generation job by its ID. - * - * @param jobId The ID of the job. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return info about a data generation job. - * - * Gets the details of a data generation job by its ID on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for getGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return getGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); - } - - /** - * Get info about a data generation job. - * - * Gets the details of a data generation job by its ID. - * - * @param jobId The ID of the job. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return info about a data generation job. - * - * Gets the details of a data generation job by its ID on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getGenerationJob(String jobId) { - // Generated convenience method for getGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return getGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); - } - - /** - * Returns a list of data generation jobs - * - * Returns a list of data generation jobs. - * - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the - * default is 20. - * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` - * for descending order. - * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list. - * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list. - * @param scenario Filter data generation jobs by their scenario. - * @param type Filter data generation jobs by their type. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, - PageOrder order, String after, String before, DataGenerationJobScenario scenario, - List type) { - // Generated convenience method for listGenerationJobs - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (limit != null) { - requestOptions.addQueryParam("limit", String.valueOf(limit), false); - } - if (order != null) { - requestOptions.addQueryParam("order", order.toString(), false); - } - if (after != null) { - requestOptions.addQueryParam("after", after, false); - } - if (before != null) { - requestOptions.addQueryParam("before", before, false); - } - if (scenario != null) { - requestOptions.addQueryParam("scenario", scenario.toString(), false); - } - if (type != null) { - requestOptions.addQueryParam("type", - type.stream() - .map(paramItemValue -> Objects.toString(paramItemValue, "")) - .collect(Collectors.joining(",")), - false); - } - PagedFlux pagedFluxResponse = listGenerationJobs(requestOptions); - return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { - Flux> flux = (continuationTokenParam == null) - ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationTokenParam).take(1); - return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), - pagedResponse.getStatusCode(), pagedResponse.getHeaders(), - pagedResponse.getValue() - .stream() - .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)) - .collect(Collectors.toList()), - pagedResponse.getContinuationToken(), null)); - }); - } - - /** - * Returns a list of data generation jobs - * - * Returns a list of data generation jobs. - * - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listGenerationJobs() { - // Generated convenience method for listGenerationJobs - RequestOptions requestOptions = new RequestOptions(); - PagedFlux pagedFluxResponse = listGenerationJobs(requestOptions); - return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { - Flux> flux = (continuationTokenParam == null) - ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationTokenParam).take(1); - return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), - pagedResponse.getStatusCode(), pagedResponse.getHeaders(), - pagedResponse.getValue() - .stream() - .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)) - .collect(Collectors.toList()), - pagedResponse.getContinuationToken(), null)); - }); - } - - /** - * Creates a data generation job. - * - * @param job The job to create. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job - * unconditionally. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return data Generation Job resource on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createGenerationJob(DataGenerationJob job, FoundryFeaturesOptInKeys foundryFeatures, - String operationId) { - // Generated convenience method for createGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (operationId != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); - } - return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); - } - - /** - * Creates a data generation job. - * - * @param job The job to create. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return data Generation Job resource on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createGenerationJob(DataGenerationJob job) { - // Generated convenience method for createGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); - } - - /** - * Cancels a data generation job. - * - * Cancels a data generation job by its ID. - * - * @param jobId The ID of the job to cancel. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return data Generation Job resource on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono cancelGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for cancelGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return cancelGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); - } - - /** - * Cancels a data generation job. - * - * Cancels a data generation job by its ID. - * - * @param jobId The ID of the job to cancel. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return data Generation Job resource on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono cancelGenerationJob(String jobId) { - // Generated convenience method for cancelGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return cancelGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); - } - - /** - * Deletes a data generation job. - * - * Deletes a data generation job by its ID. - * - * @param jobId The ID of the job to delete. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for deleteGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return deleteGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); - } - - /** - * Deletes a data generation job. - * - * Deletes a data generation job by its ID. - * - * @param jobId The ID of the job to delete. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteGenerationJob(String jobId) { - // Generated convenience method for deleteGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return deleteGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java deleted file mode 100644 index 4a72bb4bd52f..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java +++ /dev/null @@ -1,794 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects; - -import com.azure.ai.agents.models.PageOrder; -import com.azure.ai.projects.implementation.DataGenerationJobsImpl; -import com.azure.ai.projects.models.DataGenerationJob; -import com.azure.ai.projects.models.DataGenerationJobScenario; -import com.azure.ai.projects.models.DataGenerationJobType; -import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceClient; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.exception.ClientAuthenticationException; -import com.azure.core.exception.HttpResponseException; -import com.azure.core.exception.ResourceModifiedException; -import com.azure.core.exception.ResourceNotFoundException; -import com.azure.core.http.HttpHeaderName; -import com.azure.core.http.rest.PagedIterable; -import com.azure.core.http.rest.RequestOptions; -import com.azure.core.http.rest.Response; -import com.azure.core.util.BinaryData; -import java.util.List; -import java.util.Objects; -import java.util.stream.Collectors; - -/** - * Initializes a new instance of the synchronous AIProjectClient type. - */ -@ServiceClient(builder = AIProjectClientBuilder.class) -public final class DataGenerationJobsClient { - - @Generated - private final DataGenerationJobsImpl serviceClient; - - /** - * Initializes an instance of DataGenerationJobsClient class. - * - * @param serviceClient the service client implementation. - */ - @Generated - DataGenerationJobsClient(DataGenerationJobsImpl serviceClient) { - this.serviceClient = serviceClient; - } - - /** - * Get info about a data generation job. - * - * Gets the details of a data generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return info about a data generation job. - * - * Gets the details of a data generation job by its ID along with {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return this.serviceClient.getGenerationJobWithResponse(jobId, requestOptions); - } - - /** - * Returns a list of data generation jobs - * - * Returns a list of data generation jobs. - *

Query Parameters

- * - * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: - * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form - * of "," separated string.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listGenerationJobs(RequestOptions requestOptions) { - return this.serviceClient.listGenerationJobs(requestOptions); - } - - /** - * Creates a data generation job. - *

Header Parameters

- * - * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When - * absent, the server creates the job unconditionally.
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - * @param job The job to create. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return data Generation Job resource along with {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { - return this.serviceClient.createGenerationJobWithResponse(job, requestOptions); - } - - /** - * Cancels a data generation job. - * - * Cancels a data generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job to cancel. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return data Generation Job resource along with {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return this.serviceClient.cancelGenerationJobWithResponse(jobId, requestOptions); - } - - /** - * Deletes a data generation job. - * - * Deletes a data generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - * - * @param jobId The ID of the job to delete. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return this.serviceClient.deleteGenerationJobWithResponse(jobId, requestOptions); - } - - /** - * Get info about a data generation job. - * - * Gets the details of a data generation job by its ID. - * - * @param jobId The ID of the job. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return info about a data generation job. - * - * Gets the details of a data generation job by its ID. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public DataGenerationJob getGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for getGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return getGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(DataGenerationJob.class); - } - - /** - * Get info about a data generation job. - * - * Gets the details of a data generation job by its ID. - * - * @param jobId The ID of the job. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return info about a data generation job. - * - * Gets the details of a data generation job by its ID. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public DataGenerationJob getGenerationJob(String jobId) { - // Generated convenience method for getGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return getGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(DataGenerationJob.class); - } - - /** - * Returns a list of data generation jobs - * - * Returns a list of data generation jobs. - * - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the - * default is 20. - * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` - * for descending order. - * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list. - * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list. - * @param scenario Filter data generation jobs by their scenario. - * @param type Filter data generation jobs by their type. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, - PageOrder order, String after, String before, DataGenerationJobScenario scenario, - List type) { - // Generated convenience method for listGenerationJobs - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (limit != null) { - requestOptions.addQueryParam("limit", String.valueOf(limit), false); - } - if (order != null) { - requestOptions.addQueryParam("order", order.toString(), false); - } - if (after != null) { - requestOptions.addQueryParam("after", after, false); - } - if (before != null) { - requestOptions.addQueryParam("before", before, false); - } - if (scenario != null) { - requestOptions.addQueryParam("scenario", scenario.toString(), false); - } - if (type != null) { - requestOptions.addQueryParam("type", - type.stream() - .map(paramItemValue -> Objects.toString(paramItemValue, "")) - .collect(Collectors.joining(",")), - false); - } - return serviceClient.listGenerationJobs(requestOptions) - .mapPage(bodyItemValue -> bodyItemValue.toObject(DataGenerationJob.class)); - } - - /** - * Returns a list of data generation jobs - * - * Returns a list of data generation jobs. - * - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listGenerationJobs() { - // Generated convenience method for listGenerationJobs - RequestOptions requestOptions = new RequestOptions(); - return serviceClient.listGenerationJobs(requestOptions) - .mapPage(bodyItemValue -> bodyItemValue.toObject(DataGenerationJob.class)); - } - - /** - * Creates a data generation job. - * - * @param job The job to create. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job - * unconditionally. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return data Generation Job resource. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public DataGenerationJob createGenerationJob(DataGenerationJob job, FoundryFeaturesOptInKeys foundryFeatures, - String operationId) { - // Generated convenience method for createGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (operationId != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); - } - return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue() - .toObject(DataGenerationJob.class); - } - - /** - * Creates a data generation job. - * - * @param job The job to create. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return data Generation Job resource. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public DataGenerationJob createGenerationJob(DataGenerationJob job) { - // Generated convenience method for createGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue() - .toObject(DataGenerationJob.class); - } - - /** - * Cancels a data generation job. - * - * Cancels a data generation job by its ID. - * - * @param jobId The ID of the job to cancel. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return data Generation Job resource. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public DataGenerationJob cancelGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for cancelGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return cancelGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(DataGenerationJob.class); - } - - /** - * Cancels a data generation job. - * - * Cancels a data generation job by its ID. - * - * @param jobId The ID of the job to cancel. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return data Generation Job resource. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public DataGenerationJob cancelGenerationJob(String jobId) { - // Generated convenience method for cancelGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return cancelGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(DataGenerationJob.class); - } - - /** - * Deletes a data generation job. - * - * Deletes a data generation job by its ID. - * - * @param jobId The ID of the job to delete. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for deleteGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - deleteGenerationJobWithResponse(jobId, requestOptions).getValue(); - } - - /** - * Deletes a data generation job. - * - * Deletes a data generation job by its ID. - * - * @param jobId The ID of the job to delete. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteGenerationJob(String jobId) { - // Generated convenience method for deleteGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - deleteGenerationJobWithResponse(jobId, requestOptions).getValue(); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java index 6e1b2718bd09..13a78544159b 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java @@ -244,7 +244,7 @@ public Mono createDatasetWithFolder(String name, String ve * { * pendingUploadId: String (Optional) * connectionName: String (Optional) - * pendingUploadType: String(None/TemporaryBlobReference) (Required) + * pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required) * } * } * @@ -264,7 +264,7 @@ public Mono createDatasetWithFolder(String name, String ve * } * pendingUploadId: String (Required) * version: String (Optional) - * pendingUploadType: String(None/TemporaryBlobReference) (Required) + * pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required) * } * } * diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsClient.java index cc228568a0de..ef88b4547ab1 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsClient.java @@ -232,7 +232,7 @@ public FolderDatasetVersion createDatasetWithFolder(String name, String version, * { * pendingUploadId: String (Optional) * connectionName: String (Optional) - * pendingUploadType: String(None/TemporaryBlobReference) (Required) + * pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required) * } * } * @@ -252,7 +252,7 @@ public FolderDatasetVersion createDatasetWithFolder(String name, String version, * } * pendingUploadId: String (Required) * version: String (Optional) - * pendingUploadType: String(None/TemporaryBlobReference) (Required) + * pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required) * } * } * diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java index f3d4b211dd34..cbf878be2939 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java @@ -111,7 +111,7 @@ public Mono> deleteEvaluationRuleWithResponse(String id, RequestO * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java index 00b19e1fa0fc..22291790796d 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java @@ -105,7 +105,7 @@ public Response deleteEvaluationRuleWithResponse(String id, RequestOptions * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java deleted file mode 100644 index 8303cc57e03b..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java +++ /dev/null @@ -1,987 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects; - -import com.azure.ai.agents.models.PageOrder; -import com.azure.ai.projects.implementation.EvaluatorGenerationJobsImpl; -import com.azure.ai.projects.models.EvaluatorCategory; -import com.azure.ai.projects.models.EvaluatorGenerationJob; -import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceClient; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.exception.ClientAuthenticationException; -import com.azure.core.exception.HttpResponseException; -import com.azure.core.exception.ResourceModifiedException; -import com.azure.core.exception.ResourceNotFoundException; -import com.azure.core.http.HttpHeaderName; -import com.azure.core.http.rest.PagedFlux; -import com.azure.core.http.rest.PagedResponse; -import com.azure.core.http.rest.PagedResponseBase; -import com.azure.core.http.rest.RequestOptions; -import com.azure.core.http.rest.Response; -import com.azure.core.util.BinaryData; -import com.azure.core.util.FluxUtil; -import java.util.stream.Collectors; -import reactor.core.publisher.Flux; -import reactor.core.publisher.Mono; - -/** - * Initializes a new instance of the asynchronous AIProjectClient type. - */ -@ServiceClient(builder = AIProjectClientBuilder.class, isAsync = true) -public final class EvaluatorGenerationJobsAsyncClient { - - @Generated - private final EvaluatorGenerationJobsImpl serviceClient; - - /** - * Initializes an instance of EvaluatorGenerationJobsAsyncClient class. - * - * @param serviceClient the service client implementation. - */ - @Generated - EvaluatorGenerationJobsAsyncClient(EvaluatorGenerationJobsImpl serviceClient) { - this.serviceClient = serviceClient; - } - - /** - * Creates an evaluator generation job. - * - * Creates an evaluator generation job. The service generates rubric-based evaluator - * definitions from the provided source materials asynchronously. - *

Header Parameters

- * - * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When - * absent, the server creates the job unconditionally.
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param job The job to create. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials along with {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { - return this.serviceClient.createGenerationJobWithResponseAsync(job, requestOptions); - } - - /** - * Get info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID along with {@link Response} on successful completion of - * {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return this.serviceClient.getGenerationJobWithResponseAsync(jobId, requestOptions); - } - - /** - * Returns a list of evaluator generation jobs. - *

Query Parameters

- * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: - * "quality", "safety", "agents".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listGenerationJobs(RequestOptions requestOptions) { - return this.serviceClient.listGenerationJobsAsync(requestOptions); - } - - /** - * Cancels an evaluator generation job. - * - * Cancels an evaluator generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job to cancel. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials along with {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return this.serviceClient.cancelGenerationJobWithResponseAsync(jobId, requestOptions); - } - - /** - * Deletes an evaluator generation job by its ID. Deletes the job record only; - * the generated evaluator (if any) is preserved. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - * - * @param jobId The ID of the job to delete. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return this.serviceClient.deleteGenerationJobWithResponseAsync(jobId, requestOptions); - } - - /** - * Creates an evaluator generation job. - * - * Creates an evaluator generation job. The service generates rubric-based evaluator - * definitions from the provided source materials asynchronously. - * - * @param job The job to create. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job - * unconditionally. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createGenerationJob(EvaluatorGenerationJob job, - FoundryFeaturesOptInKeys foundryFeatures, String operationId) { - // Generated convenience method for createGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (operationId != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); - } - return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); - } - - /** - * Creates an evaluator generation job. - * - * Creates an evaluator generation job. The service generates rubric-based evaluator - * definitions from the provided source materials asynchronously. - * - * @param job The job to create. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createGenerationJob(EvaluatorGenerationJob job) { - // Generated convenience method for createGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); - } - - /** - * Get info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - * - * @param jobId The ID of the job. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for getGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return getGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); - } - - /** - * Get info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - * - * @param jobId The ID of the job. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getGenerationJob(String jobId) { - // Generated convenience method for getGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return getGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); - } - - /** - * Returns a list of evaluator generation jobs. - * - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the - * default is 20. - * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` - * for descending order. - * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list. - * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list. - * @param category Filter evaluator generation jobs by category. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, - PageOrder order, String after, String before, EvaluatorCategory category) { - // Generated convenience method for listGenerationJobs - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (limit != null) { - requestOptions.addQueryParam("limit", String.valueOf(limit), false); - } - if (order != null) { - requestOptions.addQueryParam("order", order.toString(), false); - } - if (after != null) { - requestOptions.addQueryParam("after", after, false); - } - if (before != null) { - requestOptions.addQueryParam("before", before, false); - } - if (category != null) { - requestOptions.addQueryParam("category", category.toString(), false); - } - PagedFlux pagedFluxResponse = listGenerationJobs(requestOptions); - return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { - Flux> flux = (continuationTokenParam == null) - ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationTokenParam).take(1); - return flux - .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), - pagedResponse.getStatusCode(), pagedResponse.getHeaders(), - pagedResponse.getValue() - .stream() - .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)) - .collect(Collectors.toList()), - pagedResponse.getContinuationToken(), null)); - }); - } - - /** - * Returns a list of evaluator generation jobs. - * - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listGenerationJobs() { - // Generated convenience method for listGenerationJobs - RequestOptions requestOptions = new RequestOptions(); - PagedFlux pagedFluxResponse = listGenerationJobs(requestOptions); - return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { - Flux> flux = (continuationTokenParam == null) - ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationTokenParam).take(1); - return flux - .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), - pagedResponse.getStatusCode(), pagedResponse.getHeaders(), - pagedResponse.getValue() - .stream() - .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)) - .collect(Collectors.toList()), - pagedResponse.getContinuationToken(), null)); - }); - } - - /** - * Cancels an evaluator generation job. - * - * Cancels an evaluator generation job by its ID. - * - * @param jobId The ID of the job to cancel. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono cancelGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for cancelGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return cancelGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); - } - - /** - * Cancels an evaluator generation job. - * - * Cancels an evaluator generation job by its ID. - * - * @param jobId The ID of the job to cancel. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono cancelGenerationJob(String jobId) { - // Generated convenience method for cancelGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return cancelGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); - } - - /** - * Deletes an evaluator generation job by its ID. Deletes the job record only; - * the generated evaluator (if any) is preserved. - * - * @param jobId The ID of the job to delete. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for deleteGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return deleteGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); - } - - /** - * Deletes an evaluator generation job by its ID. Deletes the job record only; - * the generated evaluator (if any) is preserved. - * - * @param jobId The ID of the job to delete. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteGenerationJob(String jobId) { - // Generated convenience method for deleteGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return deleteGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java deleted file mode 100644 index d49489c931df..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java +++ /dev/null @@ -1,950 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects; - -import com.azure.ai.agents.models.PageOrder; -import com.azure.ai.projects.implementation.EvaluatorGenerationJobsImpl; -import com.azure.ai.projects.models.EvaluatorCategory; -import com.azure.ai.projects.models.EvaluatorGenerationJob; -import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceClient; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.exception.ClientAuthenticationException; -import com.azure.core.exception.HttpResponseException; -import com.azure.core.exception.ResourceModifiedException; -import com.azure.core.exception.ResourceNotFoundException; -import com.azure.core.http.HttpHeaderName; -import com.azure.core.http.rest.PagedIterable; -import com.azure.core.http.rest.RequestOptions; -import com.azure.core.http.rest.Response; -import com.azure.core.util.BinaryData; - -/** - * Initializes a new instance of the synchronous AIProjectClient type. - */ -@ServiceClient(builder = AIProjectClientBuilder.class) -public final class EvaluatorGenerationJobsClient { - - @Generated - private final EvaluatorGenerationJobsImpl serviceClient; - - /** - * Initializes an instance of EvaluatorGenerationJobsClient class. - * - * @param serviceClient the service client implementation. - */ - @Generated - EvaluatorGenerationJobsClient(EvaluatorGenerationJobsImpl serviceClient) { - this.serviceClient = serviceClient; - } - - /** - * Creates an evaluator generation job. - * - * Creates an evaluator generation job. The service generates rubric-based evaluator - * definitions from the provided source materials asynchronously. - *

Header Parameters

- * - * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When - * absent, the server creates the job unconditionally.
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param job The job to create. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials along with {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { - return this.serviceClient.createGenerationJobWithResponse(job, requestOptions); - } - - /** - * Get info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID along with {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return this.serviceClient.getGenerationJobWithResponse(jobId, requestOptions); - } - - /** - * Returns a list of evaluator generation jobs. - *

Query Parameters

- * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: - * "quality", "safety", "agents".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listGenerationJobs(RequestOptions requestOptions) { - return this.serviceClient.listGenerationJobs(requestOptions); - } - - /** - * Cancels an evaluator generation job. - * - * Cancels an evaluator generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job to cancel. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials along with {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return this.serviceClient.cancelGenerationJobWithResponse(jobId, requestOptions); - } - - /** - * Deletes an evaluator generation job by its ID. Deletes the job record only; - * the generated evaluator (if any) is preserved. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - * - * @param jobId The ID of the job to delete. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return this.serviceClient.deleteGenerationJobWithResponse(jobId, requestOptions); - } - - /** - * Creates an evaluator generation job. - * - * Creates an evaluator generation job. The service generates rubric-based evaluator - * definitions from the provided source materials asynchronously. - * - * @param job The job to create. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job - * unconditionally. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public EvaluatorGenerationJob createGenerationJob(EvaluatorGenerationJob job, - FoundryFeaturesOptInKeys foundryFeatures, String operationId) { - // Generated convenience method for createGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (operationId != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); - } - return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue() - .toObject(EvaluatorGenerationJob.class); - } - - /** - * Creates an evaluator generation job. - * - * Creates an evaluator generation job. The service generates rubric-based evaluator - * definitions from the provided source materials asynchronously. - * - * @param job The job to create. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public EvaluatorGenerationJob createGenerationJob(EvaluatorGenerationJob job) { - // Generated convenience method for createGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue() - .toObject(EvaluatorGenerationJob.class); - } - - /** - * Get info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - * - * @param jobId The ID of the job. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public EvaluatorGenerationJob getGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for getGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return getGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(EvaluatorGenerationJob.class); - } - - /** - * Get info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - * - * @param jobId The ID of the job. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public EvaluatorGenerationJob getGenerationJob(String jobId) { - // Generated convenience method for getGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return getGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(EvaluatorGenerationJob.class); - } - - /** - * Returns a list of evaluator generation jobs. - * - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the - * default is 20. - * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` - * for descending order. - * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list. - * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list. - * @param category Filter evaluator generation jobs by category. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, - Integer limit, PageOrder order, String after, String before, EvaluatorCategory category) { - // Generated convenience method for listGenerationJobs - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (limit != null) { - requestOptions.addQueryParam("limit", String.valueOf(limit), false); - } - if (order != null) { - requestOptions.addQueryParam("order", order.toString(), false); - } - if (after != null) { - requestOptions.addQueryParam("after", after, false); - } - if (before != null) { - requestOptions.addQueryParam("before", before, false); - } - if (category != null) { - requestOptions.addQueryParam("category", category.toString(), false); - } - return serviceClient.listGenerationJobs(requestOptions) - .mapPage(bodyItemValue -> bodyItemValue.toObject(EvaluatorGenerationJob.class)); - } - - /** - * Returns a list of evaluator generation jobs. - * - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listGenerationJobs() { - // Generated convenience method for listGenerationJobs - RequestOptions requestOptions = new RequestOptions(); - return serviceClient.listGenerationJobs(requestOptions) - .mapPage(bodyItemValue -> bodyItemValue.toObject(EvaluatorGenerationJob.class)); - } - - /** - * Cancels an evaluator generation job. - * - * Cancels an evaluator generation job by its ID. - * - * @param jobId The ID of the job to cancel. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public EvaluatorGenerationJob cancelGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for cancelGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return cancelGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(EvaluatorGenerationJob.class); - } - - /** - * Cancels an evaluator generation job. - * - * Cancels an evaluator generation job by its ID. - * - * @param jobId The ID of the job to cancel. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public EvaluatorGenerationJob cancelGenerationJob(String jobId) { - // Generated convenience method for cancelGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return cancelGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(EvaluatorGenerationJob.class); - } - - /** - * Deletes an evaluator generation job by its ID. Deletes the job record only; - * the generated evaluator (if any) is preserved. - * - * @param jobId The ID of the job to delete. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for deleteGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - deleteGenerationJobWithResponse(jobId, requestOptions).getValue(); - } - - /** - * Deletes an evaluator generation job by its ID. Deletes the job record only; - * the generated evaluator (if any) is preserved. - * - * @param jobId The ID of the job to delete. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteGenerationJob(String jobId) { - // Generated convenience method for deleteGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - deleteGenerationJobWithResponse(jobId, requestOptions).getValue(); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java index f8f29c22f822..e10d08ca3193 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java @@ -70,7 +70,7 @@ public final class EvaluatorsAsyncClient { * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -88,15 +88,6 @@ public final class EvaluatorsAsyncClient { * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -151,7 +142,7 @@ public PagedFlux listEvaluatorVersions(String name, RequestOptions r * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -169,15 +160,6 @@ public PagedFlux listEvaluatorVersions(String name, RequestOptions r * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -222,7 +204,7 @@ public PagedFlux listLatestEvaluatorVersions(RequestOptions requestO * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -240,15 +222,6 @@ public PagedFlux listLatestEvaluatorVersions(RequestOptions requestO * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -316,7 +289,7 @@ public Mono> deleteEvaluatorVersionWithResponse(String name, Stri * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -334,15 +307,6 @@ public Mono> deleteEvaluatorVersionWithResponse(String name, Stri * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -371,7 +335,7 @@ public Mono> deleteEvaluatorVersionWithResponse(String name, Stri * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -389,15 +353,6 @@ public Mono> deleteEvaluatorVersionWithResponse(String name, Stri * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -444,7 +399,7 @@ public Mono> createEvaluatorVersionWithResponse(String name * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -462,15 +417,6 @@ public Mono> createEvaluatorVersionWithResponse(String name * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -499,7 +445,7 @@ public Mono> createEvaluatorVersionWithResponse(String name * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -517,15 +463,6 @@ public Mono> createEvaluatorVersionWithResponse(String name * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java index 18ba805fe465..d2f2dab0ec23 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java @@ -64,7 +64,7 @@ public final class EvaluatorsClient { * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -82,15 +82,6 @@ public final class EvaluatorsClient { * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -145,7 +136,7 @@ public PagedIterable listEvaluatorVersions(String name, RequestOptio * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -163,15 +154,6 @@ public PagedIterable listEvaluatorVersions(String name, RequestOptio * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -216,7 +198,7 @@ public PagedIterable listLatestEvaluatorVersions(RequestOptions requ * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -234,15 +216,6 @@ public PagedIterable listLatestEvaluatorVersions(RequestOptions requ * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -309,7 +282,7 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -327,15 +300,6 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -364,7 +328,7 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -382,15 +346,6 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -437,7 +392,7 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -455,15 +410,6 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -492,7 +438,7 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -510,15 +456,6 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java index 3982385e22ac..52a3f3e6fcb0 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java @@ -55,7 +55,7 @@ public final class InsightsAsyncClient { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -137,7 +137,7 @@ public Mono> generateInsightWithResponse(BinaryData insight * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -198,7 +198,7 @@ public Mono> getInsightWithResponse(String id, RequestOptio * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java index 6097a4d44761..db1dd1dcfd7b 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java @@ -49,7 +49,7 @@ public final class InsightsClient { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -130,7 +130,7 @@ public Response generateInsightWithResponse(BinaryData insight, Requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -191,7 +191,7 @@ public Response getInsightWithResponse(String id, RequestOptions req * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java index 00cbf18a8795..a22a51b66574 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java @@ -5,11 +5,12 @@ import com.azure.ai.projects.implementation.JsonMergePatchHelper; import com.azure.ai.projects.implementation.ModelsImpl; +import com.azure.ai.projects.models.CreateAsyncResponse; import com.azure.ai.projects.models.DatasetCredential; import com.azure.ai.projects.models.ModelCredentialRequest; +import com.azure.ai.projects.models.ModelPendingUploadRequest; +import com.azure.ai.projects.models.ModelPendingUploadResponse; import com.azure.ai.projects.models.ModelVersion; -import com.azure.ai.projects.models.PendingUploadRequest; -import com.azure.ai.projects.models.PendingUploadResponse; import com.azure.ai.projects.models.UpdateModelVersionRequest; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; @@ -248,8 +249,8 @@ public Mono> getModelVersionWithResponse(String name, Strin } /** - * Delete the specific version of the ModelVersion. The service returns 204 No Content if the ModelVersion was - * deleted successfully or if the ModelVersion does not exist. + * Delete the specific version of the ModelVersion. The service returns 200 OK if the ModelVersion was deleted + * successfully or if the ModelVersion does not exist. * * @param name The name of the resource. * @param version The version of the ModelVersion to delete. @@ -357,7 +358,7 @@ public Mono> updateModelVersionWithResponse(String name, St * { * pendingUploadId: String (Optional) * connectionName: String (Optional) - * pendingUploadType: String(None/TemporaryBlobReference) (Required) + * pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required) * } * } * @@ -377,7 +378,7 @@ public Mono> updateModelVersionWithResponse(String name, St * } * pendingUploadId: String (Required) * version: String (Optional) - * pendingUploadType: String(None/TemporaryBlobReference) (Required) + * pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required) * } * } * @@ -390,8 +391,8 @@ public Mono> updateModelVersionWithResponse(String name, St * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return represents the response for a pending upload request along with {@link Response} on successful completion - * of {@link Mono}. + * @return represents the response for a model pending upload request along with {@link Response} on successful + * completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) @@ -533,8 +534,8 @@ public Mono getModelVersion(String name, String version) { } /** - * Delete the specific version of the ModelVersion. The service returns 204 No Content if the ModelVersion was - * deleted successfully or if the ModelVersion does not exist. + * Delete the specific version of the ModelVersion. The service returns 200 OK if the ModelVersion was deleted + * successfully or if the ModelVersion does not exist. * * @param name The name of the resource. * @param version The version of the ModelVersion to delete. @@ -582,30 +583,6 @@ public Mono updateModelVersion(String name, String version, Update .map(protocolMethodData -> protocolMethodData.toObject(ModelVersion.class)); } - /** - * Start or retrieve a pending upload for a model version. - * - * @param name Name of the model. - * @param version Version of the model. - * @param body The body parameter. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return represents the response for a pending upload request on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startModelPendingUpload(String name, String version, PendingUploadRequest body) { - // Generated convenience method for startModelPendingUploadWithResponse - RequestOptions requestOptions = new RequestOptions(); - return startModelPendingUploadWithResponse(name, version, BinaryData.fromObject(body), requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(PendingUploadResponse.class)); - } - /** * Get credentials for a model version asset. * @@ -681,6 +658,17 @@ public Mono getModelCredentials(String name, String version, * } * } * + * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     location: String (Optional)
+     *     operationResult: String (Optional)
+     * }
+     * }
+     * 
* * @param name Name of the model. * @param version Version of the model. @@ -690,11 +678,11 @@ public Mono getModelCredentials(String name, String version, * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createModelVersionAsyncWithResponse(String name, String version, BinaryData body, + public Mono> createModelVersionAsyncWithResponse(String name, String version, BinaryData body, RequestOptions requestOptions) { return this.serviceClient.createModelVersionAsyncWithResponseAsync(name, version, body, requestOptions); } @@ -712,14 +700,40 @@ public Mono> createModelVersionAsyncWithResponse(String name, Str * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return the response body on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createModelVersionAsync(String name, String version, ModelVersion body) { + public Mono createModelVersionAsync(String name, String version, ModelVersion body) { // Generated convenience method for createModelVersionAsyncWithResponse RequestOptions requestOptions = new RequestOptions(); return createModelVersionAsyncWithResponse(name, version, BinaryData.fromObject(body), requestOptions) - .flatMap(FluxUtil::toMono); + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(CreateAsyncResponse.class)); + } + + /** + * Start or retrieve a pending upload for a model version. + * + * @param name Name of the model. + * @param version Version of the model. + * @param body The body parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents the response for a model pending upload request on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono startModelPendingUpload(String name, String version, + ModelPendingUploadRequest body) { + // Generated convenience method for startModelPendingUploadWithResponse + RequestOptions requestOptions = new RequestOptions(); + return startModelPendingUploadWithResponse(name, version, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(ModelPendingUploadResponse.class)); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java index d78fa7c24717..30851265648b 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java @@ -5,11 +5,12 @@ import com.azure.ai.projects.implementation.JsonMergePatchHelper; import com.azure.ai.projects.implementation.ModelsImpl; +import com.azure.ai.projects.models.CreateAsyncResponse; import com.azure.ai.projects.models.DatasetCredential; import com.azure.ai.projects.models.ModelCredentialRequest; +import com.azure.ai.projects.models.ModelPendingUploadRequest; +import com.azure.ai.projects.models.ModelPendingUploadResponse; import com.azure.ai.projects.models.ModelVersion; -import com.azure.ai.projects.models.PendingUploadRequest; -import com.azure.ai.projects.models.PendingUploadResponse; import com.azure.ai.projects.models.UpdateModelVersionRequest; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; @@ -241,8 +242,8 @@ public Response getModelVersionWithResponse(String name, String vers } /** - * Delete the specific version of the ModelVersion. The service returns 204 No Content if the ModelVersion was - * deleted successfully or if the ModelVersion does not exist. + * Delete the specific version of the ModelVersion. The service returns 200 OK if the ModelVersion was deleted + * successfully or if the ModelVersion does not exist. * * @param name The name of the resource. * @param version The version of the ModelVersion to delete. @@ -349,7 +350,7 @@ public Response updateModelVersionWithResponse(String name, String v * { * pendingUploadId: String (Optional) * connectionName: String (Optional) - * pendingUploadType: String(None/TemporaryBlobReference) (Required) + * pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required) * } * } * @@ -369,7 +370,7 @@ public Response updateModelVersionWithResponse(String name, String v * } * pendingUploadId: String (Required) * version: String (Optional) - * pendingUploadType: String(None/TemporaryBlobReference) (Required) + * pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required) * } * } * @@ -382,7 +383,7 @@ public Response updateModelVersionWithResponse(String name, String v * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return represents the response for a pending upload request along with {@link Response}. + * @return represents the response for a model pending upload request along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) @@ -500,8 +501,8 @@ public ModelVersion getModelVersion(String name, String version) { } /** - * Delete the specific version of the ModelVersion. The service returns 204 No Content if the ModelVersion was - * deleted successfully or if the ModelVersion does not exist. + * Delete the specific version of the ModelVersion. The service returns 200 OK if the ModelVersion was deleted + * successfully or if the ModelVersion does not exist. * * @param name The name of the resource. * @param version The version of the ModelVersion to delete. @@ -548,30 +549,6 @@ public ModelVersion updateModelVersion(String name, String version, UpdateModelV .toObject(ModelVersion.class); } - /** - * Start or retrieve a pending upload for a model version. - * - * @param name Name of the model. - * @param version Version of the model. - * @param body The body parameter. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return represents the response for a pending upload request. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public PendingUploadResponse startModelPendingUpload(String name, String version, PendingUploadRequest body) { - // Generated convenience method for startModelPendingUploadWithResponse - RequestOptions requestOptions = new RequestOptions(); - return startModelPendingUploadWithResponse(name, version, BinaryData.fromObject(body), requestOptions) - .getValue() - .toObject(PendingUploadResponse.class); - } - /** * Get credentials for a model version asset. * @@ -646,6 +623,17 @@ public DatasetCredential getModelCredentials(String name, String version, ModelC * } * } * + * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     location: String (Optional)
+     *     operationResult: String (Optional)
+     * }
+     * }
+     * 
* * @param name Name of the model. * @param version Version of the model. @@ -655,11 +643,11 @@ public DatasetCredential getModelCredentials(String name, String version, ModelC * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. + * @return the response body along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response createModelVersionAsyncWithResponse(String name, String version, BinaryData body, + public Response createModelVersionAsyncWithResponse(String name, String version, BinaryData body, RequestOptions requestOptions) { return this.serviceClient.createModelVersionAsyncWithResponse(name, version, body, requestOptions); } @@ -677,12 +665,40 @@ public Response createModelVersionAsyncWithResponse(String name, String ve * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public void createModelVersionAsync(String name, String version, ModelVersion body) { + public CreateAsyncResponse createModelVersionAsync(String name, String version, ModelVersion body) { // Generated convenience method for createModelVersionAsyncWithResponse RequestOptions requestOptions = new RequestOptions(); - createModelVersionAsyncWithResponse(name, version, BinaryData.fromObject(body), requestOptions).getValue(); + return createModelVersionAsyncWithResponse(name, version, BinaryData.fromObject(body), requestOptions) + .getValue() + .toObject(CreateAsyncResponse.class); + } + + /** + * Start or retrieve a pending upload for a model version. + * + * @param name Name of the model. + * @param version Version of the model. + * @param body The body parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents the response for a model pending upload request. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public ModelPendingUploadResponse startModelPendingUpload(String name, String version, + ModelPendingUploadRequest body) { + // Generated convenience method for startModelPendingUploadWithResponse + RequestOptions requestOptions = new RequestOptions(); + return startModelPendingUploadWithResponse(name, version, BinaryData.fromObject(body), requestOptions) + .getValue() + .toObject(ModelPendingUploadResponse.class); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java index 08f6257431b8..bf50643e568b 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java @@ -206,20 +206,6 @@ public EvaluatorsImpl getEvaluators() { return this.evaluators; } - /** - * The EvaluatorGenerationJobsImpl object to access its operations. - */ - private final EvaluatorGenerationJobsImpl evaluatorGenerationJobs; - - /** - * Gets the EvaluatorGenerationJobsImpl object to access its operations. - * - * @return the EvaluatorGenerationJobsImpl object. - */ - public EvaluatorGenerationJobsImpl getEvaluatorGenerationJobs() { - return this.evaluatorGenerationJobs; - } - /** * The InsightsImpl object to access its operations. */ @@ -262,20 +248,6 @@ public SkillsImpl getSkills() { return this.skills; } - /** - * The DataGenerationJobsImpl object to access its operations. - */ - private final DataGenerationJobsImpl dataGenerationJobs; - - /** - * Gets the DataGenerationJobsImpl object to access its operations. - * - * @return the DataGenerationJobsImpl object. - */ - public DataGenerationJobsImpl getDataGenerationJobs() { - return this.dataGenerationJobs; - } - /** * Initializes an instance of AIProjectClient client. * @@ -333,10 +305,8 @@ public AIProjectClientImpl(HttpPipeline httpPipeline, SerializerAdapter serializ this.evaluationRules = new EvaluationRulesImpl(this); this.evaluationTaxonomies = new EvaluationTaxonomiesImpl(this); this.evaluators = new EvaluatorsImpl(this); - this.evaluatorGenerationJobs = new EvaluatorGenerationJobsImpl(this); this.insights = new InsightsImpl(this); this.schedules = new SchedulesImpl(this); this.skills = new SkillsImpl(this); - this.dataGenerationJobs = new DataGenerationJobsImpl(this); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java deleted file mode 100644 index 9d2134d84dae..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java +++ /dev/null @@ -1,1361 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.implementation; - -import com.azure.ai.projects.AIProjectsServiceVersion; -import com.azure.core.annotation.BodyParam; -import com.azure.core.annotation.Delete; -import com.azure.core.annotation.ExpectedResponses; -import com.azure.core.annotation.Get; -import com.azure.core.annotation.HeaderParam; -import com.azure.core.annotation.Host; -import com.azure.core.annotation.HostParam; -import com.azure.core.annotation.PathParam; -import com.azure.core.annotation.Post; -import com.azure.core.annotation.QueryParam; -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceInterface; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.annotation.UnexpectedResponseExceptionType; -import com.azure.core.exception.ClientAuthenticationException; -import com.azure.core.exception.HttpResponseException; -import com.azure.core.exception.ResourceModifiedException; -import com.azure.core.exception.ResourceNotFoundException; -import com.azure.core.http.rest.PagedFlux; -import com.azure.core.http.rest.PagedIterable; -import com.azure.core.http.rest.PagedResponse; -import com.azure.core.http.rest.PagedResponseBase; -import com.azure.core.http.rest.RequestOptions; -import com.azure.core.http.rest.Response; -import com.azure.core.http.rest.RestProxy; -import com.azure.core.util.BinaryData; -import com.azure.core.util.Context; -import com.azure.core.util.FluxUtil; -import java.util.List; -import java.util.Map; -import java.util.stream.Collectors; -import reactor.core.publisher.Mono; - -/** - * An instance of this class provides access to all the operations defined in DataGenerationJobs. - */ -public final class DataGenerationJobsImpl { - /** - * The proxy service used to perform REST calls. - */ - private final DataGenerationJobsService service; - - /** - * The service client containing this operation class. - */ - private final AIProjectClientImpl client; - - /** - * Initializes an instance of DataGenerationJobsImpl. - * - * @param client the instance of the service client containing this operation class. - */ - DataGenerationJobsImpl(AIProjectClientImpl client) { - this.service = RestProxy.create(DataGenerationJobsService.class, client.getHttpPipeline(), - client.getSerializerAdapter()); - this.client = client; - } - - /** - * Gets Service version. - * - * @return the serviceVersion value. - */ - public AIProjectsServiceVersion getServiceVersion() { - return client.getServiceVersion(); - } - - /** - * The interface defining all the services for AIProjectClientDataGenerationJobs to be used by the proxy service to - * perform REST calls. - */ - @Host("{endpoint}") - @ServiceInterface(name = "AIProjectClientDataGenerationJobs") - public interface DataGenerationJobsService { - @Get("/data_generation_jobs/{jobId}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getGenerationJob(@HostParam("endpoint") String endpoint, - @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - - @Get("/data_generation_jobs/{jobId}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getGenerationJobSync(@HostParam("endpoint") String endpoint, - @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - - @Get("/data_generation_jobs") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> listGenerationJobs(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); - - @Get("/data_generation_jobs") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response listGenerationJobsSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); - - @Post("/data_generation_jobs") - @ExpectedResponses({ 201 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> createGenerationJob(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, - RequestOptions requestOptions, Context context); - - @Post("/data_generation_jobs") - @ExpectedResponses({ 201 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response createGenerationJobSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, - RequestOptions requestOptions, Context context); - - @Post("/data_generation_jobs/{jobId}:cancel") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> cancelGenerationJob(@HostParam("endpoint") String endpoint, - @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - - @Post("/data_generation_jobs/{jobId}:cancel") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response cancelGenerationJobSync(@HostParam("endpoint") String endpoint, - @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - - @Delete("/data_generation_jobs/{jobId}") - @ExpectedResponses({ 204 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> deleteGenerationJob(@HostParam("endpoint") String endpoint, - @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, - RequestOptions requestOptions, Context context); - - @Delete("/data_generation_jobs/{jobId}") - @ExpectedResponses({ 204 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response deleteGenerationJobSync(@HostParam("endpoint") String endpoint, @PathParam("jobId") String jobId, - @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); - } - - /** - * Get info about a data generation job. - * - * Gets the details of a data generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return info about a data generation job. - * - * Gets the details of a data generation job by its ID along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getGenerationJobWithResponseAsync(String jobId, RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getGenerationJob(this.client.getEndpoint(), jobId, - this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); - } - - /** - * Get info about a data generation job. - * - * Gets the details of a data generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return info about a data generation job. - * - * Gets the details of a data generation job by its ID along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.getGenerationJobSync(this.client.getEndpoint(), jobId, - this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); - } - - /** - * Returns a list of data generation jobs - * - * Returns a list of data generation jobs. - *

Query Parameters

- * - * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: - * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form - * of "," separated string.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items along with {@link PagedResponse} on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listGenerationJobsSinglePageAsync(RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listGenerationJobs(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "data"), null, null)); - } - - /** - * Returns a list of data generation jobs - * - * Returns a list of data generation jobs. - *

Query Parameters

- * - * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: - * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form - * of "," separated string.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listGenerationJobsAsync(RequestOptions requestOptions) { - return new PagedFlux<>(() -> listGenerationJobsSinglePageAsync(requestOptions)); - } - - /** - * Returns a list of data generation jobs - * - * Returns a list of data generation jobs. - *

Query Parameters

- * - * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: - * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form - * of "," separated string.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items along with {@link PagedResponse}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listGenerationJobsSinglePage(RequestOptions requestOptions) { - final String accept = "application/json"; - Response res = service.listGenerationJobsSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); - return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "data"), null, null); - } - - /** - * Returns a list of data generation jobs - * - * Returns a list of data generation jobs. - *

Query Parameters

- * - * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: - * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form - * of "," separated string.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listGenerationJobs(RequestOptions requestOptions) { - return new PagedIterable<>(() -> listGenerationJobsSinglePage(requestOptions)); - } - - /** - * Creates a data generation job. - *

Header Parameters

- * - * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When - * absent, the server creates the job unconditionally.
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - * @param job The job to create. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return data Generation Job resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createGenerationJobWithResponseAsync(BinaryData job, - RequestOptions requestOptions) { - final String contentType = "application/json"; - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.createGenerationJob(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), contentType, accept, job, requestOptions, context)); - } - - /** - * Creates a data generation job. - *

Header Parameters

- * - * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When - * absent, the server creates the job unconditionally.
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - * @param job The job to create. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return data Generation Job resource along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { - final String contentType = "application/json"; - final String accept = "application/json"; - return service.createGenerationJobSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - contentType, accept, job, requestOptions, Context.NONE); - } - - /** - * Cancels a data generation job. - * - * Cancels a data generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job to cancel. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return data Generation Job resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> cancelGenerationJobWithResponseAsync(String jobId, - RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.cancelGenerationJob(this.client.getEndpoint(), jobId, - this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); - } - - /** - * Cancels a data generation job. - * - * Cancels a data generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset/file) (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *         options (Required): {
-     *             type: String(simple_qna/traces/tool_use) (Required)
-     *             max_samples: int (Required)
-     *             train_split: Double (Optional)
-     *             model_options (Optional): {
-     *                 model: String (Required)
-     *             }
-     *         }
-     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
-     *     }
-     *     result (Optional): {
-     *         outputs (Optional): [
-     *              (Optional){
-     *                 type: String(file/dataset) (Required)
-     *             }
-     *         ]
-     *         generated_samples: int (Required)
-     *         token_usage (Optional): {
-     *             prompt_tokens: long (Required)
-     *             completion_tokens: long (Required)
-     *             total_tokens: long (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job to cancel. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return data Generation Job resource along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.cancelGenerationJobSync(this.client.getEndpoint(), jobId, - this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); - } - - /** - * Deletes a data generation job. - * - * Deletes a data generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - * - * @param jobId The ID of the job to delete. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteGenerationJobWithResponseAsync(String jobId, RequestOptions requestOptions) { - return FluxUtil.withContext(context -> service.deleteGenerationJob(this.client.getEndpoint(), jobId, - this.client.getServiceVersion().getVersion(), requestOptions, context)); - } - - /** - * Deletes a data generation job. - * - * Deletes a data generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - * - * @param jobId The ID of the job to delete. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return service.deleteGenerationJobSync(this.client.getEndpoint(), jobId, - this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); - } - - private List getValues(BinaryData binaryData, String path) { - try { - Map obj = binaryData.toObject(Map.class); - List values = (List) obj.get(path); - return values.stream().map(BinaryData::fromObject).collect(Collectors.toList()); - } catch (RuntimeException e) { - return null; - } - } - - private String getNextLink(BinaryData binaryData, String path) { - try { - Map obj = binaryData.toObject(Map.class); - return (String) obj.get(path); - } catch (RuntimeException e) { - return null; - } - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java index 0fd375f69e45..e275c1640370 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java @@ -838,7 +838,7 @@ public Response createOrUpdateDatasetVersionWithResponse(String name * { * pendingUploadId: String (Optional) * connectionName: String (Optional) - * pendingUploadType: String(None/TemporaryBlobReference) (Required) + * pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required) * } * } * @@ -858,7 +858,7 @@ public Response createOrUpdateDatasetVersionWithResponse(String name * } * pendingUploadId: String (Required) * version: String (Optional) - * pendingUploadType: String(None/TemporaryBlobReference) (Required) + * pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required) * } * } * @@ -893,7 +893,7 @@ public Mono> pendingUploadWithResponseAsync(String name, St * { * pendingUploadId: String (Optional) * connectionName: String (Optional) - * pendingUploadType: String(None/TemporaryBlobReference) (Required) + * pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required) * } * } * @@ -913,7 +913,7 @@ public Mono> pendingUploadWithResponseAsync(String name, St * } * pendingUploadId: String (Required) * version: String (Optional) - * pendingUploadType: String(None/TemporaryBlobReference) (Required) + * pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required) * } * } * diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java index 0c982b76a4a2..ec4fac1bf8aa 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java @@ -305,7 +305,7 @@ public Response deleteEvaluationRuleWithResponse(String id, RequestOptions * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -382,7 +382,7 @@ public Mono> createOrUpdateEvaluationRuleWithResponseAsync( * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java deleted file mode 100644 index f1d4a1facb02..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java +++ /dev/null @@ -1,1749 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.implementation; - -import com.azure.ai.projects.AIProjectsServiceVersion; -import com.azure.core.annotation.BodyParam; -import com.azure.core.annotation.Delete; -import com.azure.core.annotation.ExpectedResponses; -import com.azure.core.annotation.Get; -import com.azure.core.annotation.HeaderParam; -import com.azure.core.annotation.Host; -import com.azure.core.annotation.HostParam; -import com.azure.core.annotation.PathParam; -import com.azure.core.annotation.Post; -import com.azure.core.annotation.QueryParam; -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceInterface; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.annotation.UnexpectedResponseExceptionType; -import com.azure.core.exception.ClientAuthenticationException; -import com.azure.core.exception.HttpResponseException; -import com.azure.core.exception.ResourceModifiedException; -import com.azure.core.exception.ResourceNotFoundException; -import com.azure.core.http.rest.PagedFlux; -import com.azure.core.http.rest.PagedIterable; -import com.azure.core.http.rest.PagedResponse; -import com.azure.core.http.rest.PagedResponseBase; -import com.azure.core.http.rest.RequestOptions; -import com.azure.core.http.rest.Response; -import com.azure.core.http.rest.RestProxy; -import com.azure.core.util.BinaryData; -import com.azure.core.util.Context; -import com.azure.core.util.FluxUtil; -import java.util.List; -import java.util.Map; -import java.util.stream.Collectors; -import reactor.core.publisher.Mono; - -/** - * An instance of this class provides access to all the operations defined in EvaluatorGenerationJobs. - */ -public final class EvaluatorGenerationJobsImpl { - /** - * The proxy service used to perform REST calls. - */ - private final EvaluatorGenerationJobsService service; - - /** - * The service client containing this operation class. - */ - private final AIProjectClientImpl client; - - /** - * Initializes an instance of EvaluatorGenerationJobsImpl. - * - * @param client the instance of the service client containing this operation class. - */ - EvaluatorGenerationJobsImpl(AIProjectClientImpl client) { - this.service = RestProxy.create(EvaluatorGenerationJobsService.class, client.getHttpPipeline(), - client.getSerializerAdapter()); - this.client = client; - } - - /** - * Gets Service version. - * - * @return the serviceVersion value. - */ - public AIProjectsServiceVersion getServiceVersion() { - return client.getServiceVersion(); - } - - /** - * The interface defining all the services for AIProjectClientEvaluatorGenerationJobs to be used by the proxy - * service to perform REST calls. - */ - @Host("{endpoint}") - @ServiceInterface(name = "AIProjectClientEvaluatorGenerationJobs") - public interface EvaluatorGenerationJobsService { - @Post("/evaluator_generation_jobs") - @ExpectedResponses({ 201 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> createGenerationJob(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, - RequestOptions requestOptions, Context context); - - @Post("/evaluator_generation_jobs") - @ExpectedResponses({ 201 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response createGenerationJobSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, - RequestOptions requestOptions, Context context); - - @Get("/evaluator_generation_jobs/{jobId}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getGenerationJob(@HostParam("endpoint") String endpoint, - @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - - @Get("/evaluator_generation_jobs/{jobId}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getGenerationJobSync(@HostParam("endpoint") String endpoint, - @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - - @Get("/evaluator_generation_jobs") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> listGenerationJobs(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); - - @Get("/evaluator_generation_jobs") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response listGenerationJobsSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); - - @Post("/evaluator_generation_jobs/{jobId}:cancel") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> cancelGenerationJob(@HostParam("endpoint") String endpoint, - @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - - @Post("/evaluator_generation_jobs/{jobId}:cancel") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response cancelGenerationJobSync(@HostParam("endpoint") String endpoint, - @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - - @Delete("/evaluator_generation_jobs/{jobId}") - @ExpectedResponses({ 204 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> deleteGenerationJob(@HostParam("endpoint") String endpoint, - @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, - RequestOptions requestOptions, Context context); - - @Delete("/evaluator_generation_jobs/{jobId}") - @ExpectedResponses({ 204 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response deleteGenerationJobSync(@HostParam("endpoint") String endpoint, @PathParam("jobId") String jobId, - @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); - } - - /** - * Creates an evaluator generation job. - * - * Creates an evaluator generation job. The service generates rubric-based evaluator - * definitions from the provided source materials asynchronously. - *

Header Parameters

- * - * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When - * absent, the server creates the job unconditionally.
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param job The job to create. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createGenerationJobWithResponseAsync(BinaryData job, - RequestOptions requestOptions) { - final String contentType = "application/json"; - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.createGenerationJob(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), contentType, accept, job, requestOptions, context)); - } - - /** - * Creates an evaluator generation job. - * - * Creates an evaluator generation job. The service generates rubric-based evaluator - * definitions from the provided source materials asynchronously. - *

Header Parameters

- * - * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When - * absent, the server creates the job unconditionally.
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param job The job to create. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { - final String contentType = "application/json"; - final String accept = "application/json"; - return service.createGenerationJobSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - contentType, accept, job, requestOptions, Context.NONE); - } - - /** - * Get info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getGenerationJobWithResponseAsync(String jobId, RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getGenerationJob(this.client.getEndpoint(), jobId, - this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); - } - - /** - * Get info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.getGenerationJobSync(this.client.getEndpoint(), jobId, - this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); - } - - /** - * Returns a list of evaluator generation jobs. - *

Query Parameters

- * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: - * "quality", "safety", "agents".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items along with {@link PagedResponse} on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listGenerationJobsSinglePageAsync(RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listGenerationJobs(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "data"), null, null)); - } - - /** - * Returns a list of evaluator generation jobs. - *

Query Parameters

- * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: - * "quality", "safety", "agents".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listGenerationJobsAsync(RequestOptions requestOptions) { - return new PagedFlux<>(() -> listGenerationJobsSinglePageAsync(requestOptions)); - } - - /** - * Returns a list of evaluator generation jobs. - *

Query Parameters

- * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: - * "quality", "safety", "agents".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items along with {@link PagedResponse}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listGenerationJobsSinglePage(RequestOptions requestOptions) { - final String accept = "application/json"; - Response res = service.listGenerationJobsSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); - return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "data"), null, null); - } - - /** - * Returns a list of evaluator generation jobs. - *

Query Parameters

- * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: - * "quality", "safety", "agents".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listGenerationJobs(RequestOptions requestOptions) { - return new PagedIterable<>(() -> listGenerationJobsSinglePage(requestOptions)); - } - - /** - * Cancels an evaluator generation job. - * - * Cancels an evaluator generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job to cancel. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> cancelGenerationJobWithResponseAsync(String jobId, - RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.cancelGenerationJob(this.client.getEndpoint(), jobId, - this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); - } - - /** - * Cancels an evaluator generation job. - * - * Cancels an evaluator generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         name: String (Required)
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         category: String(quality/safety/agents) (Optional)
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job to cancel. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.cancelGenerationJobSync(this.client.getEndpoint(), jobId, - this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); - } - - /** - * Deletes an evaluator generation job by its ID. Deletes the job record only; - * the generated evaluator (if any) is preserved. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - * - * @param jobId The ID of the job to delete. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteGenerationJobWithResponseAsync(String jobId, RequestOptions requestOptions) { - return FluxUtil.withContext(context -> service.deleteGenerationJob(this.client.getEndpoint(), jobId, - this.client.getServiceVersion().getVersion(), requestOptions, context)); - } - - /** - * Deletes an evaluator generation job by its ID. Deletes the job record only; - * the generated evaluator (if any) is preserved. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - * - * @param jobId The ID of the job to delete. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return service.deleteGenerationJobSync(this.client.getEndpoint(), jobId, - this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); - } - - private List getValues(BinaryData binaryData, String path) { - try { - Map obj = binaryData.toObject(Map.class); - List values = (List) obj.get(path); - return values.stream().map(BinaryData::fromObject).collect(Collectors.toList()); - } catch (RuntimeException e) { - return null; - } - } - - private String getNextLink(BinaryData binaryData, String path) { - try { - Map obj = binaryData.toObject(Map.class); - return (String) obj.get(path); - } catch (RuntimeException e) { - return null; - } - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java index 646d4d121174..0cab4112528c 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java @@ -285,7 +285,7 @@ Response listLatestEvaluatorVersionsNextSync( * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -303,15 +303,6 @@ Response listLatestEvaluatorVersionsNextSync( * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -373,7 +364,7 @@ private Mono> listEvaluatorVersionsSinglePageAsync(Str * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -391,15 +382,6 @@ private Mono> listEvaluatorVersionsSinglePageAsync(Str * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -457,7 +439,7 @@ public PagedFlux listEvaluatorVersionsAsync(String name, RequestOpti * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -475,15 +457,6 @@ public PagedFlux listEvaluatorVersionsAsync(String name, RequestOpti * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -542,7 +515,7 @@ private PagedResponse listEvaluatorVersionsSinglePage(String name, R * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -560,15 +533,6 @@ private PagedResponse listEvaluatorVersionsSinglePage(String name, R * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -626,7 +590,7 @@ public PagedIterable listEvaluatorVersions(String name, RequestOptio * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -644,15 +608,6 @@ public PagedIterable listEvaluatorVersions(String name, RequestOptio * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -712,7 +667,7 @@ private Mono> listLatestEvaluatorVersionsSinglePageAsy * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -730,15 +685,6 @@ private Mono> listLatestEvaluatorVersionsSinglePageAsy * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -795,7 +741,7 @@ public PagedFlux listLatestEvaluatorVersionsAsync(RequestOptions req * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -813,15 +759,6 @@ public PagedFlux listLatestEvaluatorVersionsAsync(RequestOptions req * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -879,7 +816,7 @@ private PagedResponse listLatestEvaluatorVersionsSinglePage(RequestO * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -897,15 +834,6 @@ private PagedResponse listLatestEvaluatorVersionsSinglePage(RequestO * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -953,7 +881,7 @@ public PagedIterable listLatestEvaluatorVersions(RequestOptions requ * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -971,15 +899,6 @@ public PagedIterable listLatestEvaluatorVersions(RequestOptions requ * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1031,7 +950,7 @@ public Mono> getEvaluatorVersionWithResponseAsync(String na * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1049,15 +968,6 @@ public Mono> getEvaluatorVersionWithResponseAsync(String na * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1148,7 +1058,7 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1166,15 +1076,6 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1203,7 +1104,7 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1221,15 +1122,6 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1280,7 +1172,7 @@ public Mono> createEvaluatorVersionWithResponseAsync(String * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1298,15 +1190,6 @@ public Mono> createEvaluatorVersionWithResponseAsync(String * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1335,7 +1218,7 @@ public Mono> createEvaluatorVersionWithResponseAsync(String * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1353,15 +1236,6 @@ public Mono> createEvaluatorVersionWithResponseAsync(String * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1412,7 +1286,7 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1430,15 +1304,6 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1467,7 +1332,7 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1485,15 +1350,6 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1545,7 +1401,7 @@ public Mono> updateEvaluatorVersionWithResponseAsync(String * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1563,15 +1419,6 @@ public Mono> updateEvaluatorVersionWithResponseAsync(String * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1600,7 +1447,7 @@ public Mono> updateEvaluatorVersionWithResponseAsync(String * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1618,15 +1465,6 @@ public Mono> updateEvaluatorVersionWithResponseAsync(String * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1678,7 +1516,7 @@ public Response updateEvaluatorVersionWithResponse(String name, Stri * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1696,15 +1534,6 @@ public Response updateEvaluatorVersionWithResponse(String name, Stri * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1756,7 +1585,7 @@ private Mono> listEvaluatorVersionsNextSinglePageAsync * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1774,15 +1603,6 @@ private Mono> listEvaluatorVersionsNextSinglePageAsync * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1832,7 +1652,7 @@ private PagedResponse listEvaluatorVersionsNextSinglePage(String nex * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1850,15 +1670,6 @@ private PagedResponse listEvaluatorVersionsNextSinglePage(String nex * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1910,7 +1721,7 @@ private Mono> listLatestEvaluatorVersionsNextSinglePag * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders/rubrics) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1928,15 +1739,6 @@ private Mono> listLatestEvaluatorVersionsNextSinglePag * } * } * } - * generation_artifacts (Optional): { - * dataset (Required): { - * name: String (Required) - * version: String (Required) - * } - * kinds (Required): [ - * String (Required) - * ] - * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java index 32afcb6e3f89..8d3bca9e460e 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java @@ -173,7 +173,7 @@ Response listInsightsNextSync(@PathParam(value = "nextLink", encoded * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -264,7 +264,7 @@ public Mono> generateInsightWithResponseAsync(BinaryData in * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -361,7 +361,7 @@ public Response generateInsightWithResponse(BinaryData insight, Requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -418,7 +418,7 @@ public Mono> getInsightWithResponseAsync(String id, Request * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -480,7 +480,7 @@ public Response getInsightWithResponse(String id, RequestOptions req * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -545,7 +545,7 @@ private Mono> listInsightsSinglePageAsync(RequestOptio * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -608,7 +608,7 @@ public PagedFlux listInsightsAsync(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -671,7 +671,7 @@ private PagedResponse listInsightsSinglePage(RequestOptions requestO * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -721,7 +721,7 @@ public PagedIterable listInsights(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -774,7 +774,7 @@ private Mono> listInsightsNextSinglePageAsync(String n * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview". + * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java index 6b6f6b2a6879..fe64981f308a 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java @@ -87,7 +87,8 @@ public interface ModelsService { @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> listModelVersions(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("name") String name, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); @Get("/models/{name}/versions") @ExpectedResponses({ 200 }) @@ -97,7 +98,8 @@ Mono> listModelVersions(@HostParam("endpoint") String endpo @UnexpectedResponseExceptionType(HttpResponseException.class) Response listModelVersionsSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("name") String name, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); @Get("/models") @ExpectedResponses({ 200 }) @@ -106,8 +108,8 @@ Response listModelVersionsSync(@HostParam("endpoint") String endpoin @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> listLatestModelVersions(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @HeaderParam("Foundry-Features") String foundryFeatures, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @Get("/models") @ExpectedResponses({ 200 }) @@ -116,8 +118,8 @@ Mono> listLatestModelVersions(@HostParam("endpoint") String @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response listLatestModelVersionsSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @HeaderParam("Foundry-Features") String foundryFeatures, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @Get("/models/{name}/versions/{version}") @ExpectedResponses({ 200 }) @@ -127,8 +129,8 @@ Response listLatestModelVersionsSync(@HostParam("endpoint") String e @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> getModelVersion(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("name") String name, - @PathParam("version") String version, @HeaderParam("Accept") String accept, RequestOptions requestOptions, - Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("version") String version, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @Get("/models/{name}/versions/{version}") @ExpectedResponses({ 200 }) @@ -138,28 +140,30 @@ Mono> getModelVersion(@HostParam("endpoint") String endpoin @UnexpectedResponseExceptionType(HttpResponseException.class) Response getModelVersionSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("name") String name, - @PathParam("version") String version, @HeaderParam("Accept") String accept, RequestOptions requestOptions, - Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("version") String version, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @Delete("/models/{name}/versions/{version}") - @ExpectedResponses({ 204 }) + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> deleteModelVersion(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("name") String name, - @PathParam("version") String version, RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("version") String version, + RequestOptions requestOptions, Context context); @Delete("/models/{name}/versions/{version}") - @ExpectedResponses({ 204 }) + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response deleteModelVersionSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("name") String name, - @PathParam("version") String version, RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("version") String version, + RequestOptions requestOptions, Context context); @Patch("/models/{name}/versions/{version}") @ExpectedResponses({ 200, 201 }) @@ -170,8 +174,8 @@ Response deleteModelVersionSync(@HostParam("endpoint") String endpoint, Mono> updateModelVersion(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("name") String name, @HeaderParam("Content-Type") String contentType, @PathParam("version") String version, - @HeaderParam("Accept") String accept, @BodyParam("application/merge-patch+json") BinaryData body, - RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @HeaderParam("Accept") String accept, + @BodyParam("application/merge-patch+json") BinaryData body, RequestOptions requestOptions, Context context); @Patch("/models/{name}/versions/{version}") @ExpectedResponses({ 200, 201 }) @@ -182,8 +186,8 @@ Mono> updateModelVersion(@HostParam("endpoint") String endp Response updateModelVersionSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("name") String name, @HeaderParam("Content-Type") String contentType, @PathParam("version") String version, - @HeaderParam("Accept") String accept, @BodyParam("application/merge-patch+json") BinaryData body, - RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @HeaderParam("Accept") String accept, + @BodyParam("application/merge-patch+json") BinaryData body, RequestOptions requestOptions, Context context); @Post("/models/{name}/versions/{version}/createAsync") @ExpectedResponses({ 202 }) @@ -191,9 +195,10 @@ Response updateModelVersionSync(@HostParam("endpoint") String endpoi @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> createModelVersionAsync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("name") String name, - @PathParam("version") String version, @HeaderParam("Content-Type") String contentType, + Mono> createModelVersionAsync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Foundry-Features") String foundryFeatures, + @PathParam("name") String name, @PathParam("version") String version, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); @Post("/models/{name}/versions/{version}/createAsync") @@ -202,9 +207,10 @@ Mono> createModelVersionAsync(@HostParam("endpoint") String endpo @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response createModelVersionAsyncSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("name") String name, - @PathParam("version") String version, @HeaderParam("Content-Type") String contentType, + Response createModelVersionAsyncSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Foundry-Features") String foundryFeatures, + @PathParam("name") String name, @PathParam("version") String version, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); @Post("/models/{name}/versions/{version}/startPendingUpload") @@ -214,10 +220,10 @@ Response createModelVersionAsyncSync(@HostParam("endpoint") String endpoin @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> startModelPendingUpload(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("name") String name, - @PathParam("version") String version, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @HeaderParam("Foundry-Features") String foundryFeatures, + @PathParam("name") String name, @PathParam("version") String version, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); @Post("/models/{name}/versions/{version}/startPendingUpload") @ExpectedResponses({ 200 }) @@ -226,10 +232,10 @@ Mono> startModelPendingUpload(@HostParam("endpoint") String @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response startModelPendingUploadSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("name") String name, - @PathParam("version") String version, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @HeaderParam("Foundry-Features") String foundryFeatures, + @PathParam("name") String name, @PathParam("version") String version, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); @Post("/models/{name}/versions/{version}/credentials") @ExpectedResponses({ 200 }) @@ -238,10 +244,10 @@ Response startModelPendingUploadSync(@HostParam("endpoint") String e @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> getModelCredentials(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("name") String name, - @PathParam("version") String version, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @HeaderParam("Foundry-Features") String foundryFeatures, + @PathParam("name") String name, @PathParam("version") String version, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); @Post("/models/{name}/versions/{version}/credentials") @ExpectedResponses({ 200 }) @@ -250,10 +256,10 @@ Mono> getModelCredentials(@HostParam("endpoint") String end @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response getModelCredentialsSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("name") String name, - @PathParam("version") String version, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @HeaderParam("Foundry-Features") String foundryFeatures, + @PathParam("name") String name, @PathParam("version") String version, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); @Get("{nextLink}") @ExpectedResponses({ 200 }) @@ -262,8 +268,8 @@ Response getModelCredentialsSync(@HostParam("endpoint") String endpo @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> listModelVersionsNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, RequestOptions requestOptions, - Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Foundry-Features") String foundryFeatures, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @Get("{nextLink}") @ExpectedResponses({ 200 }) @@ -272,8 +278,8 @@ Mono> listModelVersionsNext(@PathParam(value = "nextLink", @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response listModelVersionsNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, RequestOptions requestOptions, - Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Foundry-Features") String foundryFeatures, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @Get("{nextLink}") @ExpectedResponses({ 200 }) @@ -283,7 +289,8 @@ Response listModelVersionsNextSync(@PathParam(value = "nextLink", en @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> listLatestModelVersionsNext( @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); @Get("{nextLink}") @ExpectedResponses({ 200 }) @@ -293,7 +300,8 @@ Mono> listLatestModelVersionsNext( @UnexpectedResponseExceptionType(HttpResponseException.class) Response listLatestModelVersionsNextSync( @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); } /** @@ -359,10 +367,11 @@ Response listLatestModelVersionsNextSync( @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listModelVersionsSinglePageAsync(String name, RequestOptions requestOptions) { + final String foundryFeatures = "Models=V1Preview"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listModelVersions(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), name, accept, requestOptions, context)) + this.client.getServiceVersion().getVersion(), name, foundryFeatures, accept, requestOptions, context)) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null)); } @@ -496,9 +505,10 @@ public PagedFlux listModelVersionsAsync(String name, RequestOptions */ @ServiceMethod(returns = ReturnType.SINGLE) private PagedResponse listModelVersionsSinglePage(String name, RequestOptions requestOptions) { + final String foundryFeatures = "Models=V1Preview"; final String accept = "application/json"; Response res = service.listModelVersionsSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), name, accept, requestOptions, Context.NONE); + this.client.getServiceVersion().getVersion(), name, foundryFeatures, accept, requestOptions, Context.NONE); return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null); } @@ -632,10 +642,11 @@ public PagedIterable listModelVersions(String name, RequestOptions r */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listLatestModelVersionsSinglePageAsync(RequestOptions requestOptions) { + final String foundryFeatures = "Models=V1Preview"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listLatestModelVersions(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) + this.client.getServiceVersion().getVersion(), foundryFeatures, accept, requestOptions, context)) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null)); } @@ -767,9 +778,10 @@ public PagedFlux listLatestModelVersionsAsync(RequestOptions request */ @ServiceMethod(returns = ReturnType.SINGLE) private PagedResponse listLatestModelVersionsSinglePage(RequestOptions requestOptions) { + final String foundryFeatures = "Models=V1Preview"; final String accept = "application/json"; Response res = service.listLatestModelVersionsSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + this.client.getServiceVersion().getVersion(), foundryFeatures, accept, requestOptions, Context.NONE); return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null); } @@ -906,9 +918,11 @@ public PagedIterable listLatestModelVersions(RequestOptions requestO @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getModelVersionWithResponseAsync(String name, String version, RequestOptions requestOptions) { + final String foundryFeatures = "Models=V1Preview"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getModelVersion(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), name, version, accept, requestOptions, context)); + return FluxUtil.withContext( + context -> service.getModelVersion(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + name, foundryFeatures, version, accept, requestOptions, context)); } /** @@ -975,14 +989,15 @@ public Mono> getModelVersionWithResponseAsync(String name, @ServiceMethod(returns = ReturnType.SINGLE) public Response getModelVersionWithResponse(String name, String version, RequestOptions requestOptions) { + final String foundryFeatures = "Models=V1Preview"; final String accept = "application/json"; return service.getModelVersionSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - name, version, accept, requestOptions, Context.NONE); + name, foundryFeatures, version, accept, requestOptions, Context.NONE); } /** - * Delete the specific version of the ModelVersion. The service returns 204 No Content if the ModelVersion was - * deleted successfully or if the ModelVersion does not exist. + * Delete the specific version of the ModelVersion. The service returns 200 OK if the ModelVersion was deleted + * successfully or if the ModelVersion does not exist. * * @param name The name of the resource. * @param version The version of the ModelVersion to delete. @@ -996,13 +1011,14 @@ public Response getModelVersionWithResponse(String name, String vers @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteModelVersionWithResponseAsync(String name, String version, RequestOptions requestOptions) { + final String foundryFeatures = "Models=V1Preview"; return FluxUtil.withContext(context -> service.deleteModelVersion(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), name, version, requestOptions, context)); + this.client.getServiceVersion().getVersion(), name, foundryFeatures, version, requestOptions, context)); } /** - * Delete the specific version of the ModelVersion. The service returns 204 No Content if the ModelVersion was - * deleted successfully or if the ModelVersion does not exist. + * Delete the specific version of the ModelVersion. The service returns 200 OK if the ModelVersion was deleted + * successfully or if the ModelVersion does not exist. * * @param name The name of the resource. * @param version The version of the ModelVersion to delete. @@ -1015,8 +1031,9 @@ public Mono> deleteModelVersionWithResponseAsync(String name, Str */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteModelVersionWithResponse(String name, String version, RequestOptions requestOptions) { + final String foundryFeatures = "Models=V1Preview"; return service.deleteModelVersionSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - name, version, requestOptions, Context.NONE); + name, foundryFeatures, version, requestOptions, Context.NONE); } /** @@ -1097,10 +1114,11 @@ public Response deleteModelVersionWithResponse(String name, String version public Mono> updateModelVersionWithResponseAsync(String name, String version, BinaryData body, RequestOptions requestOptions) { final String contentType = "application/merge-patch+json"; + final String foundryFeatures = "Models=V1Preview"; final String accept = "application/json"; return FluxUtil.withContext(context -> service.updateModelVersion(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), name, contentType, version, accept, body, requestOptions, - context)); + this.client.getServiceVersion().getVersion(), name, contentType, version, foundryFeatures, accept, body, + requestOptions, context)); } /** @@ -1181,9 +1199,10 @@ public Mono> updateModelVersionWithResponseAsync(String nam public Response updateModelVersionWithResponse(String name, String version, BinaryData body, RequestOptions requestOptions) { final String contentType = "application/merge-patch+json"; + final String foundryFeatures = "Models=V1Preview"; final String accept = "application/json"; return service.updateModelVersionSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - name, contentType, version, accept, body, requestOptions, Context.NONE); + name, contentType, version, foundryFeatures, accept, body, requestOptions, Context.NONE); } /** @@ -1238,6 +1257,17 @@ public Response updateModelVersionWithResponse(String name, String v * } * * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     location: String (Optional)
+     *     operationResult: String (Optional)
+     * }
+     * }
+     * 
+ * * @param name Name of the model. * @param version Version of the model. * @param body Model version to create. @@ -1246,14 +1276,17 @@ public Response updateModelVersionWithResponse(String name, String v * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createModelVersionAsyncWithResponseAsync(String name, String version, BinaryData body, - RequestOptions requestOptions) { + public Mono> createModelVersionAsyncWithResponseAsync(String name, String version, + BinaryData body, RequestOptions requestOptions) { + final String foundryFeatures = "Models=V1Preview"; final String contentType = "application/json"; + final String accept = "application/json"; return FluxUtil.withContext(context -> service.createModelVersionAsync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), name, version, contentType, body, requestOptions, context)); + this.client.getServiceVersion().getVersion(), foundryFeatures, name, version, contentType, accept, body, + requestOptions, context)); } /** @@ -1308,6 +1341,17 @@ public Mono> createModelVersionAsyncWithResponseAsync(String name * } * * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     location: String (Optional)
+     *     operationResult: String (Optional)
+     * }
+     * }
+     * 
+ * * @param name Name of the model. * @param version Version of the model. * @param body Model version to create. @@ -1316,15 +1360,17 @@ public Mono> createModelVersionAsyncWithResponseAsync(String name * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response createModelVersionAsyncWithResponse(String name, String version, BinaryData body, + public Response createModelVersionAsyncWithResponse(String name, String version, BinaryData body, RequestOptions requestOptions) { + final String foundryFeatures = "Models=V1Preview"; final String contentType = "application/json"; + final String accept = "application/json"; return service.createModelVersionAsyncSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), name, version, contentType, body, requestOptions, - Context.NONE); + this.client.getServiceVersion().getVersion(), foundryFeatures, name, version, contentType, accept, body, + requestOptions, Context.NONE); } /** @@ -1336,7 +1382,7 @@ public Response createModelVersionAsyncWithResponse(String name, String ve * { * pendingUploadId: String (Optional) * connectionName: String (Optional) - * pendingUploadType: String(None/TemporaryBlobReference) (Required) + * pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required) * } * } * @@ -1356,7 +1402,7 @@ public Response createModelVersionAsyncWithResponse(String name, String ve * } * pendingUploadId: String (Required) * version: String (Optional) - * pendingUploadType: String(None/TemporaryBlobReference) (Required) + * pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required) * } * } * @@ -1369,17 +1415,18 @@ public Response createModelVersionAsyncWithResponse(String name, String ve * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return represents the response for a pending upload request along with {@link Response} on successful completion - * of {@link Mono}. + * @return represents the response for a model pending upload request along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> startModelPendingUploadWithResponseAsync(String name, String version, BinaryData body, RequestOptions requestOptions) { + final String foundryFeatures = "Models=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil.withContext(context -> service.startModelPendingUpload(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), name, version, contentType, accept, body, requestOptions, - context)); + this.client.getServiceVersion().getVersion(), foundryFeatures, name, version, contentType, accept, body, + requestOptions, context)); } /** @@ -1391,7 +1438,7 @@ public Mono> startModelPendingUploadWithResponseAsync(Strin * { * pendingUploadId: String (Optional) * connectionName: String (Optional) - * pendingUploadType: String(None/TemporaryBlobReference) (Required) + * pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required) * } * } * @@ -1411,7 +1458,7 @@ public Mono> startModelPendingUploadWithResponseAsync(Strin * } * pendingUploadId: String (Required) * version: String (Optional) - * pendingUploadType: String(None/TemporaryBlobReference) (Required) + * pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required) * } * } * @@ -1424,16 +1471,17 @@ public Mono> startModelPendingUploadWithResponseAsync(Strin * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return represents the response for a pending upload request along with {@link Response}. + * @return represents the response for a model pending upload request along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response startModelPendingUploadWithResponse(String name, String version, BinaryData body, RequestOptions requestOptions) { + final String foundryFeatures = "Models=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; return service.startModelPendingUploadSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), name, version, contentType, accept, body, requestOptions, - Context.NONE); + this.client.getServiceVersion().getVersion(), foundryFeatures, name, version, contentType, accept, body, + requestOptions, Context.NONE); } /** @@ -1479,11 +1527,12 @@ public Response startModelPendingUploadWithResponse(String name, Str @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getModelCredentialsWithResponseAsync(String name, String version, BinaryData body, RequestOptions requestOptions) { + final String foundryFeatures = "Models=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil.withContext(context -> service.getModelCredentials(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), name, version, contentType, accept, body, requestOptions, - context)); + this.client.getServiceVersion().getVersion(), foundryFeatures, name, version, contentType, accept, body, + requestOptions, context)); } /** @@ -1528,10 +1577,11 @@ public Mono> getModelCredentialsWithResponseAsync(String na @ServiceMethod(returns = ReturnType.SINGLE) public Response getModelCredentialsWithResponse(String name, String version, BinaryData body, RequestOptions requestOptions) { + final String foundryFeatures = "Models=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; return service.getModelCredentialsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - name, version, contentType, accept, body, requestOptions, Context.NONE); + foundryFeatures, name, version, contentType, accept, body, requestOptions, Context.NONE); } /** @@ -1597,10 +1647,11 @@ public Response getModelCredentialsWithResponse(String name, String @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listModelVersionsNextSinglePageAsync(String nextLink, RequestOptions requestOptions) { + final String foundryFeatures = "Models=V1Preview"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listModelVersionsNext(nextLink, this.client.getEndpoint(), accept, - requestOptions, context)) + .withContext(context -> service.listModelVersionsNext(nextLink, this.client.getEndpoint(), foundryFeatures, + accept, requestOptions, context)) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null)); } @@ -1666,9 +1717,10 @@ private Mono> listModelVersionsNextSinglePageAsync(Str */ @ServiceMethod(returns = ReturnType.SINGLE) private PagedResponse listModelVersionsNextSinglePage(String nextLink, RequestOptions requestOptions) { + final String foundryFeatures = "Models=V1Preview"; final String accept = "application/json"; - Response res = service.listModelVersionsNextSync(nextLink, this.client.getEndpoint(), accept, - requestOptions, Context.NONE); + Response res = service.listModelVersionsNextSync(nextLink, this.client.getEndpoint(), + foundryFeatures, accept, requestOptions, Context.NONE); return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null); } @@ -1736,10 +1788,11 @@ private PagedResponse listModelVersionsNextSinglePage(String nextLin @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listLatestModelVersionsNextSinglePageAsync(String nextLink, RequestOptions requestOptions) { + final String foundryFeatures = "Models=V1Preview"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listLatestModelVersionsNext(nextLink, this.client.getEndpoint(), accept, - requestOptions, context)) + .withContext(context -> service.listLatestModelVersionsNext(nextLink, this.client.getEndpoint(), + foundryFeatures, accept, requestOptions, context)) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null)); } @@ -1806,9 +1859,10 @@ private Mono> listLatestModelVersionsNextSinglePageAsy @ServiceMethod(returns = ReturnType.SINGLE) private PagedResponse listLatestModelVersionsNextSinglePage(String nextLink, RequestOptions requestOptions) { + final String foundryFeatures = "Models=V1Preview"; final String accept = "application/json"; - Response res = service.listLatestModelVersionsNextSync(nextLink, this.client.getEndpoint(), accept, - requestOptions, Context.NONE); + Response res = service.listLatestModelVersionsNextSync(nextLink, this.client.getEndpoint(), + foundryFeatures, accept, requestOptions, Context.NONE); return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java deleted file mode 100644 index 8c02b35a70e8..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java +++ /dev/null @@ -1,174 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Agent source for data generation jobs — references an agent to fetch instructions and metadata from. - */ -@Fluent -public final class AgentDataGenerationJobSource extends DataGenerationJobSource { - - /* - * The type of source. - */ - @Generated - private DataGenerationJobSourceType type = DataGenerationJobSourceType.AGENT; - - /* - * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company - * refund policy document' or 'Describes the agent's core capabilities'). - */ - @Generated - private String description; - - /* - * The agent name to fetch instructions from. - */ - @Generated - private final String agentName; - - /* - * The agent version. If not specified, the latest version is used. - */ - @Generated - private String agentVersion; - - /** - * Creates an instance of AgentDataGenerationJobSource class. - * - * @param agentName the agentName value to set. - */ - @Generated - public AgentDataGenerationJobSource(String agentName) { - this.agentName = agentName; - } - - /** - * Get the type property: The type of source. - * - * @return the type value. - */ - @Generated - @Override - public DataGenerationJobSourceType getType() { - return this.type; - } - - /** - * Get the description property: Optional description of what this source represents — helps the pipeline interpret - * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: Optional description of what this source represents — helps the pipeline interpret - * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * - * @param description the description value to set. - * @return the AgentDataGenerationJobSource object itself. - */ - @Generated - public AgentDataGenerationJobSource setDescription(String description) { - this.description = description; - return this; - } - - /** - * Get the agentName property: The agent name to fetch instructions from. - * - * @return the agentName value. - */ - @Generated - public String getAgentName() { - return this.agentName; - } - - /** - * Get the agentVersion property: The agent version. If not specified, the latest version is used. - * - * @return the agentVersion value. - */ - @Generated - public String getAgentVersion() { - return this.agentVersion; - } - - /** - * Set the agentVersion property: The agent version. If not specified, the latest version is used. - * - * @param agentVersion the agentVersion value to set. - * @return the AgentDataGenerationJobSource object itself. - */ - @Generated - public AgentDataGenerationJobSource setAgentVersion(String agentVersion) { - this.agentVersion = agentVersion; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("agent_name", this.agentName); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("description", this.description); - jsonWriter.writeStringField("agent_version", this.agentVersion); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of AgentDataGenerationJobSource from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of AgentDataGenerationJobSource if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the AgentDataGenerationJobSource. - */ - @Generated - public static AgentDataGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String agentName = null; - DataGenerationJobSourceType type = DataGenerationJobSourceType.AGENT; - String description = null; - String agentVersion = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("agent_name".equals(fieldName)) { - agentName = reader.getString(); - } else if ("type".equals(fieldName)) { - type = DataGenerationJobSourceType.fromString(reader.getString()); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("agent_version".equals(fieldName)) { - agentVersion = reader.getString(); - } else { - reader.skipChildren(); - } - } - AgentDataGenerationJobSource deserializedAgentDataGenerationJobSource - = new AgentDataGenerationJobSource(agentName); - deserializedAgentDataGenerationJobSource.type = type; - deserializedAgentDataGenerationJobSource.description = description; - deserializedAgentDataGenerationJobSource.agentVersion = agentVersion; - return deserializedAgentDataGenerationJobSource; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java deleted file mode 100644 index 47bad90ee947..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java +++ /dev/null @@ -1,174 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Agent source for evaluator generation jobs — references an agent to fetch instructions and metadata from. - */ -@Fluent -public final class AgentEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource { - - /* - * The type of source. - */ - @Generated - private EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.AGENT; - - /* - * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company - * refund policy document' or 'Describes the agent's core capabilities'). - */ - @Generated - private String description; - - /* - * The agent name to fetch instructions from. - */ - @Generated - private final String agentName; - - /* - * The agent version. If not specified, the latest version is used. - */ - @Generated - private String agentVersion; - - /** - * Creates an instance of AgentEvaluatorGenerationJobSource class. - * - * @param agentName the agentName value to set. - */ - @Generated - public AgentEvaluatorGenerationJobSource(String agentName) { - this.agentName = agentName; - } - - /** - * Get the type property: The type of source. - * - * @return the type value. - */ - @Generated - @Override - public EvaluatorGenerationJobSourceType getType() { - return this.type; - } - - /** - * Get the description property: Optional description of what this source represents — helps the pipeline interpret - * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: Optional description of what this source represents — helps the pipeline interpret - * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * - * @param description the description value to set. - * @return the AgentEvaluatorGenerationJobSource object itself. - */ - @Generated - public AgentEvaluatorGenerationJobSource setDescription(String description) { - this.description = description; - return this; - } - - /** - * Get the agentName property: The agent name to fetch instructions from. - * - * @return the agentName value. - */ - @Generated - public String getAgentName() { - return this.agentName; - } - - /** - * Get the agentVersion property: The agent version. If not specified, the latest version is used. - * - * @return the agentVersion value. - */ - @Generated - public String getAgentVersion() { - return this.agentVersion; - } - - /** - * Set the agentVersion property: The agent version. If not specified, the latest version is used. - * - * @param agentVersion the agentVersion value to set. - * @return the AgentEvaluatorGenerationJobSource object itself. - */ - @Generated - public AgentEvaluatorGenerationJobSource setAgentVersion(String agentVersion) { - this.agentVersion = agentVersion; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("agent_name", this.agentName); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("description", this.description); - jsonWriter.writeStringField("agent_version", this.agentVersion); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of AgentEvaluatorGenerationJobSource from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of AgentEvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the AgentEvaluatorGenerationJobSource. - */ - @Generated - public static AgentEvaluatorGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String agentName = null; - EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.AGENT; - String description = null; - String agentVersion = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("agent_name".equals(fieldName)) { - agentName = reader.getString(); - } else if ("type".equals(fieldName)) { - type = EvaluatorGenerationJobSourceType.fromString(reader.getString()); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("agent_version".equals(fieldName)) { - agentVersion = reader.getString(); - } else { - reader.skipChildren(); - } - } - AgentEvaluatorGenerationJobSource deserializedAgentEvaluatorGenerationJobSource - = new AgentEvaluatorGenerationJobSource(agentName); - deserializedAgentEvaluatorGenerationJobSource.type = type; - deserializedAgentEvaluatorGenerationJobSource.description = description; - deserializedAgentEvaluatorGenerationJobSource.agentVersion = agentVersion; - return deserializedAgentEvaluatorGenerationJobSource; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApiError.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApiError.java deleted file mode 100644 index 57b7d4282a38..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApiError.java +++ /dev/null @@ -1,227 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.core.util.BinaryData; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; -import java.util.Map; - -/** - * The ApiError model. - */ -@Immutable -public final class ApiError implements JsonSerializable { - - /* - * The code property. - */ - @Generated - private final String code; - - /* - * The message property. - */ - @Generated - private final String message; - - /* - * The param property. - */ - @Generated - private String param; - - /* - * The type property. - */ - @Generated - private String type; - - /* - * The details property. - */ - @Generated - private List details; - - /* - * The additionalInfo property. - */ - @Generated - private Map additionalInfo; - - /* - * The debugInfo property. - */ - @Generated - private Map debugInfo; - - /** - * Creates an instance of ApiError class. - * - * @param code the code value to set. - * @param message the message value to set. - */ - @Generated - private ApiError(String code, String message) { - this.code = code; - this.message = message; - } - - /** - * Get the code property: The code property. - * - * @return the code value. - */ - @Generated - public String getCode() { - return this.code; - } - - /** - * Get the message property: The message property. - * - * @return the message value. - */ - @Generated - public String getMessage() { - return this.message; - } - - /** - * Get the param property: The param property. - * - * @return the param value. - */ - @Generated - public String getParam() { - return this.param; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - public String getType() { - return this.type; - } - - /** - * Get the details property: The details property. - * - * @return the details value. - */ - @Generated - public List getDetails() { - return this.details; - } - - /** - * Get the additionalInfo property: The additionalInfo property. - * - * @return the additionalInfo value. - */ - @Generated - public Map getAdditionalInfo() { - return this.additionalInfo; - } - - /** - * Get the debugInfo property: The debugInfo property. - * - * @return the debugInfo value. - */ - @Generated - public Map getDebugInfo() { - return this.debugInfo; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("code", this.code); - jsonWriter.writeStringField("message", this.message); - jsonWriter.writeStringField("param", this.param); - jsonWriter.writeStringField("type", this.type); - jsonWriter.writeArrayField("details", this.details, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeMapField("additionalInfo", this.additionalInfo, (writer, element) -> { - if (element == null) { - writer.writeNull(); - } else { - element.writeTo(writer); - } - }); - jsonWriter.writeMapField("debugInfo", this.debugInfo, (writer, element) -> { - if (element == null) { - writer.writeNull(); - } else { - element.writeTo(writer); - } - }); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ApiError from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ApiError if the JsonReader was pointing to an instance of it, or null if it was pointing - * to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ApiError. - */ - @Generated - public static ApiError fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String code = null; - String message = null; - String param = null; - String type = null; - List details = null; - Map additionalInfo = null; - Map debugInfo = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("code".equals(fieldName)) { - code = reader.getString(); - } else if ("message".equals(fieldName)) { - message = reader.getString(); - } else if ("param".equals(fieldName)) { - param = reader.getString(); - } else if ("type".equals(fieldName)) { - type = reader.getString(); - } else if ("details".equals(fieldName)) { - details = reader.readArray(reader1 -> ApiError.fromJson(reader1)); - } else if ("additionalInfo".equals(fieldName)) { - additionalInfo = reader.readMap(reader1 -> reader1 - .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); - } else if ("debugInfo".equals(fieldName)) { - debugInfo = reader.readMap(reader1 -> reader1 - .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); - } else { - reader.skipChildren(); - } - } - ApiError deserializedApiError = new ApiError(code, message); - deserializedApiError.param = param; - deserializedApiError.type = type; - deserializedApiError.details = details; - deserializedApiError.additionalInfo = additionalInfo; - deserializedApiError.debugInfo = debugInfo; - return deserializedApiError; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java new file mode 100644 index 000000000000..c06bc6d27c46 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java @@ -0,0 +1,99 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The CreateAsyncResponse model. + */ +@Immutable +public final class CreateAsyncResponse implements JsonSerializable { + /* + * URL to poll for operation status. + */ + @Generated + private String location; + + /* + * URL to the operation result, or null if the operation is still in progress. + */ + @Generated + private String operationResult; + + /** + * Creates an instance of CreateAsyncResponse class. + */ + @Generated + private CreateAsyncResponse() { + } + + /** + * Get the location property: URL to poll for operation status. + * + * @return the location value. + */ + @Generated + public String getLocation() { + return this.location; + } + + /** + * Get the operationResult property: URL to the operation result, or null if the operation is still in progress. + * + * @return the operationResult value. + */ + @Generated + public String getOperationResult() { + return this.operationResult; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("location", this.location); + jsonWriter.writeStringField("operationResult", this.operationResult); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of CreateAsyncResponse from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of CreateAsyncResponse if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the CreateAsyncResponse. + */ + @Generated + public static CreateAsyncResponse fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + CreateAsyncResponse deserializedCreateAsyncResponse = new CreateAsyncResponse(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("location".equals(fieldName)) { + deserializedCreateAsyncResponse.location = reader.getString(); + } else if ("operationResult".equals(fieldName)) { + deserializedCreateAsyncResponse.operationResult = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedCreateAsyncResponse; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJob.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJob.java deleted file mode 100644 index a37f81af9c30..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJob.java +++ /dev/null @@ -1,207 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.time.Instant; -import java.time.OffsetDateTime; -import java.time.ZoneOffset; - -/** - * Data Generation Job resource. - */ -@Fluent -public final class DataGenerationJob implements JsonSerializable { - - /* - * Server-assigned unique identifier. - */ - @Generated - private String id; - - /* - * Caller-supplied inputs. - */ - @Generated - private DataGenerationJobInputs inputs; - - /* - * Result produced on success. - */ - @Generated - private DataGenerationJobResult result; - - /* - * Current lifecycle status. - */ - @Generated - private JobStatus status; - - /* - * Error details — populated only on failure. - */ - @Generated - private ApiError error; - - /* - * The timestamp when the job was created, represented in Unix time (seconds since January 1, 1970). - */ - @Generated - private long createdAt; - - /* - * The timestamp when the job was finished, represented in Unix time (seconds since January 1, 1970). - */ - @Generated - private Long finishedAt; - - /** - * Creates an instance of DataGenerationJob class. - */ - @Generated - public DataGenerationJob() { - } - - /** - * Get the id property: Server-assigned unique identifier. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Get the inputs property: Caller-supplied inputs. - * - * @return the inputs value. - */ - @Generated - public DataGenerationJobInputs getInputs() { - return this.inputs; - } - - /** - * Set the inputs property: Caller-supplied inputs. - * - * @param inputs the inputs value to set. - * @return the DataGenerationJob object itself. - */ - @Generated - public DataGenerationJob setInputs(DataGenerationJobInputs inputs) { - this.inputs = inputs; - return this; - } - - /** - * Get the result property: Result produced on success. - * - * @return the result value. - */ - @Generated - public DataGenerationJobResult getResult() { - return this.result; - } - - /** - * Get the status property: Current lifecycle status. - * - * @return the status value. - */ - @Generated - public JobStatus getStatus() { - return this.status; - } - - /** - * Get the error property: Error details — populated only on failure. - * - * @return the error value. - */ - @Generated - public ApiError getError() { - return this.error; - } - - /** - * Get the createdAt property: The timestamp when the job was created, represented in Unix time (seconds since - * January 1, 1970). - * - * @return the createdAt value. - */ - @Generated - public OffsetDateTime getCreatedAt() { - return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.createdAt), ZoneOffset.UTC); - } - - /** - * Get the finishedAt property: The timestamp when the job was finished, represented in Unix time (seconds since - * January 1, 1970). - * - * @return the finishedAt value. - */ - @Generated - public OffsetDateTime getFinishedAt() { - if (this.finishedAt == null) { - return null; - } - return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.finishedAt), ZoneOffset.UTC); - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeJsonField("inputs", this.inputs); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DataGenerationJob from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DataGenerationJob if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the DataGenerationJob. - */ - @Generated - public static DataGenerationJob fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - DataGenerationJob deserializedDataGenerationJob = new DataGenerationJob(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - deserializedDataGenerationJob.id = reader.getString(); - } else if ("status".equals(fieldName)) { - deserializedDataGenerationJob.status = JobStatus.fromString(reader.getString()); - } else if ("created_at".equals(fieldName)) { - deserializedDataGenerationJob.createdAt = reader.getLong(); - } else if ("inputs".equals(fieldName)) { - deserializedDataGenerationJob.inputs = DataGenerationJobInputs.fromJson(reader); - } else if ("result".equals(fieldName)) { - deserializedDataGenerationJob.result = DataGenerationJobResult.fromJson(reader); - } else if ("error".equals(fieldName)) { - deserializedDataGenerationJob.error = ApiError.fromJson(reader); - } else if ("finished_at".equals(fieldName)) { - deserializedDataGenerationJob.finishedAt = reader.getNullable(JsonReader::getLong); - } else { - reader.skipChildren(); - } - } - return deserializedDataGenerationJob; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java deleted file mode 100644 index d75345287c84..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Caller-supplied inputs for a data generation job. - */ -@Immutable -public final class DataGenerationJobInputs implements JsonSerializable { - - /* - * The display name of the data generation job. - */ - @Generated - private final String name; - - /* - * The sources used for the data generation job. - */ - @Generated - private final List sources; - - /* - * The options for the data generation job. - */ - @Generated - private final DataGenerationJobOptions options; - - /* - * The scenario of the data generation job. Either for fine-tuning or evaluation. - */ - @Generated - private final DataGenerationJobScenario scenario; - - /** - * Creates an instance of DataGenerationJobInputs class. - * - * @param name the name value to set. - * @param sources the sources value to set. - * @param options the options value to set. - * @param scenario the scenario value to set. - */ - @Generated - public DataGenerationJobInputs(String name, List sources, DataGenerationJobOptions options, - DataGenerationJobScenario scenario) { - this.name = name; - this.sources = sources; - this.options = options; - this.scenario = scenario; - } - - /** - * Get the name property: The display name of the data generation job. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the sources property: The sources used for the data generation job. - * - * @return the sources value. - */ - @Generated - public List getSources() { - return this.sources; - } - - /** - * Get the options property: The options for the data generation job. - * - * @return the options value. - */ - @Generated - public DataGenerationJobOptions getOptions() { - return this.options; - } - - /** - * Get the scenario property: The scenario of the data generation job. Either for fine-tuning or evaluation. - * - * @return the scenario value. - */ - @Generated - public DataGenerationJobScenario getScenario() { - return this.scenario; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeArrayField("sources", this.sources, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeJsonField("options", this.options); - jsonWriter.writeStringField("scenario", this.scenario == null ? null : this.scenario.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DataGenerationJobInputs from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DataGenerationJobInputs if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the DataGenerationJobInputs. - */ - @Generated - public static DataGenerationJobInputs fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String name = null; - List sources = null; - DataGenerationJobOptions options = null; - DataGenerationJobScenario scenario = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("sources".equals(fieldName)) { - sources = reader.readArray(reader1 -> DataGenerationJobSource.fromJson(reader1)); - } else if ("options".equals(fieldName)) { - options = DataGenerationJobOptions.fromJson(reader); - } else if ("scenario".equals(fieldName)) { - scenario = DataGenerationJobScenario.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return new DataGenerationJobInputs(name, sources, options, scenario); - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java deleted file mode 100644 index 1011dd2f961b..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java +++ /dev/null @@ -1,204 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Options for managing data generation jobs. - */ -@Fluent -public class DataGenerationJobOptions implements JsonSerializable { - - /* - * The data generation job type. - */ - @Generated - private DataGenerationJobType type = DataGenerationJobType.fromString("DataGenerationJobOptions"); - - /* - * Maximum number of samples to generate. - */ - @Generated - private final int maxSamples; - - /* - * The proportion of the generated data to be used for training when the data is used for fine-tuning. The rest will - * be used for validation. Value should be between 0 and 1. - */ - @Generated - private Double trainSplit; - - /* - * The LLM model options. - */ - @Generated - private DataGenerationModelOptions modelOptions; - - /** - * Creates an instance of DataGenerationJobOptions class. - * - * @param maxSamples the maxSamples value to set. - */ - @Generated - public DataGenerationJobOptions(int maxSamples) { - this.maxSamples = maxSamples; - } - - /** - * Get the type property: The data generation job type. - * - * @return the type value. - */ - @Generated - public DataGenerationJobType getType() { - return this.type; - } - - /** - * Get the maxSamples property: Maximum number of samples to generate. - * - * @return the maxSamples value. - */ - @Generated - public int getMaxSamples() { - return this.maxSamples; - } - - /** - * Get the trainSplit property: The proportion of the generated data to be used for training when the data is used - * for fine-tuning. The rest will be used for validation. Value should be between 0 and 1. - * - * @return the trainSplit value. - */ - @Generated - public Double getTrainSplit() { - return this.trainSplit; - } - - /** - * Set the trainSplit property: The proportion of the generated data to be used for training when the data is used - * for fine-tuning. The rest will be used for validation. Value should be between 0 and 1. - * - * @param trainSplit the trainSplit value to set. - * @return the DataGenerationJobOptions object itself. - */ - @Generated - public DataGenerationJobOptions setTrainSplit(Double trainSplit) { - this.trainSplit = trainSplit; - return this; - } - - /** - * Get the modelOptions property: The LLM model options. - * - * @return the modelOptions value. - */ - @Generated - public DataGenerationModelOptions getModelOptions() { - return this.modelOptions; - } - - /** - * Set the modelOptions property: The LLM model options. - * - * @param modelOptions the modelOptions value to set. - * @return the DataGenerationJobOptions object itself. - */ - @Generated - public DataGenerationJobOptions setModelOptions(DataGenerationModelOptions modelOptions) { - this.modelOptions = modelOptions; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeIntField("max_samples", this.maxSamples); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeNumberField("train_split", this.trainSplit); - jsonWriter.writeJsonField("model_options", this.modelOptions); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DataGenerationJobOptions from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DataGenerationJobOptions if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the DataGenerationJobOptions. - */ - @Generated - public static DataGenerationJobOptions fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("simple_qna".equals(discriminatorValue)) { - return SimpleQnADataGenerationJobOptions.fromJson(readerToUse.reset()); - } else if ("traces".equals(discriminatorValue)) { - return TracesDataGenerationJobOptions.fromJson(readerToUse.reset()); - } else if ("tool_use".equals(discriminatorValue)) { - return ToolUseFineTuningDataGenerationJobOptions.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static DataGenerationJobOptions fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - int maxSamples = 0; - DataGenerationJobType type = null; - Double trainSplit = null; - DataGenerationModelOptions modelOptions = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("max_samples".equals(fieldName)) { - maxSamples = reader.getInt(); - } else if ("type".equals(fieldName)) { - type = DataGenerationJobType.fromString(reader.getString()); - } else if ("train_split".equals(fieldName)) { - trainSplit = reader.getNullable(JsonReader::getDouble); - } else if ("model_options".equals(fieldName)) { - modelOptions = DataGenerationModelOptions.fromJson(reader); - } else { - reader.skipChildren(); - } - } - DataGenerationJobOptions deserializedDataGenerationJobOptions = new DataGenerationJobOptions(maxSamples); - deserializedDataGenerationJobOptions.type = type; - deserializedDataGenerationJobOptions.trainSplit = trainSplit; - deserializedDataGenerationJobOptions.modelOptions = modelOptions; - return deserializedDataGenerationJobOptions; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java deleted file mode 100644 index f42a56ba95d2..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Output information for a data generation job. - */ -@Immutable -public class DataGenerationJobOutput implements JsonSerializable { - - /* - * The type of the output. - */ - @Generated - private DataGenerationJobOutputType type = DataGenerationJobOutputType.fromString("DataGenerationJobOutput"); - - /** - * Creates an instance of DataGenerationJobOutput class. - */ - @Generated - protected DataGenerationJobOutput() { - } - - /** - * Get the type property: The type of the output. - * - * @return the type value. - */ - @Generated - public DataGenerationJobOutputType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DataGenerationJobOutput from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DataGenerationJobOutput if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IOException If an error occurs while reading the DataGenerationJobOutput. - */ - @Generated - public static DataGenerationJobOutput fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("file".equals(discriminatorValue)) { - return FileDataGenerationJobOutput.fromJson(readerToUse.reset()); - } else if ("dataset".equals(discriminatorValue)) { - return DatasetDataGenerationJobOutput.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static DataGenerationJobOutput fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - DataGenerationJobOutput deserializedDataGenerationJobOutput = new DataGenerationJobOutput(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedDataGenerationJobOutput.type - = DataGenerationJobOutputType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedDataGenerationJobOutput; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java deleted file mode 100644 index a4b311e57c5c..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * The supported output file types for a data generation job. - */ -public final class DataGenerationJobOutputType extends ExpandableStringEnum { - - /** - * The generated data is an Azure OpenAI File. - */ - @Generated - public static final DataGenerationJobOutputType FILE = fromString("file"); - - /** - * The generated data is a Dataset. - */ - @Generated - public static final DataGenerationJobOutputType DATASET = fromString("dataset"); - - /** - * Creates a new instance of DataGenerationJobOutputType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public DataGenerationJobOutputType() { - } - - /** - * Creates or finds a DataGenerationJobOutputType from its string representation. - * - * @param name a name to look for. - * @return the corresponding DataGenerationJobOutputType. - */ - @Generated - public static DataGenerationJobOutputType fromString(String name) { - return fromString(name, DataGenerationJobOutputType.class); - } - - /** - * Gets known DataGenerationJobOutputType values. - * - * @return known DataGenerationJobOutputType values. - */ - @Generated - public static Collection values() { - return values(DataGenerationJobOutputType.class); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java deleted file mode 100644 index cc5b35ec84d2..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java +++ /dev/null @@ -1,126 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Result produced by a successful data generation job. - */ -@Immutable -public final class DataGenerationJobResult implements JsonSerializable { - - /* - * The final job outputs: Azure OpenAI files for fine-tuning, or datasets for evaluation. - */ - @Generated - private List outputs; - - /* - * The number of samples actually generated. - */ - @Generated - private final int generatedSamples; - - /* - * The token usage information for the data generation job. - */ - @Generated - private DataGenerationTokenUsage tokenUsage; - - /** - * Creates an instance of DataGenerationJobResult class. - * - * @param generatedSamples the generatedSamples value to set. - */ - @Generated - private DataGenerationJobResult(int generatedSamples) { - this.generatedSamples = generatedSamples; - } - - /** - * Get the outputs property: The final job outputs: Azure OpenAI files for fine-tuning, or datasets for evaluation. - * - * @return the outputs value. - */ - @Generated - public List getOutputs() { - return this.outputs; - } - - /** - * Get the generatedSamples property: The number of samples actually generated. - * - * @return the generatedSamples value. - */ - @Generated - public int getGeneratedSamples() { - return this.generatedSamples; - } - - /** - * Get the tokenUsage property: The token usage information for the data generation job. - * - * @return the tokenUsage value. - */ - @Generated - public DataGenerationTokenUsage getTokenUsage() { - return this.tokenUsage; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeIntField("generated_samples", this.generatedSamples); - jsonWriter.writeArrayField("outputs", this.outputs, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeJsonField("token_usage", this.tokenUsage); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DataGenerationJobResult from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DataGenerationJobResult if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the DataGenerationJobResult. - */ - @Generated - public static DataGenerationJobResult fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - int generatedSamples = 0; - List outputs = null; - DataGenerationTokenUsage tokenUsage = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("generated_samples".equals(fieldName)) { - generatedSamples = reader.getInt(); - } else if ("outputs".equals(fieldName)) { - outputs = reader.readArray(reader1 -> DataGenerationJobOutput.fromJson(reader1)); - } else if ("token_usage".equals(fieldName)) { - tokenUsage = DataGenerationTokenUsage.fromJson(reader); - } else { - reader.skipChildren(); - } - } - DataGenerationJobResult deserializedDataGenerationJobResult = new DataGenerationJobResult(generatedSamples); - deserializedDataGenerationJobResult.outputs = outputs; - deserializedDataGenerationJobResult.tokenUsage = tokenUsage; - return deserializedDataGenerationJobResult; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java deleted file mode 100644 index a59cf787f930..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * The supported scenarios for a data generation job. - */ -public final class DataGenerationJobScenario extends ExpandableStringEnum { - - /** - * Supervised Fine-tuning scenario. - */ - @Generated - public static final DataGenerationJobScenario SUPERVISED_FINETUNING = fromString("supervised_finetuning"); - - /** - * Reinforcement Fine-tuning scenario. - */ - @Generated - public static final DataGenerationJobScenario REINFORCEMENT_FINETUNING = fromString("reinforcement_finetuning"); - - /** - * Evaluation scenario. - */ - @Generated - public static final DataGenerationJobScenario EVALUATION = fromString("evaluation"); - - /** - * Creates a new instance of DataGenerationJobScenario value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public DataGenerationJobScenario() { - } - - /** - * Creates or finds a DataGenerationJobScenario from its string representation. - * - * @param name a name to look for. - * @return the corresponding DataGenerationJobScenario. - */ - @Generated - public static DataGenerationJobScenario fromString(String name) { - return fromString(name, DataGenerationJobScenario.class); - } - - /** - * Gets known DataGenerationJobScenario values. - * - * @return known DataGenerationJobScenario values. - */ - @Generated - public static Collection values() { - return values(DataGenerationJobScenario.class); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java deleted file mode 100644 index 5a2348814daf..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java +++ /dev/null @@ -1,148 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The base source model for data generation jobs. - */ -@Fluent -public class DataGenerationJobSource implements JsonSerializable { - - /* - * The type of source. - */ - @Generated - private DataGenerationJobSourceType type = DataGenerationJobSourceType.fromString("DataGenerationJobSource"); - - /* - * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company - * refund policy document' or 'Describes the agent's core capabilities'). - */ - @Generated - private String description; - - /** - * Creates an instance of DataGenerationJobSource class. - */ - @Generated - public DataGenerationJobSource() { - } - - /** - * Get the type property: The type of source. - * - * @return the type value. - */ - @Generated - public DataGenerationJobSourceType getType() { - return this.type; - } - - /** - * Get the description property: Optional description of what this source represents — helps the pipeline interpret - * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: Optional description of what this source represents — helps the pipeline interpret - * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * - * @param description the description value to set. - * @return the DataGenerationJobSource object itself. - */ - @Generated - public DataGenerationJobSource setDescription(String description) { - this.description = description; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("description", this.description); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DataGenerationJobSource from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DataGenerationJobSource if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IOException If an error occurs while reading the DataGenerationJobSource. - */ - @Generated - public static DataGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("prompt".equals(discriminatorValue)) { - return PromptDataGenerationJobSource.fromJson(readerToUse.reset()); - } else if ("agent".equals(discriminatorValue)) { - return AgentDataGenerationJobSource.fromJson(readerToUse.reset()); - } else if ("traces".equals(discriminatorValue)) { - return TracesDataGenerationJobSource.fromJson(readerToUse.reset()); - } else if ("dataset".equals(discriminatorValue)) { - return DatasetDataGenerationJobSource.fromJson(readerToUse.reset()); - } else if ("file".equals(discriminatorValue)) { - return FileDataGenerationJobSource.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static DataGenerationJobSource fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - DataGenerationJobSource deserializedDataGenerationJobSource = new DataGenerationJobSource(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedDataGenerationJobSource.type - = DataGenerationJobSourceType.fromString(reader.getString()); - } else if ("description".equals(fieldName)) { - deserializedDataGenerationJobSource.description = reader.getString(); - } else { - reader.skipChildren(); - } - } - return deserializedDataGenerationJobSource; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java deleted file mode 100644 index b93f4d48b656..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * The supported source types for data generation jobs. - */ -public final class DataGenerationJobSourceType extends ExpandableStringEnum { - - /** - * Prompt source — inline text provided by the user. - */ - @Generated - public static final DataGenerationJobSourceType PROMPT = fromString("prompt"); - - /** - * Agent source — references an agent. - */ - @Generated - public static final DataGenerationJobSourceType AGENT = fromString("agent"); - - /** - * Traces source — conversation traces from Application Insights. - */ - @Generated - public static final DataGenerationJobSourceType TRACES = fromString("traces"); - - /** - * Dataset source — reference to a dataset. - */ - @Generated - public static final DataGenerationJobSourceType DATASET = fromString("dataset"); - - /** - * File source — Azure OpenAI file. - */ - @Generated - public static final DataGenerationJobSourceType FILE = fromString("file"); - - /** - * Creates a new instance of DataGenerationJobSourceType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public DataGenerationJobSourceType() { - } - - /** - * Creates or finds a DataGenerationJobSourceType from its string representation. - * - * @param name a name to look for. - * @return the corresponding DataGenerationJobSourceType. - */ - @Generated - public static DataGenerationJobSourceType fromString(String name) { - return fromString(name, DataGenerationJobSourceType.class); - } - - /** - * Gets known DataGenerationJobSourceType values. - * - * @return known DataGenerationJobSourceType values. - */ - @Generated - public static Collection values() { - return values(DataGenerationJobSourceType.class); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java deleted file mode 100644 index 8fe5e4afc300..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * The supported data generation job types. - */ -public final class DataGenerationJobType extends ExpandableStringEnum { - - /** - * Simple question and answers between user and agent. - */ - @Generated - public static final DataGenerationJobType SIMPLE_QNA = fromString("simple_qna"); - - /** - * Single turn query and response from agent traces. - */ - @Generated - public static final DataGenerationJobType TRACES = fromString("traces"); - - /** - * Tool calling conversation between user and agent. - */ - @Generated - public static final DataGenerationJobType TOOL_USE = fromString("tool_use"); - - /** - * Creates a new instance of DataGenerationJobType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public DataGenerationJobType() { - } - - /** - * Creates or finds a DataGenerationJobType from its string representation. - * - * @param name a name to look for. - * @return the corresponding DataGenerationJobType. - */ - @Generated - public static DataGenerationJobType fromString(String name) { - return fromString(name, DataGenerationJobType.class); - } - - /** - * Gets known DataGenerationJobType values. - * - * @return known DataGenerationJobType values. - */ - @Generated - public static Collection values() { - return values(DataGenerationJobType.class); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java deleted file mode 100644 index bc5ab0aadb68..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * LLM model options for data generation jobs. - */ -@Immutable -public final class DataGenerationModelOptions implements JsonSerializable { - - /* - * Base model name used to generate data. - */ - @Generated - private final String model; - - /** - * Creates an instance of DataGenerationModelOptions class. - * - * @param model the model value to set. - */ - @Generated - public DataGenerationModelOptions(String model) { - this.model = model; - } - - /** - * Get the model property: Base model name used to generate data. - * - * @return the model value. - */ - @Generated - public String getModel() { - return this.model; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("model", this.model); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DataGenerationModelOptions from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DataGenerationModelOptions if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the DataGenerationModelOptions. - */ - @Generated - public static DataGenerationModelOptions fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String model = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("model".equals(fieldName)) { - model = reader.getString(); - } else { - reader.skipChildren(); - } - } - return new DataGenerationModelOptions(model); - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java deleted file mode 100644 index 6830172dd46e..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Token usage information for a data generation job. - */ -@Immutable -public final class DataGenerationTokenUsage implements JsonSerializable { - - /* - * The number of prompt tokens used. - */ - @Generated - private long promptTokens; - - /* - * The number of completion tokens generated. - */ - @Generated - private long completionTokens; - - /* - * Total number of tokens used. - */ - @Generated - private long totalTokens; - - /** - * Creates an instance of DataGenerationTokenUsage class. - */ - @Generated - private DataGenerationTokenUsage() { - } - - /** - * Get the promptTokens property: The number of prompt tokens used. - * - * @return the promptTokens value. - */ - @Generated - public long getPromptTokens() { - return this.promptTokens; - } - - /** - * Get the completionTokens property: The number of completion tokens generated. - * - * @return the completionTokens value. - */ - @Generated - public long getCompletionTokens() { - return this.completionTokens; - } - - /** - * Get the totalTokens property: Total number of tokens used. - * - * @return the totalTokens value. - */ - @Generated - public long getTotalTokens() { - return this.totalTokens; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DataGenerationTokenUsage from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DataGenerationTokenUsage if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the DataGenerationTokenUsage. - */ - @Generated - public static DataGenerationTokenUsage fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - DataGenerationTokenUsage deserializedDataGenerationTokenUsage = new DataGenerationTokenUsage(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("prompt_tokens".equals(fieldName)) { - deserializedDataGenerationTokenUsage.promptTokens = reader.getLong(); - } else if ("completion_tokens".equals(fieldName)) { - deserializedDataGenerationTokenUsage.completionTokens = reader.getLong(); - } else if ("total_tokens".equals(fieldName)) { - deserializedDataGenerationTokenUsage.totalTokens = reader.getLong(); - } else { - reader.skipChildren(); - } - } - return deserializedDataGenerationTokenUsage; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java deleted file mode 100644 index 127b14fa83f7..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java +++ /dev/null @@ -1,176 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.Map; - -/** - * Dataset output for a data generation job. - */ -@Immutable -public final class DatasetDataGenerationJobOutput extends DataGenerationJobOutput { - - /* - * The type of the output. - */ - @Generated - private DataGenerationJobOutputType type = DataGenerationJobOutputType.DATASET; - - /* - * The id of the output dataset created. - */ - @Generated - private String id; - - /* - * The name of the output dataset and can be optionally set during job creation time. - */ - @Generated - private String name; - - /* - * The version of the output dataset. - */ - @Generated - private String version; - - /* - * Description of the output dataset and can be optionally set during job creation time. - */ - @Generated - private String description; - - /* - * Tag dictionary of the output dataset and can be optionally set during job creation time. - */ - @Generated - private Map tags; - - /** - * Creates an instance of DatasetDataGenerationJobOutput class. - */ - @Generated - private DatasetDataGenerationJobOutput() { - } - - /** - * Get the type property: The type of the output. - * - * @return the type value. - */ - @Generated - @Override - public DataGenerationJobOutputType getType() { - return this.type; - } - - /** - * Get the id property: The id of the output dataset created. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Get the name property: The name of the output dataset and can be optionally set during job creation time. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the version property: The version of the output dataset. - * - * @return the version value. - */ - @Generated - public String getVersion() { - return this.version; - } - - /** - * Get the description property: Description of the output dataset and can be optionally set during job creation - * time. - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Get the tags property: Tag dictionary of the output dataset and can be optionally set during job creation time. - * - * @return the tags value. - */ - @Generated - public Map getTags() { - return this.tags; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("description", this.description); - jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DatasetDataGenerationJobOutput from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DatasetDataGenerationJobOutput if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the DatasetDataGenerationJobOutput. - */ - @Generated - public static DatasetDataGenerationJobOutput fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - DatasetDataGenerationJobOutput deserializedDatasetDataGenerationJobOutput - = new DatasetDataGenerationJobOutput(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedDatasetDataGenerationJobOutput.type - = DataGenerationJobOutputType.fromString(reader.getString()); - } else if ("id".equals(fieldName)) { - deserializedDatasetDataGenerationJobOutput.id = reader.getString(); - } else if ("name".equals(fieldName)) { - deserializedDatasetDataGenerationJobOutput.name = reader.getString(); - } else if ("version".equals(fieldName)) { - deserializedDatasetDataGenerationJobOutput.version = reader.getString(); - } else if ("description".equals(fieldName)) { - deserializedDatasetDataGenerationJobOutput.description = reader.getString(); - } else if ("tags".equals(fieldName)) { - Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedDatasetDataGenerationJobOutput.tags = tags; - } else { - reader.skipChildren(); - } - } - return deserializedDatasetDataGenerationJobOutput; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java deleted file mode 100644 index 7a9bb3cb2403..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java +++ /dev/null @@ -1,174 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Dataset source for data generation jobs — reference to a dataset. - */ -@Fluent -public final class DatasetDataGenerationJobSource extends DataGenerationJobSource { - - /* - * The type of source. - */ - @Generated - private DataGenerationJobSourceType type = DataGenerationJobSourceType.DATASET; - - /* - * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company - * refund policy document' or 'Describes the agent's core capabilities'). - */ - @Generated - private String description; - - /* - * The name of the dataset. - */ - @Generated - private final String name; - - /* - * The version of the dataset. If not specified, the latest version is used. - */ - @Generated - private String version; - - /** - * Creates an instance of DatasetDataGenerationJobSource class. - * - * @param name the name value to set. - */ - @Generated - public DatasetDataGenerationJobSource(String name) { - this.name = name; - } - - /** - * Get the type property: The type of source. - * - * @return the type value. - */ - @Generated - @Override - public DataGenerationJobSourceType getType() { - return this.type; - } - - /** - * Get the description property: Optional description of what this source represents — helps the pipeline interpret - * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: Optional description of what this source represents — helps the pipeline interpret - * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * - * @param description the description value to set. - * @return the DatasetDataGenerationJobSource object itself. - */ - @Generated - public DatasetDataGenerationJobSource setDescription(String description) { - this.description = description; - return this; - } - - /** - * Get the name property: The name of the dataset. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the version property: The version of the dataset. If not specified, the latest version is used. - * - * @return the version value. - */ - @Generated - public String getVersion() { - return this.version; - } - - /** - * Set the version property: The version of the dataset. If not specified, the latest version is used. - * - * @param version the version value to set. - * @return the DatasetDataGenerationJobSource object itself. - */ - @Generated - public DatasetDataGenerationJobSource setVersion(String version) { - this.version = version; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("description", this.description); - jsonWriter.writeStringField("version", this.version); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DatasetDataGenerationJobSource from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DatasetDataGenerationJobSource if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the DatasetDataGenerationJobSource. - */ - @Generated - public static DatasetDataGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String name = null; - DataGenerationJobSourceType type = DataGenerationJobSourceType.DATASET; - String description = null; - String version = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("type".equals(fieldName)) { - type = DataGenerationJobSourceType.fromString(reader.getString()); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("version".equals(fieldName)) { - version = reader.getString(); - } else { - reader.skipChildren(); - } - } - DatasetDataGenerationJobSource deserializedDatasetDataGenerationJobSource - = new DatasetDataGenerationJobSource(name); - deserializedDatasetDataGenerationJobSource.type = type; - deserializedDatasetDataGenerationJobSource.description = description; - deserializedDatasetDataGenerationJobSource.version = version; - return deserializedDatasetDataGenerationJobSource; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java deleted file mode 100644 index b0af845acc60..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java +++ /dev/null @@ -1,174 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Dataset source for evaluator generation jobs — reference to a dataset. - */ -@Fluent -public final class DatasetEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource { - - /* - * The type of source. - */ - @Generated - private EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.DATASET; - - /* - * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company - * refund policy document' or 'Describes the agent's core capabilities'). - */ - @Generated - private String description; - - /* - * The name of the dataset. - */ - @Generated - private final String name; - - /* - * The version of the dataset. If not specified, the latest version is used. - */ - @Generated - private String version; - - /** - * Creates an instance of DatasetEvaluatorGenerationJobSource class. - * - * @param name the name value to set. - */ - @Generated - public DatasetEvaluatorGenerationJobSource(String name) { - this.name = name; - } - - /** - * Get the type property: The type of source. - * - * @return the type value. - */ - @Generated - @Override - public EvaluatorGenerationJobSourceType getType() { - return this.type; - } - - /** - * Get the description property: Optional description of what this source represents — helps the pipeline interpret - * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: Optional description of what this source represents — helps the pipeline interpret - * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * - * @param description the description value to set. - * @return the DatasetEvaluatorGenerationJobSource object itself. - */ - @Generated - public DatasetEvaluatorGenerationJobSource setDescription(String description) { - this.description = description; - return this; - } - - /** - * Get the name property: The name of the dataset. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the version property: The version of the dataset. If not specified, the latest version is used. - * - * @return the version value. - */ - @Generated - public String getVersion() { - return this.version; - } - - /** - * Set the version property: The version of the dataset. If not specified, the latest version is used. - * - * @param version the version value to set. - * @return the DatasetEvaluatorGenerationJobSource object itself. - */ - @Generated - public DatasetEvaluatorGenerationJobSource setVersion(String version) { - this.version = version; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("description", this.description); - jsonWriter.writeStringField("version", this.version); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DatasetEvaluatorGenerationJobSource from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DatasetEvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, - * or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the DatasetEvaluatorGenerationJobSource. - */ - @Generated - public static DatasetEvaluatorGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String name = null; - EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.DATASET; - String description = null; - String version = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("type".equals(fieldName)) { - type = EvaluatorGenerationJobSourceType.fromString(reader.getString()); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("version".equals(fieldName)) { - version = reader.getString(); - } else { - reader.skipChildren(); - } - } - DatasetEvaluatorGenerationJobSource deserializedDatasetEvaluatorGenerationJobSource - = new DatasetEvaluatorGenerationJobSource(name); - deserializedDatasetEvaluatorGenerationJobSource.type = type; - deserializedDatasetEvaluatorGenerationJobSource.description = description; - deserializedDatasetEvaluatorGenerationJobSource.version = version; - return deserializedDatasetEvaluatorGenerationJobSource; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetReference.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetReference.java deleted file mode 100644 index 51e2f10e15b8..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetReference.java +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Reference to a versioned Foundry Dataset. - */ -@Immutable -public final class DatasetReference implements JsonSerializable { - - /* - * Dataset name. - */ - @Generated - private final String name; - - /* - * Dataset version. - */ - @Generated - private final String version; - - /** - * Creates an instance of DatasetReference class. - * - * @param name the name value to set. - * @param version the version value to set. - */ - @Generated - private DatasetReference(String name, String version) { - this.name = name; - this.version = version; - } - - /** - * Get the name property: Dataset name. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the version property: Dataset version. - * - * @return the version value. - */ - @Generated - public String getVersion() { - return this.version; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("version", this.version); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DatasetReference from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DatasetReference if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the DatasetReference. - */ - @Generated - public static DatasetReference fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String name = null; - String version = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("version".equals(fieldName)) { - version = reader.getString(); - } else { - reader.skipChildren(); - } - } - return new DatasetReference(name, version); - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java index aaf72ab0ea04..8c9db84a7c82 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java @@ -162,8 +162,6 @@ public static EvaluatorDefinition fromJson(JsonReader jsonReader) throws IOExcep return CodeBasedEvaluatorDefinition.fromJson(readerToUse.reset()); } else if ("prompt".equals(discriminatorValue)) { return PromptBasedEvaluatorDefinition.fromJson(readerToUse.reset()); - } else if ("rubrics".equals(discriminatorValue)) { - return RubricBasedEvaluatorDefinition.fromJson(readerToUse.reset()); } else { return fromJsonKnownDiscriminator(readerToUse.reset()); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java index fef367fb03ec..9e2d5501690d 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java @@ -72,11 +72,4 @@ public static EvaluatorDefinitionType fromString(String name) { public static Collection values() { return values(EvaluatorDefinitionType.class); } - - /** - * Rubric-based evaluator definition. Stores rubric criteria for both quality and safety evaluators. Can be created - * via the generate API or manually via createVersion. - */ - @Generated - public static final EvaluatorDefinitionType RUBRICS = fromString("rubrics"); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java deleted file mode 100644 index 67ffdbaf0f66..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Service-managed provenance artifacts produced by an evaluator generation job. Present only on EvaluatorVersion - * resources created via the generation pipeline. The combined-JSONL Foundry Dataset is read-only and resolves to a - * versioned dataset in a service-reserved namespace. - */ -@Immutable -public final class EvaluatorGenerationArtifacts implements JsonSerializable { - - /* - * Reference to the single Foundry Dataset (one combined JSONL file, version-aligned to `EvaluatorVersion.version`) - * holding all artifacts produced by the generation pipeline. Each row in the JSONL carries a `kind` field - * discriminating its content (e.g. `spec`, `tools`, `context`). - */ - @Generated - private final DatasetReference dataset; - - /* - * The kinds of rows present in `dataset`. Always contains `"spec"` (the generated evaluation specification, a - * Markdown document describing what the evaluator measures). May additionally contain `"tools"` (when the - * generation pipeline produced or inferred OpenAI tool schemas) and/or `"context"` (when supplementary materials - * such as file uploads or trace samples were used during generation). - */ - @Generated - private final List kinds; - - /** - * Creates an instance of EvaluatorGenerationArtifacts class. - * - * @param dataset the dataset value to set. - * @param kinds the kinds value to set. - */ - @Generated - private EvaluatorGenerationArtifacts(DatasetReference dataset, List kinds) { - this.dataset = dataset; - this.kinds = kinds; - } - - /** - * Get the dataset property: Reference to the single Foundry Dataset (one combined JSONL file, version-aligned to - * `EvaluatorVersion.version`) holding all artifacts produced by the generation pipeline. Each row in the JSONL - * carries a `kind` field discriminating its content (e.g. `spec`, `tools`, `context`). - * - * @return the dataset value. - */ - @Generated - public DatasetReference getDataset() { - return this.dataset; - } - - /** - * Get the kinds property: The kinds of rows present in `dataset`. Always contains `"spec"` (the generated - * evaluation specification, a Markdown document describing what the evaluator measures). May additionally contain - * `"tools"` (when the generation pipeline produced or inferred OpenAI tool schemas) and/or `"context"` (when - * supplementary materials such as file uploads or trace samples were used during generation). - * - * @return the kinds value. - */ - @Generated - public List getKinds() { - return this.kinds; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeJsonField("dataset", this.dataset); - jsonWriter.writeArrayField("kinds", this.kinds, (writer, element) -> writer.writeString(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of EvaluatorGenerationArtifacts from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of EvaluatorGenerationArtifacts if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the EvaluatorGenerationArtifacts. - */ - @Generated - public static EvaluatorGenerationArtifacts fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - DatasetReference dataset = null; - List kinds = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("dataset".equals(fieldName)) { - dataset = DatasetReference.fromJson(reader); - } else if ("kinds".equals(fieldName)) { - kinds = reader.readArray(reader1 -> reader1.getString()); - } else { - reader.skipChildren(); - } - } - return new EvaluatorGenerationArtifacts(dataset, kinds); - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java deleted file mode 100644 index 5deb42be66b2..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java +++ /dev/null @@ -1,200 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Caller-supplied inputs for an evaluator generation job. - */ -@Fluent -public final class EvaluatorGenerationInputs implements JsonSerializable { - - /* - * Display name for this generation job. - */ - @Generated - private final String name; - - /* - * Source materials for generation — agent descriptions, prompts, traces, or datasets. Each entry is an - * `EvaluatorGenerationJobSource` variant discriminated by `type`. - */ - @Generated - private final List sources; - - /* - * Category determines the rubric generation focus: 'quality' (default) produces quality-focused rubric criteria, - * 'safety' produces policy-derived safety rubric criteria. Both use the same rubric structure. Singular because - * quality and safety generation are mutually exclusive pipelines — the output EvaluatorVersion.categories is an - * array (e.g., ['agents', 'quality']). - */ - @Generated - private EvaluatorCategory category; - - /* - * The LLM model to use for rubric generation (e.g., 'gpt-4o'). Required — users must provide their own model rather - * than relying on service-owned capacity. - */ - @Generated - private final String model; - - /* - * The evaluator name to create or update. If an evaluator with this name already exists, the service retrieves the - * latest version's criteria as context for improvement. - */ - @Generated - private final String evaluatorName; - - /** - * Creates an instance of EvaluatorGenerationInputs class. - * - * @param name the name value to set. - * @param sources the sources value to set. - * @param model the model value to set. - * @param evaluatorName the evaluatorName value to set. - */ - @Generated - public EvaluatorGenerationInputs(String name, List sources, String model, - String evaluatorName) { - this.name = name; - this.sources = sources; - this.model = model; - this.evaluatorName = evaluatorName; - } - - /** - * Get the name property: Display name for this generation job. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the sources property: Source materials for generation — agent descriptions, prompts, traces, or datasets. - * Each entry is an `EvaluatorGenerationJobSource` variant discriminated by `type`. - * - * @return the sources value. - */ - @Generated - public List getSources() { - return this.sources; - } - - /** - * Get the category property: Category determines the rubric generation focus: 'quality' (default) produces - * quality-focused rubric criteria, 'safety' produces policy-derived safety rubric criteria. Both use the same - * rubric structure. Singular because quality and safety generation are mutually exclusive pipelines — the output - * EvaluatorVersion.categories is an array (e.g., ['agents', 'quality']). - * - * @return the category value. - */ - @Generated - public EvaluatorCategory getCategory() { - return this.category; - } - - /** - * Set the category property: Category determines the rubric generation focus: 'quality' (default) produces - * quality-focused rubric criteria, 'safety' produces policy-derived safety rubric criteria. Both use the same - * rubric structure. Singular because quality and safety generation are mutually exclusive pipelines — the output - * EvaluatorVersion.categories is an array (e.g., ['agents', 'quality']). - * - * @param category the category value to set. - * @return the EvaluatorGenerationInputs object itself. - */ - @Generated - public EvaluatorGenerationInputs setCategory(EvaluatorCategory category) { - this.category = category; - return this; - } - - /** - * Get the model property: The LLM model to use for rubric generation (e.g., 'gpt-4o'). Required — users must - * provide their own model rather than relying on service-owned capacity. - * - * @return the model value. - */ - @Generated - public String getModel() { - return this.model; - } - - /** - * Get the evaluatorName property: The evaluator name to create or update. If an evaluator with this name already - * exists, the service retrieves the latest version's criteria as context for improvement. - * - * @return the evaluatorName value. - */ - @Generated - public String getEvaluatorName() { - return this.evaluatorName; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeArrayField("sources", this.sources, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeStringField("model", this.model); - jsonWriter.writeStringField("evaluator_name", this.evaluatorName); - jsonWriter.writeStringField("category", this.category == null ? null : this.category.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of EvaluatorGenerationInputs from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of EvaluatorGenerationInputs if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the EvaluatorGenerationInputs. - */ - @Generated - public static EvaluatorGenerationInputs fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String name = null; - List sources = null; - String model = null; - String evaluatorName = null; - EvaluatorCategory category = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("sources".equals(fieldName)) { - sources = reader.readArray(reader1 -> EvaluatorGenerationJobSource.fromJson(reader1)); - } else if ("model".equals(fieldName)) { - model = reader.getString(); - } else if ("evaluator_name".equals(fieldName)) { - evaluatorName = reader.getString(); - } else if ("category".equals(fieldName)) { - category = EvaluatorCategory.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - EvaluatorGenerationInputs deserializedEvaluatorGenerationInputs - = new EvaluatorGenerationInputs(name, sources, model, evaluatorName); - deserializedEvaluatorGenerationInputs.category = category; - return deserializedEvaluatorGenerationInputs; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java deleted file mode 100644 index 79f7bd26a96f..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java +++ /dev/null @@ -1,226 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.time.Instant; -import java.time.OffsetDateTime; -import java.time.ZoneOffset; - -/** - * Evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions from source - * materials. On success, the result is the persisted EvaluatorVersion. - */ -@Fluent -public final class EvaluatorGenerationJob implements JsonSerializable { - - /* - * Server-assigned unique identifier. - */ - @Generated - private String id; - - /* - * Caller-supplied inputs. - */ - @Generated - private EvaluatorGenerationInputs inputs; - - /* - * Result produced on success. - */ - @Generated - private EvaluatorVersion result; - - /* - * Current lifecycle status. - */ - @Generated - private JobStatus status; - - /* - * Error details — populated only on failure. - */ - @Generated - private ApiError error; - - /* - * The timestamp when the job was created, represented in Unix time (seconds since January 1, 1970). - */ - @Generated - private long createdAt; - - /* - * The timestamp when the job finished, represented in Unix time (seconds since January 1, 1970). - */ - @Generated - private Long finishedAt; - - /* - * Token consumption summary. Populated when the job reaches a terminal state. - */ - @Generated - private EvaluatorGenerationTokenUsage usage; - - /** - * Creates an instance of EvaluatorGenerationJob class. - */ - @Generated - public EvaluatorGenerationJob() { - } - - /** - * Get the id property: Server-assigned unique identifier. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Get the inputs property: Caller-supplied inputs. - * - * @return the inputs value. - */ - @Generated - public EvaluatorGenerationInputs getInputs() { - return this.inputs; - } - - /** - * Set the inputs property: Caller-supplied inputs. - * - * @param inputs the inputs value to set. - * @return the EvaluatorGenerationJob object itself. - */ - @Generated - public EvaluatorGenerationJob setInputs(EvaluatorGenerationInputs inputs) { - this.inputs = inputs; - return this; - } - - /** - * Get the result property: Result produced on success. - * - * @return the result value. - */ - @Generated - public EvaluatorVersion getResult() { - return this.result; - } - - /** - * Get the status property: Current lifecycle status. - * - * @return the status value. - */ - @Generated - public JobStatus getStatus() { - return this.status; - } - - /** - * Get the error property: Error details — populated only on failure. - * - * @return the error value. - */ - @Generated - public ApiError getError() { - return this.error; - } - - /** - * Get the createdAt property: The timestamp when the job was created, represented in Unix time (seconds since - * January 1, 1970). - * - * @return the createdAt value. - */ - @Generated - public OffsetDateTime getCreatedAt() { - return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.createdAt), ZoneOffset.UTC); - } - - /** - * Get the finishedAt property: The timestamp when the job finished, represented in Unix time (seconds since January - * 1, 1970). - * - * @return the finishedAt value. - */ - @Generated - public OffsetDateTime getFinishedAt() { - if (this.finishedAt == null) { - return null; - } - return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.finishedAt), ZoneOffset.UTC); - } - - /** - * Get the usage property: Token consumption summary. Populated when the job reaches a terminal state. - * - * @return the usage value. - */ - @Generated - public EvaluatorGenerationTokenUsage getUsage() { - return this.usage; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeJsonField("inputs", this.inputs); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of EvaluatorGenerationJob from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of EvaluatorGenerationJob if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the EvaluatorGenerationJob. - */ - @Generated - public static EvaluatorGenerationJob fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - EvaluatorGenerationJob deserializedEvaluatorGenerationJob = new EvaluatorGenerationJob(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - deserializedEvaluatorGenerationJob.id = reader.getString(); - } else if ("status".equals(fieldName)) { - deserializedEvaluatorGenerationJob.status = JobStatus.fromString(reader.getString()); - } else if ("created_at".equals(fieldName)) { - deserializedEvaluatorGenerationJob.createdAt = reader.getLong(); - } else if ("inputs".equals(fieldName)) { - deserializedEvaluatorGenerationJob.inputs = EvaluatorGenerationInputs.fromJson(reader); - } else if ("result".equals(fieldName)) { - deserializedEvaluatorGenerationJob.result = EvaluatorVersion.fromJson(reader); - } else if ("error".equals(fieldName)) { - deserializedEvaluatorGenerationJob.error = ApiError.fromJson(reader); - } else if ("finished_at".equals(fieldName)) { - deserializedEvaluatorGenerationJob.finishedAt = reader.getNullable(JsonReader::getLong); - } else if ("usage".equals(fieldName)) { - deserializedEvaluatorGenerationJob.usage = EvaluatorGenerationTokenUsage.fromJson(reader); - } else { - reader.skipChildren(); - } - } - return deserializedEvaluatorGenerationJob; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java deleted file mode 100644 index e777f2b081a7..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java +++ /dev/null @@ -1,113 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The base source model for evaluator generation jobs. Polymorphic over `type`. - */ -@Immutable -public class EvaluatorGenerationJobSource implements JsonSerializable { - - /* - * The type of source. - */ - @Generated - private EvaluatorGenerationJobSourceType type - = EvaluatorGenerationJobSourceType.fromString("EvaluatorGenerationJobSource"); - - /** - * Creates an instance of EvaluatorGenerationJobSource class. - */ - @Generated - public EvaluatorGenerationJobSource() { - } - - /** - * Get the type property: The type of source. - * - * @return the type value. - */ - @Generated - public EvaluatorGenerationJobSourceType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of EvaluatorGenerationJobSource from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of EvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the EvaluatorGenerationJobSource. - */ - @Generated - public static EvaluatorGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("prompt".equals(discriminatorValue)) { - return PromptEvaluatorGenerationJobSource.fromJson(readerToUse.reset()); - } else if ("agent".equals(discriminatorValue)) { - return AgentEvaluatorGenerationJobSource.fromJson(readerToUse.reset()); - } else if ("traces".equals(discriminatorValue)) { - return TracesEvaluatorGenerationJobSource.fromJson(readerToUse.reset()); - } else if ("dataset".equals(discriminatorValue)) { - return DatasetEvaluatorGenerationJobSource.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static EvaluatorGenerationJobSource fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - EvaluatorGenerationJobSource deserializedEvaluatorGenerationJobSource = new EvaluatorGenerationJobSource(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedEvaluatorGenerationJobSource.type - = EvaluatorGenerationJobSourceType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedEvaluatorGenerationJobSource; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java deleted file mode 100644 index b49a6f230215..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * The supported source types for evaluator generation jobs. - */ -public final class EvaluatorGenerationJobSourceType extends ExpandableStringEnum { - - /** - * Prompt source — inline text provided by the user. - */ - @Generated - public static final EvaluatorGenerationJobSourceType PROMPT = fromString("prompt"); - - /** - * Agent source — references an agent to fetch instructions and metadata from. - */ - @Generated - public static final EvaluatorGenerationJobSourceType AGENT = fromString("agent"); - - /** - * Traces source — conversation traces from Application Insights. - */ - @Generated - public static final EvaluatorGenerationJobSourceType TRACES = fromString("traces"); - - /** - * Dataset source — reference to a dataset. - */ - @Generated - public static final EvaluatorGenerationJobSourceType DATASET = fromString("dataset"); - - /** - * Creates a new instance of EvaluatorGenerationJobSourceType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public EvaluatorGenerationJobSourceType() { - } - - /** - * Creates or finds a EvaluatorGenerationJobSourceType from its string representation. - * - * @param name a name to look for. - * @return the corresponding EvaluatorGenerationJobSourceType. - */ - @Generated - public static EvaluatorGenerationJobSourceType fromString(String name) { - return fromString(name, EvaluatorGenerationJobSourceType.class); - } - - /** - * Gets known EvaluatorGenerationJobSourceType values. - * - * @return known EvaluatorGenerationJobSourceType values. - */ - @Generated - public static Collection values() { - return values(EvaluatorGenerationJobSourceType.class); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java deleted file mode 100644 index 1b797124a860..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java +++ /dev/null @@ -1,126 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Token consumption summary for an evaluator generation job. Populated when the job reaches a terminal state. - */ -@Immutable -public final class EvaluatorGenerationTokenUsage implements JsonSerializable { - - /* - * Number of input (prompt) tokens consumed. - */ - @Generated - private final long inputTokens; - - /* - * Number of output (completion) tokens generated. - */ - @Generated - private final long outputTokens; - - /* - * Total tokens consumed (input + output). - */ - @Generated - private final long totalTokens; - - /** - * Creates an instance of EvaluatorGenerationTokenUsage class. - * - * @param inputTokens the inputTokens value to set. - * @param outputTokens the outputTokens value to set. - * @param totalTokens the totalTokens value to set. - */ - @Generated - private EvaluatorGenerationTokenUsage(long inputTokens, long outputTokens, long totalTokens) { - this.inputTokens = inputTokens; - this.outputTokens = outputTokens; - this.totalTokens = totalTokens; - } - - /** - * Get the inputTokens property: Number of input (prompt) tokens consumed. - * - * @return the inputTokens value. - */ - @Generated - public long getInputTokens() { - return this.inputTokens; - } - - /** - * Get the outputTokens property: Number of output (completion) tokens generated. - * - * @return the outputTokens value. - */ - @Generated - public long getOutputTokens() { - return this.outputTokens; - } - - /** - * Get the totalTokens property: Total tokens consumed (input + output). - * - * @return the totalTokens value. - */ - @Generated - public long getTotalTokens() { - return this.totalTokens; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeLongField("input_tokens", this.inputTokens); - jsonWriter.writeLongField("output_tokens", this.outputTokens); - jsonWriter.writeLongField("total_tokens", this.totalTokens); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of EvaluatorGenerationTokenUsage from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of EvaluatorGenerationTokenUsage if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the EvaluatorGenerationTokenUsage. - */ - @Generated - public static EvaluatorGenerationTokenUsage fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - long inputTokens = 0L; - long outputTokens = 0L; - long totalTokens = 0L; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("input_tokens".equals(fieldName)) { - inputTokens = reader.getLong(); - } else if ("output_tokens".equals(fieldName)) { - outputTokens = reader.getLong(); - } else if ("total_tokens".equals(fieldName)) { - totalTokens = reader.getLong(); - } else { - reader.skipChildren(); - } - } - return new EvaluatorGenerationTokenUsage(inputTokens, outputTokens, totalTokens); - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java index 678deb89fc14..025fb0f18566 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java @@ -335,7 +335,6 @@ public static EvaluatorVersion fromJson(JsonReader jsonReader) throws IOExceptio String version = null; String displayName = null; Map metadata = null; - EvaluatorGenerationArtifacts generationArtifacts = null; String id = null; String description = null; Map tags = null; @@ -364,8 +363,6 @@ public static EvaluatorVersion fromJson(JsonReader jsonReader) throws IOExceptio displayName = reader.getString(); } else if ("metadata".equals(fieldName)) { metadata = reader.readMap(reader1 -> reader1.getString()); - } else if ("generation_artifacts".equals(fieldName)) { - generationArtifacts = EvaluatorGenerationArtifacts.fromJson(reader); } else if ("id".equals(fieldName)) { id = reader.getString(); } else if ("description".equals(fieldName)) { @@ -384,30 +381,10 @@ public static EvaluatorVersion fromJson(JsonReader jsonReader) throws IOExceptio deserializedEvaluatorVersion.version = version; deserializedEvaluatorVersion.displayName = displayName; deserializedEvaluatorVersion.metadata = metadata; - deserializedEvaluatorVersion.generationArtifacts = generationArtifacts; deserializedEvaluatorVersion.id = id; deserializedEvaluatorVersion.description = description; deserializedEvaluatorVersion.tags = tags; return deserializedEvaluatorVersion; }); } - - /* - * Provenance artifacts from the generation pipeline. Read-only; present only on evaluator versions created via an - * EvaluatorGenerationJob. Each artifact resolves to a versioned Foundry Dataset. - */ - @Generated - private EvaluatorGenerationArtifacts generationArtifacts; - - /** - * Get the generationArtifacts property: Provenance artifacts from the generation pipeline. Read-only; present only - * on evaluator versions created via an EvaluatorGenerationJob. Each artifact resolves to a versioned Foundry - * Dataset. - * - * @return the generationArtifacts value. - */ - @Generated - public EvaluatorGenerationArtifacts getGenerationArtifacts() { - return this.generationArtifacts; - } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java deleted file mode 100644 index 40657f9017d9..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java +++ /dev/null @@ -1,116 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Azure OpenAI file output for a data generation job. - */ -@Immutable -public final class FileDataGenerationJobOutput extends DataGenerationJobOutput { - - /* - * The type of the output. - */ - @Generated - private DataGenerationJobOutputType type = DataGenerationJobOutputType.FILE; - - /* - * The id of the output Azure OpenAI file. - */ - @Generated - private String id; - - /* - * The filename of the output Azure OpenAI file. - */ - @Generated - private String filename; - - /** - * Creates an instance of FileDataGenerationJobOutput class. - */ - @Generated - private FileDataGenerationJobOutput() { - } - - /** - * Get the type property: The type of the output. - * - * @return the type value. - */ - @Generated - @Override - public DataGenerationJobOutputType getType() { - return this.type; - } - - /** - * Get the id property: The id of the output Azure OpenAI file. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Get the filename property: The filename of the output Azure OpenAI file. - * - * @return the filename value. - */ - @Generated - public String getFilename() { - return this.filename; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FileDataGenerationJobOutput from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FileDataGenerationJobOutput if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the FileDataGenerationJobOutput. - */ - @Generated - public static FileDataGenerationJobOutput fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - FileDataGenerationJobOutput deserializedFileDataGenerationJobOutput = new FileDataGenerationJobOutput(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - deserializedFileDataGenerationJobOutput.id = reader.getString(); - } else if ("filename".equals(fieldName)) { - deserializedFileDataGenerationJobOutput.filename = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedFileDataGenerationJobOutput.type - = DataGenerationJobOutputType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedFileDataGenerationJobOutput; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java deleted file mode 100644 index f11d9c33ac42..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java +++ /dev/null @@ -1,119 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * File source for data generation jobs — Azure OpenAI file input. - */ -@Fluent -public final class FileDataGenerationJobSource extends DataGenerationJobSource { - - /* - * The type of source. - */ - @Generated - private DataGenerationJobSourceType type = DataGenerationJobSourceType.FILE; - - /* - * Input Azure Open AI file id used for data generation. - */ - @Generated - private final String id; - - /** - * Creates an instance of FileDataGenerationJobSource class. - * - * @param id the id value to set. - */ - @Generated - public FileDataGenerationJobSource(String id) { - this.id = id; - } - - /** - * Get the type property: The type of source. - * - * @return the type value. - */ - @Generated - @Override - public DataGenerationJobSourceType getType() { - return this.type; - } - - /** - * Get the id property: Input Azure Open AI file id used for data generation. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public FileDataGenerationJobSource setDescription(String description) { - super.setDescription(description); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("description", getDescription()); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FileDataGenerationJobSource from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FileDataGenerationJobSource if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the FileDataGenerationJobSource. - */ - @Generated - public static FileDataGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String description = null; - String id = null; - DataGenerationJobSourceType type = DataGenerationJobSourceType.FILE; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("type".equals(fieldName)) { - type = DataGenerationJobSourceType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - FileDataGenerationJobSource deserializedFileDataGenerationJobSource = new FileDataGenerationJobSource(id); - deserializedFileDataGenerationJobSource.setDescription(description); - deserializedFileDataGenerationJobSource.type = type; - return deserializedFileDataGenerationJobSource; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java index 4cb1228b4fb1..bc4bb587ffd1 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java @@ -46,7 +46,12 @@ public enum FoundryFeaturesOptInKeys { /** * Enum value DataGenerationJobs=V1Preview. */ - DATA_GENERATION_JOBS_V1_PREVIEW("DataGenerationJobs=V1Preview"); + DATA_GENERATION_JOBS_V1_PREVIEW("DataGenerationJobs=V1Preview"), + + /** + * Enum value Models=V1Preview. + */ + MODELS_V1_PREVIEW("Models=V1Preview"); /** * The actual serialized value for a FoundryFeaturesOptInKeys instance. diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/JobStatus.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/JobStatus.java deleted file mode 100644 index 693abcf60e1a..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/JobStatus.java +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Extensible status values shared by Foundry jobs. - */ -public final class JobStatus extends ExpandableStringEnum { - - /** - * Job is waiting to start. - */ - @Generated - public static final JobStatus QUEUED = fromString("queued"); - - /** - * Job is actively processing. - */ - @Generated - public static final JobStatus IN_PROGRESS = fromString("in_progress"); - - /** - * Job completed successfully. - */ - @Generated - public static final JobStatus SUCCEEDED = fromString("succeeded"); - - /** - * Job failed. - */ - @Generated - public static final JobStatus FAILED = fromString("failed"); - - /** - * Job was cancelled by the caller. - */ - @Generated - public static final JobStatus CANCELLED = fromString("cancelled"); - - /** - * Creates a new instance of JobStatus value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public JobStatus() { - } - - /** - * Creates or finds a JobStatus from its string representation. - * - * @param name a name to look for. - * @return the corresponding JobStatus. - */ - @Generated - public static JobStatus fromString(String name) { - return fromString(name, JobStatus.class); - } - - /** - * Gets known JobStatus values. - * - * @return known JobStatus values. - */ - @Generated - public static Collection values() { - return values(JobStatus.class); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java new file mode 100644 index 000000000000..88fddf32ef2a --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java @@ -0,0 +1,143 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Represents a request for a pending upload of a model version. + */ +@Fluent +public final class ModelPendingUploadRequest implements JsonSerializable { + /* + * If PendingUploadId is not provided, a random GUID will be used. + */ + @Generated + private String pendingUploadId; + + /* + * Azure Storage Account connection name to use for generating temporary SAS token + */ + @Generated + private String connectionName; + + /* + * The type of pending upload. Only TemporaryBlobReference is supported for models. + */ + @Generated + private final PendingUploadType pendingUploadType = PendingUploadType.TEMPORARY_BLOB_REFERENCE; + + /** + * Creates an instance of ModelPendingUploadRequest class. + */ + @Generated + public ModelPendingUploadRequest() { + } + + /** + * Get the pendingUploadId property: If PendingUploadId is not provided, a random GUID will be used. + * + * @return the pendingUploadId value. + */ + @Generated + public String getPendingUploadId() { + return this.pendingUploadId; + } + + /** + * Set the pendingUploadId property: If PendingUploadId is not provided, a random GUID will be used. + * + * @param pendingUploadId the pendingUploadId value to set. + * @return the ModelPendingUploadRequest object itself. + */ + @Generated + public ModelPendingUploadRequest setPendingUploadId(String pendingUploadId) { + this.pendingUploadId = pendingUploadId; + return this; + } + + /** + * Get the connectionName property: Azure Storage Account connection name to use for generating temporary SAS token. + * + * @return the connectionName value. + */ + @Generated + public String getConnectionName() { + return this.connectionName; + } + + /** + * Set the connectionName property: Azure Storage Account connection name to use for generating temporary SAS token. + * + * @param connectionName the connectionName value to set. + * @return the ModelPendingUploadRequest object itself. + */ + @Generated + public ModelPendingUploadRequest setConnectionName(String connectionName) { + this.connectionName = connectionName; + return this; + } + + /** + * Get the pendingUploadType property: The type of pending upload. Only TemporaryBlobReference is supported for + * models. + * + * @return the pendingUploadType value. + */ + @Generated + public PendingUploadType getPendingUploadType() { + return this.pendingUploadType; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("pendingUploadType", + this.pendingUploadType == null ? null : this.pendingUploadType.toString()); + jsonWriter.writeStringField("pendingUploadId", this.pendingUploadId); + jsonWriter.writeStringField("connectionName", this.connectionName); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ModelPendingUploadRequest from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ModelPendingUploadRequest if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ModelPendingUploadRequest. + */ + @Generated + public static ModelPendingUploadRequest fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ModelPendingUploadRequest deserializedModelPendingUploadRequest = new ModelPendingUploadRequest(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("pendingUploadId".equals(fieldName)) { + deserializedModelPendingUploadRequest.pendingUploadId = reader.getString(); + } else if ("connectionName".equals(fieldName)) { + deserializedModelPendingUploadRequest.connectionName = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedModelPendingUploadRequest; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java new file mode 100644 index 000000000000..6083a465a10b --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java @@ -0,0 +1,149 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Represents the response for a model pending upload request. + */ +@Immutable +public final class ModelPendingUploadResponse implements JsonSerializable { + /* + * Container-level read, write, list SAS. + */ + @Generated + private final BlobReference blobReference; + + /* + * ID for this upload request. + */ + @Generated + private final String pendingUploadId; + + /* + * Version of asset to be created if user did not specify version when initially creating upload + */ + @Generated + private String version; + + /* + * The type of pending upload. Only TemporaryBlobReference is supported for models. + */ + @Generated + private final PendingUploadType pendingUploadType = PendingUploadType.TEMPORARY_BLOB_REFERENCE; + + /** + * Creates an instance of ModelPendingUploadResponse class. + * + * @param blobReference the blobReference value to set. + * @param pendingUploadId the pendingUploadId value to set. + */ + @Generated + private ModelPendingUploadResponse(BlobReference blobReference, String pendingUploadId) { + this.blobReference = blobReference; + this.pendingUploadId = pendingUploadId; + } + + /** + * Get the blobReference property: Container-level read, write, list SAS. + * + * @return the blobReference value. + */ + @Generated + public BlobReference getBlobReference() { + return this.blobReference; + } + + /** + * Get the pendingUploadId property: ID for this upload request. + * + * @return the pendingUploadId value. + */ + @Generated + public String getPendingUploadId() { + return this.pendingUploadId; + } + + /** + * Get the version property: Version of asset to be created if user did not specify version when initially creating + * upload. + * + * @return the version value. + */ + @Generated + public String getVersion() { + return this.version; + } + + /** + * Get the pendingUploadType property: The type of pending upload. Only TemporaryBlobReference is supported for + * models. + * + * @return the pendingUploadType value. + */ + @Generated + public PendingUploadType getPendingUploadType() { + return this.pendingUploadType; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("blobReference", this.blobReference); + jsonWriter.writeStringField("pendingUploadId", this.pendingUploadId); + jsonWriter.writeStringField("pendingUploadType", + this.pendingUploadType == null ? null : this.pendingUploadType.toString()); + jsonWriter.writeStringField("version", this.version); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ModelPendingUploadResponse from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ModelPendingUploadResponse if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ModelPendingUploadResponse. + */ + @Generated + public static ModelPendingUploadResponse fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + BlobReference blobReference = null; + String pendingUploadId = null; + String version = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("blobReference".equals(fieldName)) { + blobReference = BlobReference.fromJson(reader); + } else if ("pendingUploadId".equals(fieldName)) { + pendingUploadId = reader.getString(); + } else if ("version".equals(fieldName)) { + version = reader.getString(); + } else { + reader.skipChildren(); + } + } + ModelPendingUploadResponse deserializedModelPendingUploadResponse + = new ModelPendingUploadResponse(blobReference, pendingUploadId); + deserializedModelPendingUploadResponse.version = version; + + return deserializedModelPendingUploadResponse; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java index 43c93cf7b0c8..ded462e50e7e 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java @@ -30,10 +30,10 @@ public final class PendingUploadRequest implements JsonSerializable values() { */ @Generated public static final PendingUploadType TEMPORARY_BLOB_REFERENCE = fromString("TemporaryBlobReference"); + + /** + * Deprecated: the service never read this value and silently ignored it. Use TemporaryBlobReference instead. + */ + @Generated + public static final PendingUploadType BLOB_REFERENCE = fromString("BlobReference"); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java deleted file mode 100644 index f1c9e15d3a79..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java +++ /dev/null @@ -1,141 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Prompt source for data generation jobs — inline text provided by the user. - */ -@Fluent -public final class PromptDataGenerationJobSource extends DataGenerationJobSource { - - /* - * The type of source. - */ - @Generated - private DataGenerationJobSourceType type = DataGenerationJobSourceType.PROMPT; - - /* - * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company - * refund policy document' or 'Describes the agent's core capabilities'). - */ - @Generated - private String description; - - /* - * Inline prompt text (e.g., agent description, policy text, supplementary context). - */ - @Generated - private final String prompt; - - /** - * Creates an instance of PromptDataGenerationJobSource class. - * - * @param prompt the prompt value to set. - */ - @Generated - public PromptDataGenerationJobSource(String prompt) { - this.prompt = prompt; - } - - /** - * Get the type property: The type of source. - * - * @return the type value. - */ - @Generated - @Override - public DataGenerationJobSourceType getType() { - return this.type; - } - - /** - * Get the description property: Optional description of what this source represents — helps the pipeline interpret - * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: Optional description of what this source represents — helps the pipeline interpret - * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * - * @param description the description value to set. - * @return the PromptDataGenerationJobSource object itself. - */ - @Generated - public PromptDataGenerationJobSource setDescription(String description) { - this.description = description; - return this; - } - - /** - * Get the prompt property: Inline prompt text (e.g., agent description, policy text, supplementary context). - * - * @return the prompt value. - */ - @Generated - public String getPrompt() { - return this.prompt; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("prompt", this.prompt); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("description", this.description); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of PromptDataGenerationJobSource from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of PromptDataGenerationJobSource if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the PromptDataGenerationJobSource. - */ - @Generated - public static PromptDataGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String prompt = null; - DataGenerationJobSourceType type = DataGenerationJobSourceType.PROMPT; - String description = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("prompt".equals(fieldName)) { - prompt = reader.getString(); - } else if ("type".equals(fieldName)) { - type = DataGenerationJobSourceType.fromString(reader.getString()); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else { - reader.skipChildren(); - } - } - PromptDataGenerationJobSource deserializedPromptDataGenerationJobSource - = new PromptDataGenerationJobSource(prompt); - deserializedPromptDataGenerationJobSource.type = type; - deserializedPromptDataGenerationJobSource.description = description; - return deserializedPromptDataGenerationJobSource; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java deleted file mode 100644 index d31c637c8cae..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java +++ /dev/null @@ -1,141 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Prompt source for evaluator generation jobs — inline text provided by the user. - */ -@Fluent -public final class PromptEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource { - - /* - * The type of source. - */ - @Generated - private EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.PROMPT; - - /* - * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company - * refund policy document' or 'Describes the agent's core capabilities'). - */ - @Generated - private String description; - - /* - * Inline prompt text (e.g., agent description, policy text, supplementary context). - */ - @Generated - private final String prompt; - - /** - * Creates an instance of PromptEvaluatorGenerationJobSource class. - * - * @param prompt the prompt value to set. - */ - @Generated - public PromptEvaluatorGenerationJobSource(String prompt) { - this.prompt = prompt; - } - - /** - * Get the type property: The type of source. - * - * @return the type value. - */ - @Generated - @Override - public EvaluatorGenerationJobSourceType getType() { - return this.type; - } - - /** - * Get the description property: Optional description of what this source represents — helps the pipeline interpret - * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: Optional description of what this source represents — helps the pipeline interpret - * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * - * @param description the description value to set. - * @return the PromptEvaluatorGenerationJobSource object itself. - */ - @Generated - public PromptEvaluatorGenerationJobSource setDescription(String description) { - this.description = description; - return this; - } - - /** - * Get the prompt property: Inline prompt text (e.g., agent description, policy text, supplementary context). - * - * @return the prompt value. - */ - @Generated - public String getPrompt() { - return this.prompt; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("prompt", this.prompt); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("description", this.description); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of PromptEvaluatorGenerationJobSource from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of PromptEvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the PromptEvaluatorGenerationJobSource. - */ - @Generated - public static PromptEvaluatorGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String prompt = null; - EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.PROMPT; - String description = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("prompt".equals(fieldName)) { - prompt = reader.getString(); - } else if ("type".equals(fieldName)) { - type = EvaluatorGenerationJobSourceType.fromString(reader.getString()); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else { - reader.skipChildren(); - } - } - PromptEvaluatorGenerationJobSource deserializedPromptEvaluatorGenerationJobSource - = new PromptEvaluatorGenerationJobSource(prompt); - deserializedPromptEvaluatorGenerationJobSource.type = type; - deserializedPromptEvaluatorGenerationJobSource.description = description; - return deserializedPromptEvaluatorGenerationJobSource; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java deleted file mode 100644 index dd2ee16d5b44..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java +++ /dev/null @@ -1,173 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.core.util.BinaryData; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; -import java.util.Map; - -/** - * Rubric-based evaluator definition — stores rubric criteria produced by the generate API. Used for both quality and - * safety evaluators. - */ -@Fluent -public final class RubricBasedEvaluatorDefinition extends EvaluatorDefinition { - - /* - * The type of evaluator definition - */ - @Generated - private EvaluatorDefinitionType type = EvaluatorDefinitionType.RUBRICS; - - /* - * Rubric criteria — the scoring blueprint used by the LLM judge. Quality evaluators include a non-editable residual - * criterion with rubric_id 'general_quality' (always_applicable: true); safety evaluators include - * 'general_policy_compliance'. Both use the same rubric structure. - */ - @Generated - private final List rubricCriteria; - - /** - * Creates an instance of RubricBasedEvaluatorDefinition class. - * - * @param rubricCriteria the rubricCriteria value to set. - */ - @Generated - public RubricBasedEvaluatorDefinition(List rubricCriteria) { - this.rubricCriteria = rubricCriteria; - } - - /** - * Get the type property: The type of evaluator definition. - * - * @return the type value. - */ - @Generated - @Override - public EvaluatorDefinitionType getType() { - return this.type; - } - - /** - * Get the rubricCriteria property: Rubric criteria — the scoring blueprint used by the LLM judge. Quality - * evaluators include a non-editable residual criterion with rubric_id 'general_quality' (always_applicable: true); - * safety evaluators include 'general_policy_compliance'. Both use the same rubric structure. - * - * @return the rubricCriteria value. - */ - @Generated - public List getRubricCriteria() { - return this.rubricCriteria; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public RubricBasedEvaluatorDefinition setInitParameters(Map initParameters) { - super.setInitParameters(initParameters); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public RubricBasedEvaluatorDefinition setDataSchema(Map dataSchema) { - super.setDataSchema(dataSchema); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public RubricBasedEvaluatorDefinition setMetrics(Map metrics) { - super.setMetrics(metrics); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeMapField("init_parameters", getInitParameters(), (writer, element) -> { - if (element == null) { - writer.writeNull(); - } else { - element.writeTo(writer); - } - }); - jsonWriter.writeMapField("data_schema", getDataSchema(), (writer, element) -> { - if (element == null) { - writer.writeNull(); - } else { - element.writeTo(writer); - } - }); - jsonWriter.writeMapField("metrics", getMetrics(), (writer, element) -> writer.writeJson(element)); - jsonWriter.writeArrayField("rubric_criteria", this.rubricCriteria, - (writer, element) -> writer.writeJson(element)); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of RubricBasedEvaluatorDefinition from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of RubricBasedEvaluatorDefinition if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the RubricBasedEvaluatorDefinition. - */ - @Generated - public static RubricBasedEvaluatorDefinition fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - Map initParameters = null; - Map dataSchema = null; - Map metrics = null; - List rubricCriteria = null; - EvaluatorDefinitionType type = EvaluatorDefinitionType.RUBRICS; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("init_parameters".equals(fieldName)) { - initParameters = reader.readMap(reader1 -> reader1 - .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); - } else if ("data_schema".equals(fieldName)) { - dataSchema = reader.readMap(reader1 -> reader1 - .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); - } else if ("metrics".equals(fieldName)) { - metrics = reader.readMap(reader1 -> EvaluatorMetric.fromJson(reader1)); - } else if ("rubric_criteria".equals(fieldName)) { - rubricCriteria = reader.readArray(reader1 -> RubricCriterion.fromJson(reader1)); - } else if ("type".equals(fieldName)) { - type = EvaluatorDefinitionType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - RubricBasedEvaluatorDefinition deserializedRubricBasedEvaluatorDefinition - = new RubricBasedEvaluatorDefinition(rubricCriteria); - deserializedRubricBasedEvaluatorDefinition.setInitParameters(initParameters); - deserializedRubricBasedEvaluatorDefinition.setDataSchema(dataSchema); - deserializedRubricBasedEvaluatorDefinition.setMetrics(metrics); - deserializedRubricBasedEvaluatorDefinition.type = type; - return deserializedRubricBasedEvaluatorDefinition; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricCriterion.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricCriterion.java deleted file mode 100644 index dba7e7ee3ad7..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricCriterion.java +++ /dev/null @@ -1,175 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * A single rubric criterion — one measurable quality dimension in an evaluator's scoring blueprint. - */ -@Fluent -public final class RubricCriterion implements JsonSerializable { - - /* - * Stable identifier for this rubric criterion (snake_case, e.g., `correct_resolution`). Required. Provided by the - * user when manually creating a rubric evaluator or during human-in-the-loop review of a generated catalog; the - * generation pipeline produces an initial value the user can edit. Editable when saving new versions. - */ - @Generated - private final String rubricId; - - /* - * What this criterion measures (e.g., 'Correctly identifies the user's reservation intent and pursues the - * appropriate workflow'). - */ - @Generated - private final String description; - - /* - * Relative weight of this criterion (1-10). The generation pipeline assigns exactly one criterion weight 8-10; all - * others use 1-6. User edits are not constrained by this heuristic. - */ - @Generated - private final int weight; - - /* - * When true, the LLM judge always scores this criterion regardless of relevance (skips applicability assessment). - * The service-generated general quality/policy criterion has this set to true and is non-editable. Users may set - * this on their own custom criteria. - */ - @Generated - private Boolean alwaysApplicable; - - /** - * Creates an instance of RubricCriterion class. - * - * @param rubricId the rubricId value to set. - * @param description the description value to set. - * @param weight the weight value to set. - */ - @Generated - public RubricCriterion(String rubricId, String description, int weight) { - this.rubricId = rubricId; - this.description = description; - this.weight = weight; - } - - /** - * Get the rubricId property: Stable identifier for this rubric criterion (snake_case, e.g., `correct_resolution`). - * Required. Provided by the user when manually creating a rubric evaluator or during human-in-the-loop review of a - * generated catalog; the generation pipeline produces an initial value the user can edit. Editable when saving new - * versions. - * - * @return the rubricId value. - */ - @Generated - public String getRubricId() { - return this.rubricId; - } - - /** - * Get the description property: What this criterion measures (e.g., 'Correctly identifies the user's reservation - * intent and pursues the appropriate workflow'). - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Get the weight property: Relative weight of this criterion (1-10). The generation pipeline assigns exactly one - * criterion weight 8-10; all others use 1-6. User edits are not constrained by this heuristic. - * - * @return the weight value. - */ - @Generated - public int getWeight() { - return this.weight; - } - - /** - * Get the alwaysApplicable property: When true, the LLM judge always scores this criterion regardless of relevance - * (skips applicability assessment). The service-generated general quality/policy criterion has this set to true and - * is non-editable. Users may set this on their own custom criteria. - * - * @return the alwaysApplicable value. - */ - @Generated - public Boolean isAlwaysApplicable() { - return this.alwaysApplicable; - } - - /** - * Set the alwaysApplicable property: When true, the LLM judge always scores this criterion regardless of relevance - * (skips applicability assessment). The service-generated general quality/policy criterion has this set to true and - * is non-editable. Users may set this on their own custom criteria. - * - * @param alwaysApplicable the alwaysApplicable value to set. - * @return the RubricCriterion object itself. - */ - @Generated - public RubricCriterion setAlwaysApplicable(Boolean alwaysApplicable) { - this.alwaysApplicable = alwaysApplicable; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("rubric_id", this.rubricId); - jsonWriter.writeStringField("description", this.description); - jsonWriter.writeIntField("weight", this.weight); - jsonWriter.writeBooleanField("always_applicable", this.alwaysApplicable); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of RubricCriterion from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of RubricCriterion if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the RubricCriterion. - */ - @Generated - public static RubricCriterion fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String rubricId = null; - String description = null; - int weight = 0; - Boolean alwaysApplicable = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("rubric_id".equals(fieldName)) { - rubricId = reader.getString(); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("weight".equals(fieldName)) { - weight = reader.getInt(); - } else if ("always_applicable".equals(fieldName)) { - alwaysApplicable = reader.getNullable(JsonReader::getBoolean); - } else { - reader.skipChildren(); - } - } - RubricCriterion deserializedRubricCriterion = new RubricCriterion(rubricId, description, weight); - deserializedRubricCriterion.alwaysApplicable = alwaysApplicable; - return deserializedRubricCriterion; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java deleted file mode 100644 index a402185b034d..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java +++ /dev/null @@ -1,155 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * The options for a data generation job with SimpleQnA type. - */ -@Fluent -public final class SimpleQnADataGenerationJobOptions extends DataGenerationJobOptions { - - /* - * The data generation job type. - */ - @Generated - private DataGenerationJobType type = DataGenerationJobType.SIMPLE_QNA; - - /* - * The question types to generate. Used only for fine-tuning scenarios. - */ - @Generated - private List questionTypes; - - /** - * Creates an instance of SimpleQnADataGenerationJobOptions class. - * - * @param maxSamples the maxSamples value to set. - */ - @Generated - public SimpleQnADataGenerationJobOptions(int maxSamples) { - super(maxSamples); - } - - /** - * Get the type property: The data generation job type. - * - * @return the type value. - */ - @Generated - @Override - public DataGenerationJobType getType() { - return this.type; - } - - /** - * Get the questionTypes property: The question types to generate. Used only for fine-tuning scenarios. - * - * @return the questionTypes value. - */ - @Generated - public List getQuestionTypes() { - return this.questionTypes; - } - - /** - * Set the questionTypes property: The question types to generate. Used only for fine-tuning scenarios. - * - * @param questionTypes the questionTypes value to set. - * @return the SimpleQnADataGenerationJobOptions object itself. - */ - @Generated - public SimpleQnADataGenerationJobOptions setQuestionTypes(List questionTypes) { - this.questionTypes = questionTypes; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public SimpleQnADataGenerationJobOptions setTrainSplit(Double trainSplit) { - super.setTrainSplit(trainSplit); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public SimpleQnADataGenerationJobOptions setModelOptions(DataGenerationModelOptions modelOptions) { - super.setModelOptions(modelOptions); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeIntField("max_samples", getMaxSamples()); - jsonWriter.writeNumberField("train_split", getTrainSplit()); - jsonWriter.writeJsonField("model_options", getModelOptions()); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeArrayField("question_types", this.questionTypes, - (writer, element) -> writer.writeString(element == null ? null : element.toString())); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of SimpleQnADataGenerationJobOptions from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of SimpleQnADataGenerationJobOptions if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the SimpleQnADataGenerationJobOptions. - */ - @Generated - public static SimpleQnADataGenerationJobOptions fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - int maxSamples = 0; - Double trainSplit = null; - DataGenerationModelOptions modelOptions = null; - DataGenerationJobType type = DataGenerationJobType.SIMPLE_QNA; - List questionTypes = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("max_samples".equals(fieldName)) { - maxSamples = reader.getInt(); - } else if ("train_split".equals(fieldName)) { - trainSplit = reader.getNullable(JsonReader::getDouble); - } else if ("model_options".equals(fieldName)) { - modelOptions = DataGenerationModelOptions.fromJson(reader); - } else if ("type".equals(fieldName)) { - type = DataGenerationJobType.fromString(reader.getString()); - } else if ("question_types".equals(fieldName)) { - questionTypes - = reader.readArray(reader1 -> SimpleQnAFineTuningQuestionType.fromString(reader1.getString())); - } else { - reader.skipChildren(); - } - } - SimpleQnADataGenerationJobOptions deserializedSimpleQnADataGenerationJobOptions - = new SimpleQnADataGenerationJobOptions(maxSamples); - deserializedSimpleQnADataGenerationJobOptions.setTrainSplit(trainSplit); - deserializedSimpleQnADataGenerationJobOptions.setModelOptions(modelOptions); - deserializedSimpleQnADataGenerationJobOptions.type = type; - deserializedSimpleQnADataGenerationJobOptions.questionTypes = questionTypes; - return deserializedSimpleQnADataGenerationJobOptions; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java deleted file mode 100644 index 94515e5dd17e..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * The supported question types for SimpleQnA data generation jobs used for fine-tuning scenarios. - */ -public final class SimpleQnAFineTuningQuestionType extends ExpandableStringEnum { - - /** - * Short answer question type. - */ - @Generated - public static final SimpleQnAFineTuningQuestionType SHORT_ANSWER = fromString("short_answer"); - - /** - * Long answer question type. - */ - @Generated - public static final SimpleQnAFineTuningQuestionType LONG_ANSWER = fromString("long_answer"); - - /** - * Creates a new instance of SimpleQnAFineTuningQuestionType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public SimpleQnAFineTuningQuestionType() { - } - - /** - * Creates or finds a SimpleQnAFineTuningQuestionType from its string representation. - * - * @param name a name to look for. - * @return the corresponding SimpleQnAFineTuningQuestionType. - */ - @Generated - public static SimpleQnAFineTuningQuestionType fromString(String name) { - return fromString(name, SimpleQnAFineTuningQuestionType.class); - } - - /** - * Gets known SimpleQnAFineTuningQuestionType values. - * - * @return known SimpleQnAFineTuningQuestionType values. - */ - @Generated - public static Collection values() { - return values(SimpleQnAFineTuningQuestionType.class); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java deleted file mode 100644 index cb3ba51894f4..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java +++ /dev/null @@ -1,119 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The options for a data generation job with ToolUse type. Used only for fine-tuning scenarios. - */ -@Fluent -public final class ToolUseFineTuningDataGenerationJobOptions extends DataGenerationJobOptions { - - /* - * The data generation job type. - */ - @Generated - private DataGenerationJobType type = DataGenerationJobType.TOOL_USE; - - /** - * Creates an instance of ToolUseFineTuningDataGenerationJobOptions class. - * - * @param maxSamples the maxSamples value to set. - */ - @Generated - public ToolUseFineTuningDataGenerationJobOptions(int maxSamples) { - super(maxSamples); - } - - /** - * Get the type property: The data generation job type. - * - * @return the type value. - */ - @Generated - @Override - public DataGenerationJobType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public ToolUseFineTuningDataGenerationJobOptions setTrainSplit(Double trainSplit) { - super.setTrainSplit(trainSplit); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public ToolUseFineTuningDataGenerationJobOptions setModelOptions(DataGenerationModelOptions modelOptions) { - super.setModelOptions(modelOptions); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeIntField("max_samples", getMaxSamples()); - jsonWriter.writeNumberField("train_split", getTrainSplit()); - jsonWriter.writeJsonField("model_options", getModelOptions()); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ToolUseFineTuningDataGenerationJobOptions from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ToolUseFineTuningDataGenerationJobOptions if the JsonReader was pointing to an instance of - * it, or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ToolUseFineTuningDataGenerationJobOptions. - */ - @Generated - public static ToolUseFineTuningDataGenerationJobOptions fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - int maxSamples = 0; - Double trainSplit = null; - DataGenerationModelOptions modelOptions = null; - DataGenerationJobType type = DataGenerationJobType.TOOL_USE; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("max_samples".equals(fieldName)) { - maxSamples = reader.getInt(); - } else if ("train_split".equals(fieldName)) { - trainSplit = reader.getNullable(JsonReader::getDouble); - } else if ("model_options".equals(fieldName)) { - modelOptions = DataGenerationModelOptions.fromJson(reader); - } else if ("type".equals(fieldName)) { - type = DataGenerationJobType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - ToolUseFineTuningDataGenerationJobOptions deserializedToolUseFineTuningDataGenerationJobOptions - = new ToolUseFineTuningDataGenerationJobOptions(maxSamples); - deserializedToolUseFineTuningDataGenerationJobOptions.setTrainSplit(trainSplit); - deserializedToolUseFineTuningDataGenerationJobOptions.setModelOptions(modelOptions); - deserializedToolUseFineTuningDataGenerationJobOptions.type = type; - return deserializedToolUseFineTuningDataGenerationJobOptions; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java deleted file mode 100644 index 8c8ee0845c3f..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java +++ /dev/null @@ -1,119 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The options for a data generation job with Traces type. - */ -@Fluent -public final class TracesDataGenerationJobOptions extends DataGenerationJobOptions { - - /* - * The data generation job type. - */ - @Generated - private DataGenerationJobType type = DataGenerationJobType.TRACES; - - /** - * Creates an instance of TracesDataGenerationJobOptions class. - * - * @param maxSamples the maxSamples value to set. - */ - @Generated - public TracesDataGenerationJobOptions(int maxSamples) { - super(maxSamples); - } - - /** - * Get the type property: The data generation job type. - * - * @return the type value. - */ - @Generated - @Override - public DataGenerationJobType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public TracesDataGenerationJobOptions setTrainSplit(Double trainSplit) { - super.setTrainSplit(trainSplit); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public TracesDataGenerationJobOptions setModelOptions(DataGenerationModelOptions modelOptions) { - super.setModelOptions(modelOptions); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeIntField("max_samples", getMaxSamples()); - jsonWriter.writeNumberField("train_split", getTrainSplit()); - jsonWriter.writeJsonField("model_options", getModelOptions()); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of TracesDataGenerationJobOptions from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of TracesDataGenerationJobOptions if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the TracesDataGenerationJobOptions. - */ - @Generated - public static TracesDataGenerationJobOptions fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - int maxSamples = 0; - Double trainSplit = null; - DataGenerationModelOptions modelOptions = null; - DataGenerationJobType type = DataGenerationJobType.TRACES; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("max_samples".equals(fieldName)) { - maxSamples = reader.getInt(); - } else if ("train_split".equals(fieldName)) { - trainSplit = reader.getNullable(JsonReader::getDouble); - } else if ("model_options".equals(fieldName)) { - modelOptions = DataGenerationModelOptions.fromJson(reader); - } else if ("type".equals(fieldName)) { - type = DataGenerationJobType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - TracesDataGenerationJobOptions deserializedTracesDataGenerationJobOptions - = new TracesDataGenerationJobOptions(maxSamples); - deserializedTracesDataGenerationJobOptions.setTrainSplit(trainSplit); - deserializedTracesDataGenerationJobOptions.setModelOptions(modelOptions); - deserializedTracesDataGenerationJobOptions.type = type; - return deserializedTracesDataGenerationJobOptions; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java deleted file mode 100644 index dc7f5e360cdc..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java +++ /dev/null @@ -1,328 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.time.Instant; -import java.time.OffsetDateTime; -import java.time.ZoneOffset; - -/** - * Traces source for data generation jobs — conversation traces from Application Insights. - */ -@Fluent -public final class TracesDataGenerationJobSource extends DataGenerationJobSource { - - /* - * The type of source. - */ - @Generated - private DataGenerationJobSourceType type = DataGenerationJobSourceType.TRACES; - - /* - * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company - * refund policy document' or 'Describes the agent's core capabilities'). - */ - @Generated - private String description; - - /* - * The unique agent ID used to filter traces. Optional — when omitted, traces are filtered by `agent_name` (and - * `agent_version` if specified). - */ - @Generated - private String agentId; - - /* - * The agent name to fetch traces for. - */ - @Generated - private final String agentName; - - /* - * The agent version. If not specified, traces for ALL versions of the agent are included within the time window. - */ - @Generated - private String agentVersion; - - /* - * Start of the time window (Unix timestamp in seconds) for fetching traces. - */ - @Generated - private Long startTime; - - /* - * End of the time window (Unix timestamp in seconds). Defaults to current time. - */ - @Generated - private Long endTime; - - /* - * Maximum number of traces to retrieve. - */ - @Generated - private Integer maxTraces; - - /** - * Creates an instance of TracesDataGenerationJobSource class. - * - * @param agentName the agentName value to set. - */ - @Generated - public TracesDataGenerationJobSource(String agentName) { - this.agentName = agentName; - } - - /** - * Get the type property: The type of source. - * - * @return the type value. - */ - @Generated - @Override - public DataGenerationJobSourceType getType() { - return this.type; - } - - /** - * Get the description property: Optional description of what this source represents — helps the pipeline interpret - * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: Optional description of what this source represents — helps the pipeline interpret - * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * - * @param description the description value to set. - * @return the TracesDataGenerationJobSource object itself. - */ - @Generated - public TracesDataGenerationJobSource setDescription(String description) { - this.description = description; - return this; - } - - /** - * Get the agentId property: The unique agent ID used to filter traces. Optional — when omitted, traces are filtered - * by `agent_name` (and `agent_version` if specified). - * - * @return the agentId value. - */ - @Generated - public String getAgentId() { - return this.agentId; - } - - /** - * Set the agentId property: The unique agent ID used to filter traces. Optional — when omitted, traces are filtered - * by `agent_name` (and `agent_version` if specified). - * - * @param agentId the agentId value to set. - * @return the TracesDataGenerationJobSource object itself. - */ - @Generated - public TracesDataGenerationJobSource setAgentId(String agentId) { - this.agentId = agentId; - return this; - } - - /** - * Get the agentName property: The agent name to fetch traces for. - * - * @return the agentName value. - */ - @Generated - public String getAgentName() { - return this.agentName; - } - - /** - * Get the agentVersion property: The agent version. If not specified, traces for ALL versions of the agent are - * included within the time window. - * - * @return the agentVersion value. - */ - @Generated - public String getAgentVersion() { - return this.agentVersion; - } - - /** - * Set the agentVersion property: The agent version. If not specified, traces for ALL versions of the agent are - * included within the time window. - * - * @param agentVersion the agentVersion value to set. - * @return the TracesDataGenerationJobSource object itself. - */ - @Generated - public TracesDataGenerationJobSource setAgentVersion(String agentVersion) { - this.agentVersion = agentVersion; - return this; - } - - /** - * Get the startTime property: Start of the time window (Unix timestamp in seconds) for fetching traces. - * - * @return the startTime value. - */ - @Generated - public OffsetDateTime getStartTime() { - if (this.startTime == null) { - return null; - } - return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.startTime), ZoneOffset.UTC); - } - - /** - * Set the startTime property: Start of the time window (Unix timestamp in seconds) for fetching traces. - * - * @param startTime the startTime value to set. - * @return the TracesDataGenerationJobSource object itself. - */ - @Generated - public TracesDataGenerationJobSource setStartTime(OffsetDateTime startTime) { - if (startTime == null) { - this.startTime = null; - } else { - this.startTime = startTime.toEpochSecond(); - } - return this; - } - - /** - * Get the endTime property: End of the time window (Unix timestamp in seconds). Defaults to current time. - * - * @return the endTime value. - */ - @Generated - public OffsetDateTime getEndTime() { - if (this.endTime == null) { - return null; - } - return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.endTime), ZoneOffset.UTC); - } - - /** - * Set the endTime property: End of the time window (Unix timestamp in seconds). Defaults to current time. - * - * @param endTime the endTime value to set. - * @return the TracesDataGenerationJobSource object itself. - */ - @Generated - public TracesDataGenerationJobSource setEndTime(OffsetDateTime endTime) { - if (endTime == null) { - this.endTime = null; - } else { - this.endTime = endTime.toEpochSecond(); - } - return this; - } - - /** - * Get the maxTraces property: Maximum number of traces to retrieve. - * - * @return the maxTraces value. - */ - @Generated - public Integer getMaxTraces() { - return this.maxTraces; - } - - /** - * Set the maxTraces property: Maximum number of traces to retrieve. - * - * @param maxTraces the maxTraces value to set. - * @return the TracesDataGenerationJobSource object itself. - */ - @Generated - public TracesDataGenerationJobSource setMaxTraces(Integer maxTraces) { - this.maxTraces = maxTraces; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("agent_name", this.agentName); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("description", this.description); - jsonWriter.writeStringField("agent_id", this.agentId); - jsonWriter.writeStringField("agent_version", this.agentVersion); - jsonWriter.writeNumberField("start_time", this.startTime); - jsonWriter.writeNumberField("end_time", this.endTime); - jsonWriter.writeNumberField("max_traces", this.maxTraces); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of TracesDataGenerationJobSource from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of TracesDataGenerationJobSource if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the TracesDataGenerationJobSource. - */ - @Generated - public static TracesDataGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String agentName = null; - DataGenerationJobSourceType type = DataGenerationJobSourceType.TRACES; - String description = null; - String agentId = null; - String agentVersion = null; - Long startTime = null; - Long endTime = null; - Integer maxTraces = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("agent_name".equals(fieldName)) { - agentName = reader.getString(); - } else if ("type".equals(fieldName)) { - type = DataGenerationJobSourceType.fromString(reader.getString()); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("agent_id".equals(fieldName)) { - agentId = reader.getString(); - } else if ("agent_version".equals(fieldName)) { - agentVersion = reader.getString(); - } else if ("start_time".equals(fieldName)) { - startTime = reader.getNullable(JsonReader::getLong); - } else if ("end_time".equals(fieldName)) { - endTime = reader.getNullable(JsonReader::getLong); - } else if ("max_traces".equals(fieldName)) { - maxTraces = reader.getNullable(JsonReader::getInt); - } else { - reader.skipChildren(); - } - } - TracesDataGenerationJobSource deserializedTracesDataGenerationJobSource - = new TracesDataGenerationJobSource(agentName); - deserializedTracesDataGenerationJobSource.type = type; - deserializedTracesDataGenerationJobSource.description = description; - deserializedTracesDataGenerationJobSource.agentId = agentId; - deserializedTracesDataGenerationJobSource.agentVersion = agentVersion; - deserializedTracesDataGenerationJobSource.startTime = startTime; - deserializedTracesDataGenerationJobSource.endTime = endTime; - deserializedTracesDataGenerationJobSource.maxTraces = maxTraces; - return deserializedTracesDataGenerationJobSource; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java deleted file mode 100644 index 38651ef6d1e9..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java +++ /dev/null @@ -1,328 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.time.Instant; -import java.time.OffsetDateTime; -import java.time.ZoneOffset; - -/** - * Traces source for evaluator generation jobs — conversation traces from Application Insights. - */ -@Fluent -public final class TracesEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource { - - /* - * The type of source. - */ - @Generated - private EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.TRACES; - - /* - * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company - * refund policy document' or 'Describes the agent's core capabilities'). - */ - @Generated - private String description; - - /* - * The unique agent ID used to filter traces. Optional — when omitted, traces are filtered by `agent_name` (and - * `agent_version` if specified). - */ - @Generated - private String agentId; - - /* - * The agent name to fetch traces for. - */ - @Generated - private final String agentName; - - /* - * The agent version. If not specified, traces for ALL versions of the agent are included within the time window. - */ - @Generated - private String agentVersion; - - /* - * Start of the time window (Unix timestamp in seconds) for fetching traces. - */ - @Generated - private Long startTime; - - /* - * End of the time window (Unix timestamp in seconds). Defaults to current time. - */ - @Generated - private Long endTime; - - /* - * Maximum number of traces to retrieve. - */ - @Generated - private Integer maxTraces; - - /** - * Creates an instance of TracesEvaluatorGenerationJobSource class. - * - * @param agentName the agentName value to set. - */ - @Generated - public TracesEvaluatorGenerationJobSource(String agentName) { - this.agentName = agentName; - } - - /** - * Get the type property: The type of source. - * - * @return the type value. - */ - @Generated - @Override - public EvaluatorGenerationJobSourceType getType() { - return this.type; - } - - /** - * Get the description property: Optional description of what this source represents — helps the pipeline interpret - * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: Optional description of what this source represents — helps the pipeline interpret - * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * - * @param description the description value to set. - * @return the TracesEvaluatorGenerationJobSource object itself. - */ - @Generated - public TracesEvaluatorGenerationJobSource setDescription(String description) { - this.description = description; - return this; - } - - /** - * Get the agentId property: The unique agent ID used to filter traces. Optional — when omitted, traces are filtered - * by `agent_name` (and `agent_version` if specified). - * - * @return the agentId value. - */ - @Generated - public String getAgentId() { - return this.agentId; - } - - /** - * Set the agentId property: The unique agent ID used to filter traces. Optional — when omitted, traces are filtered - * by `agent_name` (and `agent_version` if specified). - * - * @param agentId the agentId value to set. - * @return the TracesEvaluatorGenerationJobSource object itself. - */ - @Generated - public TracesEvaluatorGenerationJobSource setAgentId(String agentId) { - this.agentId = agentId; - return this; - } - - /** - * Get the agentName property: The agent name to fetch traces for. - * - * @return the agentName value. - */ - @Generated - public String getAgentName() { - return this.agentName; - } - - /** - * Get the agentVersion property: The agent version. If not specified, traces for ALL versions of the agent are - * included within the time window. - * - * @return the agentVersion value. - */ - @Generated - public String getAgentVersion() { - return this.agentVersion; - } - - /** - * Set the agentVersion property: The agent version. If not specified, traces for ALL versions of the agent are - * included within the time window. - * - * @param agentVersion the agentVersion value to set. - * @return the TracesEvaluatorGenerationJobSource object itself. - */ - @Generated - public TracesEvaluatorGenerationJobSource setAgentVersion(String agentVersion) { - this.agentVersion = agentVersion; - return this; - } - - /** - * Get the startTime property: Start of the time window (Unix timestamp in seconds) for fetching traces. - * - * @return the startTime value. - */ - @Generated - public OffsetDateTime getStartTime() { - if (this.startTime == null) { - return null; - } - return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.startTime), ZoneOffset.UTC); - } - - /** - * Set the startTime property: Start of the time window (Unix timestamp in seconds) for fetching traces. - * - * @param startTime the startTime value to set. - * @return the TracesEvaluatorGenerationJobSource object itself. - */ - @Generated - public TracesEvaluatorGenerationJobSource setStartTime(OffsetDateTime startTime) { - if (startTime == null) { - this.startTime = null; - } else { - this.startTime = startTime.toEpochSecond(); - } - return this; - } - - /** - * Get the endTime property: End of the time window (Unix timestamp in seconds). Defaults to current time. - * - * @return the endTime value. - */ - @Generated - public OffsetDateTime getEndTime() { - if (this.endTime == null) { - return null; - } - return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.endTime), ZoneOffset.UTC); - } - - /** - * Set the endTime property: End of the time window (Unix timestamp in seconds). Defaults to current time. - * - * @param endTime the endTime value to set. - * @return the TracesEvaluatorGenerationJobSource object itself. - */ - @Generated - public TracesEvaluatorGenerationJobSource setEndTime(OffsetDateTime endTime) { - if (endTime == null) { - this.endTime = null; - } else { - this.endTime = endTime.toEpochSecond(); - } - return this; - } - - /** - * Get the maxTraces property: Maximum number of traces to retrieve. - * - * @return the maxTraces value. - */ - @Generated - public Integer getMaxTraces() { - return this.maxTraces; - } - - /** - * Set the maxTraces property: Maximum number of traces to retrieve. - * - * @param maxTraces the maxTraces value to set. - * @return the TracesEvaluatorGenerationJobSource object itself. - */ - @Generated - public TracesEvaluatorGenerationJobSource setMaxTraces(Integer maxTraces) { - this.maxTraces = maxTraces; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("agent_name", this.agentName); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("description", this.description); - jsonWriter.writeStringField("agent_id", this.agentId); - jsonWriter.writeStringField("agent_version", this.agentVersion); - jsonWriter.writeNumberField("start_time", this.startTime); - jsonWriter.writeNumberField("end_time", this.endTime); - jsonWriter.writeNumberField("max_traces", this.maxTraces); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of TracesEvaluatorGenerationJobSource from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of TracesEvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the TracesEvaluatorGenerationJobSource. - */ - @Generated - public static TracesEvaluatorGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String agentName = null; - EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.TRACES; - String description = null; - String agentId = null; - String agentVersion = null; - Long startTime = null; - Long endTime = null; - Integer maxTraces = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("agent_name".equals(fieldName)) { - agentName = reader.getString(); - } else if ("type".equals(fieldName)) { - type = EvaluatorGenerationJobSourceType.fromString(reader.getString()); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("agent_id".equals(fieldName)) { - agentId = reader.getString(); - } else if ("agent_version".equals(fieldName)) { - agentVersion = reader.getString(); - } else if ("start_time".equals(fieldName)) { - startTime = reader.getNullable(JsonReader::getLong); - } else if ("end_time".equals(fieldName)) { - endTime = reader.getNullable(JsonReader::getLong); - } else if ("max_traces".equals(fieldName)) { - maxTraces = reader.getNullable(JsonReader::getInt); - } else { - reader.skipChildren(); - } - } - TracesEvaluatorGenerationJobSource deserializedTracesEvaluatorGenerationJobSource - = new TracesEvaluatorGenerationJobSource(agentName); - deserializedTracesEvaluatorGenerationJobSource.type = type; - deserializedTracesEvaluatorGenerationJobSource.description = description; - deserializedTracesEvaluatorGenerationJobSource.agentId = agentId; - deserializedTracesEvaluatorGenerationJobSource.agentVersion = agentVersion; - deserializedTracesEvaluatorGenerationJobSource.startTime = startTime; - deserializedTracesEvaluatorGenerationJobSource.endTime = endTime; - deserializedTracesEvaluatorGenerationJobSource.maxTraces = maxTraces; - return deserializedTracesEvaluatorGenerationJobSource; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json index c0cc9783f260..e7f12228b8da 100644 --- a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json +++ b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient":"Azure.AI.Projects.EvaluatorGenerationJobs","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorGenerationJobsClient":"Azure.AI.Projects.EvaluatorGenerationJobs","com.azure.ai.projects.EvaluatorGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateSkillRequest":"Azure.AI.Projects.createSkill.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetDataGenerationJobSource":"Azure.AI.Projects.DatasetDataGenerationJobSource","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.RubricCriterion":"Azure.AI.Projects.RubricCriterion","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.SkillDetails":"Azure.AI.Projects.SkillObject","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/RubricCriterion.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/SkillDetails.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateSkillRequest":"Azure.AI.Projects.createSkill.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SkillDetails":"Azure.AI.Projects.SkillObject","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SkillDetails.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml b/sdk/ai/azure-ai-projects/tsp-location.yaml index 2bde4272fe10..f63e890fe46f 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: 28c13e9daa7d3365ff869e0743b02615b0bf3fdf +commit: c76e2e52e7c38e6efbdf2c25cc71e02dff59de36 repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From 2b02d3eba0f36205ba392e685ab7c89bcd11d4f7 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Fri, 15 May 2026 16:21:39 -0700 Subject: [PATCH 12/74] regen --- .../agents/AgentSessionFilesAsyncClient.java | 250 +-- .../ai/agents/AgentSessionFilesClient.java | 244 ++- .../azure/ai/agents/AgentsAsyncClient.java | 431 ++-- .../com/azure/ai/agents/AgentsClient.java | 409 ++-- .../ai/agents/MemoryStoresAsyncClient.java | 412 +++- .../azure/ai/agents/MemoryStoresClient.java | 382 +++- .../implementation/AgentSessionFilesImpl.java | 60 +- .../ai/agents/implementation/AgentsImpl.java | 410 ++-- .../implementation/MemoryStoresImpl.java | 790 +++++++- .../models/CreateMemoryRequest.java | 128 ++ .../models/UpdateMemoryRequest.java | 83 + .../ai/agents/models/AgentDefinition.java | 2 + .../models/AgentDefinitionOptInKeys.java | 7 +- .../com/azure/ai/agents/models/AgentKind.java | 6 + .../agents/models/DeleteMemoryResponse.java | 144 ++ .../models/ExternalAgentDefinition.java | 141 ++ .../models/FoundryFeaturesOptInKeys.java | 12 +- .../azure/ai/agents/models/MemoryItem.java | 2 + .../ai/agents/models/MemoryItemKind.java | 6 + .../models/MemoryStoreDefaultOptions.java | 78 + .../agents/models/MemoryStoreObjectType.java | 7 +- .../agents/models/ProceduralMemoryItem.java | 111 ++ .../META-INF/azure-ai-agents_metadata.json | 2 +- sdk/ai/azure-ai-agents/tsp-location.yaml | 2 +- .../ai/projects/AIProjectClientBuilder.java | 68 +- .../DataGenerationJobsAsyncClient.java | 868 ++++++++ .../ai/projects/DataGenerationJobsClient.java | 834 ++++++++ .../projects/EvaluationRulesAsyncClient.java | 3 +- .../ai/projects/EvaluationRulesClient.java | 3 +- .../EvaluatorGenerationJobsAsyncClient.java | 992 ++++++++++ .../EvaluatorGenerationJobsClient.java | 955 +++++++++ .../ai/projects/EvaluatorsAsyncClient.java | 317 ++- .../azure/ai/projects/EvaluatorsClient.java | 310 ++- .../ai/projects/InsightsAsyncClient.java | 9 +- .../com/azure/ai/projects/InsightsClient.java | 9 +- .../ai/projects/RoutinesAsyncClient.java | 992 ++++++++++ .../com/azure/ai/projects/RoutinesClient.java | 925 +++++++++ .../implementation/AIProjectClientImpl.java | 45 + .../DataGenerationJobsImpl.java | 1457 ++++++++++++++ .../implementation/EvaluationRulesImpl.java | 6 +- .../EvaluatorGenerationJobsImpl.java | 1761 +++++++++++++++++ .../implementation/EvaluatorsImpl.java | 543 ++++- .../projects/implementation/InsightsImpl.java | 30 +- .../projects/implementation/RoutinesImpl.java | 1511 ++++++++++++++ .../models/CreateOrUpdateRoutineRequest.java | 178 ++ .../models/DispatchRoutineAsyncRequest.java | 93 + .../models/AgentDataGenerationJobSource.java | 176 ++ .../AgentEvaluatorGenerationJobSource.java | 176 ++ .../azure/ai/projects/models/ApiError.java | 229 +++ .../projects/models/ApplyPatchToolParam.java | 82 + .../projects/models/ApproximateLocation.java | 203 ++ .../models/AutoCodeInterpreterToolParam.java | 178 ++ .../projects/models/AzureAIAgentTarget.java | 33 + .../projects/models/CodeInterpreterTool.java | 114 ++ .../ai/projects/models/ComparisonFilter.java | 148 ++ .../ai/projects/models/CompoundFilter.java | 116 ++ .../projects/models/ComputerEnvironment.java | 71 + .../models/ComputerUsePreviewTool.java | 154 ++ .../projects/models/ContainerAutoParam.java | 208 ++ .../projects/models/ContainerMemoryLimit.java | 66 + .../ContainerNetworkPolicyAllowlistParam.java | 145 ++ .../ContainerNetworkPolicyDisabledParam.java | 82 + ...ntainerNetworkPolicyDomainSecretParam.java | 128 ++ .../models/ContainerNetworkPolicyParam.java | 110 + .../ContainerNetworkPolicyParamType.java | 57 + .../ai/projects/models/ContainerSkill.java | 108 + .../projects/models/ContainerSkillType.java | 57 + .../projects/models/CreateAsyncResponse.java | 10 +- .../models/CustomGrammarFormatParam.java | 131 ++ .../models/CustomTextFormatParam.java | 82 + .../ai/projects/models/CustomToolParam.java | 175 ++ .../models/CustomToolParamFormat.java | 108 + .../models/CustomToolParamFormatType.java | 57 + .../ai/projects/models/DataGenerationJob.java | 209 ++ .../models/DataGenerationJobInputs.java | 190 ++ .../models/DataGenerationJobOptions.java | 205 ++ .../models/DataGenerationJobOutput.java | 109 + .../DataGenerationJobOutputOptions.java | 166 ++ .../models/DataGenerationJobOutputType.java | 57 + .../models/DataGenerationJobResult.java | 128 ++ .../models/DataGenerationJobScenario.java | 63 + .../models/DataGenerationJobSource.java | 149 ++ .../models/DataGenerationJobSourceType.java | 75 + .../models/DataGenerationJobType.java | 63 + .../models/DataGenerationModelOptions.java | 83 + .../models/DataGenerationTokenUsage.java | 116 ++ .../DatasetDataGenerationJobOutput.java | 174 ++ .../DatasetDataGenerationJobSource.java | 176 ++ .../DatasetEvaluatorGenerationJobSource.java | 176 ++ .../ai/projects/models/DatasetReference.java | 105 + .../azure/ai/projects/models/Dimension.java | 177 ++ .../models/DispatchRoutineResponse.java | 118 ++ .../models/EvaluatorCredentialRequest.java | 84 + .../projects/models/EvaluatorDefinition.java | 2 + .../models/EvaluatorDefinitionType.java | 7 + .../models/EvaluatorGenerationArtifacts.java | 118 ++ .../models/EvaluatorGenerationInputs.java | 227 +++ .../models/EvaluatorGenerationJob.java | 228 +++ .../models/EvaluatorGenerationJobSource.java | 114 ++ .../EvaluatorGenerationJobSourceType.java | 69 + .../models/EvaluatorGenerationTokenUsage.java | 127 ++ .../ai/projects/models/EvaluatorVersion.java | 23 + .../models/FileDataGenerationJobOutput.java | 118 ++ .../models/FileDataGenerationJobSource.java | 121 ++ .../ai/projects/models/FileSearchTool.java | 216 ++ .../models/FileSearchToolFiltersType.java | 76 + .../models/FileSearchToolFiltersType1.java | 56 + .../models/FoundryFeaturesOptInKeys.java | 12 +- .../models/FunctionShellToolParam.java | 113 ++ .../FunctionShellToolParamEnvironment.java | 113 ++ ...ramEnvironmentContainerReferenceParam.java | 109 + ...ParamEnvironmentLocalEnvironmentParam.java | 116 ++ ...FunctionShellToolParamEnvironmentType.java | 64 + .../ai/projects/models/FunctionTool.java | 195 ++ .../GitHubIssueOpenedRoutineTrigger.java | 153 ++ .../ai/projects/models/GrammarSyntax1.java | 56 + .../projects/models/HybridSearchOptions.java | 105 + .../projects/models/ImageGenActionEnum.java | 61 + .../ai/projects/models/ImageGenTool.java | 441 +++++ .../models/ImageGenToolBackground.java | 61 + .../models/ImageGenToolInputImageMask.java | 123 ++ .../ai/projects/models/ImageGenToolModel.java | 63 + .../models/ImageGenToolModeration.java | 56 + .../models/ImageGenToolOutputFormat.java | 61 + .../projects/models/ImageGenToolQuality.java | 66 + .../ai/projects/models/ImageGenToolSize.java | 66 + .../ai/projects/models/InlineSkillParam.java | 150 ++ .../models/InlineSkillSourceParam.java | 117 ++ .../ai/projects/models/InputFidelity.java | 58 + ...okeAgentInvocationsApiDispatchPayload.java | 113 ++ ...nvokeAgentInvocationsApiRoutineAction.java | 142 ++ ...nvokeAgentResponsesApiDispatchPayload.java | 113 ++ .../InvokeAgentResponsesApiRoutineAction.java | 177 ++ .../azure/ai/projects/models/JobStatus.java | 75 + .../projects/models/LocalShellToolParam.java | 82 + .../ai/projects/models/LocalSkillParam.java | 127 ++ .../com/azure/ai/projects/models/MCPTool.java | 392 ++++ .../projects/models/MCPToolConnectorId.java | 86 + .../ai/projects/models/MCPToolFilter.java | 142 ++ .../models/MCPToolRequireApproval.java | 123 ++ .../models/ModelPendingUploadRequest.java | 16 +- .../models/ModelPendingUploadResponse.java | 16 +- .../models/PromptDataGenerationJobSource.java | 143 ++ .../PromptEvaluatorGenerationJobSource.java | 143 ++ .../ai/projects/models/RankerVersionType.java | 56 + .../ai/projects/models/RankingOptions.java | 160 ++ .../com/azure/ai/projects/models/Routine.java | 224 +++ .../ai/projects/models/RoutineAction.java | 108 + .../ai/projects/models/RoutineActionType.java | 57 + .../projects/models/RoutineAttemptSource.java | 75 + .../models/RoutineDispatchPayload.java | 108 + .../models/RoutineDispatchPayloadType.java | 59 + .../azure/ai/projects/models/RoutineRun.java | 417 ++++ .../models/RoutineRunDiagnostics.java | 129 ++ .../ai/projects/models/RoutineRunPhase.java | 69 + .../ai/projects/models/RoutineTrigger.java | 110 + .../projects/models/RoutineTriggerType.java | 63 + .../RubricBasedEvaluatorDefinition.java | 216 ++ .../models/ScheduleRoutineTrigger.java | 130 ++ .../ai/projects/models/SearchContextSize.java | 61 + .../SimpleQnADataGenerationJobOptions.java | 157 ++ .../SimpleQnAFineTuningQuestionType.java | 57 + .../projects/models/SkillReferenceParam.java | 139 ++ .../projects/models/TimerRoutineTrigger.java | 143 ++ .../com/azure/ai/projects/models/Tool.java | 128 ++ .../azure/ai/projects/models/ToolType.java | 117 ++ ...UseFineTuningDataGenerationJobOptions.java | 121 ++ .../TracesDataGenerationJobOptions.java | 121 ++ .../models/TracesDataGenerationJobSource.java | 295 +++ .../TracesEvaluatorGenerationJobSource.java | 295 +++ .../models/WebSearchApproximateLocation.java | 205 ++ .../projects/models/WebSearchPreviewTool.java | 150 ++ .../ai/projects/models/WebSearchTool.java | 181 ++ .../projects/models/WebSearchToolFilters.java | 95 + .../WebSearchToolSearchContextSize.java | 61 + .../META-INF/azure-ai-projects_metadata.json | 2 +- sdk/ai/azure-ai-projects/tsp-location.yaml | 2 +- 177 files changed, 30853 insertions(+), 1064 deletions(-) create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApiError.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApproximateLocation.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComparisonFilter.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CompoundFilter.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerEnvironment.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerMemoryLimit.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkill.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkillType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomTextFormatParam.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParam.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormat.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJob.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetReference.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Dimension.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchTool.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType1.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionTool.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GrammarSyntax1.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenActionEnum.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenTool.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolBackground.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolInputImageMask.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModeration.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolOutputFormat.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolQuality.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolSize.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InlineSkillParam.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InlineSkillSourceParam.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InputFidelity.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/JobStatus.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalSkillParam.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPTool.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolConnectorId.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolFilter.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankerVersionType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankingOptions.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Routine.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineAction.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineActionType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRun.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTrigger.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SearchContextSize.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Tool.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolType.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchTool.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolSearchContextSize.java diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java index c9b70d6dfce6..d0b5e273f3ae 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java @@ -50,8 +50,10 @@ public final class AgentSessionFilesAsyncClient { * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -101,8 +103,10 @@ public Mono> uploadSessionFileWithResponse(String agentName * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -147,8 +151,10 @@ public Mono> downloadSessionFileWithResponse(String agentNa * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -169,38 +175,6 @@ public Mono> deleteSessionFileWithResponse(String agentName, Stri return this.serviceClient.deleteSessionFileWithResponseAsync(agentName, agentSessionId, path, requestOptions); } - /** - * Upload a file to the session sandbox via binary stream. - * Maximum file size is 50 MB. Uploads exceeding this limit return 413 Payload Too Large. - * - * @param agentName The name of the agent. - * @param agentSessionId The session ID. - * @param path The destination file path within the sandbox, relative to the session home directory. - * @param content The content parameter. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response from uploading a file to a session sandbox on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono uploadSessionFile(String agentName, String agentSessionId, String path, - BinaryData content, AgentDefinitionOptInKeys foundryFeatures) { - // Generated convenience method for uploadSessionFileWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return uploadSessionFileWithResponse(agentName, agentSessionId, path, content, requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(SessionFileWriteResponse.class)); - } - /** * Upload a file to the session sandbox via binary stream. * Maximum file size is 50 MB. Uploads exceeding this limit return 413 Payload Too Large. @@ -228,35 +202,6 @@ public Mono uploadSessionFile(String agentName, String .map(protocolMethodData -> protocolMethodData.toObject(SessionFileWriteResponse.class)); } - /** - * Download a file from the session sandbox as a binary stream. - * - * @param agentName The name of the agent. - * @param agentSessionId The session ID. - * @param path The file path to download from the sandbox, relative to the session home directory. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response body on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono downloadSessionFile(String agentName, String agentSessionId, String path, - AgentDefinitionOptInKeys foundryFeatures) { - // Generated convenience method for downloadSessionFileWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return downloadSessionFileWithResponse(agentName, agentSessionId, path, requestOptions) - .flatMap(FluxUtil::toMono); - } - /** * Download a file from the session sandbox as a binary stream. * @@ -280,39 +225,6 @@ public Mono downloadSessionFile(String agentName, String agentSessio .flatMap(FluxUtil::toMono); } - /** - * Delete a file or directory from the session sandbox. - * If `recursive` is false (default) and the target is a non-empty directory, the API returns 409 Conflict. - * - * @param agentName The name of the agent. - * @param agentSessionId The session ID. - * @param path The file or directory path to delete, relative to the session home directory. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param recursive Whether to recursively delete directory contents. Defaults to false. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteSessionFile(String agentName, String agentSessionId, String path, - AgentDefinitionOptInKeys foundryFeatures, Boolean recursive) { - // Generated convenience method for deleteSessionFileWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (recursive != null) { - requestOptions.addQueryParam("recursive", String.valueOf(recursive), false); - } - return deleteSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono); - } - /** * Delete a file or directory from the session sandbox. * If `recursive` is false (default) and the target is a non-empty directory, the API returns 409 Conflict. @@ -345,8 +257,10 @@ public Mono deleteSessionFile(String agentName, String agentSessionId, Str * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -380,9 +294,80 @@ public Mono deleteSessionFile(String agentName, String agentSessionId, Str */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getSessionFilesWithResponse(String agentName, String agentSessionId, String path, + public Mono> listSessionFilesWithResponse(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { - return this.serviceClient.getSessionFilesWithResponseAsync(agentName, agentSessionId, path, requestOptions); + return this.serviceClient.listSessionFilesWithResponseAsync(agentName, agentSessionId, path, requestOptions); + } + + /** + * Upload a file to the session sandbox via binary stream. + * Maximum file size is 50 MB. Uploads exceeding this limit return 413 Payload Too Large. + * + * @param agentName The name of the agent. + * @param agentSessionId The session ID. + * @param path The destination file path within the sandbox, relative to the session home directory. + * @param content The content parameter. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, + * conversations, sessions) to a specific end user. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from uploading a file to a session sandbox on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono uploadSessionFile(String agentName, String agentSessionId, String path, + BinaryData content, AgentDefinitionOptInKeys foundryFeatures, String userIsolationKey) { + // Generated convenience method for uploadSessionFileWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (userIsolationKey != null) { + requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); + } + return uploadSessionFileWithResponse(agentName, agentSessionId, path, content, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SessionFileWriteResponse.class)); + } + + /** + * Download a file from the session sandbox as a binary stream. + * + * @param agentName The name of the agent. + * @param agentSessionId The session ID. + * @param path The file path to download from the sandbox, relative to the session home directory. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, + * conversations, sessions) to a specific end user. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono downloadSessionFile(String agentName, String agentSessionId, String path, + AgentDefinitionOptInKeys foundryFeatures, String userIsolationKey) { + // Generated convenience method for downloadSessionFileWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (userIsolationKey != null) { + requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); + } + return downloadSessionFileWithResponse(agentName, agentSessionId, path, requestOptions) + .flatMap(FluxUtil::toMono); } /** @@ -394,6 +379,8 @@ public Mono> getSessionFilesWithResponse(String agentName, * @param path The directory path to list, relative to the session home directory. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. + * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, + * conversations, sessions) to a specific end user. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -404,14 +391,17 @@ public Mono> getSessionFilesWithResponse(String agentName, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getSessionFiles(String agentName, String agentSessionId, String path, - AgentDefinitionOptInKeys foundryFeatures) { - // Generated convenience method for getSessionFilesWithResponse + public Mono listSessionFiles(String agentName, String agentSessionId, String path, + AgentDefinitionOptInKeys foundryFeatures, String userIsolationKey) { + // Generated convenience method for listSessionFilesWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - return getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono) + if (userIsolationKey != null) { + requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); + } + return listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(SessionDirectoryListResponse.class)); } @@ -432,10 +422,48 @@ public Mono getSessionFiles(String agentName, Stri */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getSessionFiles(String agentName, String agentSessionId, String path) { - // Generated convenience method for getSessionFilesWithResponse + public Mono listSessionFiles(String agentName, String agentSessionId, String path) { + // Generated convenience method for listSessionFilesWithResponse RequestOptions requestOptions = new RequestOptions(); - return getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono) + return listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(SessionDirectoryListResponse.class)); } + + /** + * Delete a file or directory from the session sandbox. + * If `recursive` is false (default) and the target is a non-empty directory, the API returns 409 Conflict. + * + * @param agentName The name of the agent. + * @param agentSessionId The session ID. + * @param path The file or directory path to delete, relative to the session home directory. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param recursive Whether to recursively delete directory contents. Defaults to false. + * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, + * conversations, sessions) to a specific end user. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteSessionFile(String agentName, String agentSessionId, String path, + AgentDefinitionOptInKeys foundryFeatures, Boolean recursive, String userIsolationKey) { + // Generated convenience method for deleteSessionFileWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (recursive != null) { + requestOptions.addQueryParam("recursive", String.valueOf(recursive), false); + } + if (userIsolationKey != null) { + requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); + } + return deleteSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono); + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java index ccb97e53318e..55ecdbc32b37 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java @@ -48,8 +48,10 @@ public final class AgentSessionFilesClient { * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -98,8 +100,10 @@ public Response uploadSessionFileWithResponse(String agentName, Stri * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -144,8 +148,10 @@ public Response downloadSessionFileWithResponse(String agentName, St * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -166,37 +172,6 @@ public Response deleteSessionFileWithResponse(String agentName, String age return this.serviceClient.deleteSessionFileWithResponse(agentName, agentSessionId, path, requestOptions); } - /** - * Upload a file to the session sandbox via binary stream. - * Maximum file size is 50 MB. Uploads exceeding this limit return 413 Payload Too Large. - * - * @param agentName The name of the agent. - * @param agentSessionId The session ID. - * @param path The destination file path within the sandbox, relative to the session home directory. - * @param content The content parameter. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response from uploading a file to a session sandbox. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public SessionFileWriteResponse uploadSessionFile(String agentName, String agentSessionId, String path, - BinaryData content, AgentDefinitionOptInKeys foundryFeatures) { - // Generated convenience method for uploadSessionFileWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return uploadSessionFileWithResponse(agentName, agentSessionId, path, content, requestOptions).getValue() - .toObject(SessionFileWriteResponse.class); - } - /** * Upload a file to the session sandbox via binary stream. * Maximum file size is 50 MB. Uploads exceeding this limit return 413 Payload Too Large. @@ -223,34 +198,6 @@ public SessionFileWriteResponse uploadSessionFile(String agentName, String agent .toObject(SessionFileWriteResponse.class); } - /** - * Download a file from the session sandbox as a binary stream. - * - * @param agentName The name of the agent. - * @param agentSessionId The session ID. - * @param path The file path to download from the sandbox, relative to the session home directory. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData downloadSessionFile(String agentName, String agentSessionId, String path, - AgentDefinitionOptInKeys foundryFeatures) { - // Generated convenience method for downloadSessionFileWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return downloadSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).getValue(); - } - /** * Download a file from the session sandbox as a binary stream. * @@ -273,38 +220,6 @@ public BinaryData downloadSessionFile(String agentName, String agentSessionId, S return downloadSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).getValue(); } - /** - * Delete a file or directory from the session sandbox. - * If `recursive` is false (default) and the target is a non-empty directory, the API returns 409 Conflict. - * - * @param agentName The name of the agent. - * @param agentSessionId The session ID. - * @param path The file or directory path to delete, relative to the session home directory. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param recursive Whether to recursively delete directory contents. Defaults to false. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteSessionFile(String agentName, String agentSessionId, String path, - AgentDefinitionOptInKeys foundryFeatures, Boolean recursive) { - // Generated convenience method for deleteSessionFileWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (recursive != null) { - requestOptions.addQueryParam("recursive", String.valueOf(recursive), false); - } - deleteSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).getValue(); - } - /** * Delete a file or directory from the session sandbox. * If `recursive` is false (default) and the target is a non-empty directory, the API returns 409 Conflict. @@ -336,8 +251,10 @@ public void deleteSessionFile(String agentName, String agentSessionId, String pa * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -370,9 +287,78 @@ public void deleteSessionFile(String agentName, String agentSessionId, String pa */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSessionFilesWithResponse(String agentName, String agentSessionId, String path, + public Response listSessionFilesWithResponse(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { - return this.serviceClient.getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions); + return this.serviceClient.listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions); + } + + /** + * Upload a file to the session sandbox via binary stream. + * Maximum file size is 50 MB. Uploads exceeding this limit return 413 Payload Too Large. + * + * @param agentName The name of the agent. + * @param agentSessionId The session ID. + * @param path The destination file path within the sandbox, relative to the session home directory. + * @param content The content parameter. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, + * conversations, sessions) to a specific end user. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from uploading a file to a session sandbox. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public SessionFileWriteResponse uploadSessionFile(String agentName, String agentSessionId, String path, + BinaryData content, AgentDefinitionOptInKeys foundryFeatures, String userIsolationKey) { + // Generated convenience method for uploadSessionFileWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (userIsolationKey != null) { + requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); + } + return uploadSessionFileWithResponse(agentName, agentSessionId, path, content, requestOptions).getValue() + .toObject(SessionFileWriteResponse.class); + } + + /** + * Download a file from the session sandbox as a binary stream. + * + * @param agentName The name of the agent. + * @param agentSessionId The session ID. + * @param path The file path to download from the sandbox, relative to the session home directory. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, + * conversations, sessions) to a specific end user. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData downloadSessionFile(String agentName, String agentSessionId, String path, + AgentDefinitionOptInKeys foundryFeatures, String userIsolationKey) { + // Generated convenience method for downloadSessionFileWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (userIsolationKey != null) { + requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); + } + return downloadSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).getValue(); } /** @@ -384,6 +370,8 @@ public Response getSessionFilesWithResponse(String agentName, String * @param path The directory path to list, relative to the session home directory. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. + * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, + * conversations, sessions) to a specific end user. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -394,14 +382,17 @@ public Response getSessionFilesWithResponse(String agentName, String */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SessionDirectoryListResponse getSessionFiles(String agentName, String agentSessionId, String path, - AgentDefinitionOptInKeys foundryFeatures) { - // Generated convenience method for getSessionFilesWithResponse + public SessionDirectoryListResponse listSessionFiles(String agentName, String agentSessionId, String path, + AgentDefinitionOptInKeys foundryFeatures, String userIsolationKey) { + // Generated convenience method for listSessionFilesWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - return getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).getValue() + if (userIsolationKey != null) { + requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); + } + return listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).getValue() .toObject(SessionDirectoryListResponse.class); } @@ -422,10 +413,47 @@ public SessionDirectoryListResponse getSessionFiles(String agentName, String age */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SessionDirectoryListResponse getSessionFiles(String agentName, String agentSessionId, String path) { - // Generated convenience method for getSessionFilesWithResponse + public SessionDirectoryListResponse listSessionFiles(String agentName, String agentSessionId, String path) { + // Generated convenience method for listSessionFilesWithResponse RequestOptions requestOptions = new RequestOptions(); - return getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).getValue() + return listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).getValue() .toObject(SessionDirectoryListResponse.class); } + + /** + * Delete a file or directory from the session sandbox. + * If `recursive` is false (default) and the target is a non-empty directory, the API returns 409 Conflict. + * + * @param agentName The name of the agent. + * @param agentSessionId The session ID. + * @param path The file or directory path to delete, relative to the session home directory. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param recursive Whether to recursively delete directory contents. Defaults to false. + * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, + * conversations, sessions) to a specific end user. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteSessionFile(String agentName, String agentSessionId, String path, + AgentDefinitionOptInKeys foundryFeatures, Boolean recursive, String userIsolationKey) { + // Generated convenience method for deleteSessionFileWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (recursive != null) { + requestOptions.addQueryParam("recursive", String.valueOf(recursive), false); + } + if (userIsolationKey != null) { + requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); + } + deleteSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).getValue(); + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java index 18282421173a..abc42b8a9a4b 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java @@ -81,7 +81,7 @@ public final class AgentsAsyncClient { * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -162,8 +162,8 @@ public Mono> getAgentWithResponse(String agentName, Request * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -176,7 +176,7 @@ public Mono> getAgentWithResponse(String agentName, Request * } * description: String (Optional) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -203,7 +203,7 @@ public Mono> getAgentWithResponse(String agentName, Request * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -328,7 +328,7 @@ public Mono deleteAgentVersion(String agentName, String agentVersion) { * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -481,8 +481,8 @@ public Mono createAgentVersion(String agentName, AgentDefin * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -496,7 +496,7 @@ public Mono createAgentVersion(String agentName, AgentDefin * } * description: String (Optional) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -563,7 +563,7 @@ public Mono createAgentVersion(String agentName, AgentDefin * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -645,8 +645,8 @@ Mono> createAgentWithResponse(BinaryData createAgentRequest * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -659,7 +659,7 @@ Mono> createAgentWithResponse(BinaryData createAgentRequest * } * description: String (Optional) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -691,7 +691,7 @@ Mono> createAgentWithResponse(BinaryData createAgentRequest * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -841,7 +841,7 @@ Mono updateAgent(String agentName, AgentDefinition definition) { * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -956,7 +956,7 @@ Mono> createAgentFromManifestWithResponse(BinaryData create * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -1066,7 +1066,7 @@ Mono> updateAgentFromManifestWithResponse(String agentName, * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -1291,7 +1291,7 @@ public Mono createAgentVersionFromManifest(String agentName * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -1469,7 +1469,7 @@ public PagedFlux listAgentVersions(String agentName, Intege * Query Parameters * NameTypeRequiredDescription * kindStringNoFilter agents by kind. If not provided, all agents are returned. - * Allowed values: "prompt", "hosted", "workflow". + * Allowed values: "prompt", "hosted", "workflow", "external". * limitIntegerNoA limit on the number of objects to be returned. Limit can range * between 1 and 100, and the * default is 20. @@ -1506,7 +1506,7 @@ public PagedFlux listAgentVersions(String agentName, Intege * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -1643,6 +1643,14 @@ Mono createAgentFromManifest(String agentName, String manifestId, * only items associated with the specified agent ID will be returned. * * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user.
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -1673,70 +1681,6 @@ public PagedFlux listAgentConversations(RequestOptions requestOption
         return this.serviceClient.listAgentConversationsAsync(requestOptions);
     }
 
-    /**
-     * Returns the list of all conversations.
-     *
-     * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the
-     * default is 20.
-     * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`
-     * for descending order.
-     * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list.
-     * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
-     * subsequent call can include after=obj_foo in order to fetch the next page of the list.
-     * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list.
-     * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
-     * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
-     * @param agentName Filter by agent name. If provided, only items associated with the specified agent will be
-     * returned.
-     * @param agentId Filter by agent ID in the format `name:version`. If provided, only items associated with the
-     * specified agent ID will be returned.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return the response data for a requested list of items as paginated response with {@link PagedFlux}.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.COLLECTION)
-    public PagedFlux listAgentConversations(Integer limit, PageOrder order, String after, String before,
-        String agentName, String agentId) {
-        // Generated convenience method for listAgentConversations
-        RequestOptions requestOptions = new RequestOptions();
-        if (limit != null) {
-            requestOptions.addQueryParam("limit", String.valueOf(limit), false);
-        }
-        if (order != null) {
-            requestOptions.addQueryParam("order", order.toString(), false);
-        }
-        if (after != null) {
-            requestOptions.addQueryParam("after", after, false);
-        }
-        if (before != null) {
-            requestOptions.addQueryParam("before", before, false);
-        }
-        if (agentName != null) {
-            requestOptions.addQueryParam("agent_name", agentName, false);
-        }
-        if (agentId != null) {
-            requestOptions.addQueryParam("agent_id", agentId, false);
-        }
-        PagedFlux pagedFluxResponse = listAgentConversations(requestOptions);
-        return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> {
-            Flux> flux = (continuationTokenParam == null)
-                ? pagedFluxResponse.byPage().take(1)
-                : pagedFluxResponse.byPage(continuationTokenParam).take(1);
-            return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(),
-                pagedResponse.getStatusCode(), pagedResponse.getHeaders(),
-                pagedResponse.getValue()
-                    .stream()
-                    .map(protocolMethodData -> protocolMethodData.toObject(Conversation.class))
-                    .collect(Collectors.toList()),
-                pagedResponse.getContinuationToken(), null));
-        });
-    }
-
     /**
      * Returns the list of all conversations.
      *
@@ -1813,7 +1757,18 @@ public Mono> deleteAgentWithResponse(String agentName, RequestOpt
     }
 
     /**
-     * Deletes an agent.
+     * Deletes an agent. For hosted agents, if any version has active sessions, the request
+     * is rejected with HTTP 409 unless `force` is set to true. When force is true, all
+     * associated sessions are cascade-deleted along with the agent and its versions.
+     * 

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
forceBooleanNoFor Hosted Agents, if true, force-deletes the agent even if its + * versions have active sessions, cascading deletion to all associated sessions. This value is not relevant for + * other Agent types. Defaults to false.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
@@ -1841,7 +1796,18 @@ Mono> internalDeleteAgentWithResponse(String agentName, Req
     }
 
     /**
-     * Deletes a specific version of an agent.
+     * Deletes a specific version of an agent. For hosted agents, if the version has active
+     * sessions, the request is rejected with HTTP 409 unless `force` is set to true. When
+     * force is true, all sessions associated with this version are cascade-deleted.
+     * 

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
forceBooleanNoFor Hosted Agents, if true, force-deletes the version even if it + * has active sessions, cascading deletion to all associated sessions. This value is not relevant for other Agent + * types. Defaults to false.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
@@ -1879,8 +1845,8 @@ Mono> internalDeleteAgentVersionWithResponse(String agentNa
      * NameTypeRequiredDescription
      * Foundry-FeaturesStringNoA feature flag opt-in required when using preview
      * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview",
-     * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview",
-     * "CodeAgents=V1Preview".
+     * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview",
+     * "ExternalAgents=V1Preview".
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Response Body Schema

@@ -1945,8 +1911,8 @@ public Mono> getSessionWithResponse(String agentName, Strin * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -2280,8 +2246,8 @@ public PagedFlux listSessions(String agentName) { * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -2324,8 +2290,8 @@ public Mono> getSessionLogStreamWithResponse(String agentNa * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -2392,7 +2358,7 @@ public Mono> getSessionLogStreamWithResponse(String agentNa * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -2620,8 +2586,8 @@ public Mono updateAgentDetails(String agentName, UpdateAgentDetail * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -2644,7 +2610,7 @@ public Mono updateAgentDetails(String agentName, UpdateAgentDetail * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -2737,8 +2703,8 @@ Mono> createAgentFromCodeWithResponse(String agentName, Str * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -2761,7 +2727,7 @@ Mono> createAgentFromCodeWithResponse(String agentName, Str * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -2852,8 +2818,8 @@ Mono> updateAgentFromCodeWithResponse(String agentName, Str * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -2871,7 +2837,7 @@ Mono> updateAgentFromCodeWithResponse(String agentName, Str * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -2915,55 +2881,31 @@ Mono> createAgentVersionFromCodeWithResponse(String agentNa } /** - * Download the code zip for a specific version of a code-based hosted agent. + * Download the code zip for a code-based hosted agent. * Returns the previously-uploaded zip (`application/zip`). - * The SHA-256 digest of the returned bytes matches the `content_hash` on the agent version's `code_configuration`. - *

Header Parameters

+ * + * If `agent_version` is supplied, returns that version's code zip; otherwise + * returns the latest version's code zip. + * + * The SHA-256 digest of the returned bytes matches the `content_hash` on the + * resolved version's `code_configuration`. + *

Query Parameters

* - * + * * - * + * *
Header ParametersQuery Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview".
agent_versionStringNoThe version of the agent whose code zip should be + * downloaded. + * If omitted, the latest version's code zip is returned.
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * BinaryData
-     * }
-     * 
- * - * @param agentName The name of the agent. - * @param agentVersion The version of the agent whose code zip should be downloaded. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> downloadAgentVersionCodeWithResponse(String agentName, String agentVersion, - RequestOptions requestOptions) { - return this.serviceClient.downloadAgentVersionCodeWithResponseAsync(agentName, agentVersion, requestOptions); - } - - /** - * Download the code zip for the latest version of a code-based hosted agent. - * Returns the previously-uploaded zip (`application/zip`). - * The SHA-256 digest of the returned bytes matches the `content_hash` on the latest version's `code_configuration`. + * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * * + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview".
* You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -2974,7 +2916,7 @@ public Mono> downloadAgentVersionCodeWithResponse(String ag * } *
* - * @param agentName The name of the agent whose latest-version code zip should be downloaded. + * @param agentName The name of the agent. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -2998,8 +2940,8 @@ public Mono> downloadAgentCodeWithResponse(String agentName * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -3058,8 +3000,8 @@ public Mono> createSessionWithResponse(String agentName, Bi * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -3313,90 +3255,16 @@ public Mono createAgentVersionFromCode(String agentName, St } /** - * Download the code zip for a specific version of a code-based hosted agent. - * Returns the previously-uploaded zip (`application/zip`). - * The SHA-256 digest of the returned bytes matches the `content_hash` on the agent version's `code_configuration`. - * - * @param agentName The name of the agent. - * @param agentVersion The version of the agent whose code zip should be downloaded. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response body on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono downloadAgentVersionCode(String agentName, String agentVersion, - AgentDefinitionOptInKeys foundryFeatures) { - // Generated convenience method for downloadAgentVersionCodeWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return downloadAgentVersionCodeWithResponse(agentName, agentVersion, requestOptions).flatMap(FluxUtil::toMono); - } - - /** - * Download the code zip for a specific version of a code-based hosted agent. + * Download the code zip for a code-based hosted agent. * Returns the previously-uploaded zip (`application/zip`). - * The SHA-256 digest of the returned bytes matches the `content_hash` on the agent version's `code_configuration`. * - * @param agentName The name of the agent. - * @param agentVersion The version of the agent whose code zip should be downloaded. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response body on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono downloadAgentVersionCode(String agentName, String agentVersion) { - // Generated convenience method for downloadAgentVersionCodeWithResponse - RequestOptions requestOptions = new RequestOptions(); - return downloadAgentVersionCodeWithResponse(agentName, agentVersion, requestOptions).flatMap(FluxUtil::toMono); - } - - /** - * Download the code zip for the latest version of a code-based hosted agent. - * Returns the previously-uploaded zip (`application/zip`). - * The SHA-256 digest of the returned bytes matches the `content_hash` on the latest version's `code_configuration`. + * If `agent_version` is supplied, returns that version's code zip; otherwise + * returns the latest version's code zip. * - * @param agentName The name of the agent whose latest-version code zip should be downloaded. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response body on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono downloadAgentCode(String agentName, AgentDefinitionOptInKeys foundryFeatures) { - // Generated convenience method for downloadAgentCodeWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return downloadAgentCodeWithResponse(agentName, requestOptions).flatMap(FluxUtil::toMono); - } - - /** - * Download the code zip for the latest version of a code-based hosted agent. - * Returns the previously-uploaded zip (`application/zip`). - * The SHA-256 digest of the returned bytes matches the `content_hash` on the latest version's `code_configuration`. + * The SHA-256 digest of the returned bytes matches the `content_hash` on the + * resolved version's `code_configuration`. * - * @param agentName The name of the agent whose latest-version code zip should be downloaded. + * @param agentName The name of the agent. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -3519,4 +3387,111 @@ public Mono deleteSession(String agentName, String sessionId) { RequestOptions requestOptions = new RequestOptions(); return deleteSessionWithResponse(agentName, sessionId, requestOptions).flatMap(FluxUtil::toMono); } + + /** + * Download the code zip for a code-based hosted agent. + * Returns the previously-uploaded zip (`application/zip`). + * + * If `agent_version` is supplied, returns that version's code zip; otherwise + * returns the latest version's code zip. + * + * The SHA-256 digest of the returned bytes matches the `content_hash` on the + * resolved version's `code_configuration`. + * + * @param agentName The name of the agent. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param agentVersion The version of the agent whose code zip should be downloaded. + * If omitted, the latest version's code zip is returned. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono downloadAgentCode(String agentName, AgentDefinitionOptInKeys foundryFeatures, + String agentVersion) { + // Generated convenience method for downloadAgentCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (agentVersion != null) { + requestOptions.addQueryParam("agent_version", agentVersion, false); + } + return downloadAgentCodeWithResponse(agentName, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Returns the list of all conversations. + * + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @param agentName Filter by agent name. If provided, only items associated with the specified agent will be + * returned. + * @param agentId Filter by agent ID in the format `name:version`. If provided, only items associated with the + * specified agent ID will be returned. + * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, + * conversations, sessions) to a specific end user. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAgentConversations(Integer limit, PageOrder order, String after, String before, + String agentName, String agentId, String userIsolationKey) { + // Generated convenience method for listAgentConversations + RequestOptions requestOptions = new RequestOptions(); + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + if (agentName != null) { + requestOptions.addQueryParam("agent_name", agentName, false); + } + if (agentId != null) { + requestOptions.addQueryParam("agent_id", agentId, false); + } + if (userIsolationKey != null) { + requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); + } + PagedFlux pagedFluxResponse = listAgentConversations(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(Conversation.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java index 7ef69f512dfb..ba9282492108 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java @@ -75,7 +75,7 @@ public final class AgentsClient { * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -156,8 +156,8 @@ public Response getAgentWithResponse(String agentName, RequestOption * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -170,7 +170,7 @@ public Response getAgentWithResponse(String agentName, RequestOption * } * description: String (Optional) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -197,7 +197,7 @@ public Response getAgentWithResponse(String agentName, RequestOption * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -320,7 +320,7 @@ public void deleteAgentVersion(String agentName, String agentVersion) { * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -448,8 +448,8 @@ public AgentVersionDetails createAgentVersion(String agentName, AgentDefinition * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -463,7 +463,7 @@ public AgentVersionDetails createAgentVersion(String agentName, AgentDefinition * } * description: String (Optional) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -530,7 +530,7 @@ public AgentVersionDetails createAgentVersion(String agentName, AgentDefinition * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -612,8 +612,8 @@ Response createAgentWithResponse(BinaryData createAgentRequest, Requ * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -626,7 +626,7 @@ Response createAgentWithResponse(BinaryData createAgentRequest, Requ * } * description: String (Optional) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -658,7 +658,7 @@ Response createAgentWithResponse(BinaryData createAgentRequest, Requ * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -808,7 +808,7 @@ AgentDetails updateAgent(String agentName, AgentDefinition definition) { * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -922,7 +922,7 @@ Response createAgentFromManifestWithResponse(BinaryData createAgentF * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -1032,7 +1032,7 @@ Response updateAgentFromManifestWithResponse(String agentName, * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -1250,7 +1250,7 @@ public AgentVersionDetails createAgentVersionFromManifest(String agentName, Stri * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -1405,7 +1405,7 @@ public PagedIterable listAgentVersions(String agentName, In * Query Parameters * NameTypeRequiredDescription * kindStringNoFilter agents by kind. If not provided, all agents are returned. - * Allowed values: "prompt", "hosted", "workflow". + * Allowed values: "prompt", "hosted", "workflow", "external". * limitIntegerNoA limit on the number of objects to be returned. Limit can range * between 1 and 100, and the * default is 20. @@ -1442,7 +1442,7 @@ public PagedIterable listAgentVersions(String agentName, In * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -1578,6 +1578,14 @@ AgentDetails createAgentFromManifest(String agentName, String manifestId, Map * * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user.
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -1608,59 +1616,6 @@ public PagedIterable listAgentConversations(RequestOptions requestOp
         return this.serviceClient.listAgentConversations(requestOptions);
     }
 
-    /**
-     * Returns the list of all conversations.
-     *
-     * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the
-     * default is 20.
-     * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`
-     * for descending order.
-     * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list.
-     * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
-     * subsequent call can include after=obj_foo in order to fetch the next page of the list.
-     * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list.
-     * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
-     * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
-     * @param agentName Filter by agent name. If provided, only items associated with the specified agent will be
-     * returned.
-     * @param agentId Filter by agent ID in the format `name:version`. If provided, only items associated with the
-     * specified agent ID will be returned.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return the response data for a requested list of items as paginated response with {@link PagedIterable}.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.COLLECTION)
-    public PagedIterable listAgentConversations(Integer limit, PageOrder order, String after,
-        String before, String agentName, String agentId) {
-        // Generated convenience method for listAgentConversations
-        RequestOptions requestOptions = new RequestOptions();
-        if (limit != null) {
-            requestOptions.addQueryParam("limit", String.valueOf(limit), false);
-        }
-        if (order != null) {
-            requestOptions.addQueryParam("order", order.toString(), false);
-        }
-        if (after != null) {
-            requestOptions.addQueryParam("after", after, false);
-        }
-        if (before != null) {
-            requestOptions.addQueryParam("before", before, false);
-        }
-        if (agentName != null) {
-            requestOptions.addQueryParam("agent_name", agentName, false);
-        }
-        if (agentId != null) {
-            requestOptions.addQueryParam("agent_id", agentId, false);
-        }
-        return serviceClient.listAgentConversations(requestOptions)
-            .mapPage(bodyItemValue -> bodyItemValue.toObject(Conversation.class));
-    }
-
     /**
      * Returns the list of all conversations.
      *
@@ -1724,7 +1679,18 @@ public Response deleteAgentWithResponse(String agentName, RequestOptions r
     }
 
     /**
-     * Deletes an agent.
+     * Deletes an agent. For hosted agents, if any version has active sessions, the request
+     * is rejected with HTTP 409 unless `force` is set to true. When force is true, all
+     * associated sessions are cascade-deleted along with the agent and its versions.
+     * 

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
forceBooleanNoFor Hosted Agents, if true, force-deletes the agent even if its + * versions have active sessions, cascading deletion to all associated sessions. This value is not relevant for + * other Agent types. Defaults to false.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
@@ -1752,7 +1718,18 @@ Response internalDeleteAgentWithResponse(String agentName, RequestOp
     }
 
     /**
-     * Deletes a specific version of an agent.
+     * Deletes a specific version of an agent. For hosted agents, if the version has active
+     * sessions, the request is rejected with HTTP 409 unless `force` is set to true. When
+     * force is true, all sessions associated with this version are cascade-deleted.
+     * 

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
forceBooleanNoFor Hosted Agents, if true, force-deletes the version even if it + * has active sessions, cascading deletion to all associated sessions. This value is not relevant for other Agent + * types. Defaults to false.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
@@ -1790,8 +1767,8 @@ Response internalDeleteAgentVersionWithResponse(String agentName, St
      * NameTypeRequiredDescription
      * Foundry-FeaturesStringNoA feature flag opt-in required when using preview
      * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview",
-     * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview",
-     * "CodeAgents=V1Preview".
+     * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview",
+     * "ExternalAgents=V1Preview".
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Response Body Schema

@@ -1856,8 +1833,8 @@ public Response getSessionWithResponse(String agentName, String sess * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -2162,8 +2139,8 @@ public PagedIterable listSessions(String agentName) { * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -2205,8 +2182,8 @@ public Response getSessionLogStreamWithResponse(String agentName, St * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -2273,7 +2250,7 @@ public Response getSessionLogStreamWithResponse(String agentName, St * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -2496,8 +2473,8 @@ public AgentDetails updateAgentDetails(String agentName, UpdateAgentDetailsOptio * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -2520,7 +2497,7 @@ public AgentDetails updateAgentDetails(String agentName, UpdateAgentDetailsOptio * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -2612,8 +2589,8 @@ Response createAgentFromCodeWithResponse(String agentName, String co * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -2636,7 +2613,7 @@ Response createAgentFromCodeWithResponse(String agentName, String co * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -2726,8 +2703,8 @@ Response updateAgentFromCodeWithResponse(String agentName, String co * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -2745,7 +2722,7 @@ Response updateAgentFromCodeWithResponse(String agentName, String co * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -2789,55 +2766,31 @@ Response createAgentVersionFromCodeWithResponse(String agentName, St } /** - * Download the code zip for a specific version of a code-based hosted agent. + * Download the code zip for a code-based hosted agent. * Returns the previously-uploaded zip (`application/zip`). - * The SHA-256 digest of the returned bytes matches the `content_hash` on the agent version's `code_configuration`. - *

Header Parameters

+ * + * If `agent_version` is supplied, returns that version's code zip; otherwise + * returns the latest version's code zip. + * + * The SHA-256 digest of the returned bytes matches the `content_hash` on the + * resolved version's `code_configuration`. + *

Query Parameters

* - * + * * - * + * *
Header ParametersQuery Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview".
agent_versionStringNoThe version of the agent whose code zip should be + * downloaded. + * If omitted, the latest version's code zip is returned.
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * BinaryData
-     * }
-     * 
- * - * @param agentName The name of the agent. - * @param agentVersion The version of the agent whose code zip should be downloaded. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response downloadAgentVersionCodeWithResponse(String agentName, String agentVersion, - RequestOptions requestOptions) { - return this.serviceClient.downloadAgentVersionCodeWithResponse(agentName, agentVersion, requestOptions); - } - - /** - * Download the code zip for the latest version of a code-based hosted agent. - * Returns the previously-uploaded zip (`application/zip`). - * The SHA-256 digest of the returned bytes matches the `content_hash` on the latest version's `code_configuration`. + * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * * + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview".
* You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -2848,7 +2801,7 @@ public Response downloadAgentVersionCodeWithResponse(String agentNam * } *
* - * @param agentName The name of the agent whose latest-version code zip should be downloaded. + * @param agentName The name of the agent. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -2872,8 +2825,8 @@ public Response downloadAgentCodeWithResponse(String agentName, Requ * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -2932,8 +2885,8 @@ public Response createSessionWithResponse(String agentName, BinaryDa * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -3180,90 +3133,16 @@ public AgentVersionDetails createAgentVersionFromCode(String agentName, String c } /** - * Download the code zip for a specific version of a code-based hosted agent. - * Returns the previously-uploaded zip (`application/zip`). - * The SHA-256 digest of the returned bytes matches the `content_hash` on the agent version's `code_configuration`. - * - * @param agentName The name of the agent. - * @param agentVersion The version of the agent whose code zip should be downloaded. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData downloadAgentVersionCode(String agentName, String agentVersion, - AgentDefinitionOptInKeys foundryFeatures) { - // Generated convenience method for downloadAgentVersionCodeWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return downloadAgentVersionCodeWithResponse(agentName, agentVersion, requestOptions).getValue(); - } - - /** - * Download the code zip for a specific version of a code-based hosted agent. + * Download the code zip for a code-based hosted agent. * Returns the previously-uploaded zip (`application/zip`). - * The SHA-256 digest of the returned bytes matches the `content_hash` on the agent version's `code_configuration`. * - * @param agentName The name of the agent. - * @param agentVersion The version of the agent whose code zip should be downloaded. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData downloadAgentVersionCode(String agentName, String agentVersion) { - // Generated convenience method for downloadAgentVersionCodeWithResponse - RequestOptions requestOptions = new RequestOptions(); - return downloadAgentVersionCodeWithResponse(agentName, agentVersion, requestOptions).getValue(); - } - - /** - * Download the code zip for the latest version of a code-based hosted agent. - * Returns the previously-uploaded zip (`application/zip`). - * The SHA-256 digest of the returned bytes matches the `content_hash` on the latest version's `code_configuration`. + * If `agent_version` is supplied, returns that version's code zip; otherwise + * returns the latest version's code zip. * - * @param agentName The name of the agent whose latest-version code zip should be downloaded. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData downloadAgentCode(String agentName, AgentDefinitionOptInKeys foundryFeatures) { - // Generated convenience method for downloadAgentCodeWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return downloadAgentCodeWithResponse(agentName, requestOptions).getValue(); - } - - /** - * Download the code zip for the latest version of a code-based hosted agent. - * Returns the previously-uploaded zip (`application/zip`). - * The SHA-256 digest of the returned bytes matches the `content_hash` on the latest version's `code_configuration`. + * The SHA-256 digest of the returned bytes matches the `content_hash` on the + * resolved version's `code_configuration`. * - * @param agentName The name of the agent whose latest-version code zip should be downloaded. + * @param agentName The name of the agent. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -3382,4 +3261,100 @@ public void deleteSession(String agentName, String sessionId) { RequestOptions requestOptions = new RequestOptions(); deleteSessionWithResponse(agentName, sessionId, requestOptions).getValue(); } + + /** + * Download the code zip for a code-based hosted agent. + * Returns the previously-uploaded zip (`application/zip`). + * + * If `agent_version` is supplied, returns that version's code zip; otherwise + * returns the latest version's code zip. + * + * The SHA-256 digest of the returned bytes matches the `content_hash` on the + * resolved version's `code_configuration`. + * + * @param agentName The name of the agent. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param agentVersion The version of the agent whose code zip should be downloaded. + * If omitted, the latest version's code zip is returned. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData downloadAgentCode(String agentName, AgentDefinitionOptInKeys foundryFeatures, + String agentVersion) { + // Generated convenience method for downloadAgentCodeWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (agentVersion != null) { + requestOptions.addQueryParam("agent_version", agentVersion, false); + } + return downloadAgentCodeWithResponse(agentName, requestOptions).getValue(); + } + + /** + * Returns the list of all conversations. + * + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @param agentName Filter by agent name. If provided, only items associated with the specified agent will be + * returned. + * @param agentId Filter by agent ID in the format `name:version`. If provided, only items associated with the + * specified agent ID will be returned. + * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, + * conversations, sessions) to a specific end user. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listAgentConversations(Integer limit, PageOrder order, String after, + String before, String agentName, String agentId, String userIsolationKey) { + // Generated convenience method for listAgentConversations + RequestOptions requestOptions = new RequestOptions(); + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + if (agentName != null) { + requestOptions.addQueryParam("agent_name", agentName, false); + } + if (agentId != null) { + requestOptions.addQueryParam("agent_id", agentId, false); + } + if (userIsolationKey != null) { + requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); + } + return serviceClient.listAgentConversations(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(Conversation.class)); + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java index 714f31b8f084..05da5c45e959 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java @@ -5,11 +5,16 @@ import com.azure.ai.agents.implementation.MemoryStoresImpl; import com.azure.ai.agents.implementation.OpenAIJsonHelper; +import com.azure.ai.agents.implementation.models.CreateMemoryRequest; import com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest; import com.azure.ai.agents.implementation.models.InputItem; import com.azure.ai.agents.implementation.models.SearchMemoriesRequest; import com.azure.ai.agents.implementation.models.UpdateMemoriesRequest; +import com.azure.ai.agents.implementation.models.UpdateMemoryRequest; import com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest; +import com.azure.ai.agents.models.DeleteMemoryResponse; +import com.azure.ai.agents.models.MemoryItem; +import com.azure.ai.agents.models.MemoryItemKind; import com.azure.ai.agents.models.MemorySearchOptions; import com.azure.ai.agents.models.MemoryStoreDefinition; import com.azure.ai.agents.models.MemoryStoreDetails; @@ -85,7 +90,7 @@ public final class MemoryStoresAsyncClient { *
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -137,7 +142,7 @@ public Mono> createMemoryStoreWithResponse(BinaryData creat
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -177,7 +182,7 @@ public Mono> updateMemoryStoreWithResponse(String name, Bin
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -235,7 +240,7 @@ public Mono> getMemoryStoreWithResponse(String name, Reques
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -307,7 +312,7 @@ public Mono> deleteMemoryStoreWithResponse(String name, RequestOp
      *              (Required){
      *                 kind: String(create/update/delete) (Required)
      *                 memory_item (Required): {
-     *                     kind: String(user_profile/chat_summary) (Required)
+     *                     kind: String(user_profile/chat_summary/procedural) (Required)
      *                     memory_id: String (Required)
      *                     updated_at: long (Required)
      *                     scope: String (Required)
@@ -699,7 +704,7 @@ public PagedFlux listMemoryStores(Integer limit, PageOrder o
      *     memories (Required): [
      *          (Required){
      *             memory_item (Required): {
-     *                 kind: String(user_profile/chat_summary) (Required)
+     *                 kind: String(user_profile/chat_summary/procedural) (Required)
      *                 memory_id: String (Required)
      *                 updated_at: long (Required)
      *                 scope: String (Required)
@@ -771,7 +776,7 @@ Mono> internalSearchMemoriesWithResponse(String name, Binar
      *              (Required){
      *                 kind: String(create/update/delete) (Required)
      *                 memory_item (Required): {
-     *                     kind: String(user_profile/chat_summary) (Required)
+     *                     kind: String(user_profile/chat_summary/procedural) (Required)
      *                     memory_id: String (Required)
      *                     updated_at: long (Required)
      *                     scope: String (Required)
@@ -1018,7 +1023,7 @@ public PollerFlux b
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     name: String (Required)
      *     deleted: boolean (Required)
      * }
@@ -1056,7 +1061,7 @@ Mono> internalDeleteMemoryStoreWithResponse(String name, Re
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     name: String (Required)
      *     scope: String (Required)
      *     deleted: boolean (Required)
@@ -1080,4 +1085,393 @@ Mono> internalDeleteScopeWithResponse(String name, BinaryDa
         RequestOptions requestOptions) {
         return this.serviceClient.internalDeleteScopeWithResponseAsync(name, deleteScopeRequest, requestOptions);
     }
+
+    /**
+     * Create a memory item in a memory store.
+     * 

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     scope: String (Required)
+     *     content: String (Required)
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param createMemoryRequest The createMemoryRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a single memory item stored in the memory store, containing content and metadata along with + * {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createMemoryWithResponse(String name, BinaryData createMemoryRequest, + RequestOptions requestOptions) { + return this.serviceClient.createMemoryWithResponseAsync(name, createMemoryRequest, requestOptions); + } + + /** + * Update a memory item in a memory store. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to update. + * @param updateMemoryRequest The updateMemoryRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a single memory item stored in the memory store, containing content and metadata along with + * {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> updateMemoryWithResponse(String name, String memoryId, + BinaryData updateMemoryRequest, RequestOptions requestOptions) { + return this.serviceClient.updateMemoryWithResponseAsync(name, memoryId, updateMemoryRequest, requestOptions); + } + + /** + * Retrieve a memory item from a memory store. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a single memory item stored in the memory store, containing content and metadata along with + * {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getMemoryWithResponse(String name, String memoryId, + RequestOptions requestOptions) { + return this.serviceClient.getMemoryWithResponseAsync(name, memoryId, requestOptions); + } + + /** + * List all memory items in a memory store. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listMemories(String name, RequestOptions requestOptions) { + return this.serviceClient.listMemoriesAsync(name, requestOptions); + } + + /** + * Delete a memory item from a memory store. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     name: String (Required)
+     *     memory_id: String (Required)
+     *     deleted: boolean (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response for deleting a memory item from a memory store along with {@link Response} on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteMemoryWithResponse(String name, String memoryId, + RequestOptions requestOptions) { + return this.serviceClient.deleteMemoryWithResponseAsync(name, memoryId, requestOptions); + } + + /** + * Create a memory item in a memory store. + * + * @param name The name of the memory store. + * @param scope The namespace that logically groups and isolates memories, such as a user ID. + * @param content The content of the memory. + * @param kind The kind of the memory item. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a single memory item stored in the memory store, containing content and metadata on successful completion + * of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createMemory(String name, String scope, String content, MemoryItemKind kind) { + // Generated convenience method for createMemoryWithResponse + RequestOptions requestOptions = new RequestOptions(); + CreateMemoryRequest createMemoryRequestObj = new CreateMemoryRequest(scope, content, kind); + BinaryData createMemoryRequest = BinaryData.fromObject(createMemoryRequestObj); + return createMemoryWithResponse(name, createMemoryRequest, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(MemoryItem.class)); + } + + /** + * Update a memory item in a memory store. + * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to update. + * @param content The updated content of the memory. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a single memory item stored in the memory store, containing content and metadata on successful completion + * of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono updateMemory(String name, String memoryId, String content) { + // Generated convenience method for updateMemoryWithResponse + RequestOptions requestOptions = new RequestOptions(); + UpdateMemoryRequest updateMemoryRequestObj = new UpdateMemoryRequest(content); + BinaryData updateMemoryRequest = BinaryData.fromObject(updateMemoryRequestObj); + return updateMemoryWithResponse(name, memoryId, updateMemoryRequest, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(MemoryItem.class)); + } + + /** + * Retrieve a memory item from a memory store. + * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to retrieve. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a single memory item stored in the memory store, containing content and metadata on successful completion + * of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getMemory(String name, String memoryId) { + // Generated convenience method for getMemoryWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getMemoryWithResponse(name, memoryId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(MemoryItem.class)); + } + + /** + * List all memory items in a memory store. + * + * @param name The name of the memory store. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listMemories(String name, Integer limit, PageOrder order, String after, + String before) { + // Generated convenience method for listMemories + RequestOptions requestOptions = new RequestOptions(); + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + PagedFlux pagedFluxResponse = listMemories(name, requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(MemoryItem.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * List all memory items in a memory store. + * + * @param name The name of the memory store. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listMemories(String name) { + // Generated convenience method for listMemories + RequestOptions requestOptions = new RequestOptions(); + PagedFlux pagedFluxResponse = listMemories(name, requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(MemoryItem.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Delete a memory item from a memory store. + * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response for deleting a memory item from a memory store on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteMemory(String name, String memoryId) { + // Generated convenience method for deleteMemoryWithResponse + RequestOptions requestOptions = new RequestOptions(); + return deleteMemoryWithResponse(name, memoryId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DeleteMemoryResponse.class)); + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresClient.java index ed14d4fccbc8..517fefe8c40e 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresClient.java @@ -5,11 +5,16 @@ import com.azure.ai.agents.implementation.MemoryStoresImpl; import com.azure.ai.agents.implementation.OpenAIJsonHelper; +import com.azure.ai.agents.implementation.models.CreateMemoryRequest; import com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest; import com.azure.ai.agents.implementation.models.InputItem; import com.azure.ai.agents.implementation.models.SearchMemoriesRequest; import com.azure.ai.agents.implementation.models.UpdateMemoriesRequest; +import com.azure.ai.agents.implementation.models.UpdateMemoryRequest; import com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest; +import com.azure.ai.agents.models.DeleteMemoryResponse; +import com.azure.ai.agents.models.MemoryItem; +import com.azure.ai.agents.models.MemoryItemKind; import com.azure.ai.agents.models.MemorySearchOptions; import com.azure.ai.agents.models.MemoryStoreDefinition; import com.azure.ai.agents.models.MemoryStoreDetails; @@ -79,7 +84,7 @@ public final class MemoryStoresClient { *
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -130,7 +135,7 @@ public Response createMemoryStoreWithResponse(BinaryData createMemor
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -169,7 +174,7 @@ public Response updateMemoryStoreWithResponse(String name, BinaryDat
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -226,7 +231,7 @@ public Response getMemoryStoreWithResponse(String name, RequestOptio
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -297,7 +302,7 @@ public Response deleteMemoryStoreWithResponse(String name, RequestOptions
      *              (Required){
      *                 kind: String(create/update/delete) (Required)
      *                 memory_item (Required): {
-     *                     kind: String(user_profile/chat_summary) (Required)
+     *                     kind: String(user_profile/chat_summary/procedural) (Required)
      *                     memory_id: String (Required)
      *                     updated_at: long (Required)
      *                     scope: String (Required)
@@ -664,7 +669,7 @@ public PagedIterable listMemoryStores(Integer limit, PageOrd
      *     memories (Required): [
      *          (Required){
      *             memory_item (Required): {
-     *                 kind: String(user_profile/chat_summary) (Required)
+     *                 kind: String(user_profile/chat_summary/procedural) (Required)
      *                 memory_id: String (Required)
      *                 updated_at: long (Required)
      *                 scope: String (Required)
@@ -736,7 +741,7 @@ Response internalSearchMemoriesWithResponse(String name, BinaryData
      *              (Required){
      *                 kind: String(create/update/delete) (Required)
      *                 memory_item (Required): {
-     *                     kind: String(user_profile/chat_summary) (Required)
+     *                     kind: String(user_profile/chat_summary/procedural) (Required)
      *                     memory_id: String (Required)
      *                     updated_at: long (Required)
      *                     scope: String (Required)
@@ -983,7 +988,7 @@ public SyncPoller b
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     name: String (Required)
      *     deleted: boolean (Required)
      * }
@@ -1021,7 +1026,7 @@ Response internalDeleteMemoryStoreWithResponse(String name, RequestO
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     name: String (Required)
      *     scope: String (Required)
      *     deleted: boolean (Required)
@@ -1044,4 +1049,363 @@ Response internalDeleteScopeWithResponse(String name, BinaryData del
         RequestOptions requestOptions) {
         return this.serviceClient.internalDeleteScopeWithResponse(name, deleteScopeRequest, requestOptions);
     }
+
+    /**
+     * Create a memory item in a memory store.
+     * 

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     scope: String (Required)
+     *     content: String (Required)
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param createMemoryRequest The createMemoryRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a single memory item stored in the memory store, containing content and metadata along with + * {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createMemoryWithResponse(String name, BinaryData createMemoryRequest, + RequestOptions requestOptions) { + return this.serviceClient.createMemoryWithResponse(name, createMemoryRequest, requestOptions); + } + + /** + * Update a memory item in a memory store. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to update. + * @param updateMemoryRequest The updateMemoryRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a single memory item stored in the memory store, containing content and metadata along with + * {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response updateMemoryWithResponse(String name, String memoryId, BinaryData updateMemoryRequest, + RequestOptions requestOptions) { + return this.serviceClient.updateMemoryWithResponse(name, memoryId, updateMemoryRequest, requestOptions); + } + + /** + * Retrieve a memory item from a memory store. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a single memory item stored in the memory store, containing content and metadata along with + * {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getMemoryWithResponse(String name, String memoryId, RequestOptions requestOptions) { + return this.serviceClient.getMemoryWithResponse(name, memoryId, requestOptions); + } + + /** + * List all memory items in a memory store. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listMemories(String name, RequestOptions requestOptions) { + return this.serviceClient.listMemories(name, requestOptions); + } + + /** + * Delete a memory item from a memory store. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     name: String (Required)
+     *     memory_id: String (Required)
+     *     deleted: boolean (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response for deleting a memory item from a memory store along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteMemoryWithResponse(String name, String memoryId, RequestOptions requestOptions) { + return this.serviceClient.deleteMemoryWithResponse(name, memoryId, requestOptions); + } + + /** + * Create a memory item in a memory store. + * + * @param name The name of the memory store. + * @param scope The namespace that logically groups and isolates memories, such as a user ID. + * @param content The content of the memory. + * @param kind The kind of the memory item. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a single memory item stored in the memory store, containing content and metadata. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public MemoryItem createMemory(String name, String scope, String content, MemoryItemKind kind) { + // Generated convenience method for createMemoryWithResponse + RequestOptions requestOptions = new RequestOptions(); + CreateMemoryRequest createMemoryRequestObj = new CreateMemoryRequest(scope, content, kind); + BinaryData createMemoryRequest = BinaryData.fromObject(createMemoryRequestObj); + return createMemoryWithResponse(name, createMemoryRequest, requestOptions).getValue() + .toObject(MemoryItem.class); + } + + /** + * Update a memory item in a memory store. + * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to update. + * @param content The updated content of the memory. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a single memory item stored in the memory store, containing content and metadata. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public MemoryItem updateMemory(String name, String memoryId, String content) { + // Generated convenience method for updateMemoryWithResponse + RequestOptions requestOptions = new RequestOptions(); + UpdateMemoryRequest updateMemoryRequestObj = new UpdateMemoryRequest(content); + BinaryData updateMemoryRequest = BinaryData.fromObject(updateMemoryRequestObj); + return updateMemoryWithResponse(name, memoryId, updateMemoryRequest, requestOptions).getValue() + .toObject(MemoryItem.class); + } + + /** + * Retrieve a memory item from a memory store. + * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to retrieve. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a single memory item stored in the memory store, containing content and metadata. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public MemoryItem getMemory(String name, String memoryId) { + // Generated convenience method for getMemoryWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getMemoryWithResponse(name, memoryId, requestOptions).getValue().toObject(MemoryItem.class); + } + + /** + * List all memory items in a memory store. + * + * @param name The name of the memory store. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listMemories(String name, Integer limit, PageOrder order, String after, + String before) { + // Generated convenience method for listMemories + RequestOptions requestOptions = new RequestOptions(); + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + return serviceClient.listMemories(name, requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(MemoryItem.class)); + } + + /** + * List all memory items in a memory store. + * + * @param name The name of the memory store. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listMemories(String name) { + // Generated convenience method for listMemories + RequestOptions requestOptions = new RequestOptions(); + return serviceClient.listMemories(name, requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(MemoryItem.class)); + } + + /** + * Delete a memory item from a memory store. + * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response for deleting a memory item from a memory store. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DeleteMemoryResponse deleteMemory(String name, String memoryId) { + // Generated convenience method for deleteMemoryWithResponse + RequestOptions requestOptions = new RequestOptions(); + return deleteMemoryWithResponse(name, memoryId, requestOptions).getValue().toObject(DeleteMemoryResponse.class); + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java index 466c74eae476..c47c00fe7f31 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java @@ -124,7 +124,7 @@ Response downloadSessionFileSync(@HostParam("endpoint") String endpo @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getSessionFiles(@HostParam("endpoint") String endpoint, + Mono> listSessionFiles(@HostParam("endpoint") String endpoint, @PathParam("agent_name") String agentName, @PathParam("agent_session_id") String agentSessionId, @QueryParam("path") String path, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -135,7 +135,7 @@ Mono> getSessionFiles(@HostParam("endpoint") String endpoin @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getSessionFilesSync(@HostParam("endpoint") String endpoint, + Response listSessionFilesSync(@HostParam("endpoint") String endpoint, @PathParam("agent_name") String agentName, @PathParam("agent_session_id") String agentSessionId, @QueryParam("path") String path, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -172,8 +172,10 @@ Response deleteSessionFileSync(@HostParam("endpoint") String endpoint, * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -226,8 +228,10 @@ public Mono> uploadSessionFileWithResponseAsync(String agen * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -277,8 +281,10 @@ public Response uploadSessionFileWithResponse(String agentName, Stri * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -315,8 +321,10 @@ public Mono> downloadSessionFileWithResponseAsync(String ag * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -354,8 +362,10 @@ public Response downloadSessionFileWithResponse(String agentName, St * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -388,10 +398,10 @@ public Response downloadSessionFileWithResponse(String agentName, St * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getSessionFilesWithResponseAsync(String agentName, String agentSessionId, + public Mono> listSessionFilesWithResponseAsync(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getSessionFiles(this.client.getEndpoint(), agentName, + return FluxUtil.withContext(context -> service.listSessionFiles(this.client.getEndpoint(), agentName, agentSessionId, path, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } @@ -404,8 +414,10 @@ public Mono> getSessionFilesWithResponseAsync(String agentN * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -437,10 +449,10 @@ public Mono> getSessionFilesWithResponseAsync(String agentN * @return response from listing a directory in a session sandbox along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSessionFilesWithResponse(String agentName, String agentSessionId, String path, + public Response listSessionFilesWithResponse(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { final String accept = "application/json"; - return service.getSessionFilesSync(this.client.getEndpoint(), agentName, agentSessionId, path, + return service.listSessionFilesSync(this.client.getEndpoint(), agentName, agentSessionId, path, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } @@ -461,8 +473,10 @@ public Response getSessionFilesWithResponse(String agentName, String * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -500,8 +514,10 @@ public Mono> deleteSessionFileWithResponseAsync(String agentName, * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} * diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java index 6e028faf9e2d..bb4c34d55a13 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java @@ -447,28 +447,6 @@ Response createAgentVersionFromCodeSync(@HostParam("endpoint") Strin @HeaderParam("Accept") String accept, @BodyParam("multipart/form-data") BinaryData content, RequestOptions requestOptions, Context context); - @Get("/agents/{agent_name}/versions/{agent_version}/code:download") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> downloadAgentVersionCode(@HostParam("endpoint") String endpoint, - @PathParam("agent_name") String agentName, @PathParam("agent_version") String agentVersion, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); - - @Get("/agents/{agent_name}/versions/{agent_version}/code:download") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response downloadAgentVersionCodeSync(@HostParam("endpoint") String endpoint, - @PathParam("agent_name") String agentName, @PathParam("agent_version") String agentVersion, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); - @Get("/agents/{agent_name}/code:download") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @@ -638,7 +616,7 @@ Response listAgentConversationsSync(@HostParam("endpoint") String en * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -734,7 +712,7 @@ public Mono> getAgentWithResponseAsync(String agentName, Re * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -816,8 +794,8 @@ public Response getAgentWithResponse(String agentName, RequestOption * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -831,7 +809,7 @@ public Response getAgentWithResponse(String agentName, RequestOption * } * description: String (Optional) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -898,7 +876,7 @@ public Response getAgentWithResponse(String agentName, RequestOption * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -983,8 +961,8 @@ public Mono> createAgentWithResponseAsync(BinaryData create * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -998,7 +976,7 @@ public Mono> createAgentWithResponseAsync(BinaryData create * } * description: String (Optional) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -1065,7 +1043,7 @@ public Mono> createAgentWithResponseAsync(BinaryData create * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -1153,8 +1131,8 @@ public Response createAgentWithResponse(BinaryData createAgentReques * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1177,7 +1155,7 @@ public Response createAgentWithResponse(BinaryData createAgentReques * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -1271,8 +1249,8 @@ public Mono> createAgentFromCodeWithResponseAsync(String ag * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1295,7 +1273,7 @@ public Mono> createAgentFromCodeWithResponseAsync(String ag * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -1384,8 +1362,8 @@ public Response createAgentFromCodeWithResponse(String agentName, St * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -1398,7 +1376,7 @@ public Response createAgentFromCodeWithResponse(String agentName, St * } * description: String (Optional) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -1430,7 +1408,7 @@ public Response createAgentFromCodeWithResponse(String agentName, St * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -1517,8 +1495,8 @@ public Mono> updateAgentWithResponseAsync(String agentName, * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -1531,7 +1509,7 @@ public Mono> updateAgentWithResponseAsync(String agentName, * } * description: String (Optional) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -1563,7 +1541,7 @@ public Mono> updateAgentWithResponseAsync(String agentName, * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -1653,8 +1631,8 @@ public Response updateAgentWithResponse(String agentName, BinaryData * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1677,7 +1655,7 @@ public Response updateAgentWithResponse(String agentName, BinaryData * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -1772,8 +1750,8 @@ public Mono> updateAgentFromCodeWithResponseAsync(String ag * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1796,7 +1774,7 @@ public Mono> updateAgentFromCodeWithResponseAsync(String ag * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -1918,7 +1896,7 @@ public Response updateAgentFromCodeWithResponse(String agentName, St * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -2035,7 +2013,7 @@ public Mono> createAgentFromManifestWithResponseAsync( * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -2152,7 +2130,7 @@ public Response createAgentFromManifestWithResponse(BinaryData creat * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -2270,7 +2248,7 @@ public Mono> updateAgentFromManifestWithResponseAsync(Strin * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -2349,7 +2327,18 @@ public Response updateAgentFromManifestWithResponse(String agentName } /** - * Deletes an agent. + * Deletes an agent. For hosted agents, if any version has active sessions, the request + * is rejected with HTTP 409 unless `force` is set to true. When force is true, all + * associated sessions are cascade-deleted along with the agent and its versions. + *

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
forceBooleanNoFor Hosted Agents, if true, force-deletes the agent even if its + * versions have active sessions, cascading deletion to all associated sessions. This value is not relevant for + * other Agent types. Defaults to false.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
@@ -2379,7 +2368,18 @@ public Mono> internalDeleteAgentWithResponseAsync(String ag
     }
 
     /**
-     * Deletes an agent.
+     * Deletes an agent. For hosted agents, if any version has active sessions, the request
+     * is rejected with HTTP 409 unless `force` is set to true. When force is true, all
+     * associated sessions are cascade-deleted along with the agent and its versions.
+     * 

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
forceBooleanNoFor Hosted Agents, if true, force-deletes the agent even if its + * versions have active sessions, cascading deletion to all associated sessions. This value is not relevant for + * other Agent types. Defaults to false.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
@@ -2414,7 +2414,7 @@ public Response internalDeleteAgentWithResponse(String agentName, Re
      * Query Parameters
      * NameTypeRequiredDescription
      * kindStringNoFilter agents by kind. If not provided, all agents are returned.
-     * Allowed values: "prompt", "hosted", "workflow".
+     * Allowed values: "prompt", "hosted", "workflow", "external".
      * limitIntegerNoA limit on the number of objects to be returned. Limit can range
      * between 1 and 100, and the
      * default is 20.
@@ -2451,7 +2451,7 @@ public Response internalDeleteAgentWithResponse(String agentName, Re
      *             description: String (Optional)
      *             created_at: long (Required)
      *             definition (Required): {
-     *                 kind: String(prompt/hosted/workflow) (Required)
+     *                 kind: String(prompt/hosted/workflow/external) (Required)
      *                 rai_config (Optional): {
      *                     rai_policy_name: String (Required)
      *                 }
@@ -2535,7 +2535,7 @@ private Mono> listAgentsSinglePageAsync(RequestOptions
      * Query Parameters
      * NameTypeRequiredDescription
      * kindStringNoFilter agents by kind. If not provided, all agents are returned.
-     * Allowed values: "prompt", "hosted", "workflow".
+     * Allowed values: "prompt", "hosted", "workflow", "external".
      * limitIntegerNoA limit on the number of objects to be returned. Limit can range
      * between 1 and 100, and the
      * default is 20.
@@ -2572,7 +2572,7 @@ private Mono> listAgentsSinglePageAsync(RequestOptions
      *             description: String (Optional)
      *             created_at: long (Required)
      *             definition (Required): {
-     *                 kind: String(prompt/hosted/workflow) (Required)
+     *                 kind: String(prompt/hosted/workflow/external) (Required)
      *                 rai_config (Optional): {
      *                     rai_policy_name: String (Required)
      *                 }
@@ -2650,7 +2650,7 @@ public PagedFlux listAgentsAsync(RequestOptions requestOptions) {
      * Query Parameters
      * NameTypeRequiredDescription
      * kindStringNoFilter agents by kind. If not provided, all agents are returned.
-     * Allowed values: "prompt", "hosted", "workflow".
+     * Allowed values: "prompt", "hosted", "workflow", "external".
      * limitIntegerNoA limit on the number of objects to be returned. Limit can range
      * between 1 and 100, and the
      * default is 20.
@@ -2687,7 +2687,7 @@ public PagedFlux listAgentsAsync(RequestOptions requestOptions) {
      *             description: String (Optional)
      *             created_at: long (Required)
      *             definition (Required): {
-     *                 kind: String(prompt/hosted/workflow) (Required)
+     *                 kind: String(prompt/hosted/workflow/external) (Required)
      *                 rai_config (Optional): {
      *                     rai_policy_name: String (Required)
      *                 }
@@ -2769,7 +2769,7 @@ private PagedResponse listAgentsSinglePage(RequestOptions requestOpt
      * Query Parameters
      * NameTypeRequiredDescription
      * kindStringNoFilter agents by kind. If not provided, all agents are returned.
-     * Allowed values: "prompt", "hosted", "workflow".
+     * Allowed values: "prompt", "hosted", "workflow", "external".
      * limitIntegerNoA limit on the number of objects to be returned. Limit can range
      * between 1 and 100, and the
      * default is 20.
@@ -2806,7 +2806,7 @@ private PagedResponse listAgentsSinglePage(RequestOptions requestOpt
      *             description: String (Optional)
      *             created_at: long (Required)
      *             definition (Required): {
-     *                 kind: String(prompt/hosted/workflow) (Required)
+     *                 kind: String(prompt/hosted/workflow/external) (Required)
      *                 rai_config (Optional): {
      *                     rai_policy_name: String (Required)
      *                 }
@@ -2885,8 +2885,8 @@ public PagedIterable listAgents(RequestOptions requestOptions) {
      * NameTypeRequiredDescription
      * Foundry-FeaturesStringNoA feature flag opt-in required when using preview
      * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview",
-     * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview",
-     * "CodeAgents=V1Preview".
+     * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview",
+     * "ExternalAgents=V1Preview".
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

@@ -2899,7 +2899,7 @@ public PagedIterable listAgents(RequestOptions requestOptions) { * } * description: String (Optional) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -2926,7 +2926,7 @@ public PagedIterable listAgents(RequestOptions requestOptions) { * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -2975,8 +2975,8 @@ public Mono> createAgentVersionWithResponseAsync(String age * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -2989,7 +2989,7 @@ public Mono> createAgentVersionWithResponseAsync(String age * } * description: String (Optional) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -3016,7 +3016,7 @@ public Mono> createAgentVersionWithResponseAsync(String age * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -3091,7 +3091,7 @@ public Response createAgentVersionWithResponse(String agentName, Bin * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -3166,7 +3166,7 @@ public Mono> createAgentVersionFromManifestWithResponseAsyn * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -3224,7 +3224,7 @@ public Response createAgentVersionFromManifestWithResponse(String ag * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -3277,7 +3277,7 @@ public Mono> getAgentVersionDetailsWithResponseAsync(String * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -3314,7 +3314,18 @@ public Response getAgentVersionDetailsWithResponse(String agentName, } /** - * Deletes a specific version of an agent. + * Deletes a specific version of an agent. For hosted agents, if the version has active + * sessions, the request is rejected with HTTP 409 unless `force` is set to true. When + * force is true, all sessions associated with this version are cascade-deleted. + *

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
forceBooleanNoFor Hosted Agents, if true, force-deletes the version even if it + * has active sessions, cascading deletion to all associated sessions. This value is not relevant for other Agent + * types. Defaults to false.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
@@ -3346,7 +3357,18 @@ public Mono> internalDeleteAgentVersionWithResponseAsync(St
     }
 
     /**
-     * Deletes a specific version of an agent.
+     * Deletes a specific version of an agent. For hosted agents, if the version has active
+     * sessions, the request is rejected with HTTP 409 unless `force` is set to true. When
+     * force is true, all sessions associated with this version are cascade-deleted.
+     * 

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
forceBooleanNoFor Hosted Agents, if true, force-deletes the version even if it + * has active sessions, cascading deletion to all associated sessions. This value is not relevant for other Agent + * types. Defaults to false.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
@@ -3414,7 +3436,7 @@ public Response internalDeleteAgentVersionWithResponse(String agentN
      *     description: String (Optional)
      *     created_at: long (Required)
      *     definition (Required): {
-     *         kind: String(prompt/hosted/workflow) (Required)
+     *         kind: String(prompt/hosted/workflow/external) (Required)
      *         rai_config (Optional): {
      *             rai_policy_name: String (Required)
      *         }
@@ -3490,7 +3512,7 @@ private Mono> listAgentVersionsSinglePageAsync(String
      *     description: String (Optional)
      *     created_at: long (Required)
      *     definition (Required): {
-     *         kind: String(prompt/hosted/workflow) (Required)
+     *         kind: String(prompt/hosted/workflow/external) (Required)
      *         rai_config (Optional): {
      *             rai_policy_name: String (Required)
      *         }
@@ -3559,7 +3581,7 @@ public PagedFlux listAgentVersionsAsync(String agentName, RequestOpt
      *     description: String (Optional)
      *     created_at: long (Required)
      *     definition (Required): {
-     *         kind: String(prompt/hosted/workflow) (Required)
+     *         kind: String(prompt/hosted/workflow/external) (Required)
      *         rai_config (Optional): {
      *             rai_policy_name: String (Required)
      *         }
@@ -3632,7 +3654,7 @@ private PagedResponse listAgentVersionsSinglePage(String agentName,
      *     description: String (Optional)
      *     created_at: long (Required)
      *     definition (Required): {
-     *         kind: String(prompt/hosted/workflow) (Required)
+     *         kind: String(prompt/hosted/workflow/external) (Required)
      *         rai_config (Optional): {
      *             rai_policy_name: String (Required)
      *         }
@@ -3672,8 +3694,8 @@ public PagedIterable listAgentVersions(String agentName, RequestOpti
      * NameTypeRequiredDescription
      * Foundry-FeaturesStringNoA feature flag opt-in required when using preview
      * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview",
-     * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview",
-     * "CodeAgents=V1Preview".
+     * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview",
+     * "ExternalAgents=V1Preview".
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

@@ -3740,7 +3762,7 @@ public PagedIterable listAgentVersions(String agentName, RequestOpti * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -3826,8 +3848,8 @@ public Mono> updateAgentDetailsWithResponseAsync(String age * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -3894,7 +3916,7 @@ public Mono> updateAgentDetailsWithResponseAsync(String age * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -3980,8 +4002,8 @@ public Response updateAgentDetailsWithResponse(String agentName, Bin * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -3999,7 +4021,7 @@ public Response updateAgentDetailsWithResponse(String agentName, Bin * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -4050,8 +4072,8 @@ public Mono> createAgentVersionFromCodeWithResponseAsync(St * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -4069,7 +4091,7 @@ public Mono> createAgentVersionFromCodeWithResponseAsync(St * description: String (Optional) * created_at: long (Required) * definition (Required): { - * kind: String(prompt/hosted/workflow) (Required) + * kind: String(prompt/hosted/workflow/external) (Required) * rai_config (Optional): { * rai_policy_name: String (Required) * } @@ -4112,95 +4134,31 @@ public Response createAgentVersionFromCodeWithResponse(String agentN } /** - * Download the code zip for a specific version of a code-based hosted agent. + * Download the code zip for a code-based hosted agent. * Returns the previously-uploaded zip (`application/zip`). - * The SHA-256 digest of the returned bytes matches the `content_hash` on the agent version's `code_configuration`. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

* - *
-     * {@code
-     * BinaryData
-     * }
-     * 
+ * If `agent_version` is supplied, returns that version's code zip; otherwise + * returns the latest version's code zip. * - * @param agentName The name of the agent. - * @param agentVersion The version of the agent whose code zip should be downloaded. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> downloadAgentVersionCodeWithResponseAsync(String agentName, String agentVersion, - RequestOptions requestOptions) { - final String accept = "application/zip"; - return FluxUtil.withContext(context -> service.downloadAgentVersionCode(this.client.getEndpoint(), agentName, - agentVersion, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); - } - - /** - * Download the code zip for a specific version of a code-based hosted agent. - * Returns the previously-uploaded zip (`application/zip`). - * The SHA-256 digest of the returned bytes matches the `content_hash` on the agent version's `code_configuration`. - *

Header Parameters

+ * The SHA-256 digest of the returned bytes matches the `content_hash` on the + * resolved version's `code_configuration`. + *

Query Parameters

* - * + * * - * + * *
Header ParametersQuery Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview".
agent_versionStringNoThe version of the agent whose code zip should be + * downloaded. + * If omitted, the latest version's code zip is returned.
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * BinaryData
-     * }
-     * 
- * - * @param agentName The name of the agent. - * @param agentVersion The version of the agent whose code zip should be downloaded. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response downloadAgentVersionCodeWithResponse(String agentName, String agentVersion, - RequestOptions requestOptions) { - final String accept = "application/zip"; - return service.downloadAgentVersionCodeSync(this.client.getEndpoint(), agentName, agentVersion, - this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); - } - - /** - * Download the code zip for the latest version of a code-based hosted agent. - * Returns the previously-uploaded zip (`application/zip`). - * The SHA-256 digest of the returned bytes matches the `content_hash` on the latest version's `code_configuration`. + * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * * + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview".
* You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -4211,7 +4169,7 @@ public Response downloadAgentVersionCodeWithResponse(String agentNam * } *
* - * @param agentName The name of the agent whose latest-version code zip should be downloaded. + * @param agentName The name of the agent. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4228,17 +4186,31 @@ public Mono> downloadAgentCodeWithResponseAsync(String agen } /** - * Download the code zip for the latest version of a code-based hosted agent. + * Download the code zip for a code-based hosted agent. * Returns the previously-uploaded zip (`application/zip`). - * The SHA-256 digest of the returned bytes matches the `content_hash` on the latest version's `code_configuration`. + * + * If `agent_version` is supplied, returns that version's code zip; otherwise + * returns the latest version's code zip. + * + * The SHA-256 digest of the returned bytes matches the `content_hash` on the + * resolved version's `code_configuration`. + *

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
agent_versionStringNoThe version of the agent whose code zip should be + * downloaded. + * If omitted, the latest version's code zip is returned.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * * + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview".
* You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -4249,7 +4221,7 @@ public Mono> downloadAgentCodeWithResponseAsync(String agen * } *
* - * @param agentName The name of the agent whose latest-version code zip should be downloaded. + * @param agentName The name of the agent. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4274,8 +4246,8 @@ public Response downloadAgentCodeWithResponse(String agentName, Requ * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -4338,8 +4310,8 @@ public Mono> createSessionWithResponseAsync(String agentNam * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -4400,8 +4372,8 @@ public Response createSessionWithResponse(String agentName, BinaryDa * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -4447,8 +4419,8 @@ public Mono> getSessionWithResponseAsync(String agentName, * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -4495,8 +4467,8 @@ public Response getSessionWithResponse(String agentName, String sess * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -4525,8 +4497,8 @@ public Mono> deleteSessionWithResponseAsync(String agentName, Str * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -4573,8 +4545,8 @@ public Response deleteSessionWithResponse(String agentName, String session * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -4642,8 +4614,8 @@ private Mono> listSessionsSinglePageAsync(String agent * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -4704,8 +4676,8 @@ public PagedFlux listSessionsAsync(String agentName, RequestOptions * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -4770,8 +4742,8 @@ private PagedResponse listSessionsSinglePage(String agentName, Reque * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -4838,8 +4810,8 @@ public PagedIterable listSessions(String agentName, RequestOptions r * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -4908,8 +4880,8 @@ public Mono> getSessionLogStreamWithResponseAsync(String ag * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", - * "CodeAgents=V1Preview". + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -4970,6 +4942,14 @@ public Response getSessionLogStreamWithResponse(String agentName, St * only items associated with the specified agent ID will be returned. * * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user.
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -5031,6 +5011,14 @@ private Mono> listAgentConversationsSinglePageAsync(Re
      * only items associated with the specified agent ID will be returned.
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user.
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -5086,6 +5074,14 @@ public PagedFlux listAgentConversationsAsync(RequestOptions requestO
      * only items associated with the specified agent ID will be returned.
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user.
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -5145,6 +5141,14 @@ private PagedResponse listAgentConversationsSinglePage(RequestOption
      * only items associated with the specified agent ID will be returned.
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user.
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java
index 9e78a3c93a4d..c5a699a6c31c 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java
@@ -117,7 +117,7 @@ Response createMemoryStoreSync(@HostParam("endpoint") String endpoin
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> updateMemoryStore(@HostParam("endpoint") String endpoint,
-            @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
             @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
             @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData updateMemoryStoreRequest,
             RequestOptions requestOptions, Context context);
@@ -129,7 +129,7 @@ Mono> updateMemoryStore(@HostParam("endpoint") String endpo
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response updateMemoryStoreSync(@HostParam("endpoint") String endpoint,
-            @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
             @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
             @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData updateMemoryStoreRequest,
             RequestOptions requestOptions, Context context);
@@ -141,7 +141,7 @@ Response updateMemoryStoreSync(@HostParam("endpoint") String endpoin
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> getMemoryStore(@HostParam("endpoint") String endpoint,
-            @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
             @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
             RequestOptions requestOptions, Context context);
 
@@ -151,9 +151,10 @@ Mono> getMemoryStore(@HostParam("endpoint") String endpoint
         @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 })
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
-        Response getMemoryStoreSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name,
-            @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+        Response getMemoryStoreSync(@HostParam("endpoint") String endpoint,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
+            RequestOptions requestOptions, Context context);
 
         @Get("/memory_stores")
         @ExpectedResponses({ 200 })
@@ -182,7 +183,7 @@ Response listMemoryStoresSync(@HostParam("endpoint") String endpoint
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> internalDeleteMemoryStore(@HostParam("endpoint") String endpoint,
-            @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
             @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
             RequestOptions requestOptions, Context context);
 
@@ -193,7 +194,7 @@ Mono> internalDeleteMemoryStore(@HostParam("endpoint") Stri
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response internalDeleteMemoryStoreSync(@HostParam("endpoint") String endpoint,
-            @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
             @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
             RequestOptions requestOptions, Context context);
 
@@ -204,7 +205,7 @@ Response internalDeleteMemoryStoreSync(@HostParam("endpoint") String
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> internalSearchMemories(@HostParam("endpoint") String endpoint,
-            @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
             @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
             @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData searchMemoriesRequest,
             RequestOptions requestOptions, Context context);
@@ -216,7 +217,7 @@ Mono> internalSearchMemories(@HostParam("endpoint") String
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response internalSearchMemoriesSync(@HostParam("endpoint") String endpoint,
-            @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
             @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
             @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData searchMemoriesRequest,
             RequestOptions requestOptions, Context context);
@@ -228,7 +229,7 @@ Response internalSearchMemoriesSync(@HostParam("endpoint") String en
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> internalUpdateMemories(@HostParam("endpoint") String endpoint,
-            @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
             @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
             @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData updateMemoriesRequest,
             RequestOptions requestOptions, Context context);
@@ -240,7 +241,7 @@ Mono> internalUpdateMemories(@HostParam("endpoint") String
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response internalUpdateMemoriesSync(@HostParam("endpoint") String endpoint,
-            @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
             @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
             @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData updateMemoriesRequest,
             RequestOptions requestOptions, Context context);
@@ -252,8 +253,8 @@ Response internalUpdateMemoriesSync(@HostParam("endpoint") String en
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> getUpdateResult(@HostParam("endpoint") String endpoint,
-            @PathParam("name") String name, @PathParam("update_id") String updateId,
-            @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
+            @PathParam("update_id") String updateId, @QueryParam("api-version") String apiVersion,
             @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
 
         @Get("/memory_stores/{name}/updates/{update_id}")
@@ -262,10 +263,10 @@ Mono> getUpdateResult(@HostParam("endpoint") String endpoin
         @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 })
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
-        Response getUpdateResultSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name,
-            @PathParam("update_id") String updateId, @HeaderParam("Foundry-Features") String foundryFeatures,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
+        Response getUpdateResultSync(@HostParam("endpoint") String endpoint,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
+            @PathParam("update_id") String updateId, @QueryParam("api-version") String apiVersion,
+            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
 
         @Post("/memory_stores/{name}:delete_scope")
         @ExpectedResponses({ 200 })
@@ -274,7 +275,7 @@ Response getUpdateResultSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> internalDeleteScope(@HostParam("endpoint") String endpoint,
-            @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
             @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
             @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData deleteScopeRequest,
             RequestOptions requestOptions, Context context);
@@ -286,10 +287,126 @@ Mono> internalDeleteScope(@HostParam("endpoint") String end
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response internalDeleteScopeSync(@HostParam("endpoint") String endpoint,
-            @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
             @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
             @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData deleteScopeRequest,
             RequestOptions requestOptions, Context context);
+
+        @Post("/memory_stores/{name}/memories")
+        @ExpectedResponses({ 200 })
+        @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 })
+        @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 })
+        @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
+        @UnexpectedResponseExceptionType(HttpResponseException.class)
+        Mono> createMemory(@HostParam("endpoint") String endpoint,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
+            @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData createMemoryRequest,
+            RequestOptions requestOptions, Context context);
+
+        @Post("/memory_stores/{name}/memories")
+        @ExpectedResponses({ 200 })
+        @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 })
+        @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 })
+        @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
+        @UnexpectedResponseExceptionType(HttpResponseException.class)
+        Response createMemorySync(@HostParam("endpoint") String endpoint,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
+            @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData createMemoryRequest,
+            RequestOptions requestOptions, Context context);
+
+        @Post("/memory_stores/{name}/memories/{memory_id}")
+        @ExpectedResponses({ 200 })
+        @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 })
+        @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 })
+        @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
+        @UnexpectedResponseExceptionType(HttpResponseException.class)
+        Mono> updateMemory(@HostParam("endpoint") String endpoint,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
+            @PathParam("memory_id") String memoryId, @QueryParam("api-version") String apiVersion,
+            @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+            @BodyParam("application/json") BinaryData updateMemoryRequest, RequestOptions requestOptions,
+            Context context);
+
+        @Post("/memory_stores/{name}/memories/{memory_id}")
+        @ExpectedResponses({ 200 })
+        @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 })
+        @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 })
+        @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
+        @UnexpectedResponseExceptionType(HttpResponseException.class)
+        Response updateMemorySync(@HostParam("endpoint") String endpoint,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
+            @PathParam("memory_id") String memoryId, @QueryParam("api-version") String apiVersion,
+            @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+            @BodyParam("application/json") BinaryData updateMemoryRequest, RequestOptions requestOptions,
+            Context context);
+
+        @Get("/memory_stores/{name}/memories/{memory_id}")
+        @ExpectedResponses({ 200 })
+        @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 })
+        @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 })
+        @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
+        @UnexpectedResponseExceptionType(HttpResponseException.class)
+        Mono> getMemory(@HostParam("endpoint") String endpoint,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
+            @PathParam("memory_id") String memoryId, @QueryParam("api-version") String apiVersion,
+            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+
+        @Get("/memory_stores/{name}/memories/{memory_id}")
+        @ExpectedResponses({ 200 })
+        @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 })
+        @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 })
+        @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
+        @UnexpectedResponseExceptionType(HttpResponseException.class)
+        Response getMemorySync(@HostParam("endpoint") String endpoint,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
+            @PathParam("memory_id") String memoryId, @QueryParam("api-version") String apiVersion,
+            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+
+        @Get("/memory_stores/{name}/memories")
+        @ExpectedResponses({ 200 })
+        @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 })
+        @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 })
+        @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
+        @UnexpectedResponseExceptionType(HttpResponseException.class)
+        Mono> listMemories(@HostParam("endpoint") String endpoint,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
+            RequestOptions requestOptions, Context context);
+
+        @Get("/memory_stores/{name}/memories")
+        @ExpectedResponses({ 200 })
+        @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 })
+        @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 })
+        @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
+        @UnexpectedResponseExceptionType(HttpResponseException.class)
+        Response listMemoriesSync(@HostParam("endpoint") String endpoint,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
+            RequestOptions requestOptions, Context context);
+
+        @Delete("/memory_stores/{name}/memories/{memory_id}")
+        @ExpectedResponses({ 200 })
+        @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 })
+        @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 })
+        @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
+        @UnexpectedResponseExceptionType(HttpResponseException.class)
+        Mono> deleteMemory(@HostParam("endpoint") String endpoint,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
+            @PathParam("memory_id") String memoryId, @QueryParam("api-version") String apiVersion,
+            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+
+        @Delete("/memory_stores/{name}/memories/{memory_id}")
+        @ExpectedResponses({ 200 })
+        @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 })
+        @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 })
+        @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
+        @UnexpectedResponseExceptionType(HttpResponseException.class)
+        Response deleteMemorySync(@HostParam("endpoint") String endpoint,
+            @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name,
+            @PathParam("memory_id") String memoryId, @QueryParam("api-version") String apiVersion,
+            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
     }
 
     /**
@@ -316,7 +433,7 @@ Response internalDeleteScopeSync(@HostParam("endpoint") String endpo
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -376,7 +493,7 @@ public Mono> createMemoryStoreWithResponseAsync(BinaryData
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -431,7 +548,7 @@ public Response createMemoryStoreWithResponse(BinaryData createMemor
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -463,9 +580,9 @@ public Mono> updateMemoryStoreWithResponseAsync(String name
         final String foundryFeatures = "MemoryStores=V1Preview";
         final String contentType = "application/json";
         final String accept = "application/json";
-        return FluxUtil.withContext(context -> service.updateMemoryStore(this.client.getEndpoint(), name,
-            foundryFeatures, this.client.getServiceVersion().getVersion(), contentType, accept,
-            updateMemoryStoreRequest, requestOptions, context));
+        return FluxUtil.withContext(context -> service.updateMemoryStore(this.client.getEndpoint(), foundryFeatures,
+            name, this.client.getServiceVersion().getVersion(), contentType, accept, updateMemoryStoreRequest,
+            requestOptions, context));
     }
 
     /**
@@ -488,7 +605,7 @@ public Mono> updateMemoryStoreWithResponseAsync(String name
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -519,7 +636,7 @@ public Response updateMemoryStoreWithResponse(String name, BinaryDat
         final String foundryFeatures = "MemoryStores=V1Preview";
         final String contentType = "application/json";
         final String accept = "application/json";
-        return service.updateMemoryStoreSync(this.client.getEndpoint(), name, foundryFeatures,
+        return service.updateMemoryStoreSync(this.client.getEndpoint(), foundryFeatures, name,
             this.client.getServiceVersion().getVersion(), contentType, accept, updateMemoryStoreRequest, requestOptions,
             Context.NONE);
     }
@@ -531,7 +648,7 @@ public Response updateMemoryStoreWithResponse(String name, BinaryDat
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -560,7 +677,7 @@ public Response updateMemoryStoreWithResponse(String name, BinaryDat
     public Mono> getMemoryStoreWithResponseAsync(String name, RequestOptions requestOptions) {
         final String foundryFeatures = "MemoryStores=V1Preview";
         final String accept = "application/json";
-        return FluxUtil.withContext(context -> service.getMemoryStore(this.client.getEndpoint(), name, foundryFeatures,
+        return FluxUtil.withContext(context -> service.getMemoryStore(this.client.getEndpoint(), foundryFeatures, name,
             this.client.getServiceVersion().getVersion(), accept, requestOptions, context));
     }
 
@@ -571,7 +688,7 @@ public Mono> getMemoryStoreWithResponseAsync(String name, R
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -599,7 +716,7 @@ public Mono> getMemoryStoreWithResponseAsync(String name, R
     public Response getMemoryStoreWithResponse(String name, RequestOptions requestOptions) {
         final String foundryFeatures = "MemoryStores=V1Preview";
         final String accept = "application/json";
-        return service.getMemoryStoreSync(this.client.getEndpoint(), name, foundryFeatures,
+        return service.getMemoryStoreSync(this.client.getEndpoint(), foundryFeatures, name,
             this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE);
     }
 
@@ -630,7 +747,7 @@ public Response getMemoryStoreWithResponse(String name, RequestOptio
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -692,7 +809,7 @@ private Mono> listMemoryStoresSinglePageAsync(RequestO
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -747,7 +864,7 @@ public PagedFlux listMemoryStoresAsync(RequestOptions requestOptions
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -807,7 +924,7 @@ private PagedResponse listMemoryStoresSinglePage(RequestOptions requ
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -842,7 +959,7 @@ public PagedIterable listMemoryStores(RequestOptions requestOptions)
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     name: String (Required)
      *     deleted: boolean (Required)
      * }
@@ -862,8 +979,8 @@ public Mono> internalDeleteMemoryStoreWithResponseAsync(Str
         RequestOptions requestOptions) {
         final String foundryFeatures = "MemoryStores=V1Preview";
         final String accept = "application/json";
-        return FluxUtil.withContext(context -> service.internalDeleteMemoryStore(this.client.getEndpoint(), name,
-            foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context));
+        return FluxUtil.withContext(context -> service.internalDeleteMemoryStore(this.client.getEndpoint(),
+            foundryFeatures, name, this.client.getServiceVersion().getVersion(), accept, requestOptions, context));
     }
 
     /**
@@ -873,7 +990,7 @@ public Mono> internalDeleteMemoryStoreWithResponseAsync(Str
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     name: String (Required)
      *     deleted: boolean (Required)
      * }
@@ -892,7 +1009,7 @@ public Mono> internalDeleteMemoryStoreWithResponseAsync(Str
     public Response internalDeleteMemoryStoreWithResponse(String name, RequestOptions requestOptions) {
         final String foundryFeatures = "MemoryStores=V1Preview";
         final String accept = "application/json";
-        return service.internalDeleteMemoryStoreSync(this.client.getEndpoint(), name, foundryFeatures,
+        return service.internalDeleteMemoryStoreSync(this.client.getEndpoint(), foundryFeatures, name,
             this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE);
     }
 
@@ -926,7 +1043,7 @@ public Response internalDeleteMemoryStoreWithResponse(String name, R
      *     memories (Required): [
      *          (Required){
      *             memory_item (Required): {
-     *                 kind: String(user_profile/chat_summary) (Required)
+     *                 kind: String(user_profile/chat_summary/procedural) (Required)
      *                 memory_id: String (Required)
      *                 updated_at: long (Required)
      *                 scope: String (Required)
@@ -965,9 +1082,9 @@ public Mono> internalSearchMemoriesWithResponseAsync(String
         final String foundryFeatures = "MemoryStores=V1Preview";
         final String contentType = "application/json";
         final String accept = "application/json";
-        return FluxUtil.withContext(context -> service.internalSearchMemories(this.client.getEndpoint(), name,
-            foundryFeatures, this.client.getServiceVersion().getVersion(), contentType, accept, searchMemoriesRequest,
-            requestOptions, context));
+        return FluxUtil.withContext(context -> service.internalSearchMemories(this.client.getEndpoint(),
+            foundryFeatures, name, this.client.getServiceVersion().getVersion(), contentType, accept,
+            searchMemoriesRequest, requestOptions, context));
     }
 
     /**
@@ -1000,7 +1117,7 @@ public Mono> internalSearchMemoriesWithResponseAsync(String
      *     memories (Required): [
      *          (Required){
      *             memory_item (Required): {
-     *                 kind: String(user_profile/chat_summary) (Required)
+     *                 kind: String(user_profile/chat_summary/procedural) (Required)
      *                 memory_id: String (Required)
      *                 updated_at: long (Required)
      *                 scope: String (Required)
@@ -1039,7 +1156,7 @@ public Response internalSearchMemoriesWithResponse(String name, Bina
         final String foundryFeatures = "MemoryStores=V1Preview";
         final String contentType = "application/json";
         final String accept = "application/json";
-        return service.internalSearchMemoriesSync(this.client.getEndpoint(), name, foundryFeatures,
+        return service.internalSearchMemoriesSync(this.client.getEndpoint(), foundryFeatures, name,
             this.client.getServiceVersion().getVersion(), contentType, accept, searchMemoriesRequest, requestOptions,
             Context.NONE);
     }
@@ -1076,7 +1193,7 @@ public Response internalSearchMemoriesWithResponse(String name, Bina
      *              (Required){
      *                 kind: String(create/update/delete) (Required)
      *                 memory_item (Required): {
-     *                     kind: String(user_profile/chat_summary) (Required)
+     *                     kind: String(user_profile/chat_summary/procedural) (Required)
      *                     memory_id: String (Required)
      *                     updated_at: long (Required)
      *                     scope: String (Required)
@@ -1132,9 +1249,9 @@ private Mono> internalUpdateMemoriesWithResponseAsync(Strin
         final String foundryFeatures = "MemoryStores=V1Preview";
         final String contentType = "application/json";
         final String accept = "application/json";
-        return FluxUtil.withContext(context -> service.internalUpdateMemories(this.client.getEndpoint(), name,
-            foundryFeatures, this.client.getServiceVersion().getVersion(), contentType, accept, updateMemoriesRequest,
-            requestOptions, context));
+        return FluxUtil.withContext(context -> service.internalUpdateMemories(this.client.getEndpoint(),
+            foundryFeatures, name, this.client.getServiceVersion().getVersion(), contentType, accept,
+            updateMemoriesRequest, requestOptions, context));
     }
 
     /**
@@ -1169,7 +1286,7 @@ private Mono> internalUpdateMemoriesWithResponseAsync(Strin
      *              (Required){
      *                 kind: String(create/update/delete) (Required)
      *                 memory_item (Required): {
-     *                     kind: String(user_profile/chat_summary) (Required)
+     *                     kind: String(user_profile/chat_summary/procedural) (Required)
      *                     memory_id: String (Required)
      *                     updated_at: long (Required)
      *                     scope: String (Required)
@@ -1224,7 +1341,7 @@ private Response internalUpdateMemoriesWithResponse(String name, Bin
         final String foundryFeatures = "MemoryStores=V1Preview";
         final String contentType = "application/json";
         final String accept = "application/json";
-        return service.internalUpdateMemoriesSync(this.client.getEndpoint(), name, foundryFeatures,
+        return service.internalUpdateMemoriesSync(this.client.getEndpoint(), foundryFeatures, name,
             this.client.getServiceVersion().getVersion(), contentType, accept, updateMemoriesRequest, requestOptions,
             Context.NONE);
     }
@@ -1261,7 +1378,7 @@ private Response internalUpdateMemoriesWithResponse(String name, Bin
      *              (Required){
      *                 kind: String(create/update/delete) (Required)
      *                 memory_item (Required): {
-     *                     kind: String(user_profile/chat_summary) (Required)
+     *                     kind: String(user_profile/chat_summary/procedural) (Required)
      *                     memory_id: String (Required)
      *                     updated_at: long (Required)
      *                     scope: String (Required)
@@ -1360,7 +1477,7 @@ private Response internalUpdateMemoriesWithResponse(String name, Bin
      *              (Required){
      *                 kind: String(create/update/delete) (Required)
      *                 memory_item (Required): {
-     *                     kind: String(user_profile/chat_summary) (Required)
+     *                     kind: String(user_profile/chat_summary/procedural) (Required)
      *                     memory_id: String (Required)
      *                     updated_at: long (Required)
      *                     scope: String (Required)
@@ -1458,7 +1575,7 @@ public SyncPoller b
      *              (Required){
      *                 kind: String(create/update/delete) (Required)
      *                 memory_item (Required): {
-     *                     kind: String(user_profile/chat_summary) (Required)
+     *                     kind: String(user_profile/chat_summary/procedural) (Required)
      *                     memory_id: String (Required)
      *                     updated_at: long (Required)
      *                     scope: String (Required)
@@ -1555,7 +1672,7 @@ public PollerFlux beginInternalUpdateMemoriesAsync(Strin
      *              (Required){
      *                 kind: String(create/update/delete) (Required)
      *                 memory_item (Required): {
-     *                     kind: String(user_profile/chat_summary) (Required)
+     *                     kind: String(user_profile/chat_summary/procedural) (Required)
      *                     memory_id: String (Required)
      *                     updated_at: long (Required)
      *                     scope: String (Required)
@@ -1635,7 +1752,7 @@ public SyncPoller beginInternalUpdateMemories(String nam
      *              (Required){
      *                 kind: String(create/update/delete) (Required)
      *                 memory_item (Required): {
-     *                     kind: String(user_profile/chat_summary) (Required)
+     *                     kind: String(user_profile/chat_summary/procedural) (Required)
      *                     memory_id: String (Required)
      *                     updated_at: long (Required)
      *                     scope: String (Required)
@@ -1689,8 +1806,8 @@ public Mono> getUpdateResultWithResponseAsync(String name,
         RequestOptions requestOptions) {
         final String foundryFeatures = "MemoryStores=V1Preview";
         final String accept = "application/json";
-        return FluxUtil.withContext(context -> service.getUpdateResult(this.client.getEndpoint(), name, updateId,
-            foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context));
+        return FluxUtil.withContext(context -> service.getUpdateResult(this.client.getEndpoint(), foundryFeatures, name,
+            updateId, this.client.getServiceVersion().getVersion(), accept, requestOptions, context));
     }
 
     /**
@@ -1708,7 +1825,7 @@ public Mono> getUpdateResultWithResponseAsync(String name,
      *              (Required){
      *                 kind: String(create/update/delete) (Required)
      *                 memory_item (Required): {
-     *                     kind: String(user_profile/chat_summary) (Required)
+     *                     kind: String(user_profile/chat_summary/procedural) (Required)
      *                     memory_id: String (Required)
      *                     updated_at: long (Required)
      *                     scope: String (Required)
@@ -1762,7 +1879,7 @@ public Response getUpdateResultWithResponse(String name, String upda
         RequestOptions requestOptions) {
         final String foundryFeatures = "MemoryStores=V1Preview";
         final String accept = "application/json";
-        return service.getUpdateResultSync(this.client.getEndpoint(), name, updateId, foundryFeatures,
+        return service.getUpdateResultSync(this.client.getEndpoint(), foundryFeatures, name, updateId,
             this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE);
     }
 
@@ -1783,7 +1900,7 @@ public Response getUpdateResultWithResponse(String name, String upda
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     name: String (Required)
      *     scope: String (Required)
      *     deleted: boolean (Required)
@@ -1807,9 +1924,9 @@ public Mono> internalDeleteScopeWithResponseAsync(String na
         final String foundryFeatures = "MemoryStores=V1Preview";
         final String contentType = "application/json";
         final String accept = "application/json";
-        return FluxUtil.withContext(context -> service.internalDeleteScope(this.client.getEndpoint(), name,
-            foundryFeatures, this.client.getServiceVersion().getVersion(), contentType, accept, deleteScopeRequest,
-            requestOptions, context));
+        return FluxUtil.withContext(context -> service.internalDeleteScope(this.client.getEndpoint(), foundryFeatures,
+            name, this.client.getServiceVersion().getVersion(), contentType, accept, deleteScopeRequest, requestOptions,
+            context));
     }
 
     /**
@@ -1829,7 +1946,7 @@ public Mono> internalDeleteScopeWithResponseAsync(String na
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
      *     name: String (Required)
      *     scope: String (Required)
      *     deleted: boolean (Required)
@@ -1852,11 +1969,548 @@ public Response internalDeleteScopeWithResponse(String name, BinaryD
         final String foundryFeatures = "MemoryStores=V1Preview";
         final String contentType = "application/json";
         final String accept = "application/json";
-        return service.internalDeleteScopeSync(this.client.getEndpoint(), name, foundryFeatures,
+        return service.internalDeleteScopeSync(this.client.getEndpoint(), foundryFeatures, name,
             this.client.getServiceVersion().getVersion(), contentType, accept, deleteScopeRequest, requestOptions,
             Context.NONE);
     }
 
+    /**
+     * Create a memory item in a memory store.
+     * 

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     scope: String (Required)
+     *     content: String (Required)
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param createMemoryRequest The createMemoryRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a single memory item stored in the memory store, containing content and metadata along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createMemoryWithResponseAsync(String name, BinaryData createMemoryRequest, + RequestOptions requestOptions) { + final String foundryFeatures = "MemoryStores=V1Preview"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.createMemory(this.client.getEndpoint(), foundryFeatures, name, + this.client.getServiceVersion().getVersion(), contentType, accept, createMemoryRequest, requestOptions, + context)); + } + + /** + * Create a memory item in a memory store. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     scope: String (Required)
+     *     content: String (Required)
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param createMemoryRequest The createMemoryRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a single memory item stored in the memory store, containing content and metadata along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createMemoryWithResponse(String name, BinaryData createMemoryRequest, + RequestOptions requestOptions) { + final String foundryFeatures = "MemoryStores=V1Preview"; + final String contentType = "application/json"; + final String accept = "application/json"; + return service.createMemorySync(this.client.getEndpoint(), foundryFeatures, name, + this.client.getServiceVersion().getVersion(), contentType, accept, createMemoryRequest, requestOptions, + Context.NONE); + } + + /** + * Update a memory item in a memory store. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to update. + * @param updateMemoryRequest The updateMemoryRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a single memory item stored in the memory store, containing content and metadata along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> updateMemoryWithResponseAsync(String name, String memoryId, + BinaryData updateMemoryRequest, RequestOptions requestOptions) { + final String foundryFeatures = "MemoryStores=V1Preview"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.updateMemory(this.client.getEndpoint(), foundryFeatures, name, + memoryId, this.client.getServiceVersion().getVersion(), contentType, accept, updateMemoryRequest, + requestOptions, context)); + } + + /** + * Update a memory item in a memory store. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to update. + * @param updateMemoryRequest The updateMemoryRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a single memory item stored in the memory store, containing content and metadata along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response updateMemoryWithResponse(String name, String memoryId, BinaryData updateMemoryRequest, + RequestOptions requestOptions) { + final String foundryFeatures = "MemoryStores=V1Preview"; + final String contentType = "application/json"; + final String accept = "application/json"; + return service.updateMemorySync(this.client.getEndpoint(), foundryFeatures, name, memoryId, + this.client.getServiceVersion().getVersion(), contentType, accept, updateMemoryRequest, requestOptions, + Context.NONE); + } + + /** + * Retrieve a memory item from a memory store. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a single memory item stored in the memory store, containing content and metadata along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getMemoryWithResponseAsync(String name, String memoryId, + RequestOptions requestOptions) { + final String foundryFeatures = "MemoryStores=V1Preview"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getMemory(this.client.getEndpoint(), foundryFeatures, name, + memoryId, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Retrieve a memory item from a memory store. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a single memory item stored in the memory store, containing content and metadata along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getMemoryWithResponse(String name, String memoryId, RequestOptions requestOptions) { + final String foundryFeatures = "MemoryStores=V1Preview"; + final String accept = "application/json"; + return service.getMemorySync(this.client.getEndpoint(), foundryFeatures, name, memoryId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * List all memory items in a memory store. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listMemoriesSinglePageAsync(String name, RequestOptions requestOptions) { + final String foundryFeatures = "MemoryStores=V1Preview"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listMemories(this.client.getEndpoint(), foundryFeatures, name, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null)); + } + + /** + * List all memory items in a memory store. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listMemoriesAsync(String name, RequestOptions requestOptions) { + return new PagedFlux<>(() -> listMemoriesSinglePageAsync(name, requestOptions)); + } + + /** + * List all memory items in a memory store. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listMemoriesSinglePage(String name, RequestOptions requestOptions) { + final String foundryFeatures = "MemoryStores=V1Preview"; + final String accept = "application/json"; + Response res = service.listMemoriesSync(this.client.getEndpoint(), foundryFeatures, name, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null); + } + + /** + * List all memory items in a memory store. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listMemories(String name, RequestOptions requestOptions) { + return new PagedIterable<>(() -> listMemoriesSinglePage(name, requestOptions)); + } + + /** + * Delete a memory item from a memory store. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     name: String (Required)
+     *     memory_id: String (Required)
+     *     deleted: boolean (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response for deleting a memory item from a memory store along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteMemoryWithResponseAsync(String name, String memoryId, + RequestOptions requestOptions) { + final String foundryFeatures = "MemoryStores=V1Preview"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.deleteMemory(this.client.getEndpoint(), foundryFeatures, name, + memoryId, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Delete a memory item from a memory store. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     name: String (Required)
+     *     memory_id: String (Required)
+     *     deleted: boolean (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response for deleting a memory item from a memory store along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteMemoryWithResponse(String name, String memoryId, RequestOptions requestOptions) { + final String foundryFeatures = "MemoryStores=V1Preview"; + final String accept = "application/json"; + return service.deleteMemorySync(this.client.getEndpoint(), foundryFeatures, name, memoryId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + private List getValues(BinaryData binaryData, String path) { try { Map obj = binaryData.toObject(Map.class); diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java new file mode 100644 index 000000000000..87f3efdd71db --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java @@ -0,0 +1,128 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.agents.implementation.models; + +import com.azure.ai.agents.models.MemoryItemKind; +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The CreateMemoryRequest model. + */ +@Immutable +public final class CreateMemoryRequest implements JsonSerializable { + /* + * The namespace that logically groups and isolates memories, such as a user ID. + */ + @Generated + private final String scope; + + /* + * The content of the memory. + */ + @Generated + private final String content; + + /* + * The kind of the memory item. + */ + @Generated + private final MemoryItemKind kind; + + /** + * Creates an instance of CreateMemoryRequest class. + * + * @param scope the scope value to set. + * @param content the content value to set. + * @param kind the kind value to set. + */ + @Generated + public CreateMemoryRequest(String scope, String content, MemoryItemKind kind) { + this.scope = scope; + this.content = content; + this.kind = kind; + } + + /** + * Get the scope property: The namespace that logically groups and isolates memories, such as a user ID. + * + * @return the scope value. + */ + @Generated + public String getScope() { + return this.scope; + } + + /** + * Get the content property: The content of the memory. + * + * @return the content value. + */ + @Generated + public String getContent() { + return this.content; + } + + /** + * Get the kind property: The kind of the memory item. + * + * @return the kind value. + */ + @Generated + public MemoryItemKind getKind() { + return this.kind; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("scope", this.scope); + jsonWriter.writeStringField("content", this.content); + jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of CreateMemoryRequest from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of CreateMemoryRequest if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the CreateMemoryRequest. + */ + @Generated + public static CreateMemoryRequest fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String scope = null; + String content = null; + MemoryItemKind kind = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("scope".equals(fieldName)) { + scope = reader.getString(); + } else if ("content".equals(fieldName)) { + content = reader.getString(); + } else if ("kind".equals(fieldName)) { + kind = MemoryItemKind.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + return new CreateMemoryRequest(scope, content, kind); + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java new file mode 100644 index 000000000000..ed9b9e61bcd7 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java @@ -0,0 +1,83 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.agents.implementation.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The UpdateMemoryRequest model. + */ +@Immutable +public final class UpdateMemoryRequest implements JsonSerializable { + /* + * The updated content of the memory. + */ + @Generated + private final String content; + + /** + * Creates an instance of UpdateMemoryRequest class. + * + * @param content the content value to set. + */ + @Generated + public UpdateMemoryRequest(String content) { + this.content = content; + } + + /** + * Get the content property: The updated content of the memory. + * + * @return the content value. + */ + @Generated + public String getContent() { + return this.content; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("content", this.content); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of UpdateMemoryRequest from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of UpdateMemoryRequest if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the UpdateMemoryRequest. + */ + @Generated + public static UpdateMemoryRequest fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String content = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("content".equals(fieldName)) { + content = reader.getString(); + } else { + reader.skipChildren(); + } + } + return new UpdateMemoryRequest(content); + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDefinition.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDefinition.java index 281dd32a375c..bd2b34456daa 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDefinition.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDefinition.java @@ -112,6 +112,8 @@ public static AgentDefinition fromJson(JsonReader jsonReader) throws IOException return PromptAgentDefinition.fromJson(readerToUse.reset()); } else if ("workflow".equals(discriminatorValue)) { return WorkflowAgentDefinition.fromJson(readerToUse.reset()); + } else if ("external".equals(discriminatorValue)) { + return ExternalAgentDefinition.fromJson(readerToUse.reset()); } else { return fromJsonKnownDiscriminator(readerToUse.reset()); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java index c0edcd7f33f7..edfd286bddfe 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java @@ -31,7 +31,12 @@ public enum AgentDefinitionOptInKeys { /** * Enum value CodeAgents=V1Preview. */ - CODE_AGENTS_V1_PREVIEW("CodeAgents=V1Preview"); + CODE_AGENTS_V1_PREVIEW("CodeAgents=V1Preview"), + + /** + * Enum value ExternalAgents=V1Preview. + */ + EXTERNAL_AGENTS_V1_PREVIEW("ExternalAgents=V1Preview"); /** * The actual serialized value for a AgentDefinitionOptInKeys instance. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentKind.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentKind.java index 683a1c3542f8..4e0afa59b582 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentKind.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentKind.java @@ -60,4 +60,10 @@ public static AgentKind fromString(String name) { public static Collection values() { return values(AgentKind.class); } + + /** + * Static value external for AgentKind. + */ + @Generated + public static final AgentKind EXTERNAL = fromString("external"); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java new file mode 100644 index 000000000000..9e39a4c2bf4d --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java @@ -0,0 +1,144 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Response for deleting a memory item from a memory store. + */ +@Immutable +public final class DeleteMemoryResponse implements JsonSerializable { + /* + * The object type. Always 'memory.deleted'. + */ + @Generated + private final MemoryStoreObjectType object = MemoryStoreObjectType.MEMORY_DELETED; + + /* + * The name of the memory store. + */ + @Generated + private final String name; + + /* + * The unique ID of the deleted memory item. + */ + @Generated + private final String memoryId; + + /* + * Whether the memory item was successfully deleted. + */ + @Generated + private final boolean deleted; + + /** + * Creates an instance of DeleteMemoryResponse class. + * + * @param name the name value to set. + * @param memoryId the memoryId value to set. + * @param deleted the deleted value to set. + */ + @Generated + private DeleteMemoryResponse(String name, String memoryId, boolean deleted) { + this.name = name; + this.memoryId = memoryId; + this.deleted = deleted; + } + + /** + * Get the object property: The object type. Always 'memory.deleted'. + * + * @return the object value. + */ + @Generated + public MemoryStoreObjectType getObject() { + return this.object; + } + + /** + * Get the name property: The name of the memory store. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the memoryId property: The unique ID of the deleted memory item. + * + * @return the memoryId value. + */ + @Generated + public String getMemoryId() { + return this.memoryId; + } + + /** + * Get the deleted property: Whether the memory item was successfully deleted. + * + * @return the deleted value. + */ + @Generated + public boolean isDeleted() { + return this.deleted; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("object", this.object == null ? null : this.object.toString()); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("memory_id", this.memoryId); + jsonWriter.writeBooleanField("deleted", this.deleted); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DeleteMemoryResponse from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DeleteMemoryResponse if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DeleteMemoryResponse. + */ + @Generated + public static DeleteMemoryResponse fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + String memoryId = null; + boolean deleted = false; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("memory_id".equals(fieldName)) { + memoryId = reader.getString(); + } else if ("deleted".equals(fieldName)) { + deleted = reader.getBoolean(); + } else { + reader.skipChildren(); + } + } + return new DeleteMemoryResponse(name, memoryId, deleted); + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java new file mode 100644 index 000000000000..1862d616207a --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java @@ -0,0 +1,141 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The external agent definition. Represents a third-party agent hosted outside Foundry (for example, on GCP or AWS). + * Registration is metadata-only: Foundry records the agent definition to light up observability experiences (traces, + * evaluations) + * over customer-emitted OpenTelemetry data. + */ +@Fluent +public final class ExternalAgentDefinition extends AgentDefinition { + /* + * The kind property. + */ + @Generated + private AgentKind kind = AgentKind.EXTERNAL; + + /* + * The OpenTelemetry agent identifier used to attribute customer-emitted spans to this Foundry agent. + * Spans must include the attribute `gen_ai.agent.id = ` to appear under this registration. + * Defaults to the top-level agent name when omitted. Provide an explicit value only for migration scenarios + * where the running external agent already emits a stable id that differs from the Foundry agent name. + * The resolved value is always echoed on read. + */ + @Generated + private String otelAgentId; + + /** + * Creates an instance of ExternalAgentDefinition class. + */ + @Generated + public ExternalAgentDefinition() { + } + + /** + * Get the kind property: The kind property. + * + * @return the kind value. + */ + @Generated + @Override + public AgentKind getKind() { + return this.kind; + } + + /** + * Get the otelAgentId property: The OpenTelemetry agent identifier used to attribute customer-emitted spans to this + * Foundry agent. + * Spans must include the attribute `gen_ai.agent.id = <otel_agent_id>` to appear under this registration. + * Defaults to the top-level agent name when omitted. Provide an explicit value only for migration scenarios + * where the running external agent already emits a stable id that differs from the Foundry agent name. + * The resolved value is always echoed on read. + * + * @return the otelAgentId value. + */ + @Generated + public String getOtelAgentId() { + return this.otelAgentId; + } + + /** + * Set the otelAgentId property: The OpenTelemetry agent identifier used to attribute customer-emitted spans to this + * Foundry agent. + * Spans must include the attribute `gen_ai.agent.id = <otel_agent_id>` to appear under this registration. + * Defaults to the top-level agent name when omitted. Provide an explicit value only for migration scenarios + * where the running external agent already emits a stable id that differs from the Foundry agent name. + * The resolved value is always echoed on read. + * + * @param otelAgentId the otelAgentId value to set. + * @return the ExternalAgentDefinition object itself. + */ + @Generated + public ExternalAgentDefinition setOtelAgentId(String otelAgentId) { + this.otelAgentId = otelAgentId; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public ExternalAgentDefinition setRaiConfig(RaiConfig raiConfig) { + super.setRaiConfig(raiConfig); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("rai_config", getRaiConfig()); + jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); + jsonWriter.writeStringField("otel_agent_id", this.otelAgentId); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ExternalAgentDefinition from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ExternalAgentDefinition if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the ExternalAgentDefinition. + */ + @Generated + public static ExternalAgentDefinition fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ExternalAgentDefinition deserializedExternalAgentDefinition = new ExternalAgentDefinition(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("rai_config".equals(fieldName)) { + deserializedExternalAgentDefinition.setRaiConfig(RaiConfig.fromJson(reader)); + } else if ("kind".equals(fieldName)) { + deserializedExternalAgentDefinition.kind = AgentKind.fromString(reader.getString()); + } else if ("otel_agent_id".equals(fieldName)) { + deserializedExternalAgentDefinition.otelAgentId = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedExternalAgentDefinition; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java index 0ca7093424dc..53346b08034c 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java @@ -33,6 +33,11 @@ public enum FoundryFeaturesOptInKeys { */ MEMORY_STORES_V1_PREVIEW("MemoryStores=V1Preview"), + /** + * Enum value Routines=V1Preview. + */ + ROUTINES_V1_PREVIEW("Routines=V1Preview"), + /** * Enum value Toolboxes=V1Preview. */ @@ -51,7 +56,12 @@ public enum FoundryFeaturesOptInKeys { /** * Enum value Models=V1Preview. */ - MODELS_V1_PREVIEW("Models=V1Preview"); + MODELS_V1_PREVIEW("Models=V1Preview"), + + /** + * Enum value AgentsOptimization=V1Preview. + */ + AGENTS_OPTIMIZATION_V1_PREVIEW("AgentsOptimization=V1Preview"); /** * The actual serialized value for a FoundryFeaturesOptInKeys instance. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryItem.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryItem.java index 342431b6d01c..384c0df25b20 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryItem.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryItem.java @@ -166,6 +166,8 @@ public static MemoryItem fromJson(JsonReader jsonReader) throws IOException { return UserProfileMemoryItem.fromJson(readerToUse.reset()); } else if ("chat_summary".equals(discriminatorValue)) { return ChatSummaryMemoryItem.fromJson(readerToUse.reset()); + } else if ("procedural".equals(discriminatorValue)) { + return ProceduralMemoryItem.fromJson(readerToUse.reset()); } else { return fromJsonKnownDiscriminator(readerToUse.reset()); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryItemKind.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryItemKind.java index 7cdb84c75594..6db3e0b32123 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryItemKind.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryItemKind.java @@ -54,4 +54,10 @@ public static MemoryItemKind fromString(String name) { public static Collection values() { return values(MemoryItemKind.class); } + + /** + * Routine procedures extracted from conversations. + */ + @Generated + public static final MemoryItemKind PROCEDURAL = fromString("procedural"); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java index 357b0b3cb62a..c0220c19a6e8 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java @@ -10,6 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.time.Duration; /** * Default memory store configurations. @@ -101,6 +102,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeBooleanField("user_profile_enabled", this.userProfileEnabled); jsonWriter.writeBooleanField("chat_summary_enabled", this.chatSummaryEnabled); jsonWriter.writeStringField("user_profile_details", this.userProfileDetails); + jsonWriter.writeBooleanField("procedural_memory_enabled", this.proceduralMemoryEnabled); + jsonWriter.writeNumberField("default_ttl_seconds", this.defaultTtlSeconds); return jsonWriter.writeEndObject(); } @@ -119,6 +122,8 @@ public static MemoryStoreDefaultOptions fromJson(JsonReader jsonReader) throws I boolean userProfileEnabled = false; boolean chatSummaryEnabled = false; String userProfileDetails = null; + Boolean proceduralMemoryEnabled = null; + Long defaultTtlSeconds = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -128,6 +133,10 @@ public static MemoryStoreDefaultOptions fromJson(JsonReader jsonReader) throws I chatSummaryEnabled = reader.getBoolean(); } else if ("user_profile_details".equals(fieldName)) { userProfileDetails = reader.getString(); + } else if ("procedural_memory_enabled".equals(fieldName)) { + proceduralMemoryEnabled = reader.getNullable(JsonReader::getBoolean); + } else if ("default_ttl_seconds".equals(fieldName)) { + defaultTtlSeconds = reader.getNullable(JsonReader::getLong); } else { reader.skipChildren(); } @@ -135,7 +144,76 @@ public static MemoryStoreDefaultOptions fromJson(JsonReader jsonReader) throws I MemoryStoreDefaultOptions deserializedMemoryStoreDefaultOptions = new MemoryStoreDefaultOptions(userProfileEnabled, chatSummaryEnabled); deserializedMemoryStoreDefaultOptions.userProfileDetails = userProfileDetails; + deserializedMemoryStoreDefaultOptions.proceduralMemoryEnabled = proceduralMemoryEnabled; + deserializedMemoryStoreDefaultOptions.defaultTtlSeconds = defaultTtlSeconds; return deserializedMemoryStoreDefaultOptions; }); } + + /* + * Whether to enable procedural memory extraction and storage. Default is true. + */ + @Generated + private Boolean proceduralMemoryEnabled; + + /* + * The default time-to-live for memories in seconds. A value of 0 indicates that memories do not expire. + */ + @Generated + private Long defaultTtlSeconds; + + /** + * Get the proceduralMemoryEnabled property: Whether to enable procedural memory extraction and storage. Default is + * true. + * + * @return the proceduralMemoryEnabled value. + */ + @Generated + public Boolean isProceduralMemoryEnabled() { + return this.proceduralMemoryEnabled; + } + + /** + * Set the proceduralMemoryEnabled property: Whether to enable procedural memory extraction and storage. Default is + * true. + * + * @param proceduralMemoryEnabled the proceduralMemoryEnabled value to set. + * @return the MemoryStoreDefaultOptions object itself. + */ + @Generated + public MemoryStoreDefaultOptions setProceduralMemoryEnabled(Boolean proceduralMemoryEnabled) { + this.proceduralMemoryEnabled = proceduralMemoryEnabled; + return this; + } + + /** + * Get the defaultTtlSeconds property: The default time-to-live for memories in seconds. A value of 0 indicates that + * memories do not expire. + * + * @return the defaultTtlSeconds value. + */ + @Generated + public Duration getDefaultTtlSeconds() { + if (this.defaultTtlSeconds == null) { + return null; + } + return Duration.ofSeconds(this.defaultTtlSeconds); + } + + /** + * Set the defaultTtlSeconds property: The default time-to-live for memories in seconds. A value of 0 indicates that + * memories do not expire. + * + * @param defaultTtlSeconds the defaultTtlSeconds value to set. + * @return the MemoryStoreDefaultOptions object itself. + */ + @Generated + public MemoryStoreDefaultOptions setDefaultTtlSeconds(Duration defaultTtlSeconds) { + if (defaultTtlSeconds == null) { + this.defaultTtlSeconds = null; + } else { + this.defaultTtlSeconds = defaultTtlSeconds.getSeconds(); + } + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java index 2ab3a05345c9..ceb91f194f5f 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java @@ -21,7 +21,12 @@ public enum MemoryStoreObjectType { /** * Enum value memory_store.scope.deleted. */ - MEMORY_STORE_SCOPE_DELETED("memory_store.scope.deleted"); + MEMORY_STORE_SCOPE_DELETED("memory_store.scope.deleted"), + + /** + * Enum value memory.deleted. + */ + MEMORY_DELETED("memory.deleted"); /** * The actual serialized value for a MemoryStoreObjectType instance. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java new file mode 100644 index 000000000000..12cafe5f924f --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java @@ -0,0 +1,111 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; + +/** + * A memory item containing a procedure extracted from conversations. + */ +@Immutable +public final class ProceduralMemoryItem extends MemoryItem { + /* + * The kind of the memory item. + */ + @Generated + private MemoryItemKind kind = MemoryItemKind.PROCEDURAL; + + /** + * Creates an instance of ProceduralMemoryItem class. + * + * @param memoryId the memoryId value to set. + * @param updatedAt the updatedAt value to set. + * @param scope the scope value to set. + * @param content the content value to set. + */ + @Generated + private ProceduralMemoryItem(String memoryId, OffsetDateTime updatedAt, String scope, String content) { + super(memoryId, updatedAt, scope, content); + } + + /** + * Get the kind property: The kind of the memory item. + * + * @return the kind value. + */ + @Generated + @Override + public MemoryItemKind getKind() { + return this.kind; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("memory_id", getMemoryId()); + if (getUpdatedAt() != null) { + jsonWriter.writeLongField("updated_at", getUpdatedAt().toEpochSecond()); + } + jsonWriter.writeStringField("scope", getScope()); + jsonWriter.writeStringField("content", getContent()); + jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ProceduralMemoryItem from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ProceduralMemoryItem if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ProceduralMemoryItem. + */ + @Generated + public static ProceduralMemoryItem fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String memoryId = null; + OffsetDateTime updatedAt = null; + String scope = null; + String content = null; + MemoryItemKind kind = MemoryItemKind.PROCEDURAL; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("memory_id".equals(fieldName)) { + memoryId = reader.getString(); + } else if ("updated_at".equals(fieldName)) { + updatedAt = OffsetDateTime.ofInstant(Instant.ofEpochSecond(reader.getLong()), ZoneOffset.UTC); + } else if ("scope".equals(fieldName)) { + scope = reader.getString(); + } else if ("content".equals(fieldName)) { + content = reader.getString(); + } else if ("kind".equals(fieldName)) { + kind = MemoryItemKind.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + ProceduralMemoryItem deserializedProceduralMemoryItem + = new ProceduralMemoryItem(memoryId, updatedAt, scope, content); + deserializedProceduralMemoryItem.kind = kind; + + return deserializedProceduralMemoryItem; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json index 9186f57229da..92bf7d8d6534 100644 --- a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json +++ b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentVersionCode":"Azure.AI.Projects.Agents.downloadAgentVersionCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentVersionCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentVersionCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentVersionCode":"Azure.AI.Projects.Agents.downloadAgentVersionCode","com.azure.ai.agents.AgentsClient.downloadAgentVersionCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentVersionCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.Annotation":"OpenAI.Annotation","com.azure.ai.agents.implementation.models.AnnotationType":"OpenAI.AnnotationType","com.azure.ai.agents.implementation.models.ApplyPatchCallOutputStatusParam":"OpenAI.ApplyPatchCallOutputStatusParam","com.azure.ai.agents.implementation.models.ApplyPatchCallStatusParam":"OpenAI.ApplyPatchCallStatusParam","com.azure.ai.agents.implementation.models.ApplyPatchCreateFileOperationParam":"OpenAI.ApplyPatchCreateFileOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchDeleteFileOperationParam":"OpenAI.ApplyPatchDeleteFileOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchOperationParam":"OpenAI.ApplyPatchOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchOperationParamType":"OpenAI.ApplyPatchOperationParamType","com.azure.ai.agents.implementation.models.ApplyPatchUpdateFileOperationParam":"OpenAI.ApplyPatchUpdateFileOperationParam","com.azure.ai.agents.implementation.models.ClickButtonType":"OpenAI.ClickButtonType","com.azure.ai.agents.implementation.models.ClickParam":"OpenAI.ClickParam","com.azure.ai.agents.implementation.models.CodeInterpreterOutputImage":"OpenAI.CodeInterpreterOutputImage","com.azure.ai.agents.implementation.models.CodeInterpreterOutputLogs":"OpenAI.CodeInterpreterOutputLogs","com.azure.ai.agents.implementation.models.ComputerAction":"OpenAI.ComputerAction","com.azure.ai.agents.implementation.models.ComputerActionType":"OpenAI.ComputerActionType","com.azure.ai.agents.implementation.models.ComputerCallSafetyCheckParam":"OpenAI.ComputerCallSafetyCheckParam","com.azure.ai.agents.implementation.models.ComputerScreenshotImage":"OpenAI.ComputerScreenshotImage","com.azure.ai.agents.implementation.models.ContainerFileCitationBody":"OpenAI.ContainerFileCitationBody","com.azure.ai.agents.implementation.models.CoordParam":"OpenAI.CoordParam","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.DoubleClickAction":"OpenAI.DoubleClickAction","com.azure.ai.agents.implementation.models.DragParam":"OpenAI.DragParam","com.azure.ai.agents.implementation.models.EasyInputMessage":"OpenAI.EasyInputMessage","com.azure.ai.agents.implementation.models.EasyInputMessageRole":"OpenAI.EasyInputMessage.role.anonymous","com.azure.ai.agents.implementation.models.EasyInputMessageStatus":"OpenAI.EasyInputMessage.status.anonymous","com.azure.ai.agents.implementation.models.FileCitationBody":"OpenAI.FileCitationBody","com.azure.ai.agents.implementation.models.FilePath":"OpenAI.FilePath","com.azure.ai.agents.implementation.models.FileSearchToolCallResults":"OpenAI.FileSearchToolCallResults","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutput":"OpenAI.FunctionAndCustomToolCallOutput","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputFileContent":"OpenAI.FunctionAndCustomToolCallOutputInputFileContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputImageContent":"OpenAI.FunctionAndCustomToolCallOutputInputImageContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputTextContent":"OpenAI.FunctionAndCustomToolCallOutputInputTextContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputType":"OpenAI.FunctionAndCustomToolCallOutputType","com.azure.ai.agents.implementation.models.FunctionCallItemStatus":"OpenAI.FunctionCallItemStatus","com.azure.ai.agents.implementation.models.FunctionShellActionParam":"OpenAI.FunctionShellActionParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironment":"OpenAI.FunctionShellCallItemParamEnvironment","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentContainerReferenceParam":"OpenAI.FunctionShellCallItemParamEnvironmentContainerReferenceParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentLocalEnvironmentParam":"OpenAI.FunctionShellCallItemParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentType":"OpenAI.FunctionShellCallItemParamEnvironmentType","com.azure.ai.agents.implementation.models.FunctionShellCallItemStatus":"OpenAI.FunctionShellCallItemStatus","com.azure.ai.agents.implementation.models.FunctionShellCallOutputContentParam":"OpenAI.FunctionShellCallOutputContentParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputExitOutcomeParam":"OpenAI.FunctionShellCallOutputExitOutcomeParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputOutcomeParam":"OpenAI.FunctionShellCallOutputOutcomeParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputOutcomeParamType":"OpenAI.FunctionShellCallOutputOutcomeParamType","com.azure.ai.agents.implementation.models.FunctionShellCallOutputTimeoutOutcomeParam":"OpenAI.FunctionShellCallOutputTimeoutOutcomeParam","com.azure.ai.agents.implementation.models.ImageDetail":"OpenAI.ImageDetail","com.azure.ai.agents.implementation.models.ImageDetailLevel":"OpenAI.DetailEnum","com.azure.ai.agents.implementation.models.InputContent":"OpenAI.InputContent","com.azure.ai.agents.implementation.models.InputContentInputFileContent":"OpenAI.InputContentInputFileContent","com.azure.ai.agents.implementation.models.InputContentInputImageContent":"OpenAI.InputContentInputImageContent","com.azure.ai.agents.implementation.models.InputContentInputTextContent":"OpenAI.InputContentInputTextContent","com.azure.ai.agents.implementation.models.InputContentType":"OpenAI.InputContentType","com.azure.ai.agents.implementation.models.InputFileContentParam":"OpenAI.InputFileContentParam","com.azure.ai.agents.implementation.models.InputImageContentParamAutoParam":"OpenAI.InputImageContentParamAutoParam","com.azure.ai.agents.implementation.models.InputItem":"OpenAI.InputItem","com.azure.ai.agents.implementation.models.InputItemApplyPatchToolCallItemParam":"OpenAI.InputItemApplyPatchToolCallItemParam","com.azure.ai.agents.implementation.models.InputItemApplyPatchToolCallOutputItemParam":"OpenAI.InputItemApplyPatchToolCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemCodeInterpreterToolCall":"OpenAI.InputItemCodeInterpreterToolCall","com.azure.ai.agents.implementation.models.InputItemCodeInterpreterToolCallStatus":"OpenAI.InputItemCodeInterpreterToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemCompactionSummaryItemParam":"OpenAI.InputItemCompactionSummaryItemParam","com.azure.ai.agents.implementation.models.InputItemComputerCallOutputItemParam":"OpenAI.InputItemComputerCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemComputerToolCall":"OpenAI.InputItemComputerToolCall","com.azure.ai.agents.implementation.models.InputItemComputerToolCallStatus":"OpenAI.InputItemComputerToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemCustomToolCall":"OpenAI.InputItemCustomToolCall","com.azure.ai.agents.implementation.models.InputItemCustomToolCallOutput":"OpenAI.InputItemCustomToolCallOutput","com.azure.ai.agents.implementation.models.InputItemFileSearchToolCall":"OpenAI.InputItemFileSearchToolCall","com.azure.ai.agents.implementation.models.InputItemFileSearchToolCallStatus":"OpenAI.InputItemFileSearchToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemFunctionCallOutputItemParam":"OpenAI.InputItemFunctionCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionShellCallItemParam":"OpenAI.InputItemFunctionShellCallItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionShellCallOutputItemParam":"OpenAI.InputItemFunctionShellCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionToolCall":"OpenAI.InputItemFunctionToolCall","com.azure.ai.agents.implementation.models.InputItemFunctionToolCallStatus":"OpenAI.InputItemFunctionToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemImageGenToolCall":"OpenAI.InputItemImageGenToolCall","com.azure.ai.agents.implementation.models.InputItemImageGenToolCallStatus":"OpenAI.InputItemImageGenToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCall":"OpenAI.InputItemLocalShellToolCall","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallOutput":"OpenAI.InputItemLocalShellToolCallOutput","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallOutputStatus":"OpenAI.InputItemLocalShellToolCallOutput.status.anonymous","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallStatus":"OpenAI.InputItemLocalShellToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemMcpApprovalRequest":"OpenAI.InputItemMcpApprovalRequest","com.azure.ai.agents.implementation.models.InputItemMcpApprovalResponse":"OpenAI.InputItemMcpApprovalResponse","com.azure.ai.agents.implementation.models.InputItemMcpListTools":"OpenAI.InputItemMcpListTools","com.azure.ai.agents.implementation.models.InputItemMcpToolCall":"OpenAI.InputItemMcpToolCall","com.azure.ai.agents.implementation.models.InputItemOutputMessage":"OpenAI.InputItemOutputMessage","com.azure.ai.agents.implementation.models.InputItemOutputMessageStatus":"OpenAI.InputItemOutputMessage.status.anonymous","com.azure.ai.agents.implementation.models.InputItemReasoningItem":"OpenAI.InputItemReasoningItem","com.azure.ai.agents.implementation.models.InputItemReasoningItemStatus":"OpenAI.InputItemReasoningItem.status.anonymous","com.azure.ai.agents.implementation.models.InputItemType":"OpenAI.InputItemType","com.azure.ai.agents.implementation.models.InputItemWebSearchToolCall":"OpenAI.InputItemWebSearchToolCall","com.azure.ai.agents.implementation.models.InputItemWebSearchToolCallStatus":"OpenAI.InputItemWebSearchToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputTextContentParam":"OpenAI.InputTextContentParam","com.azure.ai.agents.implementation.models.ItemReferenceParam":"OpenAI.ItemReferenceParam","com.azure.ai.agents.implementation.models.KeyPressAction":"OpenAI.KeyPressAction","com.azure.ai.agents.implementation.models.LocalShellExecAction":"OpenAI.LocalShellExecAction","com.azure.ai.agents.implementation.models.LogProb":"OpenAI.LogProb","com.azure.ai.agents.implementation.models.McpListToolsTool":"OpenAI.MCPListToolsTool","com.azure.ai.agents.implementation.models.McpListToolsToolAnnotations":"OpenAI.MCPListToolsToolAnnotations","com.azure.ai.agents.implementation.models.McpListToolsToolInputSchema":"OpenAI.MCPListToolsToolInputSchema","com.azure.ai.agents.implementation.models.McpToolCallStatus":"OpenAI.MCPToolCallStatus","com.azure.ai.agents.implementation.models.MessageContent":"OpenAI.MessageContent","com.azure.ai.agents.implementation.models.MessageContentType":"OpenAI.MessageContentType","com.azure.ai.agents.implementation.models.MoveParam":"OpenAI.MoveParam","com.azure.ai.agents.implementation.models.OutputMessageContent":"OpenAI.OutputMessageContent","com.azure.ai.agents.implementation.models.OutputMessageContentOutputTextContent":"OpenAI.OutputMessageContentOutputTextContent","com.azure.ai.agents.implementation.models.OutputMessageContentRefusalContent":"OpenAI.OutputMessageContentRefusalContent","com.azure.ai.agents.implementation.models.OutputMessageContentType":"OpenAI.OutputMessageContentType","com.azure.ai.agents.implementation.models.ReasoningTextContent":"OpenAI.ReasoningTextContent","com.azure.ai.agents.implementation.models.ScreenshotParam":"OpenAI.ScreenshotParam","com.azure.ai.agents.implementation.models.ScrollParam":"OpenAI.ScrollParam","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SummaryTextContent":"OpenAI.SummaryTextContent","com.azure.ai.agents.implementation.models.TopLogProb":"OpenAI.TopLogProb","com.azure.ai.agents.implementation.models.TypeParam":"OpenAI.TypeParam","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.implementation.models.UrlCitationBody":"OpenAI.UrlCitationBody","com.azure.ai.agents.implementation.models.VectorStoreFileAttributes":"OpenAI.VectorStoreFileAttributes","com.azure.ai.agents.implementation.models.WaitParam":"OpenAI.WaitParam","com.azure.ai.agents.implementation.models.WebSearchActionFind":"OpenAI.WebSearchActionFind","com.azure.ai.agents.implementation.models.WebSearchActionOpenPage":"OpenAI.WebSearchActionOpenPage","com.azure.ai.agents.implementation.models.WebSearchActionSearch":"OpenAI.WebSearchActionSearch","com.azure.ai.agents.implementation.models.WebSearchActionSearchSources":"OpenAI.WebSearchActionSearchSources","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/Annotation.java","src/main/java/com/azure/ai/agents/implementation/models/AnnotationType.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallOutputStatusParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallStatusParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCreateFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchDeleteFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParamType.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchUpdateFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ClickButtonType.java","src/main/java/com/azure/ai/agents/implementation/models/ClickParam.java","src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputImage.java","src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputLogs.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerAction.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerActionType.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerCallSafetyCheckParam.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerScreenshotImage.java","src/main/java/com/azure/ai/agents/implementation/models/ContainerFileCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/CoordParam.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/DoubleClickAction.java","src/main/java/com/azure/ai/agents/implementation/models/DragParam.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessage.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageRole.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FileCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/FilePath.java","src/main/java/com/azure/ai/agents/implementation/models/FileSearchToolCallResults.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputFileContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputImageContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionCallItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellActionParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironment.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentContainerReferenceParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentLocalEnvironmentParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputExitOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParamType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputTimeoutOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/ImageDetail.java","src/main/java/com/azure/ai/agents/implementation/models/ImageDetailLevel.java","src/main/java/com/azure/ai/agents/implementation/models/InputContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputFileContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputImageContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentType.java","src/main/java/com/azure/ai/agents/implementation/models/InputFileContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputImageContentParamAutoParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItem.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCompactionSummaryItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutputStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalRequest.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalResponse.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpListTools.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessage.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessageStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItem.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemType.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputTextContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/ItemReferenceParam.java","src/main/java/com/azure/ai/agents/implementation/models/KeyPressAction.java","src/main/java/com/azure/ai/agents/implementation/models/LocalShellExecAction.java","src/main/java/com/azure/ai/agents/implementation/models/LogProb.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsTool.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolAnnotations.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolInputSchema.java","src/main/java/com/azure/ai/agents/implementation/models/McpToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/MessageContent.java","src/main/java/com/azure/ai/agents/implementation/models/MessageContentType.java","src/main/java/com/azure/ai/agents/implementation/models/MoveParam.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentOutputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentRefusalContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentType.java","src/main/java/com/azure/ai/agents/implementation/models/ReasoningTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/ScreenshotParam.java","src/main/java/com/azure/ai/agents/implementation/models/ScrollParam.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SummaryTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/TopLogProb.java","src/main/java/com/azure/ai/agents/implementation/models/TypeParam.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UrlCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/VectorStoreFileAttributes.java","src/main/java/com/azure/ai/agents/implementation/models/WaitParam.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionFind.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionOpenPage.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearch.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearchSources.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.listSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.Annotation":"OpenAI.Annotation","com.azure.ai.agents.implementation.models.AnnotationType":"OpenAI.AnnotationType","com.azure.ai.agents.implementation.models.ApplyPatchCallOutputStatusParam":"OpenAI.ApplyPatchCallOutputStatusParam","com.azure.ai.agents.implementation.models.ApplyPatchCallStatusParam":"OpenAI.ApplyPatchCallStatusParam","com.azure.ai.agents.implementation.models.ApplyPatchCreateFileOperationParam":"OpenAI.ApplyPatchCreateFileOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchDeleteFileOperationParam":"OpenAI.ApplyPatchDeleteFileOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchOperationParam":"OpenAI.ApplyPatchOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchOperationParamType":"OpenAI.ApplyPatchOperationParamType","com.azure.ai.agents.implementation.models.ApplyPatchUpdateFileOperationParam":"OpenAI.ApplyPatchUpdateFileOperationParam","com.azure.ai.agents.implementation.models.ClickButtonType":"OpenAI.ClickButtonType","com.azure.ai.agents.implementation.models.ClickParam":"OpenAI.ClickParam","com.azure.ai.agents.implementation.models.CodeInterpreterOutputImage":"OpenAI.CodeInterpreterOutputImage","com.azure.ai.agents.implementation.models.CodeInterpreterOutputLogs":"OpenAI.CodeInterpreterOutputLogs","com.azure.ai.agents.implementation.models.ComputerAction":"OpenAI.ComputerAction","com.azure.ai.agents.implementation.models.ComputerActionType":"OpenAI.ComputerActionType","com.azure.ai.agents.implementation.models.ComputerCallSafetyCheckParam":"OpenAI.ComputerCallSafetyCheckParam","com.azure.ai.agents.implementation.models.ComputerScreenshotImage":"OpenAI.ComputerScreenshotImage","com.azure.ai.agents.implementation.models.ContainerFileCitationBody":"OpenAI.ContainerFileCitationBody","com.azure.ai.agents.implementation.models.CoordParam":"OpenAI.CoordParam","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.DoubleClickAction":"OpenAI.DoubleClickAction","com.azure.ai.agents.implementation.models.DragParam":"OpenAI.DragParam","com.azure.ai.agents.implementation.models.EasyInputMessage":"OpenAI.EasyInputMessage","com.azure.ai.agents.implementation.models.EasyInputMessageRole":"OpenAI.EasyInputMessage.role.anonymous","com.azure.ai.agents.implementation.models.EasyInputMessageStatus":"OpenAI.EasyInputMessage.status.anonymous","com.azure.ai.agents.implementation.models.FileCitationBody":"OpenAI.FileCitationBody","com.azure.ai.agents.implementation.models.FilePath":"OpenAI.FilePath","com.azure.ai.agents.implementation.models.FileSearchToolCallResults":"OpenAI.FileSearchToolCallResults","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutput":"OpenAI.FunctionAndCustomToolCallOutput","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputFileContent":"OpenAI.FunctionAndCustomToolCallOutputInputFileContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputImageContent":"OpenAI.FunctionAndCustomToolCallOutputInputImageContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputTextContent":"OpenAI.FunctionAndCustomToolCallOutputInputTextContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputType":"OpenAI.FunctionAndCustomToolCallOutputType","com.azure.ai.agents.implementation.models.FunctionCallItemStatus":"OpenAI.FunctionCallItemStatus","com.azure.ai.agents.implementation.models.FunctionShellActionParam":"OpenAI.FunctionShellActionParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironment":"OpenAI.FunctionShellCallItemParamEnvironment","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentContainerReferenceParam":"OpenAI.FunctionShellCallItemParamEnvironmentContainerReferenceParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentLocalEnvironmentParam":"OpenAI.FunctionShellCallItemParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentType":"OpenAI.FunctionShellCallItemParamEnvironmentType","com.azure.ai.agents.implementation.models.FunctionShellCallItemStatus":"OpenAI.FunctionShellCallItemStatus","com.azure.ai.agents.implementation.models.FunctionShellCallOutputContentParam":"OpenAI.FunctionShellCallOutputContentParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputExitOutcomeParam":"OpenAI.FunctionShellCallOutputExitOutcomeParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputOutcomeParam":"OpenAI.FunctionShellCallOutputOutcomeParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputOutcomeParamType":"OpenAI.FunctionShellCallOutputOutcomeParamType","com.azure.ai.agents.implementation.models.FunctionShellCallOutputTimeoutOutcomeParam":"OpenAI.FunctionShellCallOutputTimeoutOutcomeParam","com.azure.ai.agents.implementation.models.ImageDetail":"OpenAI.ImageDetail","com.azure.ai.agents.implementation.models.ImageDetailLevel":"OpenAI.DetailEnum","com.azure.ai.agents.implementation.models.InputContent":"OpenAI.InputContent","com.azure.ai.agents.implementation.models.InputContentInputFileContent":"OpenAI.InputContentInputFileContent","com.azure.ai.agents.implementation.models.InputContentInputImageContent":"OpenAI.InputContentInputImageContent","com.azure.ai.agents.implementation.models.InputContentInputTextContent":"OpenAI.InputContentInputTextContent","com.azure.ai.agents.implementation.models.InputContentType":"OpenAI.InputContentType","com.azure.ai.agents.implementation.models.InputFileContentParam":"OpenAI.InputFileContentParam","com.azure.ai.agents.implementation.models.InputImageContentParamAutoParam":"OpenAI.InputImageContentParamAutoParam","com.azure.ai.agents.implementation.models.InputItem":"OpenAI.InputItem","com.azure.ai.agents.implementation.models.InputItemApplyPatchToolCallItemParam":"OpenAI.InputItemApplyPatchToolCallItemParam","com.azure.ai.agents.implementation.models.InputItemApplyPatchToolCallOutputItemParam":"OpenAI.InputItemApplyPatchToolCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemCodeInterpreterToolCall":"OpenAI.InputItemCodeInterpreterToolCall","com.azure.ai.agents.implementation.models.InputItemCodeInterpreterToolCallStatus":"OpenAI.InputItemCodeInterpreterToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemCompactionSummaryItemParam":"OpenAI.InputItemCompactionSummaryItemParam","com.azure.ai.agents.implementation.models.InputItemComputerCallOutputItemParam":"OpenAI.InputItemComputerCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemComputerToolCall":"OpenAI.InputItemComputerToolCall","com.azure.ai.agents.implementation.models.InputItemComputerToolCallStatus":"OpenAI.InputItemComputerToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemCustomToolCall":"OpenAI.InputItemCustomToolCall","com.azure.ai.agents.implementation.models.InputItemCustomToolCallOutput":"OpenAI.InputItemCustomToolCallOutput","com.azure.ai.agents.implementation.models.InputItemFileSearchToolCall":"OpenAI.InputItemFileSearchToolCall","com.azure.ai.agents.implementation.models.InputItemFileSearchToolCallStatus":"OpenAI.InputItemFileSearchToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemFunctionCallOutputItemParam":"OpenAI.InputItemFunctionCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionShellCallItemParam":"OpenAI.InputItemFunctionShellCallItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionShellCallOutputItemParam":"OpenAI.InputItemFunctionShellCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionToolCall":"OpenAI.InputItemFunctionToolCall","com.azure.ai.agents.implementation.models.InputItemFunctionToolCallStatus":"OpenAI.InputItemFunctionToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemImageGenToolCall":"OpenAI.InputItemImageGenToolCall","com.azure.ai.agents.implementation.models.InputItemImageGenToolCallStatus":"OpenAI.InputItemImageGenToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCall":"OpenAI.InputItemLocalShellToolCall","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallOutput":"OpenAI.InputItemLocalShellToolCallOutput","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallOutputStatus":"OpenAI.InputItemLocalShellToolCallOutput.status.anonymous","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallStatus":"OpenAI.InputItemLocalShellToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemMcpApprovalRequest":"OpenAI.InputItemMcpApprovalRequest","com.azure.ai.agents.implementation.models.InputItemMcpApprovalResponse":"OpenAI.InputItemMcpApprovalResponse","com.azure.ai.agents.implementation.models.InputItemMcpListTools":"OpenAI.InputItemMcpListTools","com.azure.ai.agents.implementation.models.InputItemMcpToolCall":"OpenAI.InputItemMcpToolCall","com.azure.ai.agents.implementation.models.InputItemOutputMessage":"OpenAI.InputItemOutputMessage","com.azure.ai.agents.implementation.models.InputItemOutputMessageStatus":"OpenAI.InputItemOutputMessage.status.anonymous","com.azure.ai.agents.implementation.models.InputItemReasoningItem":"OpenAI.InputItemReasoningItem","com.azure.ai.agents.implementation.models.InputItemReasoningItemStatus":"OpenAI.InputItemReasoningItem.status.anonymous","com.azure.ai.agents.implementation.models.InputItemType":"OpenAI.InputItemType","com.azure.ai.agents.implementation.models.InputItemWebSearchToolCall":"OpenAI.InputItemWebSearchToolCall","com.azure.ai.agents.implementation.models.InputItemWebSearchToolCallStatus":"OpenAI.InputItemWebSearchToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputTextContentParam":"OpenAI.InputTextContentParam","com.azure.ai.agents.implementation.models.ItemReferenceParam":"OpenAI.ItemReferenceParam","com.azure.ai.agents.implementation.models.KeyPressAction":"OpenAI.KeyPressAction","com.azure.ai.agents.implementation.models.LocalShellExecAction":"OpenAI.LocalShellExecAction","com.azure.ai.agents.implementation.models.LogProb":"OpenAI.LogProb","com.azure.ai.agents.implementation.models.McpListToolsTool":"OpenAI.MCPListToolsTool","com.azure.ai.agents.implementation.models.McpListToolsToolAnnotations":"OpenAI.MCPListToolsToolAnnotations","com.azure.ai.agents.implementation.models.McpListToolsToolInputSchema":"OpenAI.MCPListToolsToolInputSchema","com.azure.ai.agents.implementation.models.McpToolCallStatus":"OpenAI.MCPToolCallStatus","com.azure.ai.agents.implementation.models.MessageContent":"OpenAI.MessageContent","com.azure.ai.agents.implementation.models.MessageContentType":"OpenAI.MessageContentType","com.azure.ai.agents.implementation.models.MoveParam":"OpenAI.MoveParam","com.azure.ai.agents.implementation.models.OutputMessageContent":"OpenAI.OutputMessageContent","com.azure.ai.agents.implementation.models.OutputMessageContentOutputTextContent":"OpenAI.OutputMessageContentOutputTextContent","com.azure.ai.agents.implementation.models.OutputMessageContentRefusalContent":"OpenAI.OutputMessageContentRefusalContent","com.azure.ai.agents.implementation.models.OutputMessageContentType":"OpenAI.OutputMessageContentType","com.azure.ai.agents.implementation.models.ReasoningTextContent":"OpenAI.ReasoningTextContent","com.azure.ai.agents.implementation.models.ScreenshotParam":"OpenAI.ScreenshotParam","com.azure.ai.agents.implementation.models.ScrollParam":"OpenAI.ScrollParam","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SummaryTextContent":"OpenAI.SummaryTextContent","com.azure.ai.agents.implementation.models.TopLogProb":"OpenAI.TopLogProb","com.azure.ai.agents.implementation.models.TypeParam":"OpenAI.TypeParam","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.implementation.models.UrlCitationBody":"OpenAI.UrlCitationBody","com.azure.ai.agents.implementation.models.VectorStoreFileAttributes":"OpenAI.VectorStoreFileAttributes","com.azure.ai.agents.implementation.models.WaitParam":"OpenAI.WaitParam","com.azure.ai.agents.implementation.models.WebSearchActionFind":"OpenAI.WebSearchActionFind","com.azure.ai.agents.implementation.models.WebSearchActionOpenPage":"OpenAI.WebSearchActionOpenPage","com.azure.ai.agents.implementation.models.WebSearchActionSearch":"OpenAI.WebSearchActionSearch","com.azure.ai.agents.implementation.models.WebSearchActionSearchSources":"OpenAI.WebSearchActionSearchSources","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/Annotation.java","src/main/java/com/azure/ai/agents/implementation/models/AnnotationType.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallOutputStatusParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallStatusParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCreateFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchDeleteFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParamType.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchUpdateFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ClickButtonType.java","src/main/java/com/azure/ai/agents/implementation/models/ClickParam.java","src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputImage.java","src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputLogs.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerAction.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerActionType.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerCallSafetyCheckParam.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerScreenshotImage.java","src/main/java/com/azure/ai/agents/implementation/models/ContainerFileCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/CoordParam.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/DoubleClickAction.java","src/main/java/com/azure/ai/agents/implementation/models/DragParam.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessage.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageRole.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FileCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/FilePath.java","src/main/java/com/azure/ai/agents/implementation/models/FileSearchToolCallResults.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputFileContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputImageContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionCallItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellActionParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironment.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentContainerReferenceParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentLocalEnvironmentParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputExitOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParamType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputTimeoutOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/ImageDetail.java","src/main/java/com/azure/ai/agents/implementation/models/ImageDetailLevel.java","src/main/java/com/azure/ai/agents/implementation/models/InputContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputFileContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputImageContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentType.java","src/main/java/com/azure/ai/agents/implementation/models/InputFileContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputImageContentParamAutoParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItem.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCompactionSummaryItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutputStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalRequest.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalResponse.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpListTools.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessage.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessageStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItem.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemType.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputTextContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/ItemReferenceParam.java","src/main/java/com/azure/ai/agents/implementation/models/KeyPressAction.java","src/main/java/com/azure/ai/agents/implementation/models/LocalShellExecAction.java","src/main/java/com/azure/ai/agents/implementation/models/LogProb.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsTool.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolAnnotations.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolInputSchema.java","src/main/java/com/azure/ai/agents/implementation/models/McpToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/MessageContent.java","src/main/java/com/azure/ai/agents/implementation/models/MessageContentType.java","src/main/java/com/azure/ai/agents/implementation/models/MoveParam.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentOutputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentRefusalContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentType.java","src/main/java/com/azure/ai/agents/implementation/models/ReasoningTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/ScreenshotParam.java","src/main/java/com/azure/ai/agents/implementation/models/ScrollParam.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SummaryTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/TopLogProb.java","src/main/java/com/azure/ai/agents/implementation/models/TypeParam.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UrlCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/VectorStoreFileAttributes.java","src/main/java/com/azure/ai/agents/implementation/models/WaitParam.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionFind.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionOpenPage.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearch.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearchSources.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index a894ba1294bb..21694a80e2e6 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: c76e2e52e7c38e6efbdf2c25cc71e02dff59de36 +commit: 76ab5dc55ed6845c0920c75d5cb6e494208b7d23 repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java index 8c277c1cf0f5..7d21c6fa5a68 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java @@ -60,9 +60,12 @@ EvaluationRulesClient.class, EvaluationTaxonomiesClient.class, EvaluatorsClient.class, + EvaluatorGenerationJobsClient.class, InsightsClient.class, SchedulesClient.class, + RoutinesClient.class, SkillsClient.class, + DataGenerationJobsClient.class, ConnectionsAsyncClient.class, DatasetsAsyncClient.class, IndexesAsyncClient.class, @@ -72,9 +75,12 @@ EvaluationRulesAsyncClient.class, EvaluationTaxonomiesAsyncClient.class, EvaluatorsAsyncClient.class, + EvaluatorGenerationJobsAsyncClient.class, InsightsAsyncClient.class, SchedulesAsyncClient.class, - SkillsAsyncClient.class }) + RoutinesAsyncClient.class, + SkillsAsyncClient.class, + DataGenerationJobsAsyncClient.class }) public final class AIProjectClientBuilder implements HttpTrait, ConfigurationTrait, TokenCredentialTrait, EndpointTrait { @@ -670,4 +676,64 @@ public ModelsAsyncClient buildModelsAsyncClient() { public ModelsClient buildModelsClient() { return new ModelsClient(buildInnerClient().getModels()); } + + /** + * Builds an instance of EvaluatorGenerationJobsAsyncClient class. + * + * @return an instance of EvaluatorGenerationJobsAsyncClient. + */ + @Generated + public EvaluatorGenerationJobsAsyncClient buildEvaluatorGenerationJobsAsyncClient() { + return new EvaluatorGenerationJobsAsyncClient(buildInnerClient().getEvaluatorGenerationJobs()); + } + + /** + * Builds an instance of RoutinesAsyncClient class. + * + * @return an instance of RoutinesAsyncClient. + */ + @Generated + public RoutinesAsyncClient buildRoutinesAsyncClient() { + return new RoutinesAsyncClient(buildInnerClient().getRoutines()); + } + + /** + * Builds an instance of DataGenerationJobsAsyncClient class. + * + * @return an instance of DataGenerationJobsAsyncClient. + */ + @Generated + public DataGenerationJobsAsyncClient buildDataGenerationJobsAsyncClient() { + return new DataGenerationJobsAsyncClient(buildInnerClient().getDataGenerationJobs()); + } + + /** + * Builds an instance of EvaluatorGenerationJobsClient class. + * + * @return an instance of EvaluatorGenerationJobsClient. + */ + @Generated + public EvaluatorGenerationJobsClient buildEvaluatorGenerationJobsClient() { + return new EvaluatorGenerationJobsClient(buildInnerClient().getEvaluatorGenerationJobs()); + } + + /** + * Builds an instance of RoutinesClient class. + * + * @return an instance of RoutinesClient. + */ + @Generated + public RoutinesClient buildRoutinesClient() { + return new RoutinesClient(buildInnerClient().getRoutines()); + } + + /** + * Builds an instance of DataGenerationJobsClient class. + * + * @return an instance of DataGenerationJobsClient. + */ + @Generated + public DataGenerationJobsClient buildDataGenerationJobsClient() { + return new DataGenerationJobsClient(buildInnerClient().getDataGenerationJobs()); + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java new file mode 100644 index 000000000000..91a4b9bc516e --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java @@ -0,0 +1,868 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects; + +import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.projects.implementation.DataGenerationJobsImpl; +import com.azure.ai.projects.models.DataGenerationJob; +import com.azure.ai.projects.models.DataGenerationJobScenario; +import com.azure.ai.projects.models.DataGenerationJobType; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpHeaderName; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.util.BinaryData; +import com.azure.core.util.FluxUtil; +import java.util.List; +import java.util.Objects; +import java.util.stream.Collectors; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; + +/** + * Initializes a new instance of the asynchronous AIProjectClient type. + */ +@ServiceClient(builder = AIProjectClientBuilder.class, isAsync = true) +public final class DataGenerationJobsAsyncClient { + @Generated + private final DataGenerationJobsImpl serviceClient; + + /** + * Initializes an instance of DataGenerationJobsAsyncClient class. + * + * @param serviceClient the service client implementation. + */ + @Generated + DataGenerationJobsAsyncClient(DataGenerationJobsImpl serviceClient) { + this.serviceClient = serviceClient; + } + + /** + * Get info about a data generation job. + * + * Gets the details of a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about a data generation job. + * + * Gets the details of a data generation job by its ID along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.getGenerationJobWithResponseAsync(jobId, requestOptions); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: + * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form + * of "," separated string.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listGenerationJobs(RequestOptions requestOptions) { + return this.serviceClient.listGenerationJobsAsync(requestOptions); + } + + /** + * Creates a data generation job. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return data Generation Job resource along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { + return this.serviceClient.createGenerationJobWithResponseAsync(job, requestOptions); + } + + /** + * Cancels a data generation job. + * + * Cancels a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return data Generation Job resource along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.cancelGenerationJobWithResponseAsync(jobId, requestOptions); + } + + /** + * Deletes a data generation job. + * + * Deletes a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.deleteGenerationJobWithResponseAsync(jobId, requestOptions); + } + + /** + * Get info about a data generation job. + * + * Gets the details of a data generation job by its ID. + * + * @param jobId The ID of the job. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about a data generation job. + * + * Gets the details of a data generation job by its ID on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); + } + + /** + * Get info about a data generation job. + * + * Gets the details of a data generation job by its ID. + * + * @param jobId The ID of the job. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about a data generation job. + * + * Gets the details of a data generation job by its ID on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getGenerationJob(String jobId) { + // Generated convenience method for getGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + * + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @param scenario Filter data generation jobs by their scenario. + * @param type Filter data generation jobs by their type. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, + PageOrder order, String after, String before, DataGenerationJobScenario scenario, + List type) { + // Generated convenience method for listGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + if (scenario != null) { + requestOptions.addQueryParam("scenario", scenario.toString(), false); + } + if (type != null) { + requestOptions.addQueryParam("type", + type.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + PagedFlux pagedFluxResponse = listGenerationJobs(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listGenerationJobs() { + // Generated convenience method for listGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + PagedFlux pagedFluxResponse = listGenerationJobs(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Creates a data generation job. + * + * @param job The job to create. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job + * unconditionally. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return data Generation Job resource on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createGenerationJob(DataGenerationJob job, FoundryFeaturesOptInKeys foundryFeatures, + String operationId) { + // Generated convenience method for createGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (operationId != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); + } + return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); + } + + /** + * Creates a data generation job. + * + * @param job The job to create. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return data Generation Job resource on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createGenerationJob(DataGenerationJob job) { + // Generated convenience method for createGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); + } + + /** + * Cancels a data generation job. + * + * Cancels a data generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return data Generation Job resource on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cancelGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for cancelGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return cancelGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); + } + + /** + * Cancels a data generation job. + * + * Cancels a data generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return data Generation Job resource on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cancelGenerationJob(String jobId) { + // Generated convenience method for cancelGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cancelGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); + } + + /** + * Deletes a data generation job. + * + * Deletes a data generation job by its ID. + * + * @param jobId The ID of the job to delete. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for deleteGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return deleteGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Deletes a data generation job. + * + * Deletes a data generation job by its ID. + * + * @param jobId The ID of the job to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteGenerationJob(String jobId) { + // Generated convenience method for deleteGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return deleteGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java new file mode 100644 index 000000000000..0c924386dcba --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java @@ -0,0 +1,834 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects; + +import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.projects.implementation.DataGenerationJobsImpl; +import com.azure.ai.projects.models.DataGenerationJob; +import com.azure.ai.projects.models.DataGenerationJobScenario; +import com.azure.ai.projects.models.DataGenerationJobType; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpHeaderName; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.util.BinaryData; +import java.util.List; +import java.util.Objects; +import java.util.stream.Collectors; + +/** + * Initializes a new instance of the synchronous AIProjectClient type. + */ +@ServiceClient(builder = AIProjectClientBuilder.class) +public final class DataGenerationJobsClient { + @Generated + private final DataGenerationJobsImpl serviceClient; + + /** + * Initializes an instance of DataGenerationJobsClient class. + * + * @param serviceClient the service client implementation. + */ + @Generated + DataGenerationJobsClient(DataGenerationJobsImpl serviceClient) { + this.serviceClient = serviceClient; + } + + /** + * Get info about a data generation job. + * + * Gets the details of a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about a data generation job. + * + * Gets the details of a data generation job by its ID along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.getGenerationJobWithResponse(jobId, requestOptions); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: + * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form + * of "," separated string.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listGenerationJobs(RequestOptions requestOptions) { + return this.serviceClient.listGenerationJobs(requestOptions); + } + + /** + * Creates a data generation job. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return data Generation Job resource along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { + return this.serviceClient.createGenerationJobWithResponse(job, requestOptions); + } + + /** + * Cancels a data generation job. + * + * Cancels a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return data Generation Job resource along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.cancelGenerationJobWithResponse(jobId, requestOptions); + } + + /** + * Deletes a data generation job. + * + * Deletes a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.deleteGenerationJobWithResponse(jobId, requestOptions); + } + + /** + * Get info about a data generation job. + * + * Gets the details of a data generation job by its ID. + * + * @param jobId The ID of the job. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about a data generation job. + * + * Gets the details of a data generation job by its ID. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DataGenerationJob getGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(DataGenerationJob.class); + } + + /** + * Get info about a data generation job. + * + * Gets the details of a data generation job by its ID. + * + * @param jobId The ID of the job. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about a data generation job. + * + * Gets the details of a data generation job by its ID. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DataGenerationJob getGenerationJob(String jobId) { + // Generated convenience method for getGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(DataGenerationJob.class); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + * + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @param scenario Filter data generation jobs by their scenario. + * @param type Filter data generation jobs by their type. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, + PageOrder order, String after, String before, DataGenerationJobScenario scenario, + List type) { + // Generated convenience method for listGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + if (scenario != null) { + requestOptions.addQueryParam("scenario", scenario.toString(), false); + } + if (type != null) { + requestOptions.addQueryParam("type", + type.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + return serviceClient.listGenerationJobs(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(DataGenerationJob.class)); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listGenerationJobs() { + // Generated convenience method for listGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + return serviceClient.listGenerationJobs(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(DataGenerationJob.class)); + } + + /** + * Creates a data generation job. + * + * @param job The job to create. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job + * unconditionally. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return data Generation Job resource. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DataGenerationJob createGenerationJob(DataGenerationJob job, FoundryFeaturesOptInKeys foundryFeatures, + String operationId) { + // Generated convenience method for createGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (operationId != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); + } + return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue() + .toObject(DataGenerationJob.class); + } + + /** + * Creates a data generation job. + * + * @param job The job to create. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return data Generation Job resource. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DataGenerationJob createGenerationJob(DataGenerationJob job) { + // Generated convenience method for createGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue() + .toObject(DataGenerationJob.class); + } + + /** + * Cancels a data generation job. + * + * Cancels a data generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return data Generation Job resource. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DataGenerationJob cancelGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for cancelGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return cancelGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(DataGenerationJob.class); + } + + /** + * Cancels a data generation job. + * + * Cancels a data generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return data Generation Job resource. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DataGenerationJob cancelGenerationJob(String jobId) { + // Generated convenience method for cancelGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cancelGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(DataGenerationJob.class); + } + + /** + * Deletes a data generation job. + * + * Deletes a data generation job by its ID. + * + * @param jobId The ID of the job to delete. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for deleteGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + deleteGenerationJobWithResponse(jobId, requestOptions).getValue(); + } + + /** + * Deletes a data generation job. + * + * Deletes a data generation job by its ID. + * + * @param jobId The ID of the job to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteGenerationJob(String jobId) { + // Generated convenience method for deleteGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + deleteGenerationJobWithResponse(jobId, requestOptions).getValue(); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java index cbf878be2939..8cced7de37f4 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java @@ -111,7 +111,8 @@ public Mono> deleteEvaluationRuleWithResponse(String id, RequestO * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java index 22291790796d..9be8ad6e1445 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java @@ -105,7 +105,8 @@ public Response deleteEvaluationRuleWithResponse(String id, RequestOptions * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java new file mode 100644 index 000000000000..1be0950f3c69 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java @@ -0,0 +1,992 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects; + +import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.projects.implementation.EvaluatorGenerationJobsImpl; +import com.azure.ai.projects.models.EvaluatorCategory; +import com.azure.ai.projects.models.EvaluatorGenerationJob; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpHeaderName; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.util.BinaryData; +import com.azure.core.util.FluxUtil; +import java.util.stream.Collectors; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; + +/** + * Initializes a new instance of the asynchronous AIProjectClient type. + */ +@ServiceClient(builder = AIProjectClientBuilder.class, isAsync = true) +public final class EvaluatorGenerationJobsAsyncClient { + @Generated + private final EvaluatorGenerationJobsImpl serviceClient; + + /** + * Initializes an instance of EvaluatorGenerationJobsAsyncClient class. + * + * @param serviceClient the service client implementation. + */ + @Generated + EvaluatorGenerationJobsAsyncClient(EvaluatorGenerationJobsImpl serviceClient) { + this.serviceClient = serviceClient; + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { + return this.serviceClient.createGenerationJobWithResponseAsync(job, requestOptions); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.getGenerationJobWithResponseAsync(jobId, requestOptions); + } + + /** + * Returns a list of evaluator generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: + * "quality", "safety", "agents".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listGenerationJobs(RequestOptions requestOptions) { + return this.serviceClient.listGenerationJobsAsync(requestOptions); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.cancelGenerationJobWithResponseAsync(jobId, requestOptions); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.deleteGenerationJobWithResponseAsync(jobId, requestOptions); + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + * + * @param job The job to create. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job + * unconditionally. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createGenerationJob(EvaluatorGenerationJob job, + FoundryFeaturesOptInKeys foundryFeatures, String operationId) { + // Generated convenience method for createGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (operationId != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); + } + return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + * + * @param job The job to create. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createGenerationJob(EvaluatorGenerationJob job) { + // Generated convenience method for createGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + * + * @param jobId The ID of the job. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + * + * @param jobId The ID of the job. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getGenerationJob(String jobId) { + // Generated convenience method for getGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Returns a list of evaluator generation jobs. + * + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @param category Filter evaluator generation jobs by category. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, + PageOrder order, String after, String before, EvaluatorCategory category) { + // Generated convenience method for listGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + if (category != null) { + requestOptions.addQueryParam("category", category.toString(), false); + } + PagedFlux pagedFluxResponse = listGenerationJobs(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux + .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Returns a list of evaluator generation jobs. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listGenerationJobs() { + // Generated convenience method for listGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + PagedFlux pagedFluxResponse = listGenerationJobs(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux + .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cancelGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for cancelGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return cancelGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cancelGenerationJob(String jobId) { + // Generated convenience method for cancelGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cancelGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + * + * @param jobId The ID of the job to delete. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for deleteGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return deleteGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + * + * @param jobId The ID of the job to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteGenerationJob(String jobId) { + // Generated convenience method for deleteGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return deleteGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java new file mode 100644 index 000000000000..d44eeee44b22 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java @@ -0,0 +1,955 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects; + +import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.projects.implementation.EvaluatorGenerationJobsImpl; +import com.azure.ai.projects.models.EvaluatorCategory; +import com.azure.ai.projects.models.EvaluatorGenerationJob; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpHeaderName; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.util.BinaryData; + +/** + * Initializes a new instance of the synchronous AIProjectClient type. + */ +@ServiceClient(builder = AIProjectClientBuilder.class) +public final class EvaluatorGenerationJobsClient { + @Generated + private final EvaluatorGenerationJobsImpl serviceClient; + + /** + * Initializes an instance of EvaluatorGenerationJobsClient class. + * + * @param serviceClient the service client implementation. + */ + @Generated + EvaluatorGenerationJobsClient(EvaluatorGenerationJobsImpl serviceClient) { + this.serviceClient = serviceClient; + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { + return this.serviceClient.createGenerationJobWithResponse(job, requestOptions); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.getGenerationJobWithResponse(jobId, requestOptions); + } + + /** + * Returns a list of evaluator generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: + * "quality", "safety", "agents".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listGenerationJobs(RequestOptions requestOptions) { + return this.serviceClient.listGenerationJobs(requestOptions); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.cancelGenerationJobWithResponse(jobId, requestOptions); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.deleteGenerationJobWithResponse(jobId, requestOptions); + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + * + * @param job The job to create. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job + * unconditionally. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public EvaluatorGenerationJob createGenerationJob(EvaluatorGenerationJob job, + FoundryFeaturesOptInKeys foundryFeatures, String operationId) { + // Generated convenience method for createGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (operationId != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); + } + return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue() + .toObject(EvaluatorGenerationJob.class); + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + * + * @param job The job to create. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public EvaluatorGenerationJob createGenerationJob(EvaluatorGenerationJob job) { + // Generated convenience method for createGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue() + .toObject(EvaluatorGenerationJob.class); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + * + * @param jobId The ID of the job. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public EvaluatorGenerationJob getGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(EvaluatorGenerationJob.class); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + * + * @param jobId The ID of the job. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public EvaluatorGenerationJob getGenerationJob(String jobId) { + // Generated convenience method for getGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(EvaluatorGenerationJob.class); + } + + /** + * Returns a list of evaluator generation jobs. + * + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @param category Filter evaluator generation jobs by category. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, + Integer limit, PageOrder order, String after, String before, EvaluatorCategory category) { + // Generated convenience method for listGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + if (category != null) { + requestOptions.addQueryParam("category", category.toString(), false); + } + return serviceClient.listGenerationJobs(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Returns a list of evaluator generation jobs. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listGenerationJobs() { + // Generated convenience method for listGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + return serviceClient.listGenerationJobs(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public EvaluatorGenerationJob cancelGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for cancelGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return cancelGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(EvaluatorGenerationJob.class); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public EvaluatorGenerationJob cancelGenerationJob(String jobId) { + // Generated convenience method for cancelGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cancelGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(EvaluatorGenerationJob.class); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + * + * @param jobId The ID of the job to delete. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for deleteGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + deleteGenerationJobWithResponse(jobId, requestOptions).getValue(); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + * + * @param jobId The ID of the job to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteGenerationJob(String jobId) { + // Generated convenience method for deleteGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + deleteGenerationJobWithResponse(jobId, requestOptions).getValue(); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java index e10d08ca3193..fb3601fcefff 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java @@ -4,8 +4,13 @@ package com.azure.ai.projects; import com.azure.ai.projects.implementation.EvaluatorsImpl; +import com.azure.ai.projects.models.DatasetCredential; +import com.azure.ai.projects.models.EvaluatorCredentialRequest; import com.azure.ai.projects.models.EvaluatorVersion; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; import com.azure.ai.projects.models.ListVersionsRequestType; +import com.azure.ai.projects.models.PendingUploadRequest; +import com.azure.ai.projects.models.PendingUploadResponse; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; @@ -14,6 +19,7 @@ import com.azure.core.exception.HttpResponseException; import com.azure.core.exception.ResourceModifiedException; import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpHeaderName; import com.azure.core.http.rest.PagedFlux; import com.azure.core.http.rest.PagedResponse; import com.azure.core.http.rest.PagedResponseBase; @@ -70,7 +76,7 @@ public final class EvaluatorsAsyncClient { * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -88,6 +94,15 @@ public final class EvaluatorsAsyncClient { * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -142,7 +157,7 @@ public PagedFlux listEvaluatorVersions(String name, RequestOptions r * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -160,6 +175,15 @@ public PagedFlux listEvaluatorVersions(String name, RequestOptions r * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -204,7 +228,7 @@ public PagedFlux listLatestEvaluatorVersions(RequestOptions requestO * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -222,6 +246,15 @@ public PagedFlux listLatestEvaluatorVersions(RequestOptions requestO * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -289,7 +322,7 @@ public Mono> deleteEvaluatorVersionWithResponse(String name, Stri * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -307,6 +340,15 @@ public Mono> deleteEvaluatorVersionWithResponse(String name, Stri * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -335,7 +377,7 @@ public Mono> deleteEvaluatorVersionWithResponse(String name, Stri * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -353,6 +395,15 @@ public Mono> deleteEvaluatorVersionWithResponse(String name, Stri * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -399,7 +450,7 @@ public Mono> createEvaluatorVersionWithResponse(String name * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -417,6 +468,15 @@ public Mono> createEvaluatorVersionWithResponse(String name * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -445,7 +505,7 @@ public Mono> createEvaluatorVersionWithResponse(String name * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -463,6 +523,15 @@ public Mono> createEvaluatorVersionWithResponse(String name * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -730,4 +799,238 @@ public Mono updateEvaluatorVersion(String name, String version requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorVersion.class)); } + + /** + * Start a new or get an existing pending upload of an evaluator for a specific version. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     pendingUploadId: String (Optional)
+     *     connectionName: String (Optional)
+     *     pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobReference (Required): {
+     *         blobUri: String (Required)
+     *         storageAccountArmId: String (Required)
+     *         credential (Required): {
+     *             sasUri: String (Required)
+     *             type: String(ApiKey/AAD/SAS/CustomKeys/None/AgenticIdentityToken_Preview) (Required)
+     *         }
+     *     }
+     *     pendingUploadId: String (Required)
+     *     version: String (Optional)
+     *     pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param pendingUploadRequest The pending upload request parameters. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represents the response for a pending upload request along with {@link Response} on successful completion + * of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> startPendingUploadWithResponse(String name, String version, + BinaryData pendingUploadRequest, RequestOptions requestOptions) { + return this.serviceClient.startPendingUploadWithResponseAsync(name, version, pendingUploadRequest, + requestOptions); + } + + /** + * Get the SAS credential to access the storage account associated with an Evaluator version. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     blob_uri: String (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobReference (Required): {
+     *         blobUri: String (Required)
+     *         storageAccountArmId: String (Required)
+     *         credential (Required): {
+     *             sasUri: String (Required)
+     *             type: String(ApiKey/AAD/SAS/CustomKeys/None/AgenticIdentityToken_Preview) (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param credentialRequest The credential request parameters. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the SAS credential to access the storage account associated with an Evaluator version along with + * {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCredentialsWithResponse(String name, String version, + BinaryData credentialRequest, RequestOptions requestOptions) { + return this.serviceClient.getCredentialsWithResponseAsync(name, version, credentialRequest, requestOptions); + } + + /** + * Start a new or get an existing pending upload of an evaluator for a specific version. + * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param pendingUploadRequest The pending upload request parameters. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents the response for a pending upload request on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono startPendingUpload(String name, String version, + PendingUploadRequest pendingUploadRequest, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for startPendingUploadWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return startPendingUploadWithResponse(name, version, BinaryData.fromObject(pendingUploadRequest), + requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(PendingUploadResponse.class)); + } + + /** + * Start a new or get an existing pending upload of an evaluator for a specific version. + * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param pendingUploadRequest The pending upload request parameters. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents the response for a pending upload request on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono startPendingUpload(String name, String version, + PendingUploadRequest pendingUploadRequest) { + // Generated convenience method for startPendingUploadWithResponse + RequestOptions requestOptions = new RequestOptions(); + return startPendingUploadWithResponse(name, version, BinaryData.fromObject(pendingUploadRequest), + requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(PendingUploadResponse.class)); + } + + /** + * Get the SAS credential to access the storage account associated with an Evaluator version. + * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param credentialRequest The credential request parameters. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the SAS credential to access the storage account associated with an Evaluator version on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCredentials(String name, String version, + EvaluatorCredentialRequest credentialRequest, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getCredentialsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getCredentialsWithResponse(name, version, BinaryData.fromObject(credentialRequest), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DatasetCredential.class)); + } + + /** + * Get the SAS credential to access the storage account associated with an Evaluator version. + * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param credentialRequest The credential request parameters. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the SAS credential to access the storage account associated with an Evaluator version on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCredentials(String name, String version, + EvaluatorCredentialRequest credentialRequest) { + // Generated convenience method for getCredentialsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCredentialsWithResponse(name, version, BinaryData.fromObject(credentialRequest), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DatasetCredential.class)); + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java index d2f2dab0ec23..319c85549242 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java @@ -4,8 +4,13 @@ package com.azure.ai.projects; import com.azure.ai.projects.implementation.EvaluatorsImpl; +import com.azure.ai.projects.models.DatasetCredential; +import com.azure.ai.projects.models.EvaluatorCredentialRequest; import com.azure.ai.projects.models.EvaluatorVersion; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; import com.azure.ai.projects.models.ListVersionsRequestType; +import com.azure.ai.projects.models.PendingUploadRequest; +import com.azure.ai.projects.models.PendingUploadResponse; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; @@ -14,6 +19,7 @@ import com.azure.core.exception.HttpResponseException; import com.azure.core.exception.ResourceModifiedException; import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpHeaderName; import com.azure.core.http.rest.PagedIterable; import com.azure.core.http.rest.RequestOptions; import com.azure.core.http.rest.Response; @@ -64,7 +70,7 @@ public final class EvaluatorsClient { * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -82,6 +88,15 @@ public final class EvaluatorsClient { * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -136,7 +151,7 @@ public PagedIterable listEvaluatorVersions(String name, RequestOptio * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -154,6 +169,15 @@ public PagedIterable listEvaluatorVersions(String name, RequestOptio * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -198,7 +222,7 @@ public PagedIterable listLatestEvaluatorVersions(RequestOptions requ * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -216,6 +240,15 @@ public PagedIterable listLatestEvaluatorVersions(RequestOptions requ * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -282,7 +315,7 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -300,6 +333,15 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -328,7 +370,7 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -346,6 +388,15 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -392,7 +443,7 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -410,6 +461,15 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -438,7 +498,7 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -456,6 +516,15 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -676,4 +745,231 @@ public EvaluatorVersion updateEvaluatorVersion(String name, String version, Eval return updateEvaluatorVersionWithResponse(name, version, BinaryData.fromObject(evaluatorVersion), requestOptions).getValue().toObject(EvaluatorVersion.class); } + + /** + * Start a new or get an existing pending upload of an evaluator for a specific version. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     pendingUploadId: String (Optional)
+     *     connectionName: String (Optional)
+     *     pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobReference (Required): {
+     *         blobUri: String (Required)
+     *         storageAccountArmId: String (Required)
+     *         credential (Required): {
+     *             sasUri: String (Required)
+     *             type: String(ApiKey/AAD/SAS/CustomKeys/None/AgenticIdentityToken_Preview) (Required)
+     *         }
+     *     }
+     *     pendingUploadId: String (Required)
+     *     version: String (Optional)
+     *     pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param pendingUploadRequest The pending upload request parameters. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represents the response for a pending upload request along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response startPendingUploadWithResponse(String name, String version, + BinaryData pendingUploadRequest, RequestOptions requestOptions) { + return this.serviceClient.startPendingUploadWithResponse(name, version, pendingUploadRequest, requestOptions); + } + + /** + * Get the SAS credential to access the storage account associated with an Evaluator version. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     blob_uri: String (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobReference (Required): {
+     *         blobUri: String (Required)
+     *         storageAccountArmId: String (Required)
+     *         credential (Required): {
+     *             sasUri: String (Required)
+     *             type: String(ApiKey/AAD/SAS/CustomKeys/None/AgenticIdentityToken_Preview) (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param credentialRequest The credential request parameters. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the SAS credential to access the storage account associated with an Evaluator version along with + * {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCredentialsWithResponse(String name, String version, BinaryData credentialRequest, + RequestOptions requestOptions) { + return this.serviceClient.getCredentialsWithResponse(name, version, credentialRequest, requestOptions); + } + + /** + * Start a new or get an existing pending upload of an evaluator for a specific version. + * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param pendingUploadRequest The pending upload request parameters. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents the response for a pending upload request. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public PendingUploadResponse startPendingUpload(String name, String version, + PendingUploadRequest pendingUploadRequest, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for startPendingUploadWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return startPendingUploadWithResponse(name, version, BinaryData.fromObject(pendingUploadRequest), + requestOptions).getValue().toObject(PendingUploadResponse.class); + } + + /** + * Start a new or get an existing pending upload of an evaluator for a specific version. + * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param pendingUploadRequest The pending upload request parameters. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents the response for a pending upload request. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public PendingUploadResponse startPendingUpload(String name, String version, + PendingUploadRequest pendingUploadRequest) { + // Generated convenience method for startPendingUploadWithResponse + RequestOptions requestOptions = new RequestOptions(); + return startPendingUploadWithResponse(name, version, BinaryData.fromObject(pendingUploadRequest), + requestOptions).getValue().toObject(PendingUploadResponse.class); + } + + /** + * Get the SAS credential to access the storage account associated with an Evaluator version. + * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param credentialRequest The credential request parameters. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the SAS credential to access the storage account associated with an Evaluator version. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DatasetCredential getCredentials(String name, String version, EvaluatorCredentialRequest credentialRequest, + FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getCredentialsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getCredentialsWithResponse(name, version, BinaryData.fromObject(credentialRequest), requestOptions) + .getValue() + .toObject(DatasetCredential.class); + } + + /** + * Get the SAS credential to access the storage account associated with an Evaluator version. + * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param credentialRequest The credential request parameters. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the SAS credential to access the storage account associated with an Evaluator version. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DatasetCredential getCredentials(String name, String version, EvaluatorCredentialRequest credentialRequest) { + // Generated convenience method for getCredentialsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCredentialsWithResponse(name, version, BinaryData.fromObject(credentialRequest), requestOptions) + .getValue() + .toObject(DatasetCredential.class); + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java index 52a3f3e6fcb0..b13854e1452f 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java @@ -55,7 +55,8 @@ public final class InsightsAsyncClient { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -137,7 +138,8 @@ public Mono> generateInsightWithResponse(BinaryData insight * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -198,7 +200,8 @@ public Mono> getInsightWithResponse(String id, RequestOptio * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java index db1dd1dcfd7b..970636a976f9 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java @@ -49,7 +49,8 @@ public final class InsightsClient { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -130,7 +131,8 @@ public Response generateInsightWithResponse(BinaryData insight, Requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -191,7 +193,8 @@ public Response getInsightWithResponse(String id, RequestOptions req * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java new file mode 100644 index 000000000000..f1c6aee1ba38 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java @@ -0,0 +1,992 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects; + +import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.projects.implementation.RoutinesImpl; +import com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest; +import com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest; +import com.azure.ai.projects.models.DispatchRoutineResponse; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; +import com.azure.ai.projects.models.Routine; +import com.azure.ai.projects.models.RoutineAction; +import com.azure.ai.projects.models.RoutineDispatchPayload; +import com.azure.ai.projects.models.RoutineRun; +import com.azure.ai.projects.models.RoutineTrigger; +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpHeaderName; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.util.BinaryData; +import com.azure.core.util.FluxUtil; +import java.util.Map; +import java.util.stream.Collectors; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; + +/** + * Initializes a new instance of the asynchronous AIProjectClient type. + */ +@ServiceClient(builder = AIProjectClientBuilder.class, isAsync = true) +public final class RoutinesAsyncClient { + @Generated + private final RoutinesImpl serviceClient; + + /** + * Initializes an instance of RoutinesAsyncClient class. + * + * @param serviceClient the service client implementation. + */ + @Generated + RoutinesAsyncClient(RoutinesImpl serviceClient) { + this.serviceClient = serviceClient; + } + + /** + * Create or update a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     description: String (Optional)
+     *     enabled: Boolean (Optional)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param createOrUpdateRoutineRequest The createOrUpdateRoutineRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a routine definition returned by the service along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createOrUpdateRoutineWithResponse(String routineName, + BinaryData createOrUpdateRoutineRequest, RequestOptions requestOptions) { + return this.serviceClient.createOrUpdateRoutineWithResponseAsync(routineName, createOrUpdateRoutineRequest, + requestOptions); + } + + /** + * Retrieve a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a routine definition returned by the service along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getRoutineWithResponse(String routineName, RequestOptions requestOptions) { + return this.serviceClient.getRoutineWithResponseAsync(routineName, requestOptions); + } + + /** + * Enable a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a routine definition returned by the service along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> enableRoutineWithResponse(String routineName, RequestOptions requestOptions) { + return this.serviceClient.enableRoutineWithResponseAsync(routineName, requestOptions); + } + + /** + * Disable a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a routine definition returned by the service along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> disableRoutineWithResponse(String routineName, RequestOptions requestOptions) { + return this.serviceClient.disableRoutineWithResponseAsync(routineName, requestOptions); + } + + /** + * List routines. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listRoutines(RequestOptions requestOptions) { + return this.serviceClient.listRoutinesAsync(requestOptions); + } + + /** + * Delete a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteRoutineWithResponse(String routineName, RequestOptions requestOptions) { + return this.serviceClient.deleteRoutineWithResponseAsync(routineName, requestOptions); + } + + /** + * List prior runs for a routine. + *

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
filterStringNoAn optional MLflow search-runs filter expression applied within + * the routine's experiment.
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     status: String (Required)
+     *     phase: String(queued/dispatching/completed/failed) (Optional)
+     *     trigger_type: String(github_issue_opened/schedule/timer) (Required)
+     *     attempt_source: String(event_fire/manual_dispatch/queued_dispatch/schedule_delivery/timer_delivery) (Optional)
+     *     action_type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Optional)
+     *     triggered_at: Long (Optional)
+     *     started_at: long (Required)
+     *     ended_at: Long (Optional)
+     *     dispatch_id: String (Optional)
+     *     action_correlation_id: String (Optional)
+     *     response_id: String (Optional)
+     *     task_id: String (Optional)
+     *     error_type: String (Optional)
+     *     error_message: String (Optional)
+     *     diagnostics (Optional): {
+     *         parameters (Required): {
+     *             String: String (Required)
+     *         }
+     *         tags (Required): {
+     *             String: String (Required)
+     *         }
+     *         metrics (Required): {
+     *             String: double (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listRoutineRuns(String routineName, RequestOptions requestOptions) { + return this.serviceClient.listRoutineRunsAsync(routineName, requestOptions); + } + + /** + * Queue an asynchronous routine dispatch. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     payload (Optional): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     dispatch_id: String (Optional)
+     *     action_correlation_id: String (Optional)
+     *     task_id: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param dispatchRoutineAsyncRequest The dispatchRoutineAsyncRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return identifiers returned after a routine dispatch is queued along with {@link Response} on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> dispatchRoutineAsyncWithResponse(String routineName, + BinaryData dispatchRoutineAsyncRequest, RequestOptions requestOptions) { + return this.serviceClient.dispatchRoutineAsyncWithResponseAsync(routineName, dispatchRoutineAsyncRequest, + requestOptions); + } + + /** + * Create or update a routine. + * + * @param routineName The unique name of the routine. + * @param triggers The triggers configured for the routine. In v1, exactly one trigger entry is supported. + * @param action The action executed when the routine fires. + * @param description A human-readable description of the routine. + * @param enabled Whether the routine is enabled. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a routine definition returned by the service on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createOrUpdateRoutine(String routineName, Map triggers, + RoutineAction action, String description, Boolean enabled) { + // Generated convenience method for createOrUpdateRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + CreateOrUpdateRoutineRequest createOrUpdateRoutineRequestObj + = new CreateOrUpdateRoutineRequest(triggers, action).setDescription(description).setEnabled(enabled); + BinaryData createOrUpdateRoutineRequest = BinaryData.fromObject(createOrUpdateRoutineRequestObj); + return createOrUpdateRoutineWithResponse(routineName, createOrUpdateRoutineRequest, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(Routine.class)); + } + + /** + * Create or update a routine. + * + * @param routineName The unique name of the routine. + * @param triggers The triggers configured for the routine. In v1, exactly one trigger entry is supported. + * @param action The action executed when the routine fires. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a routine definition returned by the service on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createOrUpdateRoutine(String routineName, Map triggers, + RoutineAction action) { + // Generated convenience method for createOrUpdateRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + CreateOrUpdateRoutineRequest createOrUpdateRoutineRequestObj + = new CreateOrUpdateRoutineRequest(triggers, action); + BinaryData createOrUpdateRoutineRequest = BinaryData.fromObject(createOrUpdateRoutineRequestObj); + return createOrUpdateRoutineWithResponse(routineName, createOrUpdateRoutineRequest, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(Routine.class)); + } + + /** + * Retrieve a routine. + * + * @param routineName The unique name of the routine. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a routine definition returned by the service on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getRoutine(String routineName, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getRoutineWithResponse(routineName, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(Routine.class)); + } + + /** + * Retrieve a routine. + * + * @param routineName The unique name of the routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a routine definition returned by the service on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getRoutine(String routineName) { + // Generated convenience method for getRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getRoutineWithResponse(routineName, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(Routine.class)); + } + + /** + * Enable a routine. + * + * @param routineName The unique name of the routine. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a routine definition returned by the service on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono enableRoutine(String routineName, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for enableRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return enableRoutineWithResponse(routineName, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(Routine.class)); + } + + /** + * Enable a routine. + * + * @param routineName The unique name of the routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a routine definition returned by the service on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono enableRoutine(String routineName) { + // Generated convenience method for enableRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + return enableRoutineWithResponse(routineName, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(Routine.class)); + } + + /** + * Disable a routine. + * + * @param routineName The unique name of the routine. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a routine definition returned by the service on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono disableRoutine(String routineName, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for disableRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return disableRoutineWithResponse(routineName, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(Routine.class)); + } + + /** + * Disable a routine. + * + * @param routineName The unique name of the routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a routine definition returned by the service on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono disableRoutine(String routineName) { + // Generated convenience method for disableRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + return disableRoutineWithResponse(routineName, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(Routine.class)); + } + + /** + * List routines. + * + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listRoutines(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, PageOrder order, + String after, String before) { + // Generated convenience method for listRoutines + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + PagedFlux pagedFluxResponse = listRoutines(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(Routine.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * List routines. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listRoutines() { + // Generated convenience method for listRoutines + RequestOptions requestOptions = new RequestOptions(); + PagedFlux pagedFluxResponse = listRoutines(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(Routine.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Delete a routine. + * + * @param routineName The unique name of the routine. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteRoutine(String routineName, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for deleteRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return deleteRoutineWithResponse(routineName, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Delete a routine. + * + * @param routineName The unique name of the routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteRoutine(String routineName) { + // Generated convenience method for deleteRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + return deleteRoutineWithResponse(routineName, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * List prior runs for a routine. + * + * @param routineName The unique name of the routine. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param filter An optional MLflow search-runs filter expression applied within the routine's experiment. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listRoutineRuns(String routineName, FoundryFeaturesOptInKeys foundryFeatures, + String filter, Integer limit, PageOrder order, String after, String before) { + // Generated convenience method for listRoutineRuns + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (filter != null) { + requestOptions.addQueryParam("filter", filter, false); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + PagedFlux pagedFluxResponse = listRoutineRuns(routineName, requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(RoutineRun.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * List prior runs for a routine. + * + * @param routineName The unique name of the routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listRoutineRuns(String routineName) { + // Generated convenience method for listRoutineRuns + RequestOptions requestOptions = new RequestOptions(); + PagedFlux pagedFluxResponse = listRoutineRuns(routineName, requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(RoutineRun.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Queue an asynchronous routine dispatch. + * + * @param routineName The unique name of the routine. + * @param payload A direct action-input override sent downstream when testing a routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return identifiers returned after a routine dispatch is queued on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono dispatchRoutineAsync(String routineName, RoutineDispatchPayload payload) { + // Generated convenience method for dispatchRoutineAsyncWithResponse + RequestOptions requestOptions = new RequestOptions(); + DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj + = new DispatchRoutineAsyncRequest().setPayload(payload); + BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); + return dispatchRoutineAsyncWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DispatchRoutineResponse.class)); + } + + /** + * Queue an asynchronous routine dispatch. + * + * @param routineName The unique name of the routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return identifiers returned after a routine dispatch is queued on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono dispatchRoutineAsync(String routineName) { + // Generated convenience method for dispatchRoutineAsyncWithResponse + RequestOptions requestOptions = new RequestOptions(); + DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj = new DispatchRoutineAsyncRequest(); + BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); + return dispatchRoutineAsyncWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DispatchRoutineResponse.class)); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java new file mode 100644 index 000000000000..24a808c05390 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java @@ -0,0 +1,925 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects; + +import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.projects.implementation.RoutinesImpl; +import com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest; +import com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest; +import com.azure.ai.projects.models.DispatchRoutineResponse; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; +import com.azure.ai.projects.models.Routine; +import com.azure.ai.projects.models.RoutineAction; +import com.azure.ai.projects.models.RoutineDispatchPayload; +import com.azure.ai.projects.models.RoutineRun; +import com.azure.ai.projects.models.RoutineTrigger; +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpHeaderName; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.util.BinaryData; +import java.util.Map; + +/** + * Initializes a new instance of the synchronous AIProjectClient type. + */ +@ServiceClient(builder = AIProjectClientBuilder.class) +public final class RoutinesClient { + @Generated + private final RoutinesImpl serviceClient; + + /** + * Initializes an instance of RoutinesClient class. + * + * @param serviceClient the service client implementation. + */ + @Generated + RoutinesClient(RoutinesImpl serviceClient) { + this.serviceClient = serviceClient; + } + + /** + * Create or update a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     description: String (Optional)
+     *     enabled: Boolean (Optional)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param createOrUpdateRoutineRequest The createOrUpdateRoutineRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a routine definition returned by the service along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createOrUpdateRoutineWithResponse(String routineName, + BinaryData createOrUpdateRoutineRequest, RequestOptions requestOptions) { + return this.serviceClient.createOrUpdateRoutineWithResponse(routineName, createOrUpdateRoutineRequest, + requestOptions); + } + + /** + * Retrieve a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a routine definition returned by the service along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getRoutineWithResponse(String routineName, RequestOptions requestOptions) { + return this.serviceClient.getRoutineWithResponse(routineName, requestOptions); + } + + /** + * Enable a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a routine definition returned by the service along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response enableRoutineWithResponse(String routineName, RequestOptions requestOptions) { + return this.serviceClient.enableRoutineWithResponse(routineName, requestOptions); + } + + /** + * Disable a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a routine definition returned by the service along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response disableRoutineWithResponse(String routineName, RequestOptions requestOptions) { + return this.serviceClient.disableRoutineWithResponse(routineName, requestOptions); + } + + /** + * List routines. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listRoutines(RequestOptions requestOptions) { + return this.serviceClient.listRoutines(requestOptions); + } + + /** + * Delete a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteRoutineWithResponse(String routineName, RequestOptions requestOptions) { + return this.serviceClient.deleteRoutineWithResponse(routineName, requestOptions); + } + + /** + * List prior runs for a routine. + *

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
filterStringNoAn optional MLflow search-runs filter expression applied within + * the routine's experiment.
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     status: String (Required)
+     *     phase: String(queued/dispatching/completed/failed) (Optional)
+     *     trigger_type: String(github_issue_opened/schedule/timer) (Required)
+     *     attempt_source: String(event_fire/manual_dispatch/queued_dispatch/schedule_delivery/timer_delivery) (Optional)
+     *     action_type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Optional)
+     *     triggered_at: Long (Optional)
+     *     started_at: long (Required)
+     *     ended_at: Long (Optional)
+     *     dispatch_id: String (Optional)
+     *     action_correlation_id: String (Optional)
+     *     response_id: String (Optional)
+     *     task_id: String (Optional)
+     *     error_type: String (Optional)
+     *     error_message: String (Optional)
+     *     diagnostics (Optional): {
+     *         parameters (Required): {
+     *             String: String (Required)
+     *         }
+     *         tags (Required): {
+     *             String: String (Required)
+     *         }
+     *         metrics (Required): {
+     *             String: double (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listRoutineRuns(String routineName, RequestOptions requestOptions) { + return this.serviceClient.listRoutineRuns(routineName, requestOptions); + } + + /** + * Queue an asynchronous routine dispatch. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     payload (Optional): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     dispatch_id: String (Optional)
+     *     action_correlation_id: String (Optional)
+     *     task_id: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param dispatchRoutineAsyncRequest The dispatchRoutineAsyncRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return identifiers returned after a routine dispatch is queued along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response dispatchRoutineAsyncWithResponse(String routineName, + BinaryData dispatchRoutineAsyncRequest, RequestOptions requestOptions) { + return this.serviceClient.dispatchRoutineAsyncWithResponse(routineName, dispatchRoutineAsyncRequest, + requestOptions); + } + + /** + * Create or update a routine. + * + * @param routineName The unique name of the routine. + * @param triggers The triggers configured for the routine. In v1, exactly one trigger entry is supported. + * @param action The action executed when the routine fires. + * @param description A human-readable description of the routine. + * @param enabled Whether the routine is enabled. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a routine definition returned by the service. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Routine createOrUpdateRoutine(String routineName, Map triggers, RoutineAction action, + String description, Boolean enabled) { + // Generated convenience method for createOrUpdateRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + CreateOrUpdateRoutineRequest createOrUpdateRoutineRequestObj + = new CreateOrUpdateRoutineRequest(triggers, action).setDescription(description).setEnabled(enabled); + BinaryData createOrUpdateRoutineRequest = BinaryData.fromObject(createOrUpdateRoutineRequestObj); + return createOrUpdateRoutineWithResponse(routineName, createOrUpdateRoutineRequest, requestOptions).getValue() + .toObject(Routine.class); + } + + /** + * Create or update a routine. + * + * @param routineName The unique name of the routine. + * @param triggers The triggers configured for the routine. In v1, exactly one trigger entry is supported. + * @param action The action executed when the routine fires. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a routine definition returned by the service. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Routine createOrUpdateRoutine(String routineName, Map triggers, + RoutineAction action) { + // Generated convenience method for createOrUpdateRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + CreateOrUpdateRoutineRequest createOrUpdateRoutineRequestObj + = new CreateOrUpdateRoutineRequest(triggers, action); + BinaryData createOrUpdateRoutineRequest = BinaryData.fromObject(createOrUpdateRoutineRequestObj); + return createOrUpdateRoutineWithResponse(routineName, createOrUpdateRoutineRequest, requestOptions).getValue() + .toObject(Routine.class); + } + + /** + * Retrieve a routine. + * + * @param routineName The unique name of the routine. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a routine definition returned by the service. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Routine getRoutine(String routineName, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getRoutineWithResponse(routineName, requestOptions).getValue().toObject(Routine.class); + } + + /** + * Retrieve a routine. + * + * @param routineName The unique name of the routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a routine definition returned by the service. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Routine getRoutine(String routineName) { + // Generated convenience method for getRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getRoutineWithResponse(routineName, requestOptions).getValue().toObject(Routine.class); + } + + /** + * Enable a routine. + * + * @param routineName The unique name of the routine. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a routine definition returned by the service. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Routine enableRoutine(String routineName, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for enableRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return enableRoutineWithResponse(routineName, requestOptions).getValue().toObject(Routine.class); + } + + /** + * Enable a routine. + * + * @param routineName The unique name of the routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a routine definition returned by the service. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Routine enableRoutine(String routineName) { + // Generated convenience method for enableRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + return enableRoutineWithResponse(routineName, requestOptions).getValue().toObject(Routine.class); + } + + /** + * Disable a routine. + * + * @param routineName The unique name of the routine. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a routine definition returned by the service. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Routine disableRoutine(String routineName, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for disableRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return disableRoutineWithResponse(routineName, requestOptions).getValue().toObject(Routine.class); + } + + /** + * Disable a routine. + * + * @param routineName The unique name of the routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a routine definition returned by the service. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Routine disableRoutine(String routineName) { + // Generated convenience method for disableRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + return disableRoutineWithResponse(routineName, requestOptions).getValue().toObject(Routine.class); + } + + /** + * List routines. + * + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listRoutines(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, PageOrder order, + String after, String before) { + // Generated convenience method for listRoutines + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + return serviceClient.listRoutines(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(Routine.class)); + } + + /** + * List routines. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listRoutines() { + // Generated convenience method for listRoutines + RequestOptions requestOptions = new RequestOptions(); + return serviceClient.listRoutines(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(Routine.class)); + } + + /** + * Delete a routine. + * + * @param routineName The unique name of the routine. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteRoutine(String routineName, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for deleteRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + deleteRoutineWithResponse(routineName, requestOptions).getValue(); + } + + /** + * Delete a routine. + * + * @param routineName The unique name of the routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteRoutine(String routineName) { + // Generated convenience method for deleteRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + deleteRoutineWithResponse(routineName, requestOptions).getValue(); + } + + /** + * List prior runs for a routine. + * + * @param routineName The unique name of the routine. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param filter An optional MLflow search-runs filter expression applied within the routine's experiment. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listRoutineRuns(String routineName, FoundryFeaturesOptInKeys foundryFeatures, + String filter, Integer limit, PageOrder order, String after, String before) { + // Generated convenience method for listRoutineRuns + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (filter != null) { + requestOptions.addQueryParam("filter", filter, false); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + return serviceClient.listRoutineRuns(routineName, requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(RoutineRun.class)); + } + + /** + * List prior runs for a routine. + * + * @param routineName The unique name of the routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listRoutineRuns(String routineName) { + // Generated convenience method for listRoutineRuns + RequestOptions requestOptions = new RequestOptions(); + return serviceClient.listRoutineRuns(routineName, requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(RoutineRun.class)); + } + + /** + * Queue an asynchronous routine dispatch. + * + * @param routineName The unique name of the routine. + * @param payload A direct action-input override sent downstream when testing a routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return identifiers returned after a routine dispatch is queued. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DispatchRoutineResponse dispatchRoutineAsync(String routineName, RoutineDispatchPayload payload) { + // Generated convenience method for dispatchRoutineAsyncWithResponse + RequestOptions requestOptions = new RequestOptions(); + DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj + = new DispatchRoutineAsyncRequest().setPayload(payload); + BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); + return dispatchRoutineAsyncWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions).getValue() + .toObject(DispatchRoutineResponse.class); + } + + /** + * Queue an asynchronous routine dispatch. + * + * @param routineName The unique name of the routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return identifiers returned after a routine dispatch is queued. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DispatchRoutineResponse dispatchRoutineAsync(String routineName) { + // Generated convenience method for dispatchRoutineAsyncWithResponse + RequestOptions requestOptions = new RequestOptions(); + DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj = new DispatchRoutineAsyncRequest(); + BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); + return dispatchRoutineAsyncWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions).getValue() + .toObject(DispatchRoutineResponse.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java index bf50643e568b..9340100e02f1 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java @@ -206,6 +206,20 @@ public EvaluatorsImpl getEvaluators() { return this.evaluators; } + /** + * The EvaluatorGenerationJobsImpl object to access its operations. + */ + private final EvaluatorGenerationJobsImpl evaluatorGenerationJobs; + + /** + * Gets the EvaluatorGenerationJobsImpl object to access its operations. + * + * @return the EvaluatorGenerationJobsImpl object. + */ + public EvaluatorGenerationJobsImpl getEvaluatorGenerationJobs() { + return this.evaluatorGenerationJobs; + } + /** * The InsightsImpl object to access its operations. */ @@ -234,6 +248,20 @@ public SchedulesImpl getSchedules() { return this.schedules; } + /** + * The RoutinesImpl object to access its operations. + */ + private final RoutinesImpl routines; + + /** + * Gets the RoutinesImpl object to access its operations. + * + * @return the RoutinesImpl object. + */ + public RoutinesImpl getRoutines() { + return this.routines; + } + /** * The SkillsImpl object to access its operations. */ @@ -248,6 +276,20 @@ public SkillsImpl getSkills() { return this.skills; } + /** + * The DataGenerationJobsImpl object to access its operations. + */ + private final DataGenerationJobsImpl dataGenerationJobs; + + /** + * Gets the DataGenerationJobsImpl object to access its operations. + * + * @return the DataGenerationJobsImpl object. + */ + public DataGenerationJobsImpl getDataGenerationJobs() { + return this.dataGenerationJobs; + } + /** * Initializes an instance of AIProjectClient client. * @@ -305,8 +347,11 @@ public AIProjectClientImpl(HttpPipeline httpPipeline, SerializerAdapter serializ this.evaluationRules = new EvaluationRulesImpl(this); this.evaluationTaxonomies = new EvaluationTaxonomiesImpl(this); this.evaluators = new EvaluatorsImpl(this); + this.evaluatorGenerationJobs = new EvaluatorGenerationJobsImpl(this); this.insights = new InsightsImpl(this); this.schedules = new SchedulesImpl(this); + this.routines = new RoutinesImpl(this); this.skills = new SkillsImpl(this); + this.dataGenerationJobs = new DataGenerationJobsImpl(this); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java new file mode 100644 index 000000000000..8c2a9d33c712 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java @@ -0,0 +1,1457 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.implementation; + +import com.azure.ai.projects.AIProjectsServiceVersion; +import com.azure.core.annotation.BodyParam; +import com.azure.core.annotation.Delete; +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.Get; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.Post; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; +import reactor.core.publisher.Mono; + +/** + * An instance of this class provides access to all the operations defined in DataGenerationJobs. + */ +public final class DataGenerationJobsImpl { + /** + * The proxy service used to perform REST calls. + */ + private final DataGenerationJobsService service; + + /** + * The service client containing this operation class. + */ + private final AIProjectClientImpl client; + + /** + * Initializes an instance of DataGenerationJobsImpl. + * + * @param client the instance of the service client containing this operation class. + */ + DataGenerationJobsImpl(AIProjectClientImpl client) { + this.service = RestProxy.create(DataGenerationJobsService.class, client.getHttpPipeline(), + client.getSerializerAdapter()); + this.client = client; + } + + /** + * Gets Service version. + * + * @return the serviceVersion value. + */ + public AIProjectsServiceVersion getServiceVersion() { + return client.getServiceVersion(); + } + + /** + * The interface defining all the services for AIProjectClientDataGenerationJobs to be used by the proxy service to + * perform REST calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "AIProjectClientDataGenerationJobs") + public interface DataGenerationJobsService { + @Get("/data_generation_jobs/{jobId}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getGenerationJob(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data_generation_jobs/{jobId}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getGenerationJobSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data_generation_jobs") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> listGenerationJobs(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data_generation_jobs") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response listGenerationJobsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Post("/data_generation_jobs") + @ExpectedResponses({ 201 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> createGenerationJob(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, + RequestOptions requestOptions, Context context); + + @Post("/data_generation_jobs") + @ExpectedResponses({ 201 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response createGenerationJobSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, + RequestOptions requestOptions, Context context); + + @Post("/data_generation_jobs/{jobId}:cancel") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> cancelGenerationJob(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Post("/data_generation_jobs/{jobId}:cancel") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response cancelGenerationJobSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Delete("/data_generation_jobs/{jobId}") + @ExpectedResponses({ 204 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> deleteGenerationJob(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + RequestOptions requestOptions, Context context); + + @Delete("/data_generation_jobs/{jobId}") + @ExpectedResponses({ 204 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response deleteGenerationJobSync(@HostParam("endpoint") String endpoint, @PathParam("jobId") String jobId, + @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); + } + + /** + * Get info about a data generation job. + * + * Gets the details of a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about a data generation job. + * + * Gets the details of a data generation job by its ID along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getGenerationJobWithResponseAsync(String jobId, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getGenerationJob(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Get info about a data generation job. + * + * Gets the details of a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about a data generation job. + * + * Gets the details of a data generation job by its ID along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getGenerationJobSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: + * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form + * of "," separated string.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listGenerationJobsSinglePageAsync(RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listGenerationJobs(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null)); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: + * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form + * of "," separated string.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listGenerationJobsAsync(RequestOptions requestOptions) { + return new PagedFlux<>(() -> listGenerationJobsSinglePageAsync(requestOptions)); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: + * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form + * of "," separated string.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listGenerationJobsSinglePage(RequestOptions requestOptions) { + final String accept = "application/json"; + Response res = service.listGenerationJobsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null); + } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: + * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form + * of "," separated string.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listGenerationJobs(RequestOptions requestOptions) { + return new PagedIterable<>(() -> listGenerationJobsSinglePage(requestOptions)); + } + + /** + * Creates a data generation job. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return data Generation Job resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createGenerationJobWithResponseAsync(BinaryData job, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.createGenerationJob(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), contentType, accept, job, requestOptions, context)); + } + + /** + * Creates a data generation job. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return data Generation Job resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.createGenerationJobSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + contentType, accept, job, requestOptions, Context.NONE); + } + + /** + * Cancels a data generation job. + * + * Cancels a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return data Generation Job resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cancelGenerationJobWithResponseAsync(String jobId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.cancelGenerationJob(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Cancels a data generation job. + * + * Cancels a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         name: String (Required)
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset/file) (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *         options (Required): {
+     *             type: String(simple_qna/traces/tool_use) (Required)
+     *             max_samples: int (Required)
+     *             train_split: Double (Optional)
+     *             model_options (Optional): {
+     *                 model: String (Required)
+     *             }
+     *         }
+     *         scenario: String(supervised_finetuning/reinforcement_finetuning/evaluation) (Required)
+     *         output_options (Optional): {
+     *             name: String (Optional)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     result (Optional): {
+     *         outputs (Optional): [
+     *              (Optional){
+     *                 type: String(file/dataset) (Required)
+     *             }
+     *         ]
+     *         generated_samples: int (Required)
+     *         token_usage (Optional): {
+     *             prompt_tokens: long (Required)
+     *             completion_tokens: long (Required)
+     *             total_tokens: long (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return data Generation Job resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.cancelGenerationJobSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Deletes a data generation job. + * + * Deletes a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteGenerationJobWithResponseAsync(String jobId, RequestOptions requestOptions) { + return FluxUtil.withContext(context -> service.deleteGenerationJob(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), requestOptions, context)); + } + + /** + * Deletes a data generation job. + * + * Deletes a data generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return service.deleteGenerationJobSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); + } + + private List getValues(BinaryData binaryData, String path) { + try { + Map obj = binaryData.toObject(Map.class); + List values = (List) obj.get(path); + return values.stream().map(BinaryData::fromObject).collect(Collectors.toList()); + } catch (RuntimeException e) { + return null; + } + } + + private String getNextLink(BinaryData binaryData, String path) { + try { + Map obj = binaryData.toObject(Map.class); + return (String) obj.get(path); + } catch (RuntimeException e) { + return null; + } + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java index ec4fac1bf8aa..ee85841e9314 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java @@ -305,7 +305,8 @@ public Response deleteEvaluationRuleWithResponse(String id, RequestOptions * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -382,7 +383,8 @@ public Mono> createOrUpdateEvaluationRuleWithResponseAsync( * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java new file mode 100644 index 000000000000..30a62cd314f2 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java @@ -0,0 +1,1761 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.implementation; + +import com.azure.ai.projects.AIProjectsServiceVersion; +import com.azure.core.annotation.BodyParam; +import com.azure.core.annotation.Delete; +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.Get; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.Post; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; +import reactor.core.publisher.Mono; + +/** + * An instance of this class provides access to all the operations defined in EvaluatorGenerationJobs. + */ +public final class EvaluatorGenerationJobsImpl { + /** + * The proxy service used to perform REST calls. + */ + private final EvaluatorGenerationJobsService service; + + /** + * The service client containing this operation class. + */ + private final AIProjectClientImpl client; + + /** + * Initializes an instance of EvaluatorGenerationJobsImpl. + * + * @param client the instance of the service client containing this operation class. + */ + EvaluatorGenerationJobsImpl(AIProjectClientImpl client) { + this.service = RestProxy.create(EvaluatorGenerationJobsService.class, client.getHttpPipeline(), + client.getSerializerAdapter()); + this.client = client; + } + + /** + * Gets Service version. + * + * @return the serviceVersion value. + */ + public AIProjectsServiceVersion getServiceVersion() { + return client.getServiceVersion(); + } + + /** + * The interface defining all the services for AIProjectClientEvaluatorGenerationJobs to be used by the proxy + * service to perform REST calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "AIProjectClientEvaluatorGenerationJobs") + public interface EvaluatorGenerationJobsService { + @Post("/evaluator_generation_jobs") + @ExpectedResponses({ 201 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> createGenerationJob(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, + RequestOptions requestOptions, Context context); + + @Post("/evaluator_generation_jobs") + @ExpectedResponses({ 201 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response createGenerationJobSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, + RequestOptions requestOptions, Context context); + + @Get("/evaluator_generation_jobs/{jobId}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getGenerationJob(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/evaluator_generation_jobs/{jobId}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getGenerationJobSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/evaluator_generation_jobs") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> listGenerationJobs(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/evaluator_generation_jobs") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response listGenerationJobsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Post("/evaluator_generation_jobs/{jobId}:cancel") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> cancelGenerationJob(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Post("/evaluator_generation_jobs/{jobId}:cancel") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response cancelGenerationJobSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Delete("/evaluator_generation_jobs/{jobId}") + @ExpectedResponses({ 204 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> deleteGenerationJob(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + RequestOptions requestOptions, Context context); + + @Delete("/evaluator_generation_jobs/{jobId}") + @ExpectedResponses({ 204 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response deleteGenerationJobSync(@HostParam("endpoint") String endpoint, @PathParam("jobId") String jobId, + @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createGenerationJobWithResponseAsync(BinaryData job, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.createGenerationJob(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), contentType, accept, job, requestOptions, context)); + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.createGenerationJobSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + contentType, accept, job, requestOptions, Context.NONE); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getGenerationJobWithResponseAsync(String jobId, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getGenerationJob(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getGenerationJobSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Returns a list of evaluator generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: + * "quality", "safety", "agents".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listGenerationJobsSinglePageAsync(RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listGenerationJobs(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null)); + } + + /** + * Returns a list of evaluator generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: + * "quality", "safety", "agents".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listGenerationJobsAsync(RequestOptions requestOptions) { + return new PagedFlux<>(() -> listGenerationJobsSinglePageAsync(requestOptions)); + } + + /** + * Returns a list of evaluator generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: + * "quality", "safety", "agents".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listGenerationJobsSinglePage(RequestOptions requestOptions) { + final String accept = "application/json"; + Response res = service.listGenerationJobsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null); + } + + /** + * Returns a list of evaluator generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: + * "quality", "safety", "agents".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listGenerationJobs(RequestOptions requestOptions) { + return new PagedIterable<>(() -> listGenerationJobsSinglePage(requestOptions)); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cancelGenerationJobWithResponseAsync(String jobId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.cancelGenerationJob(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.cancelGenerationJobSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteGenerationJobWithResponseAsync(String jobId, RequestOptions requestOptions) { + return FluxUtil.withContext(context -> service.deleteGenerationJob(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), requestOptions, context)); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return service.deleteGenerationJobSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); + } + + private List getValues(BinaryData binaryData, String path) { + try { + Map obj = binaryData.toObject(Map.class); + List values = (List) obj.get(path); + return values.stream().map(BinaryData::fromObject).collect(Collectors.toList()); + } catch (RuntimeException e) { + return null; + } + } + + private String getNextLink(BinaryData binaryData, String path) { + try { + Map obj = binaryData.toObject(Map.class); + return (String) obj.get(path); + } catch (RuntimeException e) { + return null; + } + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java index 0cab4112528c..f1faf109ed1e 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java @@ -214,6 +214,54 @@ Response updateEvaluatorVersionSync(@HostParam("endpoint") String en @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData evaluatorVersion, RequestOptions requestOptions, Context context); + @Post("/evaluators/{name}/versions/{version}/startPendingUpload") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> startPendingUpload(@HostParam("endpoint") String endpoint, + @PathParam("name") String name, @PathParam("version") String version, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData pendingUploadRequest, + RequestOptions requestOptions, Context context); + + @Post("/evaluators/{name}/versions/{version}/startPendingUpload") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response startPendingUploadSync(@HostParam("endpoint") String endpoint, + @PathParam("name") String name, @PathParam("version") String version, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData pendingUploadRequest, + RequestOptions requestOptions, Context context); + + @Post("/evaluators/{name}/versions/{version}/credentials") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCredentials(@HostParam("endpoint") String endpoint, + @PathParam("name") String name, @PathParam("version") String version, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData credentialRequest, + RequestOptions requestOptions, Context context); + + @Post("/evaluators/{name}/versions/{version}/credentials") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCredentialsSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @PathParam("version") String version, @QueryParam("api-version") String apiVersion, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData credentialRequest, RequestOptions requestOptions, + Context context); + @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @@ -285,7 +333,7 @@ Response listLatestEvaluatorVersionsNextSync( * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -303,6 +351,15 @@ Response listLatestEvaluatorVersionsNextSync( * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -364,7 +421,7 @@ private Mono> listEvaluatorVersionsSinglePageAsync(Str * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -382,6 +439,15 @@ private Mono> listEvaluatorVersionsSinglePageAsync(Str * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -439,7 +505,7 @@ public PagedFlux listEvaluatorVersionsAsync(String name, RequestOpti * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -457,6 +523,15 @@ public PagedFlux listEvaluatorVersionsAsync(String name, RequestOpti * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -515,7 +590,7 @@ private PagedResponse listEvaluatorVersionsSinglePage(String name, R * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -533,6 +608,15 @@ private PagedResponse listEvaluatorVersionsSinglePage(String name, R * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -590,7 +674,7 @@ public PagedIterable listEvaluatorVersions(String name, RequestOptio * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -608,6 +692,15 @@ public PagedIterable listEvaluatorVersions(String name, RequestOptio * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -667,7 +760,7 @@ private Mono> listLatestEvaluatorVersionsSinglePageAsy * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -685,6 +778,15 @@ private Mono> listLatestEvaluatorVersionsSinglePageAsy * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -741,7 +843,7 @@ public PagedFlux listLatestEvaluatorVersionsAsync(RequestOptions req * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -759,6 +861,15 @@ public PagedFlux listLatestEvaluatorVersionsAsync(RequestOptions req * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -816,7 +927,7 @@ private PagedResponse listLatestEvaluatorVersionsSinglePage(RequestO * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -834,6 +945,15 @@ private PagedResponse listLatestEvaluatorVersionsSinglePage(RequestO * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -881,7 +1001,7 @@ public PagedIterable listLatestEvaluatorVersions(RequestOptions requ * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -899,6 +1019,15 @@ public PagedIterable listLatestEvaluatorVersions(RequestOptions requ * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -950,7 +1079,7 @@ public Mono> getEvaluatorVersionWithResponseAsync(String na * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -968,6 +1097,15 @@ public Mono> getEvaluatorVersionWithResponseAsync(String na * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1058,7 +1196,7 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1076,6 +1214,15 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1104,7 +1251,7 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1122,6 +1269,15 @@ public Response deleteEvaluatorVersionWithResponse(String name, String ver * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1172,7 +1328,7 @@ public Mono> createEvaluatorVersionWithResponseAsync(String * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1190,6 +1346,15 @@ public Mono> createEvaluatorVersionWithResponseAsync(String * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1218,7 +1383,7 @@ public Mono> createEvaluatorVersionWithResponseAsync(String * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1236,6 +1401,15 @@ public Mono> createEvaluatorVersionWithResponseAsync(String * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1286,7 +1460,7 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1304,6 +1478,15 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1332,7 +1515,7 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1350,6 +1533,15 @@ public Response createEvaluatorVersionWithResponse(String name, Bina * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1401,7 +1593,7 @@ public Mono> updateEvaluatorVersionWithResponseAsync(String * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1419,6 +1611,15 @@ public Mono> updateEvaluatorVersionWithResponseAsync(String * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1447,7 +1648,7 @@ public Mono> updateEvaluatorVersionWithResponseAsync(String * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1465,6 +1666,15 @@ public Mono> updateEvaluatorVersionWithResponseAsync(String * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1500,6 +1710,259 @@ public Response updateEvaluatorVersionWithResponse(String name, Stri evaluatorVersion, requestOptions, Context.NONE); } + /** + * Start a new or get an existing pending upload of an evaluator for a specific version. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     pendingUploadId: String (Optional)
+     *     connectionName: String (Optional)
+     *     pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobReference (Required): {
+     *         blobUri: String (Required)
+     *         storageAccountArmId: String (Required)
+     *         credential (Required): {
+     *             sasUri: String (Required)
+     *             type: String(ApiKey/AAD/SAS/CustomKeys/None/AgenticIdentityToken_Preview) (Required)
+     *         }
+     *     }
+     *     pendingUploadId: String (Required)
+     *     version: String (Optional)
+     *     pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param pendingUploadRequest The pending upload request parameters. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represents the response for a pending upload request along with {@link Response} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> startPendingUploadWithResponseAsync(String name, String version, + BinaryData pendingUploadRequest, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.startPendingUpload(this.client.getEndpoint(), name, version, + this.client.getServiceVersion().getVersion(), contentType, accept, pendingUploadRequest, requestOptions, + context)); + } + + /** + * Start a new or get an existing pending upload of an evaluator for a specific version. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     pendingUploadId: String (Optional)
+     *     connectionName: String (Optional)
+     *     pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobReference (Required): {
+     *         blobUri: String (Required)
+     *         storageAccountArmId: String (Required)
+     *         credential (Required): {
+     *             sasUri: String (Required)
+     *             type: String(ApiKey/AAD/SAS/CustomKeys/None/AgenticIdentityToken_Preview) (Required)
+     *         }
+     *     }
+     *     pendingUploadId: String (Required)
+     *     version: String (Optional)
+     *     pendingUploadType: String(None/BlobReference/TemporaryBlobReference) (Required)
+     * }
+     * }
+     * 
+ * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param pendingUploadRequest The pending upload request parameters. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represents the response for a pending upload request along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response startPendingUploadWithResponse(String name, String version, + BinaryData pendingUploadRequest, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.startPendingUploadSync(this.client.getEndpoint(), name, version, + this.client.getServiceVersion().getVersion(), contentType, accept, pendingUploadRequest, requestOptions, + Context.NONE); + } + + /** + * Get the SAS credential to access the storage account associated with an Evaluator version. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     blob_uri: String (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobReference (Required): {
+     *         blobUri: String (Required)
+     *         storageAccountArmId: String (Required)
+     *         credential (Required): {
+     *             sasUri: String (Required)
+     *             type: String(ApiKey/AAD/SAS/CustomKeys/None/AgenticIdentityToken_Preview) (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param credentialRequest The credential request parameters. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the SAS credential to access the storage account associated with an Evaluator version along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCredentialsWithResponseAsync(String name, String version, + BinaryData credentialRequest, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getCredentials(this.client.getEndpoint(), name, version, + this.client.getServiceVersion().getVersion(), contentType, accept, credentialRequest, requestOptions, + context)); + } + + /** + * Get the SAS credential to access the storage account associated with an Evaluator version. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     blob_uri: String (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     blobReference (Required): {
+     *         blobUri: String (Required)
+     *         storageAccountArmId: String (Required)
+     *         credential (Required): {
+     *             sasUri: String (Required)
+     *             type: String(ApiKey/AAD/SAS/CustomKeys/None/AgenticIdentityToken_Preview) (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param credentialRequest The credential request parameters. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the SAS credential to access the storage account associated with an Evaluator version along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCredentialsWithResponse(String name, String version, BinaryData credentialRequest, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.getCredentialsSync(this.client.getEndpoint(), name, version, + this.client.getServiceVersion().getVersion(), contentType, accept, credentialRequest, requestOptions, + Context.NONE); + } + /** * Get the next page of items. *

Response Body Schema

@@ -1516,7 +1979,7 @@ public Response updateEvaluatorVersionWithResponse(String name, Stri * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1534,6 +1997,15 @@ public Response updateEvaluatorVersionWithResponse(String name, Stri * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1585,7 +2057,7 @@ private Mono> listEvaluatorVersionsNextSinglePageAsync * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1603,6 +2075,15 @@ private Mono> listEvaluatorVersionsNextSinglePageAsync * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1652,7 +2133,7 @@ private PagedResponse listEvaluatorVersionsNextSinglePage(String nex * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1670,6 +2151,15 @@ private PagedResponse listEvaluatorVersionsNextSinglePage(String nex * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) @@ -1721,7 +2211,7 @@ private Mono> listLatestEvaluatorVersionsNextSinglePag * String(quality/safety/agents) (Required) * ] * definition (Required): { - * type: String(prompt/code/prompt_and_code/service/openai_graders) (Required) + * type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required) * init_parameters (Optional): { * String: BinaryData (Required) * } @@ -1739,6 +2229,15 @@ private Mono> listLatestEvaluatorVersionsNextSinglePag * } * } * } + * generation_artifacts (Optional): { + * dataset (Required): { + * name: String (Required) + * version: String (Required) + * } + * kinds (Required): [ + * String (Required) + * ] + * } * created_by: String (Required) * created_at: OffsetDateTime (Required) * modified_at: OffsetDateTime (Required) diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java index 8d3bca9e460e..2c32171b387c 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java @@ -173,7 +173,8 @@ Response listInsightsNextSync(@PathParam(value = "nextLink", encoded * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -264,7 +265,8 @@ public Mono> generateInsightWithResponseAsync(BinaryData in * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -361,7 +363,8 @@ public Response generateInsightWithResponse(BinaryData insight, Requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -418,7 +421,8 @@ public Mono> getInsightWithResponseAsync(String id, Request * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -480,7 +484,8 @@ public Response getInsightWithResponse(String id, RequestOptions req * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -545,7 +550,8 @@ private Mono> listInsightsSinglePageAsync(RequestOptio * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -608,7 +614,8 @@ public PagedFlux listInsightsAsync(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -671,7 +678,8 @@ private PagedResponse listInsightsSinglePage(RequestOptions requestO * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -721,7 +729,8 @@ public PagedIterable listInsights(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -774,7 +783,8 @@ private Mono> listInsightsNextSinglePageAsync(String n * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java new file mode 100644 index 000000000000..5a89c4dead65 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java @@ -0,0 +1,1511 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.implementation; + +import com.azure.ai.projects.AIProjectsServiceVersion; +import com.azure.core.annotation.BodyParam; +import com.azure.core.annotation.Delete; +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.Get; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.Post; +import com.azure.core.annotation.Put; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; +import reactor.core.publisher.Mono; + +/** + * An instance of this class provides access to all the operations defined in Routines. + */ +public final class RoutinesImpl { + /** + * The proxy service used to perform REST calls. + */ + private final RoutinesService service; + + /** + * The service client containing this operation class. + */ + private final AIProjectClientImpl client; + + /** + * Initializes an instance of RoutinesImpl. + * + * @param client the instance of the service client containing this operation class. + */ + RoutinesImpl(AIProjectClientImpl client) { + this.service = RestProxy.create(RoutinesService.class, client.getHttpPipeline(), client.getSerializerAdapter()); + this.client = client; + } + + /** + * Gets Service version. + * + * @return the serviceVersion value. + */ + public AIProjectsServiceVersion getServiceVersion() { + return client.getServiceVersion(); + } + + /** + * The interface defining all the services for AIProjectClientRoutines to be used by the proxy service to perform + * REST calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "AIProjectClientRoutines") + public interface RoutinesService { + @Put("/routines/{routine_name}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> createOrUpdateRoutine(@HostParam("endpoint") String endpoint, + @PathParam("routine_name") String routineName, @QueryParam("api-version") String apiVersion, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData createOrUpdateRoutineRequest, RequestOptions requestOptions, + Context context); + + @Put("/routines/{routine_name}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response createOrUpdateRoutineSync(@HostParam("endpoint") String endpoint, + @PathParam("routine_name") String routineName, @QueryParam("api-version") String apiVersion, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData createOrUpdateRoutineRequest, RequestOptions requestOptions, + Context context); + + @Get("/routines/{routine_name}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getRoutine(@HostParam("endpoint") String endpoint, + @PathParam("routine_name") String routineName, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/routines/{routine_name}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getRoutineSync(@HostParam("endpoint") String endpoint, + @PathParam("routine_name") String routineName, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Post("/routines/{routine_name}:enable") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> enableRoutine(@HostParam("endpoint") String endpoint, + @PathParam("routine_name") String routineName, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Post("/routines/{routine_name}:enable") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response enableRoutineSync(@HostParam("endpoint") String endpoint, + @PathParam("routine_name") String routineName, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Post("/routines/{routine_name}:disable") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> disableRoutine(@HostParam("endpoint") String endpoint, + @PathParam("routine_name") String routineName, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Post("/routines/{routine_name}:disable") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response disableRoutineSync(@HostParam("endpoint") String endpoint, + @PathParam("routine_name") String routineName, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/routines") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> listRoutines(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/routines") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response listRoutinesSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Delete("/routines/{routine_name}") + @ExpectedResponses({ 204 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> deleteRoutine(@HostParam("endpoint") String endpoint, + @PathParam("routine_name") String routineName, @QueryParam("api-version") String apiVersion, + RequestOptions requestOptions, Context context); + + @Delete("/routines/{routine_name}") + @ExpectedResponses({ 204 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response deleteRoutineSync(@HostParam("endpoint") String endpoint, + @PathParam("routine_name") String routineName, @QueryParam("api-version") String apiVersion, + RequestOptions requestOptions, Context context); + + @Get("/routines/{routine_name}/runs") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> listRoutineRuns(@HostParam("endpoint") String endpoint, + @PathParam("routine_name") String routineName, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/routines/{routine_name}/runs") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response listRoutineRunsSync(@HostParam("endpoint") String endpoint, + @PathParam("routine_name") String routineName, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Post("/routines/{routine_name}:dispatch_async") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> dispatchRoutineAsync(@HostParam("endpoint") String endpoint, + @PathParam("routine_name") String routineName, @QueryParam("api-version") String apiVersion, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData dispatchRoutineAsyncRequest, RequestOptions requestOptions, + Context context); + + @Post("/routines/{routine_name}:dispatch_async") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response dispatchRoutineAsyncSync(@HostParam("endpoint") String endpoint, + @PathParam("routine_name") String routineName, @QueryParam("api-version") String apiVersion, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData dispatchRoutineAsyncRequest, RequestOptions requestOptions, + Context context); + } + + /** + * Create or update a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     description: String (Optional)
+     *     enabled: Boolean (Optional)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param createOrUpdateRoutineRequest The createOrUpdateRoutineRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a routine definition returned by the service along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createOrUpdateRoutineWithResponseAsync(String routineName, + BinaryData createOrUpdateRoutineRequest, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.createOrUpdateRoutine(this.client.getEndpoint(), routineName, + this.client.getServiceVersion().getVersion(), contentType, accept, createOrUpdateRoutineRequest, + requestOptions, context)); + } + + /** + * Create or update a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     description: String (Optional)
+     *     enabled: Boolean (Optional)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param createOrUpdateRoutineRequest The createOrUpdateRoutineRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a routine definition returned by the service along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createOrUpdateRoutineWithResponse(String routineName, + BinaryData createOrUpdateRoutineRequest, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.createOrUpdateRoutineSync(this.client.getEndpoint(), routineName, + this.client.getServiceVersion().getVersion(), contentType, accept, createOrUpdateRoutineRequest, + requestOptions, Context.NONE); + } + + /** + * Retrieve a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a routine definition returned by the service along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getRoutineWithResponseAsync(String routineName, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getRoutine(this.client.getEndpoint(), routineName, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Retrieve a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a routine definition returned by the service along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getRoutineWithResponse(String routineName, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getRoutineSync(this.client.getEndpoint(), routineName, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Enable a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a routine definition returned by the service along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> enableRoutineWithResponseAsync(String routineName, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.enableRoutine(this.client.getEndpoint(), routineName, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Enable a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a routine definition returned by the service along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response enableRoutineWithResponse(String routineName, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.enableRoutineSync(this.client.getEndpoint(), routineName, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Disable a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a routine definition returned by the service along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> disableRoutineWithResponseAsync(String routineName, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.disableRoutine(this.client.getEndpoint(), routineName, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Disable a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a routine definition returned by the service along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response disableRoutineWithResponse(String routineName, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.disableRoutineSync(this.client.getEndpoint(), routineName, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * List routines. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listRoutinesSinglePageAsync(RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listRoutines(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null)); + } + + /** + * List routines. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listRoutinesAsync(RequestOptions requestOptions) { + return new PagedFlux<>(() -> listRoutinesSinglePageAsync(requestOptions)); + } + + /** + * List routines. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listRoutinesSinglePage(RequestOptions requestOptions) { + final String accept = "application/json"; + Response res = service.listRoutinesSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null); + } + + /** + * List routines. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     enabled: boolean (Required)
+     *     triggers (Required): {
+     *         String (Required): {
+     *             type: String(github_issue_opened/schedule/timer) (Required)
+     *         }
+     *     }
+     *     action (Required): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     *     created_at: Long (Optional)
+     *     updated_at: Long (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listRoutines(RequestOptions requestOptions) { + return new PagedIterable<>(() -> listRoutinesSinglePage(requestOptions)); + } + + /** + * Delete a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteRoutineWithResponseAsync(String routineName, RequestOptions requestOptions) { + return FluxUtil.withContext(context -> service.deleteRoutine(this.client.getEndpoint(), routineName, + this.client.getServiceVersion().getVersion(), requestOptions, context)); + } + + /** + * Delete a routine. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteRoutineWithResponse(String routineName, RequestOptions requestOptions) { + return service.deleteRoutineSync(this.client.getEndpoint(), routineName, + this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); + } + + /** + * List prior runs for a routine. + *

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
filterStringNoAn optional MLflow search-runs filter expression applied within + * the routine's experiment.
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     status: String (Required)
+     *     phase: String(queued/dispatching/completed/failed) (Optional)
+     *     trigger_type: String(github_issue_opened/schedule/timer) (Required)
+     *     attempt_source: String(event_fire/manual_dispatch/queued_dispatch/schedule_delivery/timer_delivery) (Optional)
+     *     action_type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Optional)
+     *     triggered_at: Long (Optional)
+     *     started_at: long (Required)
+     *     ended_at: Long (Optional)
+     *     dispatch_id: String (Optional)
+     *     action_correlation_id: String (Optional)
+     *     response_id: String (Optional)
+     *     task_id: String (Optional)
+     *     error_type: String (Optional)
+     *     error_message: String (Optional)
+     *     diagnostics (Optional): {
+     *         parameters (Required): {
+     *             String: String (Required)
+     *         }
+     *         tags (Required): {
+     *             String: String (Required)
+     *         }
+     *         metrics (Required): {
+     *             String: double (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listRoutineRunsSinglePageAsync(String routineName, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listRoutineRuns(this.client.getEndpoint(), routineName, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null)); + } + + /** + * List prior runs for a routine. + *

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
filterStringNoAn optional MLflow search-runs filter expression applied within + * the routine's experiment.
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     status: String (Required)
+     *     phase: String(queued/dispatching/completed/failed) (Optional)
+     *     trigger_type: String(github_issue_opened/schedule/timer) (Required)
+     *     attempt_source: String(event_fire/manual_dispatch/queued_dispatch/schedule_delivery/timer_delivery) (Optional)
+     *     action_type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Optional)
+     *     triggered_at: Long (Optional)
+     *     started_at: long (Required)
+     *     ended_at: Long (Optional)
+     *     dispatch_id: String (Optional)
+     *     action_correlation_id: String (Optional)
+     *     response_id: String (Optional)
+     *     task_id: String (Optional)
+     *     error_type: String (Optional)
+     *     error_message: String (Optional)
+     *     diagnostics (Optional): {
+     *         parameters (Required): {
+     *             String: String (Required)
+     *         }
+     *         tags (Required): {
+     *             String: String (Required)
+     *         }
+     *         metrics (Required): {
+     *             String: double (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listRoutineRunsAsync(String routineName, RequestOptions requestOptions) { + return new PagedFlux<>(() -> listRoutineRunsSinglePageAsync(routineName, requestOptions)); + } + + /** + * List prior runs for a routine. + *

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
filterStringNoAn optional MLflow search-runs filter expression applied within + * the routine's experiment.
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     status: String (Required)
+     *     phase: String(queued/dispatching/completed/failed) (Optional)
+     *     trigger_type: String(github_issue_opened/schedule/timer) (Required)
+     *     attempt_source: String(event_fire/manual_dispatch/queued_dispatch/schedule_delivery/timer_delivery) (Optional)
+     *     action_type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Optional)
+     *     triggered_at: Long (Optional)
+     *     started_at: long (Required)
+     *     ended_at: Long (Optional)
+     *     dispatch_id: String (Optional)
+     *     action_correlation_id: String (Optional)
+     *     response_id: String (Optional)
+     *     task_id: String (Optional)
+     *     error_type: String (Optional)
+     *     error_message: String (Optional)
+     *     diagnostics (Optional): {
+     *         parameters (Required): {
+     *             String: String (Required)
+     *         }
+     *         tags (Required): {
+     *             String: String (Required)
+     *         }
+     *         metrics (Required): {
+     *             String: double (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listRoutineRunsSinglePage(String routineName, RequestOptions requestOptions) { + final String accept = "application/json"; + Response res = service.listRoutineRunsSync(this.client.getEndpoint(), routineName, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null); + } + + /** + * List prior runs for a routine. + *

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
filterStringNoAn optional MLflow search-runs filter expression applied within + * the routine's experiment.
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     status: String (Required)
+     *     phase: String(queued/dispatching/completed/failed) (Optional)
+     *     trigger_type: String(github_issue_opened/schedule/timer) (Required)
+     *     attempt_source: String(event_fire/manual_dispatch/queued_dispatch/schedule_delivery/timer_delivery) (Optional)
+     *     action_type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Optional)
+     *     triggered_at: Long (Optional)
+     *     started_at: long (Required)
+     *     ended_at: Long (Optional)
+     *     dispatch_id: String (Optional)
+     *     action_correlation_id: String (Optional)
+     *     response_id: String (Optional)
+     *     task_id: String (Optional)
+     *     error_type: String (Optional)
+     *     error_message: String (Optional)
+     *     diagnostics (Optional): {
+     *         parameters (Required): {
+     *             String: String (Required)
+     *         }
+     *         tags (Required): {
+     *             String: String (Required)
+     *         }
+     *         metrics (Required): {
+     *             String: double (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listRoutineRuns(String routineName, RequestOptions requestOptions) { + return new PagedIterable<>(() -> listRoutineRunsSinglePage(routineName, requestOptions)); + } + + /** + * Queue an asynchronous routine dispatch. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     payload (Optional): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     dispatch_id: String (Optional)
+     *     action_correlation_id: String (Optional)
+     *     task_id: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param dispatchRoutineAsyncRequest The dispatchRoutineAsyncRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return identifiers returned after a routine dispatch is queued along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> dispatchRoutineAsyncWithResponseAsync(String routineName, + BinaryData dispatchRoutineAsyncRequest, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.dispatchRoutineAsync(this.client.getEndpoint(), routineName, + this.client.getServiceVersion().getVersion(), contentType, accept, dispatchRoutineAsyncRequest, + requestOptions, context)); + } + + /** + * Queue an asynchronous routine dispatch. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     payload (Optional): {
+     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     dispatch_id: String (Optional)
+     *     action_correlation_id: String (Optional)
+     *     task_id: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param routineName The unique name of the routine. + * @param dispatchRoutineAsyncRequest The dispatchRoutineAsyncRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return identifiers returned after a routine dispatch is queued along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response dispatchRoutineAsyncWithResponse(String routineName, + BinaryData dispatchRoutineAsyncRequest, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.dispatchRoutineAsyncSync(this.client.getEndpoint(), routineName, + this.client.getServiceVersion().getVersion(), contentType, accept, dispatchRoutineAsyncRequest, + requestOptions, Context.NONE); + } + + private List getValues(BinaryData binaryData, String path) { + try { + Map obj = binaryData.toObject(Map.class); + List values = (List) obj.get(path); + return values.stream().map(BinaryData::fromObject).collect(Collectors.toList()); + } catch (RuntimeException e) { + return null; + } + } + + private String getNextLink(BinaryData binaryData, String path) { + try { + Map obj = binaryData.toObject(Map.class); + return (String) obj.get(path); + } catch (RuntimeException e) { + return null; + } + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java new file mode 100644 index 000000000000..e6ded6e09108 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java @@ -0,0 +1,178 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.implementation.models; + +import com.azure.ai.projects.models.RoutineAction; +import com.azure.ai.projects.models.RoutineTrigger; +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.Map; + +/** + * The CreateOrUpdateRoutineRequest model. + */ +@Fluent +public final class CreateOrUpdateRoutineRequest implements JsonSerializable { + /* + * A human-readable description of the routine. + */ + @Generated + private String description; + + /* + * Whether the routine is enabled. + */ + @Generated + private Boolean enabled; + + /* + * The triggers configured for the routine. In v1, exactly one trigger entry is supported. + */ + @Generated + private final Map triggers; + + /* + * The action executed when the routine fires. + */ + @Generated + private final RoutineAction action; + + /** + * Creates an instance of CreateOrUpdateRoutineRequest class. + * + * @param triggers the triggers value to set. + * @param action the action value to set. + */ + @Generated + public CreateOrUpdateRoutineRequest(Map triggers, RoutineAction action) { + this.triggers = triggers; + this.action = action; + } + + /** + * Get the description property: A human-readable description of the routine. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: A human-readable description of the routine. + * + * @param description the description value to set. + * @return the CreateOrUpdateRoutineRequest object itself. + */ + @Generated + public CreateOrUpdateRoutineRequest setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the enabled property: Whether the routine is enabled. + * + * @return the enabled value. + */ + @Generated + public Boolean isEnabled() { + return this.enabled; + } + + /** + * Set the enabled property: Whether the routine is enabled. + * + * @param enabled the enabled value to set. + * @return the CreateOrUpdateRoutineRequest object itself. + */ + @Generated + public CreateOrUpdateRoutineRequest setEnabled(Boolean enabled) { + this.enabled = enabled; + return this; + } + + /** + * Get the triggers property: The triggers configured for the routine. In v1, exactly one trigger entry is + * supported. + * + * @return the triggers value. + */ + @Generated + public Map getTriggers() { + return this.triggers; + } + + /** + * Get the action property: The action executed when the routine fires. + * + * @return the action value. + */ + @Generated + public RoutineAction getAction() { + return this.action; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeMapField("triggers", this.triggers, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeJsonField("action", this.action); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeBooleanField("enabled", this.enabled); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of CreateOrUpdateRoutineRequest from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of CreateOrUpdateRoutineRequest if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the CreateOrUpdateRoutineRequest. + */ + @Generated + public static CreateOrUpdateRoutineRequest fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + Map triggers = null; + RoutineAction action = null; + String description = null; + Boolean enabled = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("triggers".equals(fieldName)) { + triggers = reader.readMap(reader1 -> RoutineTrigger.fromJson(reader1)); + } else if ("action".equals(fieldName)) { + action = RoutineAction.fromJson(reader); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("enabled".equals(fieldName)) { + enabled = reader.getNullable(JsonReader::getBoolean); + } else { + reader.skipChildren(); + } + } + CreateOrUpdateRoutineRequest deserializedCreateOrUpdateRoutineRequest + = new CreateOrUpdateRoutineRequest(triggers, action); + deserializedCreateOrUpdateRoutineRequest.description = description; + deserializedCreateOrUpdateRoutineRequest.enabled = enabled; + + return deserializedCreateOrUpdateRoutineRequest; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java new file mode 100644 index 000000000000..99b4f1bb224d --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java @@ -0,0 +1,93 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.implementation.models; + +import com.azure.ai.projects.models.RoutineDispatchPayload; +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The DispatchRoutineAsyncRequest model. + */ +@Fluent +public final class DispatchRoutineAsyncRequest implements JsonSerializable { + /* + * A direct action-input override sent downstream when testing a routine. + */ + @Generated + private RoutineDispatchPayload payload; + + /** + * Creates an instance of DispatchRoutineAsyncRequest class. + */ + @Generated + public DispatchRoutineAsyncRequest() { + } + + /** + * Get the payload property: A direct action-input override sent downstream when testing a routine. + * + * @return the payload value. + */ + @Generated + public RoutineDispatchPayload getPayload() { + return this.payload; + } + + /** + * Set the payload property: A direct action-input override sent downstream when testing a routine. + * + * @param payload the payload value to set. + * @return the DispatchRoutineAsyncRequest object itself. + */ + @Generated + public DispatchRoutineAsyncRequest setPayload(RoutineDispatchPayload payload) { + this.payload = payload; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("payload", this.payload); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DispatchRoutineAsyncRequest from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DispatchRoutineAsyncRequest if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the DispatchRoutineAsyncRequest. + */ + @Generated + public static DispatchRoutineAsyncRequest fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + DispatchRoutineAsyncRequest deserializedDispatchRoutineAsyncRequest = new DispatchRoutineAsyncRequest(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("payload".equals(fieldName)) { + deserializedDispatchRoutineAsyncRequest.payload = RoutineDispatchPayload.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedDispatchRoutineAsyncRequest; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java new file mode 100644 index 000000000000..f2ac6aad062f --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java @@ -0,0 +1,176 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Agent source for data generation jobs — references an agent to fetch instructions and metadata from. + */ +@Fluent +public final class AgentDataGenerationJobSource extends DataGenerationJobSource { + /* + * The type of source. + */ + @Generated + private DataGenerationJobSourceType type = DataGenerationJobSourceType.AGENT; + + /* + * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company + * refund policy document' or 'Describes the agent's core capabilities'). + */ + @Generated + private String description; + + /* + * The agent name to fetch instructions from. + */ + @Generated + private final String agentName; + + /* + * The agent version. If not specified, the latest version is used. + */ + @Generated + private String agentVersion; + + /** + * Creates an instance of AgentDataGenerationJobSource class. + * + * @param agentName the agentName value to set. + */ + @Generated + public AgentDataGenerationJobSource(String agentName) { + this.agentName = agentName; + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @param description the description value to set. + * @return the AgentDataGenerationJobSource object itself. + */ + @Generated + public AgentDataGenerationJobSource setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the agentName property: The agent name to fetch instructions from. + * + * @return the agentName value. + */ + @Generated + public String getAgentName() { + return this.agentName; + } + + /** + * Get the agentVersion property: The agent version. If not specified, the latest version is used. + * + * @return the agentVersion value. + */ + @Generated + public String getAgentVersion() { + return this.agentVersion; + } + + /** + * Set the agentVersion property: The agent version. If not specified, the latest version is used. + * + * @param agentVersion the agentVersion value to set. + * @return the AgentDataGenerationJobSource object itself. + */ + @Generated + public AgentDataGenerationJobSource setAgentVersion(String agentVersion) { + this.agentVersion = agentVersion; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("agent_name", this.agentName); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeStringField("agent_version", this.agentVersion); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of AgentDataGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of AgentDataGenerationJobSource if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the AgentDataGenerationJobSource. + */ + @Generated + public static AgentDataGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String agentName = null; + DataGenerationJobSourceType type = DataGenerationJobSourceType.AGENT; + String description = null; + String agentVersion = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("agent_name".equals(fieldName)) { + agentName = reader.getString(); + } else if ("type".equals(fieldName)) { + type = DataGenerationJobSourceType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("agent_version".equals(fieldName)) { + agentVersion = reader.getString(); + } else { + reader.skipChildren(); + } + } + AgentDataGenerationJobSource deserializedAgentDataGenerationJobSource + = new AgentDataGenerationJobSource(agentName); + deserializedAgentDataGenerationJobSource.type = type; + deserializedAgentDataGenerationJobSource.description = description; + deserializedAgentDataGenerationJobSource.agentVersion = agentVersion; + + return deserializedAgentDataGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java new file mode 100644 index 000000000000..43d7ca440a48 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java @@ -0,0 +1,176 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Agent source for evaluator generation jobs — references an agent to fetch instructions and metadata from. + */ +@Fluent +public final class AgentEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource { + /* + * The type of source. + */ + @Generated + private EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.AGENT; + + /* + * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company + * refund policy document' or 'Describes the agent's core capabilities'). + */ + @Generated + private String description; + + /* + * The agent name to fetch instructions from. + */ + @Generated + private final String agentName; + + /* + * The agent version. If not specified, the latest version is used. + */ + @Generated + private String agentVersion; + + /** + * Creates an instance of AgentEvaluatorGenerationJobSource class. + * + * @param agentName the agentName value to set. + */ + @Generated + public AgentEvaluatorGenerationJobSource(String agentName) { + this.agentName = agentName; + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + @Override + public EvaluatorGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @param description the description value to set. + * @return the AgentEvaluatorGenerationJobSource object itself. + */ + @Generated + public AgentEvaluatorGenerationJobSource setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the agentName property: The agent name to fetch instructions from. + * + * @return the agentName value. + */ + @Generated + public String getAgentName() { + return this.agentName; + } + + /** + * Get the agentVersion property: The agent version. If not specified, the latest version is used. + * + * @return the agentVersion value. + */ + @Generated + public String getAgentVersion() { + return this.agentVersion; + } + + /** + * Set the agentVersion property: The agent version. If not specified, the latest version is used. + * + * @param agentVersion the agentVersion value to set. + * @return the AgentEvaluatorGenerationJobSource object itself. + */ + @Generated + public AgentEvaluatorGenerationJobSource setAgentVersion(String agentVersion) { + this.agentVersion = agentVersion; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("agent_name", this.agentName); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeStringField("agent_version", this.agentVersion); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of AgentEvaluatorGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of AgentEvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the AgentEvaluatorGenerationJobSource. + */ + @Generated + public static AgentEvaluatorGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String agentName = null; + EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.AGENT; + String description = null; + String agentVersion = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("agent_name".equals(fieldName)) { + agentName = reader.getString(); + } else if ("type".equals(fieldName)) { + type = EvaluatorGenerationJobSourceType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("agent_version".equals(fieldName)) { + agentVersion = reader.getString(); + } else { + reader.skipChildren(); + } + } + AgentEvaluatorGenerationJobSource deserializedAgentEvaluatorGenerationJobSource + = new AgentEvaluatorGenerationJobSource(agentName); + deserializedAgentEvaluatorGenerationJobSource.type = type; + deserializedAgentEvaluatorGenerationJobSource.description = description; + deserializedAgentEvaluatorGenerationJobSource.agentVersion = agentVersion; + + return deserializedAgentEvaluatorGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApiError.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApiError.java new file mode 100644 index 000000000000..bec2f6ff9019 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApiError.java @@ -0,0 +1,229 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; +import java.util.Map; + +/** + * The ApiError model. + */ +@Immutable +public final class ApiError implements JsonSerializable { + /* + * The code property. + */ + @Generated + private final String code; + + /* + * The message property. + */ + @Generated + private final String message; + + /* + * The param property. + */ + @Generated + private String param; + + /* + * The type property. + */ + @Generated + private String type; + + /* + * The details property. + */ + @Generated + private List details; + + /* + * The additionalInfo property. + */ + @Generated + private Map additionalInfo; + + /* + * The debugInfo property. + */ + @Generated + private Map debugInfo; + + /** + * Creates an instance of ApiError class. + * + * @param code the code value to set. + * @param message the message value to set. + */ + @Generated + private ApiError(String code, String message) { + this.code = code; + this.message = message; + } + + /** + * Get the code property: The code property. + * + * @return the code value. + */ + @Generated + public String getCode() { + return this.code; + } + + /** + * Get the message property: The message property. + * + * @return the message value. + */ + @Generated + public String getMessage() { + return this.message; + } + + /** + * Get the param property: The param property. + * + * @return the param value. + */ + @Generated + public String getParam() { + return this.param; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the details property: The details property. + * + * @return the details value. + */ + @Generated + public List getDetails() { + return this.details; + } + + /** + * Get the additionalInfo property: The additionalInfo property. + * + * @return the additionalInfo value. + */ + @Generated + public Map getAdditionalInfo() { + return this.additionalInfo; + } + + /** + * Get the debugInfo property: The debugInfo property. + * + * @return the debugInfo value. + */ + @Generated + public Map getDebugInfo() { + return this.debugInfo; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("code", this.code); + jsonWriter.writeStringField("message", this.message); + jsonWriter.writeStringField("param", this.param); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeArrayField("details", this.details, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeMapField("additionalInfo", this.additionalInfo, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + jsonWriter.writeMapField("debugInfo", this.debugInfo, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ApiError from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ApiError if the JsonReader was pointing to an instance of it, or null if it was pointing + * to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ApiError. + */ + @Generated + public static ApiError fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String code = null; + String message = null; + String param = null; + String type = null; + List details = null; + Map additionalInfo = null; + Map debugInfo = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("code".equals(fieldName)) { + code = reader.getString(); + } else if ("message".equals(fieldName)) { + message = reader.getString(); + } else if ("param".equals(fieldName)) { + param = reader.getString(); + } else if ("type".equals(fieldName)) { + type = reader.getString(); + } else if ("details".equals(fieldName)) { + details = reader.readArray(reader1 -> ApiError.fromJson(reader1)); + } else if ("additionalInfo".equals(fieldName)) { + additionalInfo = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); + } else if ("debugInfo".equals(fieldName)) { + debugInfo = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); + } else { + reader.skipChildren(); + } + } + ApiError deserializedApiError = new ApiError(code, message); + deserializedApiError.param = param; + deserializedApiError.type = type; + deserializedApiError.details = details; + deserializedApiError.additionalInfo = additionalInfo; + deserializedApiError.debugInfo = debugInfo; + + return deserializedApiError; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java new file mode 100644 index 000000000000..080fcaa04a6a --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java @@ -0,0 +1,82 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Apply patch tool + * + * Allows the assistant to create, delete, or update files using unified diffs. + */ +@Immutable +public final class ApplyPatchToolParam extends Tool { + /* + * The type property. + */ + @Generated + private ToolType type = ToolType.APPLY_PATCH; + + /** + * Creates an instance of ApplyPatchToolParam class. + */ + @Generated + public ApplyPatchToolParam() { + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public ToolType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ApplyPatchToolParam from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ApplyPatchToolParam if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the ApplyPatchToolParam. + */ + @Generated + public static ApplyPatchToolParam fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ApplyPatchToolParam deserializedApplyPatchToolParam = new ApplyPatchToolParam(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedApplyPatchToolParam.type = ToolType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedApplyPatchToolParam; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApproximateLocation.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApproximateLocation.java new file mode 100644 index 000000000000..f3219e6cc6d4 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApproximateLocation.java @@ -0,0 +1,203 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The ApproximateLocation model. + */ +@Fluent +public final class ApproximateLocation implements JsonSerializable { + /* + * The type of location approximation. Always `approximate`. + */ + @Generated + private final String type = "approximate"; + + /* + * The country property. + */ + @Generated + private String country; + + /* + * The region property. + */ + @Generated + private String region; + + /* + * The city property. + */ + @Generated + private String city; + + /* + * The timezone property. + */ + @Generated + private String timezone; + + /** + * Creates an instance of ApproximateLocation class. + */ + @Generated + public ApproximateLocation() { + } + + /** + * Get the type property: The type of location approximation. Always `approximate`. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the country property: The country property. + * + * @return the country value. + */ + @Generated + public String getCountry() { + return this.country; + } + + /** + * Set the country property: The country property. + * + * @param country the country value to set. + * @return the ApproximateLocation object itself. + */ + @Generated + public ApproximateLocation setCountry(String country) { + this.country = country; + return this; + } + + /** + * Get the region property: The region property. + * + * @return the region value. + */ + @Generated + public String getRegion() { + return this.region; + } + + /** + * Set the region property: The region property. + * + * @param region the region value to set. + * @return the ApproximateLocation object itself. + */ + @Generated + public ApproximateLocation setRegion(String region) { + this.region = region; + return this; + } + + /** + * Get the city property: The city property. + * + * @return the city value. + */ + @Generated + public String getCity() { + return this.city; + } + + /** + * Set the city property: The city property. + * + * @param city the city value to set. + * @return the ApproximateLocation object itself. + */ + @Generated + public ApproximateLocation setCity(String city) { + this.city = city; + return this; + } + + /** + * Get the timezone property: The timezone property. + * + * @return the timezone value. + */ + @Generated + public String getTimezone() { + return this.timezone; + } + + /** + * Set the timezone property: The timezone property. + * + * @param timezone the timezone value to set. + * @return the ApproximateLocation object itself. + */ + @Generated + public ApproximateLocation setTimezone(String timezone) { + this.timezone = timezone; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeStringField("country", this.country); + jsonWriter.writeStringField("region", this.region); + jsonWriter.writeStringField("city", this.city); + jsonWriter.writeStringField("timezone", this.timezone); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ApproximateLocation from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ApproximateLocation if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ApproximateLocation. + */ + @Generated + public static ApproximateLocation fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ApproximateLocation deserializedApproximateLocation = new ApproximateLocation(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("country".equals(fieldName)) { + deserializedApproximateLocation.country = reader.getString(); + } else if ("region".equals(fieldName)) { + deserializedApproximateLocation.region = reader.getString(); + } else if ("city".equals(fieldName)) { + deserializedApproximateLocation.city = reader.getString(); + } else if ("timezone".equals(fieldName)) { + deserializedApproximateLocation.timezone = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedApproximateLocation; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java new file mode 100644 index 000000000000..118402153036 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java @@ -0,0 +1,178 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * CodeInterpreterToolAuto + * + * Configuration for a code interpreter container. Optionally specify the IDs of the files to run the code on. + */ +@Fluent +public final class AutoCodeInterpreterToolParam implements JsonSerializable { + /* + * Always `auto`. + */ + @Generated + private final String type = "auto"; + + /* + * An optional list of uploaded files to make available to your code. + */ + @Generated + private List fileIds; + + /* + * The memory_limit property. + */ + @Generated + private ContainerMemoryLimit memoryLimit; + + /* + * The network_policy property. + */ + @Generated + private ContainerNetworkPolicyParam networkPolicy; + + /** + * Creates an instance of AutoCodeInterpreterToolParam class. + */ + @Generated + public AutoCodeInterpreterToolParam() { + } + + /** + * Get the type property: Always `auto`. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the fileIds property: An optional list of uploaded files to make available to your code. + * + * @return the fileIds value. + */ + @Generated + public List getFileIds() { + return this.fileIds; + } + + /** + * Set the fileIds property: An optional list of uploaded files to make available to your code. + * + * @param fileIds the fileIds value to set. + * @return the AutoCodeInterpreterToolParam object itself. + */ + @Generated + public AutoCodeInterpreterToolParam setFileIds(List fileIds) { + this.fileIds = fileIds; + return this; + } + + /** + * Get the memoryLimit property: The memory_limit property. + * + * @return the memoryLimit value. + */ + @Generated + public ContainerMemoryLimit getMemoryLimit() { + return this.memoryLimit; + } + + /** + * Set the memoryLimit property: The memory_limit property. + * + * @param memoryLimit the memoryLimit value to set. + * @return the AutoCodeInterpreterToolParam object itself. + */ + @Generated + public AutoCodeInterpreterToolParam setMemoryLimit(ContainerMemoryLimit memoryLimit) { + this.memoryLimit = memoryLimit; + return this; + } + + /** + * Get the networkPolicy property: The network_policy property. + * + * @return the networkPolicy value. + */ + @Generated + public ContainerNetworkPolicyParam getNetworkPolicy() { + return this.networkPolicy; + } + + /** + * Set the networkPolicy property: The network_policy property. + * + * @param networkPolicy the networkPolicy value to set. + * @return the AutoCodeInterpreterToolParam object itself. + */ + @Generated + public AutoCodeInterpreterToolParam setNetworkPolicy(ContainerNetworkPolicyParam networkPolicy) { + this.networkPolicy = networkPolicy; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeArrayField("file_ids", this.fileIds, (writer, element) -> writer.writeString(element)); + jsonWriter.writeStringField("memory_limit", this.memoryLimit == null ? null : this.memoryLimit.toString()); + jsonWriter.writeJsonField("network_policy", this.networkPolicy); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of AutoCodeInterpreterToolParam from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of AutoCodeInterpreterToolParam if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the AutoCodeInterpreterToolParam. + */ + @Generated + public static AutoCodeInterpreterToolParam fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + AutoCodeInterpreterToolParam deserializedAutoCodeInterpreterToolParam = new AutoCodeInterpreterToolParam(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("file_ids".equals(fieldName)) { + List fileIds = reader.readArray(reader1 -> reader1.getString()); + deserializedAutoCodeInterpreterToolParam.fileIds = fileIds; + } else if ("memory_limit".equals(fieldName)) { + deserializedAutoCodeInterpreterToolParam.memoryLimit + = ContainerMemoryLimit.fromString(reader.getString()); + } else if ("network_policy".equals(fieldName)) { + deserializedAutoCodeInterpreterToolParam.networkPolicy + = ContainerNetworkPolicyParam.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedAutoCodeInterpreterToolParam; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java index 0f8995db22b4..78310ea17f1f 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java @@ -130,6 +130,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("version", this.version); jsonWriter.writeArrayField("tool_descriptions", this.toolDescriptions, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeArrayField("tools", this.tools, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -149,6 +150,7 @@ public static AzureAIAgentTarget fromJson(JsonReader jsonReader) throws IOExcept String type = "azure_ai_agent"; String version = null; List toolDescriptions = null; + List tools = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -160,6 +162,8 @@ public static AzureAIAgentTarget fromJson(JsonReader jsonReader) throws IOExcept version = reader.getString(); } else if ("tool_descriptions".equals(fieldName)) { toolDescriptions = reader.readArray(reader1 -> ToolDescription.fromJson(reader1)); + } else if ("tools".equals(fieldName)) { + tools = reader.readArray(reader1 -> Tool.fromJson(reader1)); } else { reader.skipChildren(); } @@ -168,7 +172,36 @@ public static AzureAIAgentTarget fromJson(JsonReader jsonReader) throws IOExcept deserializedAzureAIAgentTarget.type = type; deserializedAzureAIAgentTarget.version = version; deserializedAzureAIAgentTarget.toolDescriptions = toolDescriptions; + deserializedAzureAIAgentTarget.tools = tools; return deserializedAzureAIAgentTarget; }); } + + /* + * The tools property. + */ + @Generated + private List tools; + + /** + * Get the tools property: The tools property. + * + * @return the tools value. + */ + @Generated + public List getTools() { + return this.tools; + } + + /** + * Set the tools property: The tools property. + * + * @param tools the tools value to set. + * @return the AzureAIAgentTarget object itself. + */ + @Generated + public AzureAIAgentTarget setTools(List tools) { + this.tools = tools; + return this; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java new file mode 100644 index 000000000000..c6ccd031a9ac --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java @@ -0,0 +1,114 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Code interpreter + * + * A tool that runs Python code to help generate a response to a prompt. + */ +@Immutable +public final class CodeInterpreterTool extends Tool { + /* + * The type property. + */ + @Generated + private ToolType type = ToolType.CODE_INTERPRETER; + + /* + * The code interpreter container. Can be a container ID or an object that + * specifies uploaded file IDs to make available to your code, along with an + * optional `memory_limit` setting. + */ + @Generated + private final BinaryData container; + + /** + * Creates an instance of CodeInterpreterTool class. + * + * @param container the container value to set. + */ + @Generated + public CodeInterpreterTool(BinaryData container) { + this.container = container; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public ToolType getType() { + return this.type; + } + + /** + * Get the container property: The code interpreter container. Can be a container ID or an object that + * specifies uploaded file IDs to make available to your code, along with an + * optional `memory_limit` setting. + * + * @return the container value. + */ + @Generated + public BinaryData getContainer() { + return this.container; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeFieldName("container"); + this.container.writeTo(jsonWriter); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of CodeInterpreterTool from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of CodeInterpreterTool if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the CodeInterpreterTool. + */ + @Generated + public static CodeInterpreterTool fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + BinaryData container = null; + ToolType type = ToolType.CODE_INTERPRETER; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("container".equals(fieldName)) { + container = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); + } else if ("type".equals(fieldName)) { + type = ToolType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + CodeInterpreterTool deserializedCodeInterpreterTool = new CodeInterpreterTool(container); + deserializedCodeInterpreterTool.type = type; + + return deserializedCodeInterpreterTool; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComparisonFilter.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComparisonFilter.java new file mode 100644 index 000000000000..74d5b4ab839a --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComparisonFilter.java @@ -0,0 +1,148 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Comparison Filter + * + * A filter used to compare a specified attribute key to a given value using a defined comparison operation. + */ +@Immutable +public final class ComparisonFilter implements JsonSerializable { + /* + * Specifies the comparison operator: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`. + * - `eq`: equals + * - `ne`: not equal + * - `gt`: greater than + * - `gte`: greater than or equal + * - `lt`: less than + * - `lte`: less than or equal + * - `in`: in + * - `nin`: not in + */ + @Generated + private final FileSearchToolFiltersType type; + + /* + * The key to compare against the value. + */ + @Generated + private final String key; + + /* + * The value to compare against the attribute key; supports string, number, or boolean types. + */ + @Generated + private final BinaryData value; + + /** + * Creates an instance of ComparisonFilter class. + * + * @param type the type value to set. + * @param key the key value to set. + * @param value the value value to set. + */ + @Generated + public ComparisonFilter(FileSearchToolFiltersType type, String key, BinaryData value) { + this.type = type; + this.key = key; + this.value = value; + } + + /** + * Get the type property: Specifies the comparison operator: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`. + * - `eq`: equals + * - `ne`: not equal + * - `gt`: greater than + * - `gte`: greater than or equal + * - `lt`: less than + * - `lte`: less than or equal + * - `in`: in + * - `nin`: not in. + * + * @return the type value. + */ + @Generated + public FileSearchToolFiltersType getType() { + return this.type; + } + + /** + * Get the key property: The key to compare against the value. + * + * @return the key value. + */ + @Generated + public String getKey() { + return this.key; + } + + /** + * Get the value property: The value to compare against the attribute key; supports string, number, or boolean + * types. + * + * @return the value value. + */ + @Generated + public BinaryData getValue() { + return this.value; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("key", this.key); + jsonWriter.writeFieldName("value"); + this.value.writeTo(jsonWriter); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ComparisonFilter from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ComparisonFilter if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ComparisonFilter. + */ + @Generated + public static ComparisonFilter fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + FileSearchToolFiltersType type = null; + String key = null; + BinaryData value = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + type = FileSearchToolFiltersType.fromString(reader.getString()); + } else if ("key".equals(fieldName)) { + key = reader.getString(); + } else if ("value".equals(fieldName)) { + value = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); + } else { + reader.skipChildren(); + } + } + return new ComparisonFilter(type, key, value); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CompoundFilter.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CompoundFilter.java new file mode 100644 index 000000000000..f80695538a66 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CompoundFilter.java @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Compound Filter + * + * Combine multiple filters using `and` or `or`. + */ +@Immutable +public final class CompoundFilter implements JsonSerializable { + /* + * Type of operation: `and` or `or`. + */ + @Generated + private final FileSearchToolFiltersType1 type; + + /* + * Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`. + */ + @Generated + private final List filters; + + /** + * Creates an instance of CompoundFilter class. + * + * @param type the type value to set. + * @param filters the filters value to set. + */ + @Generated + public CompoundFilter(FileSearchToolFiltersType1 type, List filters) { + this.type = type; + this.filters = filters; + } + + /** + * Get the type property: Type of operation: `and` or `or`. + * + * @return the type value. + */ + @Generated + public FileSearchToolFiltersType1 getType() { + return this.type; + } + + /** + * Get the filters property: Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`. + * + * @return the filters value. + */ + @Generated + public List getFilters() { + return this.filters; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeArrayField("filters", this.filters, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of CompoundFilter from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of CompoundFilter if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the CompoundFilter. + */ + @Generated + public static CompoundFilter fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + FileSearchToolFiltersType1 type = null; + List filters = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + type = FileSearchToolFiltersType1.fromString(reader.getString()); + } else if ("filters".equals(fieldName)) { + filters = reader.readArray(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); + } else { + reader.skipChildren(); + } + } + return new CompoundFilter(type, filters); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerEnvironment.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerEnvironment.java new file mode 100644 index 000000000000..b785323af063 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerEnvironment.java @@ -0,0 +1,71 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +/** + * Defines values for ComputerEnvironment. + */ +public enum ComputerEnvironment { + /** + * Enum value windows. + */ + WINDOWS("windows"), + + /** + * Enum value mac. + */ + MAC("mac"), + + /** + * Enum value linux. + */ + LINUX("linux"), + + /** + * Enum value ubuntu. + */ + UBUNTU("ubuntu"), + + /** + * Enum value browser. + */ + BROWSER("browser"); + + /** + * The actual serialized value for a ComputerEnvironment instance. + */ + private final String value; + + ComputerEnvironment(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a ComputerEnvironment instance. + * + * @param value the serialized value to parse. + * @return the parsed ComputerEnvironment object, or null if unable to parse. + */ + public static ComputerEnvironment fromString(String value) { + if (value == null) { + return null; + } + ComputerEnvironment[] items = ComputerEnvironment.values(); + for (ComputerEnvironment item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java new file mode 100644 index 000000000000..8106b3230176 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java @@ -0,0 +1,154 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Computer use preview + * + * A tool that controls a virtual computer. Learn more about the [computer + * tool](https://platform.openai.com/docs/guides/tools-computer-use). + */ +@Immutable +public final class ComputerUsePreviewTool extends Tool { + /* + * The type property. + */ + @Generated + private ToolType type = ToolType.COMPUTER_USE_PREVIEW; + + /* + * The type of computer environment to control. + */ + @Generated + private final ComputerEnvironment environment; + + /* + * The width of the computer display. + */ + @Generated + private final int displayWidth; + + /* + * The height of the computer display. + */ + @Generated + private final int displayHeight; + + /** + * Creates an instance of ComputerUsePreviewTool class. + * + * @param environment the environment value to set. + * @param displayWidth the displayWidth value to set. + * @param displayHeight the displayHeight value to set. + */ + @Generated + public ComputerUsePreviewTool(ComputerEnvironment environment, int displayWidth, int displayHeight) { + this.environment = environment; + this.displayWidth = displayWidth; + this.displayHeight = displayHeight; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public ToolType getType() { + return this.type; + } + + /** + * Get the environment property: The type of computer environment to control. + * + * @return the environment value. + */ + @Generated + public ComputerEnvironment getEnvironment() { + return this.environment; + } + + /** + * Get the displayWidth property: The width of the computer display. + * + * @return the displayWidth value. + */ + @Generated + public int getDisplayWidth() { + return this.displayWidth; + } + + /** + * Get the displayHeight property: The height of the computer display. + * + * @return the displayHeight value. + */ + @Generated + public int getDisplayHeight() { + return this.displayHeight; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("environment", this.environment == null ? null : this.environment.toString()); + jsonWriter.writeIntField("display_width", this.displayWidth); + jsonWriter.writeIntField("display_height", this.displayHeight); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ComputerUsePreviewTool from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ComputerUsePreviewTool if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ComputerUsePreviewTool. + */ + @Generated + public static ComputerUsePreviewTool fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ComputerEnvironment environment = null; + int displayWidth = 0; + int displayHeight = 0; + ToolType type = ToolType.COMPUTER_USE_PREVIEW; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("environment".equals(fieldName)) { + environment = ComputerEnvironment.fromString(reader.getString()); + } else if ("display_width".equals(fieldName)) { + displayWidth = reader.getInt(); + } else if ("display_height".equals(fieldName)) { + displayHeight = reader.getInt(); + } else if ("type".equals(fieldName)) { + type = ToolType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + ComputerUsePreviewTool deserializedComputerUsePreviewTool + = new ComputerUsePreviewTool(environment, displayWidth, displayHeight); + deserializedComputerUsePreviewTool.type = type; + + return deserializedComputerUsePreviewTool; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java new file mode 100644 index 000000000000..176b078f76b4 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java @@ -0,0 +1,208 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * The ContainerAutoParam model. + */ +@Fluent +public final class ContainerAutoParam extends FunctionShellToolParamEnvironment { + /* + * The type property. + */ + @Generated + private FunctionShellToolParamEnvironmentType type = FunctionShellToolParamEnvironmentType.CONTAINER_AUTO; + + /* + * An optional list of uploaded files to make available to your code. + */ + @Generated + private List fileIds; + + /* + * The memory_limit property. + */ + @Generated + private ContainerMemoryLimit memoryLimit; + + /* + * An optional list of skills referenced by id or inline data. + */ + @Generated + private List skills; + + /* + * The network_policy property. + */ + @Generated + private ContainerNetworkPolicyParam networkPolicy; + + /** + * Creates an instance of ContainerAutoParam class. + */ + @Generated + public ContainerAutoParam() { + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public FunctionShellToolParamEnvironmentType getType() { + return this.type; + } + + /** + * Get the fileIds property: An optional list of uploaded files to make available to your code. + * + * @return the fileIds value. + */ + @Generated + public List getFileIds() { + return this.fileIds; + } + + /** + * Set the fileIds property: An optional list of uploaded files to make available to your code. + * + * @param fileIds the fileIds value to set. + * @return the ContainerAutoParam object itself. + */ + @Generated + public ContainerAutoParam setFileIds(List fileIds) { + this.fileIds = fileIds; + return this; + } + + /** + * Get the memoryLimit property: The memory_limit property. + * + * @return the memoryLimit value. + */ + @Generated + public ContainerMemoryLimit getMemoryLimit() { + return this.memoryLimit; + } + + /** + * Set the memoryLimit property: The memory_limit property. + * + * @param memoryLimit the memoryLimit value to set. + * @return the ContainerAutoParam object itself. + */ + @Generated + public ContainerAutoParam setMemoryLimit(ContainerMemoryLimit memoryLimit) { + this.memoryLimit = memoryLimit; + return this; + } + + /** + * Get the skills property: An optional list of skills referenced by id or inline data. + * + * @return the skills value. + */ + @Generated + public List getSkills() { + return this.skills; + } + + /** + * Set the skills property: An optional list of skills referenced by id or inline data. + * + * @param skills the skills value to set. + * @return the ContainerAutoParam object itself. + */ + @Generated + public ContainerAutoParam setSkills(List skills) { + this.skills = skills; + return this; + } + + /** + * Get the networkPolicy property: The network_policy property. + * + * @return the networkPolicy value. + */ + @Generated + public ContainerNetworkPolicyParam getNetworkPolicy() { + return this.networkPolicy; + } + + /** + * Set the networkPolicy property: The network_policy property. + * + * @param networkPolicy the networkPolicy value to set. + * @return the ContainerAutoParam object itself. + */ + @Generated + public ContainerAutoParam setNetworkPolicy(ContainerNetworkPolicyParam networkPolicy) { + this.networkPolicy = networkPolicy; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeArrayField("file_ids", this.fileIds, (writer, element) -> writer.writeString(element)); + jsonWriter.writeStringField("memory_limit", this.memoryLimit == null ? null : this.memoryLimit.toString()); + jsonWriter.writeArrayField("skills", this.skills, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeJsonField("network_policy", this.networkPolicy); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ContainerAutoParam from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ContainerAutoParam if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the ContainerAutoParam. + */ + @Generated + public static ContainerAutoParam fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ContainerAutoParam deserializedContainerAutoParam = new ContainerAutoParam(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedContainerAutoParam.type + = FunctionShellToolParamEnvironmentType.fromString(reader.getString()); + } else if ("file_ids".equals(fieldName)) { + List fileIds = reader.readArray(reader1 -> reader1.getString()); + deserializedContainerAutoParam.fileIds = fileIds; + } else if ("memory_limit".equals(fieldName)) { + deserializedContainerAutoParam.memoryLimit = ContainerMemoryLimit.fromString(reader.getString()); + } else if ("skills".equals(fieldName)) { + List skills = reader.readArray(reader1 -> ContainerSkill.fromJson(reader1)); + deserializedContainerAutoParam.skills = skills; + } else if ("network_policy".equals(fieldName)) { + deserializedContainerAutoParam.networkPolicy = ContainerNetworkPolicyParam.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedContainerAutoParam; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerMemoryLimit.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerMemoryLimit.java new file mode 100644 index 000000000000..b852d2113b06 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerMemoryLimit.java @@ -0,0 +1,66 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +/** + * Defines values for ContainerMemoryLimit. + */ +public enum ContainerMemoryLimit { + /** + * Enum value 1g. + */ + ONEG("1g"), + + /** + * Enum value 4g. + */ + FOURG("4g"), + + /** + * Enum value 16g. + */ + ONE_SIXG("16g"), + + /** + * Enum value 64g. + */ + SIX_FOURG("64g"); + + /** + * The actual serialized value for a ContainerMemoryLimit instance. + */ + private final String value; + + ContainerMemoryLimit(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a ContainerMemoryLimit instance. + * + * @param value the serialized value to parse. + * @return the parsed ContainerMemoryLimit object, or null if unable to parse. + */ + public static ContainerMemoryLimit fromString(String value) { + if (value == null) { + return null; + } + ContainerMemoryLimit[] items = ContainerMemoryLimit.values(); + for (ContainerMemoryLimit item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java new file mode 100644 index 000000000000..8b71e174c4df --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java @@ -0,0 +1,145 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * The ContainerNetworkPolicyAllowlistParam model. + */ +@Fluent +public final class ContainerNetworkPolicyAllowlistParam extends ContainerNetworkPolicyParam { + /* + * The type property. + */ + @Generated + private ContainerNetworkPolicyParamType type = ContainerNetworkPolicyParamType.ALLOWLIST; + + /* + * A list of allowed domains when type is `allowlist`. + */ + @Generated + private final List allowedDomains; + + /* + * Optional domain-scoped secrets for allowlisted domains. + */ + @Generated + private List domainSecrets; + + /** + * Creates an instance of ContainerNetworkPolicyAllowlistParam class. + * + * @param allowedDomains the allowedDomains value to set. + */ + @Generated + public ContainerNetworkPolicyAllowlistParam(List allowedDomains) { + this.allowedDomains = allowedDomains; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public ContainerNetworkPolicyParamType getType() { + return this.type; + } + + /** + * Get the allowedDomains property: A list of allowed domains when type is `allowlist`. + * + * @return the allowedDomains value. + */ + @Generated + public List getAllowedDomains() { + return this.allowedDomains; + } + + /** + * Get the domainSecrets property: Optional domain-scoped secrets for allowlisted domains. + * + * @return the domainSecrets value. + */ + @Generated + public List getDomainSecrets() { + return this.domainSecrets; + } + + /** + * Set the domainSecrets property: Optional domain-scoped secrets for allowlisted domains. + * + * @param domainSecrets the domainSecrets value to set. + * @return the ContainerNetworkPolicyAllowlistParam object itself. + */ + @Generated + public ContainerNetworkPolicyAllowlistParam + setDomainSecrets(List domainSecrets) { + this.domainSecrets = domainSecrets; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeArrayField("allowed_domains", this.allowedDomains, + (writer, element) -> writer.writeString(element)); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeArrayField("domain_secrets", this.domainSecrets, + (writer, element) -> writer.writeJson(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ContainerNetworkPolicyAllowlistParam from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ContainerNetworkPolicyAllowlistParam if the JsonReader was pointing to an instance of it, + * or null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ContainerNetworkPolicyAllowlistParam. + */ + @Generated + public static ContainerNetworkPolicyAllowlistParam fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + List allowedDomains = null; + ContainerNetworkPolicyParamType type = ContainerNetworkPolicyParamType.ALLOWLIST; + List domainSecrets = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("allowed_domains".equals(fieldName)) { + allowedDomains = reader.readArray(reader1 -> reader1.getString()); + } else if ("type".equals(fieldName)) { + type = ContainerNetworkPolicyParamType.fromString(reader.getString()); + } else if ("domain_secrets".equals(fieldName)) { + domainSecrets + = reader.readArray(reader1 -> ContainerNetworkPolicyDomainSecretParam.fromJson(reader1)); + } else { + reader.skipChildren(); + } + } + ContainerNetworkPolicyAllowlistParam deserializedContainerNetworkPolicyAllowlistParam + = new ContainerNetworkPolicyAllowlistParam(allowedDomains); + deserializedContainerNetworkPolicyAllowlistParam.type = type; + deserializedContainerNetworkPolicyAllowlistParam.domainSecrets = domainSecrets; + + return deserializedContainerNetworkPolicyAllowlistParam; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java new file mode 100644 index 000000000000..436525c77e56 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java @@ -0,0 +1,82 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The ContainerNetworkPolicyDisabledParam model. + */ +@Immutable +public final class ContainerNetworkPolicyDisabledParam extends ContainerNetworkPolicyParam { + /* + * The type property. + */ + @Generated + private ContainerNetworkPolicyParamType type = ContainerNetworkPolicyParamType.DISABLED; + + /** + * Creates an instance of ContainerNetworkPolicyDisabledParam class. + */ + @Generated + public ContainerNetworkPolicyDisabledParam() { + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public ContainerNetworkPolicyParamType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ContainerNetworkPolicyDisabledParam from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ContainerNetworkPolicyDisabledParam if the JsonReader was pointing to an instance of it, + * or null if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the ContainerNetworkPolicyDisabledParam. + */ + @Generated + public static ContainerNetworkPolicyDisabledParam fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ContainerNetworkPolicyDisabledParam deserializedContainerNetworkPolicyDisabledParam + = new ContainerNetworkPolicyDisabledParam(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedContainerNetworkPolicyDisabledParam.type + = ContainerNetworkPolicyParamType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedContainerNetworkPolicyDisabledParam; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java new file mode 100644 index 000000000000..e0c6cb0e3cd1 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java @@ -0,0 +1,128 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The ContainerNetworkPolicyDomainSecretParam model. + */ +@Immutable +public final class ContainerNetworkPolicyDomainSecretParam + implements JsonSerializable { + /* + * The domain associated with the secret. + */ + @Generated + private final String domain; + + /* + * The name of the secret to inject for the domain. + */ + @Generated + private final String name; + + /* + * The secret value to inject for the domain. + */ + @Generated + private final String value; + + /** + * Creates an instance of ContainerNetworkPolicyDomainSecretParam class. + * + * @param domain the domain value to set. + * @param name the name value to set. + * @param value the value value to set. + */ + @Generated + public ContainerNetworkPolicyDomainSecretParam(String domain, String name, String value) { + this.domain = domain; + this.name = name; + this.value = value; + } + + /** + * Get the domain property: The domain associated with the secret. + * + * @return the domain value. + */ + @Generated + public String getDomain() { + return this.domain; + } + + /** + * Get the name property: The name of the secret to inject for the domain. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the value property: The secret value to inject for the domain. + * + * @return the value value. + */ + @Generated + public String getValue() { + return this.value; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("domain", this.domain); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("value", this.value); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ContainerNetworkPolicyDomainSecretParam from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ContainerNetworkPolicyDomainSecretParam if the JsonReader was pointing to an instance of + * it, or null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ContainerNetworkPolicyDomainSecretParam. + */ + @Generated + public static ContainerNetworkPolicyDomainSecretParam fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String domain = null; + String name = null; + String value = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("domain".equals(fieldName)) { + domain = reader.getString(); + } else if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("value".equals(fieldName)) { + value = reader.getString(); + } else { + reader.skipChildren(); + } + } + return new ContainerNetworkPolicyDomainSecretParam(domain, name, value); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java new file mode 100644 index 000000000000..84196f84c373 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java @@ -0,0 +1,110 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Network access policy for the container. + */ +@Immutable +public class ContainerNetworkPolicyParam implements JsonSerializable { + /* + * The type property. + */ + @Generated + private ContainerNetworkPolicyParamType type + = ContainerNetworkPolicyParamType.fromString("ContainerNetworkPolicyParam"); + + /** + * Creates an instance of ContainerNetworkPolicyParam class. + */ + @Generated + public ContainerNetworkPolicyParam() { + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + public ContainerNetworkPolicyParamType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ContainerNetworkPolicyParam from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ContainerNetworkPolicyParam if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the ContainerNetworkPolicyParam. + */ + @Generated + public static ContainerNetworkPolicyParam fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + readerToUse.nextToken(); // Prepare for reading + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("type".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("disabled".equals(discriminatorValue)) { + return ContainerNetworkPolicyDisabledParam.fromJson(readerToUse.reset()); + } else if ("allowlist".equals(discriminatorValue)) { + return ContainerNetworkPolicyAllowlistParam.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static ContainerNetworkPolicyParam fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ContainerNetworkPolicyParam deserializedContainerNetworkPolicyParam = new ContainerNetworkPolicyParam(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedContainerNetworkPolicyParam.type + = ContainerNetworkPolicyParamType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedContainerNetworkPolicyParam; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java new file mode 100644 index 000000000000..0662c6478a41 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Defines values for ContainerNetworkPolicyParamType. + */ +public final class ContainerNetworkPolicyParamType extends ExpandableStringEnum { + /** + * Static value disabled for ContainerNetworkPolicyParamType. + */ + @Generated + public static final ContainerNetworkPolicyParamType DISABLED = fromString("disabled"); + + /** + * Static value allowlist for ContainerNetworkPolicyParamType. + */ + @Generated + public static final ContainerNetworkPolicyParamType ALLOWLIST = fromString("allowlist"); + + /** + * Creates a new instance of ContainerNetworkPolicyParamType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public ContainerNetworkPolicyParamType() { + } + + /** + * Creates or finds a ContainerNetworkPolicyParamType from its string representation. + * + * @param name a name to look for. + * @return the corresponding ContainerNetworkPolicyParamType. + */ + @Generated + public static ContainerNetworkPolicyParamType fromString(String name) { + return fromString(name, ContainerNetworkPolicyParamType.class); + } + + /** + * Gets known ContainerNetworkPolicyParamType values. + * + * @return known ContainerNetworkPolicyParamType values. + */ + @Generated + public static Collection values() { + return values(ContainerNetworkPolicyParamType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkill.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkill.java new file mode 100644 index 000000000000..607afa56604f --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkill.java @@ -0,0 +1,108 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The ContainerSkill model. + */ +@Immutable +public class ContainerSkill implements JsonSerializable { + /* + * The type property. + */ + @Generated + private ContainerSkillType type = ContainerSkillType.fromString("ContainerSkill"); + + /** + * Creates an instance of ContainerSkill class. + */ + @Generated + public ContainerSkill() { + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + public ContainerSkillType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ContainerSkill from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ContainerSkill if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the ContainerSkill. + */ + @Generated + public static ContainerSkill fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + readerToUse.nextToken(); // Prepare for reading + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("type".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("skill_reference".equals(discriminatorValue)) { + return SkillReferenceParam.fromJson(readerToUse.reset()); + } else if ("inline".equals(discriminatorValue)) { + return InlineSkillParam.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static ContainerSkill fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ContainerSkill deserializedContainerSkill = new ContainerSkill(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedContainerSkill.type = ContainerSkillType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedContainerSkill; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkillType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkillType.java new file mode 100644 index 000000000000..de61dfe9a40d --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkillType.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Defines values for ContainerSkillType. + */ +public final class ContainerSkillType extends ExpandableStringEnum { + /** + * Static value skill_reference for ContainerSkillType. + */ + @Generated + public static final ContainerSkillType SKILL_REFERENCE = fromString("skill_reference"); + + /** + * Static value inline for ContainerSkillType. + */ + @Generated + public static final ContainerSkillType INLINE = fromString("inline"); + + /** + * Creates a new instance of ContainerSkillType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public ContainerSkillType() { + } + + /** + * Creates or finds a ContainerSkillType from its string representation. + * + * @param name a name to look for. + * @return the corresponding ContainerSkillType. + */ + @Generated + public static ContainerSkillType fromString(String name) { + return fromString(name, ContainerSkillType.class); + } + + /** + * Gets known ContainerSkillType values. + * + * @return known ContainerSkillType values. + */ + @Generated + public static Collection values() { + return values(ContainerSkillType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java index c06bc6d27c46..7bcca172b3d4 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public final class CreateAsyncResponse implements JsonSerializable { + /* * URL to poll for operation status. */ @@ -38,7 +38,7 @@ private CreateAsyncResponse() { /** * Get the location property: URL to poll for operation status. - * + * * @return the location value. */ @Generated @@ -48,7 +48,7 @@ public String getLocation() { /** * Get the operationResult property: URL to the operation result, or null if the operation is still in progress. - * + * * @return the operationResult value. */ @Generated @@ -70,7 +70,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of CreateAsyncResponse from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of CreateAsyncResponse if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -83,7 +83,6 @@ public static CreateAsyncResponse fromJson(JsonReader jsonReader) throws IOExcep while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("location".equals(fieldName)) { deserializedCreateAsyncResponse.location = reader.getString(); } else if ("operationResult".equals(fieldName)) { @@ -92,7 +91,6 @@ public static CreateAsyncResponse fromJson(JsonReader jsonReader) throws IOExcep reader.skipChildren(); } } - return deserializedCreateAsyncResponse; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java new file mode 100644 index 000000000000..9f442a0bec40 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java @@ -0,0 +1,131 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Grammar format + * + * A grammar defined by the user. + */ +@Immutable +public final class CustomGrammarFormatParam extends CustomToolParamFormat { + /* + * The type property. + */ + @Generated + private CustomToolParamFormatType type = CustomToolParamFormatType.GRAMMAR; + + /* + * The syntax of the grammar definition. One of `lark` or `regex`. + */ + @Generated + private final GrammarSyntax1 syntax; + + /* + * The grammar definition. + */ + @Generated + private final String definition; + + /** + * Creates an instance of CustomGrammarFormatParam class. + * + * @param syntax the syntax value to set. + * @param definition the definition value to set. + */ + @Generated + public CustomGrammarFormatParam(GrammarSyntax1 syntax, String definition) { + this.syntax = syntax; + this.definition = definition; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public CustomToolParamFormatType getType() { + return this.type; + } + + /** + * Get the syntax property: The syntax of the grammar definition. One of `lark` or `regex`. + * + * @return the syntax value. + */ + @Generated + public GrammarSyntax1 getSyntax() { + return this.syntax; + } + + /** + * Get the definition property: The grammar definition. + * + * @return the definition value. + */ + @Generated + public String getDefinition() { + return this.definition; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("syntax", this.syntax == null ? null : this.syntax.toString()); + jsonWriter.writeStringField("definition", this.definition); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of CustomGrammarFormatParam from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of CustomGrammarFormatParam if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the CustomGrammarFormatParam. + */ + @Generated + public static CustomGrammarFormatParam fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + GrammarSyntax1 syntax = null; + String definition = null; + CustomToolParamFormatType type = CustomToolParamFormatType.GRAMMAR; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("syntax".equals(fieldName)) { + syntax = GrammarSyntax1.fromString(reader.getString()); + } else if ("definition".equals(fieldName)) { + definition = reader.getString(); + } else if ("type".equals(fieldName)) { + type = CustomToolParamFormatType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + CustomGrammarFormatParam deserializedCustomGrammarFormatParam + = new CustomGrammarFormatParam(syntax, definition); + deserializedCustomGrammarFormatParam.type = type; + + return deserializedCustomGrammarFormatParam; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomTextFormatParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomTextFormatParam.java new file mode 100644 index 000000000000..7d3200d56b8b --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomTextFormatParam.java @@ -0,0 +1,82 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Text format + * + * Unconstrained free-form text. + */ +@Immutable +public final class CustomTextFormatParam extends CustomToolParamFormat { + /* + * The type property. + */ + @Generated + private CustomToolParamFormatType type = CustomToolParamFormatType.TEXT; + + /** + * Creates an instance of CustomTextFormatParam class. + */ + @Generated + public CustomTextFormatParam() { + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public CustomToolParamFormatType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of CustomTextFormatParam from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of CustomTextFormatParam if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the CustomTextFormatParam. + */ + @Generated + public static CustomTextFormatParam fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + CustomTextFormatParam deserializedCustomTextFormatParam = new CustomTextFormatParam(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedCustomTextFormatParam.type = CustomToolParamFormatType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedCustomTextFormatParam; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParam.java new file mode 100644 index 000000000000..3ec4f1ec5a38 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParam.java @@ -0,0 +1,175 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Custom tool + * + * A custom tool that processes input using a specified format. Learn more about [custom + * tools](/docs/guides/function-calling#custom-tools). + */ +@Fluent +public final class CustomToolParam extends Tool { + /* + * The type property. + */ + @Generated + private ToolType type = ToolType.CUSTOM; + + /* + * The name of the custom tool, used to identify it in tool calls. + */ + @Generated + private final String name; + + /* + * Optional description of the custom tool, used to provide more context. + */ + @Generated + private String description; + + /* + * The input format for the custom tool. Default is unconstrained text. + */ + @Generated + private CustomToolParamFormat format; + + /** + * Creates an instance of CustomToolParam class. + * + * @param name the name value to set. + */ + @Generated + public CustomToolParam(String name) { + this.name = name; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public ToolType getType() { + return this.type; + } + + /** + * Get the name property: The name of the custom tool, used to identify it in tool calls. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the description property: Optional description of the custom tool, used to provide more context. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional description of the custom tool, used to provide more context. + * + * @param description the description value to set. + * @return the CustomToolParam object itself. + */ + @Generated + public CustomToolParam setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the format property: The input format for the custom tool. Default is unconstrained text. + * + * @return the format value. + */ + @Generated + public CustomToolParamFormat getFormat() { + return this.format; + } + + /** + * Set the format property: The input format for the custom tool. Default is unconstrained text. + * + * @param format the format value to set. + * @return the CustomToolParam object itself. + */ + @Generated + public CustomToolParam setFormat(CustomToolParamFormat format) { + this.format = format; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeJsonField("format", this.format); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of CustomToolParam from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of CustomToolParam if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the CustomToolParam. + */ + @Generated + public static CustomToolParam fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + ToolType type = ToolType.CUSTOM; + String description = null; + CustomToolParamFormat format = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("type".equals(fieldName)) { + type = ToolType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("format".equals(fieldName)) { + format = CustomToolParamFormat.fromJson(reader); + } else { + reader.skipChildren(); + } + } + CustomToolParam deserializedCustomToolParam = new CustomToolParam(name); + deserializedCustomToolParam.type = type; + deserializedCustomToolParam.description = description; + deserializedCustomToolParam.format = format; + + return deserializedCustomToolParam; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormat.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormat.java new file mode 100644 index 000000000000..41ab94dc20e1 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormat.java @@ -0,0 +1,108 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The input format for the custom tool. Default is unconstrained text. + */ +@Immutable +public class CustomToolParamFormat implements JsonSerializable { + /* + * The type property. + */ + @Generated + private CustomToolParamFormatType type = CustomToolParamFormatType.fromString("CustomToolParamFormat"); + + /** + * Creates an instance of CustomToolParamFormat class. + */ + @Generated + public CustomToolParamFormat() { + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + public CustomToolParamFormatType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of CustomToolParamFormat from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of CustomToolParamFormat if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the CustomToolParamFormat. + */ + @Generated + public static CustomToolParamFormat fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + readerToUse.nextToken(); // Prepare for reading + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("type".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("text".equals(discriminatorValue)) { + return CustomTextFormatParam.fromJson(readerToUse.reset()); + } else if ("grammar".equals(discriminatorValue)) { + return CustomGrammarFormatParam.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static CustomToolParamFormat fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + CustomToolParamFormat deserializedCustomToolParamFormat = new CustomToolParamFormat(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedCustomToolParamFormat.type = CustomToolParamFormatType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedCustomToolParamFormat; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java new file mode 100644 index 000000000000..71d656897b41 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Defines values for CustomToolParamFormatType. + */ +public final class CustomToolParamFormatType extends ExpandableStringEnum { + /** + * Static value text for CustomToolParamFormatType. + */ + @Generated + public static final CustomToolParamFormatType TEXT = fromString("text"); + + /** + * Static value grammar for CustomToolParamFormatType. + */ + @Generated + public static final CustomToolParamFormatType GRAMMAR = fromString("grammar"); + + /** + * Creates a new instance of CustomToolParamFormatType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public CustomToolParamFormatType() { + } + + /** + * Creates or finds a CustomToolParamFormatType from its string representation. + * + * @param name a name to look for. + * @return the corresponding CustomToolParamFormatType. + */ + @Generated + public static CustomToolParamFormatType fromString(String name) { + return fromString(name, CustomToolParamFormatType.class); + } + + /** + * Gets known CustomToolParamFormatType values. + * + * @return known CustomToolParamFormatType values. + */ + @Generated + public static Collection values() { + return values(CustomToolParamFormatType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJob.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJob.java new file mode 100644 index 000000000000..72a44c0edb30 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJob.java @@ -0,0 +1,209 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; + +/** + * Data Generation Job resource. + */ +@Fluent +public final class DataGenerationJob implements JsonSerializable { + /* + * Server-assigned unique identifier. + */ + @Generated + private String id; + + /* + * Caller-supplied inputs. + */ + @Generated + private DataGenerationJobInputs inputs; + + /* + * Result produced on success. + */ + @Generated + private DataGenerationJobResult result; + + /* + * Current lifecycle status. + */ + @Generated + private JobStatus status; + + /* + * Error details — populated only on failure. + */ + @Generated + private ApiError error; + + /* + * The timestamp when the job was created, represented in Unix time (seconds since January 1, 1970). + */ + @Generated + private long createdAt; + + /* + * The timestamp when the job was finished, represented in Unix time (seconds since January 1, 1970). + */ + @Generated + private Long finishedAt; + + /** + * Creates an instance of DataGenerationJob class. + */ + @Generated + public DataGenerationJob() { + } + + /** + * Get the id property: Server-assigned unique identifier. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } + + /** + * Get the inputs property: Caller-supplied inputs. + * + * @return the inputs value. + */ + @Generated + public DataGenerationJobInputs getInputs() { + return this.inputs; + } + + /** + * Set the inputs property: Caller-supplied inputs. + * + * @param inputs the inputs value to set. + * @return the DataGenerationJob object itself. + */ + @Generated + public DataGenerationJob setInputs(DataGenerationJobInputs inputs) { + this.inputs = inputs; + return this; + } + + /** + * Get the result property: Result produced on success. + * + * @return the result value. + */ + @Generated + public DataGenerationJobResult getResult() { + return this.result; + } + + /** + * Get the status property: Current lifecycle status. + * + * @return the status value. + */ + @Generated + public JobStatus getStatus() { + return this.status; + } + + /** + * Get the error property: Error details — populated only on failure. + * + * @return the error value. + */ + @Generated + public ApiError getError() { + return this.error; + } + + /** + * Get the createdAt property: The timestamp when the job was created, represented in Unix time (seconds since + * January 1, 1970). + * + * @return the createdAt value. + */ + @Generated + public OffsetDateTime getCreatedAt() { + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.createdAt), ZoneOffset.UTC); + } + + /** + * Get the finishedAt property: The timestamp when the job was finished, represented in Unix time (seconds since + * January 1, 1970). + * + * @return the finishedAt value. + */ + @Generated + public OffsetDateTime getFinishedAt() { + if (this.finishedAt == null) { + return null; + } + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.finishedAt), ZoneOffset.UTC); + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("inputs", this.inputs); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DataGenerationJob from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DataGenerationJob if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DataGenerationJob. + */ + @Generated + public static DataGenerationJob fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + DataGenerationJob deserializedDataGenerationJob = new DataGenerationJob(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedDataGenerationJob.id = reader.getString(); + } else if ("status".equals(fieldName)) { + deserializedDataGenerationJob.status = JobStatus.fromString(reader.getString()); + } else if ("created_at".equals(fieldName)) { + deserializedDataGenerationJob.createdAt = reader.getLong(); + } else if ("inputs".equals(fieldName)) { + deserializedDataGenerationJob.inputs = DataGenerationJobInputs.fromJson(reader); + } else if ("result".equals(fieldName)) { + deserializedDataGenerationJob.result = DataGenerationJobResult.fromJson(reader); + } else if ("error".equals(fieldName)) { + deserializedDataGenerationJob.error = ApiError.fromJson(reader); + } else if ("finished_at".equals(fieldName)) { + deserializedDataGenerationJob.finishedAt = reader.getNullable(JsonReader::getLong); + } else { + reader.skipChildren(); + } + } + + return deserializedDataGenerationJob; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java new file mode 100644 index 000000000000..8e5069735012 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java @@ -0,0 +1,190 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Caller-supplied inputs for a data generation job. + */ +@Fluent +public final class DataGenerationJobInputs implements JsonSerializable { + /* + * The display name of the data generation job. + */ + @Generated + private final String name; + + /* + * The sources used for the data generation job. + */ + @Generated + private final List sources; + + /* + * The options for the data generation job. + */ + @Generated + private final DataGenerationJobOptions options; + + /* + * The scenario of the data generation job. Either for fine-tuning or evaluation. + */ + @Generated + private final DataGenerationJobScenario scenario; + + /* + * Optional caller-supplied metadata for the job's output. See individual fields for whether they apply to file + * outputs (fine-tuning scenarios), dataset outputs (evaluation scenario), or both. + */ + @Generated + private DataGenerationJobOutputOptions outputOptions; + + /** + * Creates an instance of DataGenerationJobInputs class. + * + * @param name the name value to set. + * @param sources the sources value to set. + * @param options the options value to set. + * @param scenario the scenario value to set. + */ + @Generated + public DataGenerationJobInputs(String name, List sources, DataGenerationJobOptions options, + DataGenerationJobScenario scenario) { + this.name = name; + this.sources = sources; + this.options = options; + this.scenario = scenario; + } + + /** + * Get the name property: The display name of the data generation job. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the sources property: The sources used for the data generation job. + * + * @return the sources value. + */ + @Generated + public List getSources() { + return this.sources; + } + + /** + * Get the options property: The options for the data generation job. + * + * @return the options value. + */ + @Generated + public DataGenerationJobOptions getOptions() { + return this.options; + } + + /** + * Get the scenario property: The scenario of the data generation job. Either for fine-tuning or evaluation. + * + * @return the scenario value. + */ + @Generated + public DataGenerationJobScenario getScenario() { + return this.scenario; + } + + /** + * Get the outputOptions property: Optional caller-supplied metadata for the job's output. See individual fields for + * whether they apply to file outputs (fine-tuning scenarios), dataset outputs (evaluation scenario), or both. + * + * @return the outputOptions value. + */ + @Generated + public DataGenerationJobOutputOptions getOutputOptions() { + return this.outputOptions; + } + + /** + * Set the outputOptions property: Optional caller-supplied metadata for the job's output. See individual fields for + * whether they apply to file outputs (fine-tuning scenarios), dataset outputs (evaluation scenario), or both. + * + * @param outputOptions the outputOptions value to set. + * @return the DataGenerationJobInputs object itself. + */ + @Generated + public DataGenerationJobInputs setOutputOptions(DataGenerationJobOutputOptions outputOptions) { + this.outputOptions = outputOptions; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeArrayField("sources", this.sources, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeJsonField("options", this.options); + jsonWriter.writeStringField("scenario", this.scenario == null ? null : this.scenario.toString()); + jsonWriter.writeJsonField("output_options", this.outputOptions); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DataGenerationJobInputs from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DataGenerationJobInputs if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DataGenerationJobInputs. + */ + @Generated + public static DataGenerationJobInputs fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + List sources = null; + DataGenerationJobOptions options = null; + DataGenerationJobScenario scenario = null; + DataGenerationJobOutputOptions outputOptions = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("sources".equals(fieldName)) { + sources = reader.readArray(reader1 -> DataGenerationJobSource.fromJson(reader1)); + } else if ("options".equals(fieldName)) { + options = DataGenerationJobOptions.fromJson(reader); + } else if ("scenario".equals(fieldName)) { + scenario = DataGenerationJobScenario.fromString(reader.getString()); + } else if ("output_options".equals(fieldName)) { + outputOptions = DataGenerationJobOutputOptions.fromJson(reader); + } else { + reader.skipChildren(); + } + } + DataGenerationJobInputs deserializedDataGenerationJobInputs + = new DataGenerationJobInputs(name, sources, options, scenario); + deserializedDataGenerationJobInputs.outputOptions = outputOptions; + + return deserializedDataGenerationJobInputs; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java new file mode 100644 index 000000000000..a6486592e0e1 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java @@ -0,0 +1,205 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Options for managing data generation jobs. + */ +@Fluent +public class DataGenerationJobOptions implements JsonSerializable { + /* + * The data generation job type. + */ + @Generated + private DataGenerationJobType type = DataGenerationJobType.fromString("DataGenerationJobOptions"); + + /* + * Maximum number of samples to generate. + */ + @Generated + private final int maxSamples; + + /* + * The proportion of the generated data to be used for training when the data is used for fine-tuning. The rest will + * be used for validation. Value should be between 0 and 1. + */ + @Generated + private Double trainSplit; + + /* + * The LLM model options. + */ + @Generated + private DataGenerationModelOptions modelOptions; + + /** + * Creates an instance of DataGenerationJobOptions class. + * + * @param maxSamples the maxSamples value to set. + */ + @Generated + public DataGenerationJobOptions(int maxSamples) { + this.maxSamples = maxSamples; + } + + /** + * Get the type property: The data generation job type. + * + * @return the type value. + */ + @Generated + public DataGenerationJobType getType() { + return this.type; + } + + /** + * Get the maxSamples property: Maximum number of samples to generate. + * + * @return the maxSamples value. + */ + @Generated + public int getMaxSamples() { + return this.maxSamples; + } + + /** + * Get the trainSplit property: The proportion of the generated data to be used for training when the data is used + * for fine-tuning. The rest will be used for validation. Value should be between 0 and 1. + * + * @return the trainSplit value. + */ + @Generated + public Double getTrainSplit() { + return this.trainSplit; + } + + /** + * Set the trainSplit property: The proportion of the generated data to be used for training when the data is used + * for fine-tuning. The rest will be used for validation. Value should be between 0 and 1. + * + * @param trainSplit the trainSplit value to set. + * @return the DataGenerationJobOptions object itself. + */ + @Generated + public DataGenerationJobOptions setTrainSplit(Double trainSplit) { + this.trainSplit = trainSplit; + return this; + } + + /** + * Get the modelOptions property: The LLM model options. + * + * @return the modelOptions value. + */ + @Generated + public DataGenerationModelOptions getModelOptions() { + return this.modelOptions; + } + + /** + * Set the modelOptions property: The LLM model options. + * + * @param modelOptions the modelOptions value to set. + * @return the DataGenerationJobOptions object itself. + */ + @Generated + public DataGenerationJobOptions setModelOptions(DataGenerationModelOptions modelOptions) { + this.modelOptions = modelOptions; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeIntField("max_samples", this.maxSamples); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeNumberField("train_split", this.trainSplit); + jsonWriter.writeJsonField("model_options", this.modelOptions); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DataGenerationJobOptions from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DataGenerationJobOptions if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DataGenerationJobOptions. + */ + @Generated + public static DataGenerationJobOptions fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + readerToUse.nextToken(); // Prepare for reading + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("type".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("simple_qna".equals(discriminatorValue)) { + return SimpleQnADataGenerationJobOptions.fromJson(readerToUse.reset()); + } else if ("traces".equals(discriminatorValue)) { + return TracesDataGenerationJobOptions.fromJson(readerToUse.reset()); + } else if ("tool_use".equals(discriminatorValue)) { + return ToolUseFineTuningDataGenerationJobOptions.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static DataGenerationJobOptions fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + int maxSamples = 0; + DataGenerationJobType type = null; + Double trainSplit = null; + DataGenerationModelOptions modelOptions = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("max_samples".equals(fieldName)) { + maxSamples = reader.getInt(); + } else if ("type".equals(fieldName)) { + type = DataGenerationJobType.fromString(reader.getString()); + } else if ("train_split".equals(fieldName)) { + trainSplit = reader.getNullable(JsonReader::getDouble); + } else if ("model_options".equals(fieldName)) { + modelOptions = DataGenerationModelOptions.fromJson(reader); + } else { + reader.skipChildren(); + } + } + DataGenerationJobOptions deserializedDataGenerationJobOptions = new DataGenerationJobOptions(maxSamples); + deserializedDataGenerationJobOptions.type = type; + deserializedDataGenerationJobOptions.trainSplit = trainSplit; + deserializedDataGenerationJobOptions.modelOptions = modelOptions; + + return deserializedDataGenerationJobOptions; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java new file mode 100644 index 000000000000..da6277d1587e --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java @@ -0,0 +1,109 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Output information for a data generation job. + */ +@Immutable +public class DataGenerationJobOutput implements JsonSerializable { + /* + * The type of the output. + */ + @Generated + private DataGenerationJobOutputType type = DataGenerationJobOutputType.fromString("DataGenerationJobOutput"); + + /** + * Creates an instance of DataGenerationJobOutput class. + */ + @Generated + protected DataGenerationJobOutput() { + } + + /** + * Get the type property: The type of the output. + * + * @return the type value. + */ + @Generated + public DataGenerationJobOutputType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DataGenerationJobOutput from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DataGenerationJobOutput if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the DataGenerationJobOutput. + */ + @Generated + public static DataGenerationJobOutput fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + readerToUse.nextToken(); // Prepare for reading + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("type".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("file".equals(discriminatorValue)) { + return FileDataGenerationJobOutput.fromJson(readerToUse.reset()); + } else if ("dataset".equals(discriminatorValue)) { + return DatasetDataGenerationJobOutput.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static DataGenerationJobOutput fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + DataGenerationJobOutput deserializedDataGenerationJobOutput = new DataGenerationJobOutput(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedDataGenerationJobOutput.type + = DataGenerationJobOutputType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedDataGenerationJobOutput; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java new file mode 100644 index 000000000000..fc043482c956 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java @@ -0,0 +1,166 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.Map; + +/** + * Output options for data generation job. + */ +@Fluent +public final class DataGenerationJobOutputOptions implements JsonSerializable { + /* + * Name to assign to the output. Used as the filename for Azure OpenAI file outputs (fine-tuning scenarios) and as + * the dataset name for dataset outputs (evaluation scenario). + */ + @Generated + private String name; + + /* + * Description to assign to the output. Applies only to dataset outputs (evaluation scenario); ignored for Azure + * OpenAI file outputs. + */ + @Generated + private String description; + + /* + * Tags to assign to the output. Applies only to dataset outputs (evaluation scenario); ignored for Azure OpenAI + * file outputs. + */ + @Generated + private Map tags; + + /** + * Creates an instance of DataGenerationJobOutputOptions class. + */ + @Generated + public DataGenerationJobOutputOptions() { + } + + /** + * Get the name property: Name to assign to the output. Used as the filename for Azure OpenAI file outputs + * (fine-tuning scenarios) and as the dataset name for dataset outputs (evaluation scenario). + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Set the name property: Name to assign to the output. Used as the filename for Azure OpenAI file outputs + * (fine-tuning scenarios) and as the dataset name for dataset outputs (evaluation scenario). + * + * @param name the name value to set. + * @return the DataGenerationJobOutputOptions object itself. + */ + @Generated + public DataGenerationJobOutputOptions setName(String name) { + this.name = name; + return this; + } + + /** + * Get the description property: Description to assign to the output. Applies only to dataset outputs (evaluation + * scenario); ignored for Azure OpenAI file outputs. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Description to assign to the output. Applies only to dataset outputs (evaluation + * scenario); ignored for Azure OpenAI file outputs. + * + * @param description the description value to set. + * @return the DataGenerationJobOutputOptions object itself. + */ + @Generated + public DataGenerationJobOutputOptions setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the tags property: Tags to assign to the output. Applies only to dataset outputs (evaluation scenario); + * ignored for Azure OpenAI file outputs. + * + * @return the tags value. + */ + @Generated + public Map getTags() { + return this.tags; + } + + /** + * Set the tags property: Tags to assign to the output. Applies only to dataset outputs (evaluation scenario); + * ignored for Azure OpenAI file outputs. + * + * @param tags the tags value to set. + * @return the DataGenerationJobOutputOptions object itself. + */ + @Generated + public DataGenerationJobOutputOptions setTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DataGenerationJobOutputOptions from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DataGenerationJobOutputOptions if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the DataGenerationJobOutputOptions. + */ + @Generated + public static DataGenerationJobOutputOptions fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + DataGenerationJobOutputOptions deserializedDataGenerationJobOutputOptions + = new DataGenerationJobOutputOptions(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("name".equals(fieldName)) { + deserializedDataGenerationJobOutputOptions.name = reader.getString(); + } else if ("description".equals(fieldName)) { + deserializedDataGenerationJobOutputOptions.description = reader.getString(); + } else if ("tags".equals(fieldName)) { + Map tags = reader.readMap(reader1 -> reader1.getString()); + deserializedDataGenerationJobOutputOptions.tags = tags; + } else { + reader.skipChildren(); + } + } + + return deserializedDataGenerationJobOutputOptions; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java new file mode 100644 index 000000000000..467ee3e86f36 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The supported output file types for a data generation job. + */ +public final class DataGenerationJobOutputType extends ExpandableStringEnum { + /** + * The generated data is an Azure OpenAI File. + */ + @Generated + public static final DataGenerationJobOutputType FILE = fromString("file"); + + /** + * The generated data is a Dataset. + */ + @Generated + public static final DataGenerationJobOutputType DATASET = fromString("dataset"); + + /** + * Creates a new instance of DataGenerationJobOutputType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public DataGenerationJobOutputType() { + } + + /** + * Creates or finds a DataGenerationJobOutputType from its string representation. + * + * @param name a name to look for. + * @return the corresponding DataGenerationJobOutputType. + */ + @Generated + public static DataGenerationJobOutputType fromString(String name) { + return fromString(name, DataGenerationJobOutputType.class); + } + + /** + * Gets known DataGenerationJobOutputType values. + * + * @return known DataGenerationJobOutputType values. + */ + @Generated + public static Collection values() { + return values(DataGenerationJobOutputType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java new file mode 100644 index 000000000000..20bc30278962 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java @@ -0,0 +1,128 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Result produced by a successful data generation job. + */ +@Immutable +public final class DataGenerationJobResult implements JsonSerializable { + /* + * The final job outputs: Azure OpenAI files for fine-tuning, or datasets for evaluation. + */ + @Generated + private List outputs; + + /* + * The number of samples actually generated. + */ + @Generated + private final int generatedSamples; + + /* + * The token usage information for the data generation job. + */ + @Generated + private DataGenerationTokenUsage tokenUsage; + + /** + * Creates an instance of DataGenerationJobResult class. + * + * @param generatedSamples the generatedSamples value to set. + */ + @Generated + private DataGenerationJobResult(int generatedSamples) { + this.generatedSamples = generatedSamples; + } + + /** + * Get the outputs property: The final job outputs: Azure OpenAI files for fine-tuning, or datasets for evaluation. + * + * @return the outputs value. + */ + @Generated + public List getOutputs() { + return this.outputs; + } + + /** + * Get the generatedSamples property: The number of samples actually generated. + * + * @return the generatedSamples value. + */ + @Generated + public int getGeneratedSamples() { + return this.generatedSamples; + } + + /** + * Get the tokenUsage property: The token usage information for the data generation job. + * + * @return the tokenUsage value. + */ + @Generated + public DataGenerationTokenUsage getTokenUsage() { + return this.tokenUsage; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeIntField("generated_samples", this.generatedSamples); + jsonWriter.writeArrayField("outputs", this.outputs, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeJsonField("token_usage", this.tokenUsage); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DataGenerationJobResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DataGenerationJobResult if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DataGenerationJobResult. + */ + @Generated + public static DataGenerationJobResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + int generatedSamples = 0; + List outputs = null; + DataGenerationTokenUsage tokenUsage = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("generated_samples".equals(fieldName)) { + generatedSamples = reader.getInt(); + } else if ("outputs".equals(fieldName)) { + outputs = reader.readArray(reader1 -> DataGenerationJobOutput.fromJson(reader1)); + } else if ("token_usage".equals(fieldName)) { + tokenUsage = DataGenerationTokenUsage.fromJson(reader); + } else { + reader.skipChildren(); + } + } + DataGenerationJobResult deserializedDataGenerationJobResult = new DataGenerationJobResult(generatedSamples); + deserializedDataGenerationJobResult.outputs = outputs; + deserializedDataGenerationJobResult.tokenUsage = tokenUsage; + + return deserializedDataGenerationJobResult; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java new file mode 100644 index 000000000000..5add7ccb81c2 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java @@ -0,0 +1,63 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The supported scenarios for a data generation job. + */ +public final class DataGenerationJobScenario extends ExpandableStringEnum { + /** + * Supervised Fine-tuning scenario. + */ + @Generated + public static final DataGenerationJobScenario SUPERVISED_FINETUNING = fromString("supervised_finetuning"); + + /** + * Reinforcement Fine-tuning scenario. + */ + @Generated + public static final DataGenerationJobScenario REINFORCEMENT_FINETUNING = fromString("reinforcement_finetuning"); + + /** + * Evaluation scenario. + */ + @Generated + public static final DataGenerationJobScenario EVALUATION = fromString("evaluation"); + + /** + * Creates a new instance of DataGenerationJobScenario value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public DataGenerationJobScenario() { + } + + /** + * Creates or finds a DataGenerationJobScenario from its string representation. + * + * @param name a name to look for. + * @return the corresponding DataGenerationJobScenario. + */ + @Generated + public static DataGenerationJobScenario fromString(String name) { + return fromString(name, DataGenerationJobScenario.class); + } + + /** + * Gets known DataGenerationJobScenario values. + * + * @return known DataGenerationJobScenario values. + */ + @Generated + public static Collection values() { + return values(DataGenerationJobScenario.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java new file mode 100644 index 000000000000..a2c831af3582 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java @@ -0,0 +1,149 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The base source model for data generation jobs. + */ +@Fluent +public class DataGenerationJobSource implements JsonSerializable { + /* + * The type of source. + */ + @Generated + private DataGenerationJobSourceType type = DataGenerationJobSourceType.fromString("DataGenerationJobSource"); + + /* + * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company + * refund policy document' or 'Describes the agent's core capabilities'). + */ + @Generated + private String description; + + /** + * Creates an instance of DataGenerationJobSource class. + */ + @Generated + public DataGenerationJobSource() { + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + public DataGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @param description the description value to set. + * @return the DataGenerationJobSource object itself. + */ + @Generated + public DataGenerationJobSource setDescription(String description) { + this.description = description; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DataGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DataGenerationJobSource if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the DataGenerationJobSource. + */ + @Generated + public static DataGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + readerToUse.nextToken(); // Prepare for reading + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("type".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("prompt".equals(discriminatorValue)) { + return PromptDataGenerationJobSource.fromJson(readerToUse.reset()); + } else if ("agent".equals(discriminatorValue)) { + return AgentDataGenerationJobSource.fromJson(readerToUse.reset()); + } else if ("traces".equals(discriminatorValue)) { + return TracesDataGenerationJobSource.fromJson(readerToUse.reset()); + } else if ("dataset".equals(discriminatorValue)) { + return DatasetDataGenerationJobSource.fromJson(readerToUse.reset()); + } else if ("file".equals(discriminatorValue)) { + return FileDataGenerationJobSource.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static DataGenerationJobSource fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + DataGenerationJobSource deserializedDataGenerationJobSource = new DataGenerationJobSource(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedDataGenerationJobSource.type + = DataGenerationJobSourceType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + deserializedDataGenerationJobSource.description = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedDataGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java new file mode 100644 index 000000000000..ba7eced697c9 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The supported source types for data generation jobs. + */ +public final class DataGenerationJobSourceType extends ExpandableStringEnum { + /** + * Prompt source — inline text provided by the user. + */ + @Generated + public static final DataGenerationJobSourceType PROMPT = fromString("prompt"); + + /** + * Agent source — references an agent. + */ + @Generated + public static final DataGenerationJobSourceType AGENT = fromString("agent"); + + /** + * Traces source — conversation traces from Application Insights. + */ + @Generated + public static final DataGenerationJobSourceType TRACES = fromString("traces"); + + /** + * Dataset source — reference to a dataset. + */ + @Generated + public static final DataGenerationJobSourceType DATASET = fromString("dataset"); + + /** + * File source — Azure OpenAI file. + */ + @Generated + public static final DataGenerationJobSourceType FILE = fromString("file"); + + /** + * Creates a new instance of DataGenerationJobSourceType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public DataGenerationJobSourceType() { + } + + /** + * Creates or finds a DataGenerationJobSourceType from its string representation. + * + * @param name a name to look for. + * @return the corresponding DataGenerationJobSourceType. + */ + @Generated + public static DataGenerationJobSourceType fromString(String name) { + return fromString(name, DataGenerationJobSourceType.class); + } + + /** + * Gets known DataGenerationJobSourceType values. + * + * @return known DataGenerationJobSourceType values. + */ + @Generated + public static Collection values() { + return values(DataGenerationJobSourceType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java new file mode 100644 index 000000000000..7b898ebb0501 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java @@ -0,0 +1,63 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The supported data generation job types. + */ +public final class DataGenerationJobType extends ExpandableStringEnum { + /** + * Simple question and answers between user and agent. + */ + @Generated + public static final DataGenerationJobType SIMPLE_QNA = fromString("simple_qna"); + + /** + * Single turn query and response from agent traces. + */ + @Generated + public static final DataGenerationJobType TRACES = fromString("traces"); + + /** + * Tool calling conversation between user and agent. + */ + @Generated + public static final DataGenerationJobType TOOL_USE = fromString("tool_use"); + + /** + * Creates a new instance of DataGenerationJobType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public DataGenerationJobType() { + } + + /** + * Creates or finds a DataGenerationJobType from its string representation. + * + * @param name a name to look for. + * @return the corresponding DataGenerationJobType. + */ + @Generated + public static DataGenerationJobType fromString(String name) { + return fromString(name, DataGenerationJobType.class); + } + + /** + * Gets known DataGenerationJobType values. + * + * @return known DataGenerationJobType values. + */ + @Generated + public static Collection values() { + return values(DataGenerationJobType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java new file mode 100644 index 000000000000..ed49d79c7677 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java @@ -0,0 +1,83 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * LLM model options for data generation jobs. + */ +@Immutable +public final class DataGenerationModelOptions implements JsonSerializable { + /* + * Base model name used to generate data. + */ + @Generated + private final String model; + + /** + * Creates an instance of DataGenerationModelOptions class. + * + * @param model the model value to set. + */ + @Generated + public DataGenerationModelOptions(String model) { + this.model = model; + } + + /** + * Get the model property: Base model name used to generate data. + * + * @return the model value. + */ + @Generated + public String getModel() { + return this.model; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("model", this.model); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DataGenerationModelOptions from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DataGenerationModelOptions if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DataGenerationModelOptions. + */ + @Generated + public static DataGenerationModelOptions fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String model = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("model".equals(fieldName)) { + model = reader.getString(); + } else { + reader.skipChildren(); + } + } + return new DataGenerationModelOptions(model); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java new file mode 100644 index 000000000000..c302e70944ba --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Token usage information for a data generation job. + */ +@Immutable +public final class DataGenerationTokenUsage implements JsonSerializable { + /* + * The number of prompt tokens used. + */ + @Generated + private long promptTokens; + + /* + * The number of completion tokens generated. + */ + @Generated + private long completionTokens; + + /* + * Total number of tokens used. + */ + @Generated + private long totalTokens; + + /** + * Creates an instance of DataGenerationTokenUsage class. + */ + @Generated + private DataGenerationTokenUsage() { + } + + /** + * Get the promptTokens property: The number of prompt tokens used. + * + * @return the promptTokens value. + */ + @Generated + public long getPromptTokens() { + return this.promptTokens; + } + + /** + * Get the completionTokens property: The number of completion tokens generated. + * + * @return the completionTokens value. + */ + @Generated + public long getCompletionTokens() { + return this.completionTokens; + } + + /** + * Get the totalTokens property: Total number of tokens used. + * + * @return the totalTokens value. + */ + @Generated + public long getTotalTokens() { + return this.totalTokens; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DataGenerationTokenUsage from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DataGenerationTokenUsage if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DataGenerationTokenUsage. + */ + @Generated + public static DataGenerationTokenUsage fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + DataGenerationTokenUsage deserializedDataGenerationTokenUsage = new DataGenerationTokenUsage(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("prompt_tokens".equals(fieldName)) { + deserializedDataGenerationTokenUsage.promptTokens = reader.getLong(); + } else if ("completion_tokens".equals(fieldName)) { + deserializedDataGenerationTokenUsage.completionTokens = reader.getLong(); + } else if ("total_tokens".equals(fieldName)) { + deserializedDataGenerationTokenUsage.totalTokens = reader.getLong(); + } else { + reader.skipChildren(); + } + } + + return deserializedDataGenerationTokenUsage; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java new file mode 100644 index 000000000000..7086a76c9e89 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java @@ -0,0 +1,174 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.Map; + +/** + * Dataset output for a data generation job. + */ +@Immutable +public final class DatasetDataGenerationJobOutput extends DataGenerationJobOutput { + /* + * The type of the output. + */ + @Generated + private DataGenerationJobOutputType type = DataGenerationJobOutputType.DATASET; + + /* + * The id of the output dataset created. + */ + @Generated + private String id; + + /* + * The name of the output dataset. + */ + @Generated + private String name; + + /* + * The version of the output dataset. + */ + @Generated + private String version; + + /* + * Description of the output dataset. + */ + @Generated + private String description; + + /* + * Tag dictionary of the output dataset. + */ + @Generated + private Map tags; + + /** + * Creates an instance of DatasetDataGenerationJobOutput class. + */ + @Generated + private DatasetDataGenerationJobOutput() { + } + + /** + * Get the type property: The type of the output. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobOutputType getType() { + return this.type; + } + + /** + * Get the id property: The id of the output dataset created. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } + + /** + * Get the name property: The name of the output dataset. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the version property: The version of the output dataset. + * + * @return the version value. + */ + @Generated + public String getVersion() { + return this.version; + } + + /** + * Get the description property: Description of the output dataset. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Get the tags property: Tag dictionary of the output dataset. + * + * @return the tags value. + */ + @Generated + public Map getTags() { + return this.tags; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DatasetDataGenerationJobOutput from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DatasetDataGenerationJobOutput if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the DatasetDataGenerationJobOutput. + */ + @Generated + public static DatasetDataGenerationJobOutput fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + DatasetDataGenerationJobOutput deserializedDatasetDataGenerationJobOutput + = new DatasetDataGenerationJobOutput(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedDatasetDataGenerationJobOutput.type + = DataGenerationJobOutputType.fromString(reader.getString()); + } else if ("id".equals(fieldName)) { + deserializedDatasetDataGenerationJobOutput.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedDatasetDataGenerationJobOutput.name = reader.getString(); + } else if ("version".equals(fieldName)) { + deserializedDatasetDataGenerationJobOutput.version = reader.getString(); + } else if ("description".equals(fieldName)) { + deserializedDatasetDataGenerationJobOutput.description = reader.getString(); + } else if ("tags".equals(fieldName)) { + Map tags = reader.readMap(reader1 -> reader1.getString()); + deserializedDatasetDataGenerationJobOutput.tags = tags; + } else { + reader.skipChildren(); + } + } + + return deserializedDatasetDataGenerationJobOutput; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java new file mode 100644 index 000000000000..d670e897fc07 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java @@ -0,0 +1,176 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Dataset source for data generation jobs — reference to a dataset. + */ +@Fluent +public final class DatasetDataGenerationJobSource extends DataGenerationJobSource { + /* + * The type of source. + */ + @Generated + private DataGenerationJobSourceType type = DataGenerationJobSourceType.DATASET; + + /* + * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company + * refund policy document' or 'Describes the agent's core capabilities'). + */ + @Generated + private String description; + + /* + * The name of the dataset. + */ + @Generated + private final String name; + + /* + * The version of the dataset. If not specified, the latest version is used. + */ + @Generated + private String version; + + /** + * Creates an instance of DatasetDataGenerationJobSource class. + * + * @param name the name value to set. + */ + @Generated + public DatasetDataGenerationJobSource(String name) { + this.name = name; + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @param description the description value to set. + * @return the DatasetDataGenerationJobSource object itself. + */ + @Generated + public DatasetDataGenerationJobSource setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the name property: The name of the dataset. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the version property: The version of the dataset. If not specified, the latest version is used. + * + * @return the version value. + */ + @Generated + public String getVersion() { + return this.version; + } + + /** + * Set the version property: The version of the dataset. If not specified, the latest version is used. + * + * @param version the version value to set. + * @return the DatasetDataGenerationJobSource object itself. + */ + @Generated + public DatasetDataGenerationJobSource setVersion(String version) { + this.version = version; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeStringField("version", this.version); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DatasetDataGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DatasetDataGenerationJobSource if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DatasetDataGenerationJobSource. + */ + @Generated + public static DatasetDataGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + DataGenerationJobSourceType type = DataGenerationJobSourceType.DATASET; + String description = null; + String version = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("type".equals(fieldName)) { + type = DataGenerationJobSourceType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("version".equals(fieldName)) { + version = reader.getString(); + } else { + reader.skipChildren(); + } + } + DatasetDataGenerationJobSource deserializedDatasetDataGenerationJobSource + = new DatasetDataGenerationJobSource(name); + deserializedDatasetDataGenerationJobSource.type = type; + deserializedDatasetDataGenerationJobSource.description = description; + deserializedDatasetDataGenerationJobSource.version = version; + + return deserializedDatasetDataGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java new file mode 100644 index 000000000000..bd62e52828b2 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java @@ -0,0 +1,176 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Dataset source for evaluator generation jobs — reference to a dataset. + */ +@Fluent +public final class DatasetEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource { + /* + * The type of source. + */ + @Generated + private EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.DATASET; + + /* + * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company + * refund policy document' or 'Describes the agent's core capabilities'). + */ + @Generated + private String description; + + /* + * The name of the dataset. + */ + @Generated + private final String name; + + /* + * The version of the dataset. If not specified, the latest version is used. + */ + @Generated + private String version; + + /** + * Creates an instance of DatasetEvaluatorGenerationJobSource class. + * + * @param name the name value to set. + */ + @Generated + public DatasetEvaluatorGenerationJobSource(String name) { + this.name = name; + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + @Override + public EvaluatorGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @param description the description value to set. + * @return the DatasetEvaluatorGenerationJobSource object itself. + */ + @Generated + public DatasetEvaluatorGenerationJobSource setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the name property: The name of the dataset. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the version property: The version of the dataset. If not specified, the latest version is used. + * + * @return the version value. + */ + @Generated + public String getVersion() { + return this.version; + } + + /** + * Set the version property: The version of the dataset. If not specified, the latest version is used. + * + * @param version the version value to set. + * @return the DatasetEvaluatorGenerationJobSource object itself. + */ + @Generated + public DatasetEvaluatorGenerationJobSource setVersion(String version) { + this.version = version; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeStringField("version", this.version); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DatasetEvaluatorGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DatasetEvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, + * or null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DatasetEvaluatorGenerationJobSource. + */ + @Generated + public static DatasetEvaluatorGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.DATASET; + String description = null; + String version = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("type".equals(fieldName)) { + type = EvaluatorGenerationJobSourceType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("version".equals(fieldName)) { + version = reader.getString(); + } else { + reader.skipChildren(); + } + } + DatasetEvaluatorGenerationJobSource deserializedDatasetEvaluatorGenerationJobSource + = new DatasetEvaluatorGenerationJobSource(name); + deserializedDatasetEvaluatorGenerationJobSource.type = type; + deserializedDatasetEvaluatorGenerationJobSource.description = description; + deserializedDatasetEvaluatorGenerationJobSource.version = version; + + return deserializedDatasetEvaluatorGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetReference.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetReference.java new file mode 100644 index 000000000000..688759dfb392 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetReference.java @@ -0,0 +1,105 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Reference to a versioned Foundry Dataset. + */ +@Immutable +public final class DatasetReference implements JsonSerializable { + /* + * Dataset name. + */ + @Generated + private final String name; + + /* + * Dataset version. + */ + @Generated + private final String version; + + /** + * Creates an instance of DatasetReference class. + * + * @param name the name value to set. + * @param version the version value to set. + */ + @Generated + private DatasetReference(String name, String version) { + this.name = name; + this.version = version; + } + + /** + * Get the name property: Dataset name. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the version property: Dataset version. + * + * @return the version value. + */ + @Generated + public String getVersion() { + return this.version; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("version", this.version); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DatasetReference from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DatasetReference if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DatasetReference. + */ + @Generated + public static DatasetReference fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + String version = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("version".equals(fieldName)) { + version = reader.getString(); + } else { + reader.skipChildren(); + } + } + return new DatasetReference(name, version); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Dimension.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Dimension.java new file mode 100644 index 000000000000..2bf2f578432a --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Dimension.java @@ -0,0 +1,177 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A single dimension — one independent, measurable quality dimension within a rubric evaluator's scoring blueprint. + */ +@Fluent +public final class Dimension implements JsonSerializable { + /* + * Stable identifier for this dimension (snake_case, e.g., `correct_resolution`). Required. Provided by the user + * when manually creating a rubric evaluator or during human-in-the-loop review of a generated set; the generation + * pipeline produces an initial value the user can edit. Editable when saving new versions. + */ + @Generated + private final String dimensionId; + + /* + * What this dimension measures (e.g., 'Correctly identifies the user's reservation intent and pursues the + * appropriate workflow'). + */ + @Generated + private final String description; + + /* + * Relative weight of this dimension (1-10). The generation pipeline assigns exactly one dimension weight 8-10; all + * others use 1-6. User edits are not constrained by this heuristic. + */ + @Generated + private final int weight; + + /* + * When true, the LLM judge always scores this dimension regardless of relevance (skips applicability assessment). + * The service-generated general quality/policy dimension has this set to true and is non-editable. Users may set + * this on their own custom dimensions. + */ + @Generated + private Boolean alwaysApplicable; + + /** + * Creates an instance of Dimension class. + * + * @param dimensionId the dimensionId value to set. + * @param description the description value to set. + * @param weight the weight value to set. + */ + @Generated + public Dimension(String dimensionId, String description, int weight) { + this.dimensionId = dimensionId; + this.description = description; + this.weight = weight; + } + + /** + * Get the dimensionId property: Stable identifier for this dimension (snake_case, e.g., `correct_resolution`). + * Required. Provided by the user when manually creating a rubric evaluator or during human-in-the-loop review of a + * generated set; the generation pipeline produces an initial value the user can edit. Editable when saving new + * versions. + * + * @return the dimensionId value. + */ + @Generated + public String getDimensionId() { + return this.dimensionId; + } + + /** + * Get the description property: What this dimension measures (e.g., 'Correctly identifies the user's reservation + * intent and pursues the appropriate workflow'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Get the weight property: Relative weight of this dimension (1-10). The generation pipeline assigns exactly one + * dimension weight 8-10; all others use 1-6. User edits are not constrained by this heuristic. + * + * @return the weight value. + */ + @Generated + public int getWeight() { + return this.weight; + } + + /** + * Get the alwaysApplicable property: When true, the LLM judge always scores this dimension regardless of relevance + * (skips applicability assessment). The service-generated general quality/policy dimension has this set to true and + * is non-editable. Users may set this on their own custom dimensions. + * + * @return the alwaysApplicable value. + */ + @Generated + public Boolean isAlwaysApplicable() { + return this.alwaysApplicable; + } + + /** + * Set the alwaysApplicable property: When true, the LLM judge always scores this dimension regardless of relevance + * (skips applicability assessment). The service-generated general quality/policy dimension has this set to true and + * is non-editable. Users may set this on their own custom dimensions. + * + * @param alwaysApplicable the alwaysApplicable value to set. + * @return the Dimension object itself. + */ + @Generated + public Dimension setAlwaysApplicable(Boolean alwaysApplicable) { + this.alwaysApplicable = alwaysApplicable; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("dimension_id", this.dimensionId); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeIntField("weight", this.weight); + jsonWriter.writeBooleanField("always_applicable", this.alwaysApplicable); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of Dimension from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of Dimension if the JsonReader was pointing to an instance of it, or null if it was pointing + * to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the Dimension. + */ + @Generated + public static Dimension fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String dimensionId = null; + String description = null; + int weight = 0; + Boolean alwaysApplicable = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("dimension_id".equals(fieldName)) { + dimensionId = reader.getString(); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("weight".equals(fieldName)) { + weight = reader.getInt(); + } else if ("always_applicable".equals(fieldName)) { + alwaysApplicable = reader.getNullable(JsonReader::getBoolean); + } else { + reader.skipChildren(); + } + } + Dimension deserializedDimension = new Dimension(dimensionId, description, weight); + deserializedDimension.alwaysApplicable = alwaysApplicable; + + return deserializedDimension; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java new file mode 100644 index 000000000000..34ca7e22dfd7 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java @@ -0,0 +1,118 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Identifiers returned after a routine dispatch is queued. + */ +@Immutable +public final class DispatchRoutineResponse implements JsonSerializable { + /* + * The dispatch identifier created for the routine dispatch. + */ + @Generated + private String dispatchId; + + /* + * A downstream action correlation identifier, when available. + */ + @Generated + private String actionCorrelationId; + + /* + * A workspace task identifier created for the dispatch, when available. + */ + @Generated + private String taskId; + + /** + * Creates an instance of DispatchRoutineResponse class. + */ + @Generated + private DispatchRoutineResponse() { + } + + /** + * Get the dispatchId property: The dispatch identifier created for the routine dispatch. + * + * @return the dispatchId value. + */ + @Generated + public String getDispatchId() { + return this.dispatchId; + } + + /** + * Get the actionCorrelationId property: A downstream action correlation identifier, when available. + * + * @return the actionCorrelationId value. + */ + @Generated + public String getActionCorrelationId() { + return this.actionCorrelationId; + } + + /** + * Get the taskId property: A workspace task identifier created for the dispatch, when available. + * + * @return the taskId value. + */ + @Generated + public String getTaskId() { + return this.taskId; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("dispatch_id", this.dispatchId); + jsonWriter.writeStringField("action_correlation_id", this.actionCorrelationId); + jsonWriter.writeStringField("task_id", this.taskId); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DispatchRoutineResponse from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DispatchRoutineResponse if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the DispatchRoutineResponse. + */ + @Generated + public static DispatchRoutineResponse fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + DispatchRoutineResponse deserializedDispatchRoutineResponse = new DispatchRoutineResponse(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("dispatch_id".equals(fieldName)) { + deserializedDispatchRoutineResponse.dispatchId = reader.getString(); + } else if ("action_correlation_id".equals(fieldName)) { + deserializedDispatchRoutineResponse.actionCorrelationId = reader.getString(); + } else if ("task_id".equals(fieldName)) { + deserializedDispatchRoutineResponse.taskId = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedDispatchRoutineResponse; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java new file mode 100644 index 000000000000..24adb59c6f10 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java @@ -0,0 +1,84 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Request body for getting evaluator credentials. + */ +@Immutable +public final class EvaluatorCredentialRequest implements JsonSerializable { + /* + * The blob URI for the evaluator storage. Example: `https://account.blob.core.windows.net:443/container` + */ + @Generated + private final String blobUri; + + /** + * Creates an instance of EvaluatorCredentialRequest class. + * + * @param blobUri the blobUri value to set. + */ + @Generated + public EvaluatorCredentialRequest(String blobUri) { + this.blobUri = blobUri; + } + + /** + * Get the blobUri property: The blob URI for the evaluator storage. Example: + * `https://account.blob.core.windows.net:443/container`. + * + * @return the blobUri value. + */ + @Generated + public String getBlobUri() { + return this.blobUri; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("blob_uri", this.blobUri); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EvaluatorCredentialRequest from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EvaluatorCredentialRequest if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the EvaluatorCredentialRequest. + */ + @Generated + public static EvaluatorCredentialRequest fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String blobUri = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("blob_uri".equals(fieldName)) { + blobUri = reader.getString(); + } else { + reader.skipChildren(); + } + } + return new EvaluatorCredentialRequest(blobUri); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java index 8c9db84a7c82..95264c7257a9 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java @@ -162,6 +162,8 @@ public static EvaluatorDefinition fromJson(JsonReader jsonReader) throws IOExcep return CodeBasedEvaluatorDefinition.fromJson(readerToUse.reset()); } else if ("prompt".equals(discriminatorValue)) { return PromptBasedEvaluatorDefinition.fromJson(readerToUse.reset()); + } else if ("rubric".equals(discriminatorValue)) { + return RubricBasedEvaluatorDefinition.fromJson(readerToUse.reset()); } else { return fromJsonKnownDiscriminator(readerToUse.reset()); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java index 9e2d5501690d..09caa1ddd4c0 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java @@ -72,4 +72,11 @@ public static EvaluatorDefinitionType fromString(String name) { public static Collection values() { return values(EvaluatorDefinitionType.class); } + + /** + * Rubric-based evaluator definition. Stores dimensions (the scoring blueprint) for both quality and safety + * evaluators. Can be created via the generate API or manually via createVersion. + */ + @Generated + public static final EvaluatorDefinitionType RUBRIC = fromString("rubric"); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java new file mode 100644 index 000000000000..30d05d538176 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java @@ -0,0 +1,118 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Service-managed provenance artifacts produced by an evaluator generation job. Present only on EvaluatorVersion + * resources created via the generation pipeline. The combined-JSONL Foundry Dataset is read-only and resolves to a + * versioned dataset in a service-reserved namespace. + */ +@Immutable +public final class EvaluatorGenerationArtifacts implements JsonSerializable { + /* + * Reference to the single Foundry Dataset (one combined JSONL file, version-aligned to `EvaluatorVersion.version`) + * holding all artifacts produced by the generation pipeline. Each row in the JSONL carries a `kind` field + * discriminating its content (e.g. `spec`, `tools`, `context`). + */ + @Generated + private final DatasetReference dataset; + + /* + * The kinds of rows present in `dataset`. Always contains `"spec"` (the generated evaluation specification, a + * Markdown document describing what the evaluator measures). May additionally contain `"tools"` (when the + * generation pipeline produced or inferred OpenAI tool schemas) and/or `"context"` (when supplementary materials + * such as file uploads or trace samples were used during generation). + */ + @Generated + private final List kinds; + + /** + * Creates an instance of EvaluatorGenerationArtifacts class. + * + * @param dataset the dataset value to set. + * @param kinds the kinds value to set. + */ + @Generated + private EvaluatorGenerationArtifacts(DatasetReference dataset, List kinds) { + this.dataset = dataset; + this.kinds = kinds; + } + + /** + * Get the dataset property: Reference to the single Foundry Dataset (one combined JSONL file, version-aligned to + * `EvaluatorVersion.version`) holding all artifacts produced by the generation pipeline. Each row in the JSONL + * carries a `kind` field discriminating its content (e.g. `spec`, `tools`, `context`). + * + * @return the dataset value. + */ + @Generated + public DatasetReference getDataset() { + return this.dataset; + } + + /** + * Get the kinds property: The kinds of rows present in `dataset`. Always contains `"spec"` (the generated + * evaluation specification, a Markdown document describing what the evaluator measures). May additionally contain + * `"tools"` (when the generation pipeline produced or inferred OpenAI tool schemas) and/or `"context"` (when + * supplementary materials such as file uploads or trace samples were used during generation). + * + * @return the kinds value. + */ + @Generated + public List getKinds() { + return this.kinds; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("dataset", this.dataset); + jsonWriter.writeArrayField("kinds", this.kinds, (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EvaluatorGenerationArtifacts from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EvaluatorGenerationArtifacts if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the EvaluatorGenerationArtifacts. + */ + @Generated + public static EvaluatorGenerationArtifacts fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + DatasetReference dataset = null; + List kinds = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("dataset".equals(fieldName)) { + dataset = DatasetReference.fromJson(reader); + } else if ("kinds".equals(fieldName)) { + kinds = reader.readArray(reader1 -> reader1.getString()); + } else { + reader.skipChildren(); + } + } + return new EvaluatorGenerationArtifacts(dataset, kinds); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java new file mode 100644 index 000000000000..7ca7583ea906 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java @@ -0,0 +1,227 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Caller-supplied inputs for an evaluator generation job. + */ +@Fluent +public final class EvaluatorGenerationInputs implements JsonSerializable { + /* + * Source materials for generation — agent descriptions, prompts, traces, or datasets. Each entry is an + * `EvaluatorGenerationJobSource` variant discriminated by `type`. + */ + @Generated + private final List sources; + + /* + * The LLM model to use for rubric generation (e.g., 'gpt-4o'). Required — users must provide their own model rather + * than relying on service-owned capacity. + */ + @Generated + private final String model; + + /* + * The evaluator name (immutable identifier). 1-256 characters; allowed characters are ASCII letters, digits, + * underscore (`_`), period (`.`), tilde (`~`), and hyphen (`-`). The prefix `builtin.` is reserved for + * system-managed evaluators and is rejected by the service. If an evaluator with this name already exists in the + * project (and is rubric-subtype), the service creates a new version under the same name and uses the prior + * version's `dimensions` as context for incremental improvement (foundation of the post-//build adaptive loop). Old + * versions remain queryable via `get_version(name, version)`. If the existing evaluator is not a rubric-subtype + * evaluator (built-in, prompt-based, code-based), the request is rejected with `400 Bad Request`. + */ + @Generated + private final String evaluatorName; + + /* + * Optional human-friendly display name for the resulting evaluator. Surfaced as `EvaluatorVersion.display_name` on + * the persisted evaluator. When omitted, the service uses `evaluator_name` as the display name. The `evaluator_` + * prefix disambiguates this from the immutable `evaluator_name` identifier. + */ + @Generated + private String evaluatorDisplayName; + + /* + * Optional human-friendly description for the resulting evaluator. Surfaced as `EvaluatorVersion.description` on + * the persisted evaluator. Typically collected from the UI alongside `evaluator_display_name`. The `evaluator_` + * prefix disambiguates this from any other description fields on related models. + */ + @Generated + private String evaluatorDescription; + + /** + * Creates an instance of EvaluatorGenerationInputs class. + * + * @param sources the sources value to set. + * @param model the model value to set. + * @param evaluatorName the evaluatorName value to set. + */ + @Generated + public EvaluatorGenerationInputs(List sources, String model, String evaluatorName) { + this.sources = sources; + this.model = model; + this.evaluatorName = evaluatorName; + } + + /** + * Get the sources property: Source materials for generation — agent descriptions, prompts, traces, or datasets. + * Each entry is an `EvaluatorGenerationJobSource` variant discriminated by `type`. + * + * @return the sources value. + */ + @Generated + public List getSources() { + return this.sources; + } + + /** + * Get the model property: The LLM model to use for rubric generation (e.g., 'gpt-4o'). Required — users must + * provide their own model rather than relying on service-owned capacity. + * + * @return the model value. + */ + @Generated + public String getModel() { + return this.model; + } + + /** + * Get the evaluatorName property: The evaluator name (immutable identifier). 1-256 characters; allowed characters + * are ASCII letters, digits, underscore (`_`), period (`.`), tilde (`~`), and hyphen (`-`). The prefix `builtin.` + * is reserved for system-managed evaluators and is rejected by the service. If an evaluator with this name already + * exists in the project (and is rubric-subtype), the service creates a new version under the same name and uses the + * prior version's `dimensions` as context for incremental improvement (foundation of the post-//build adaptive + * loop). Old versions remain queryable via `get_version(name, version)`. If the existing evaluator is not a + * rubric-subtype evaluator (built-in, prompt-based, code-based), the request is rejected with `400 Bad Request`. + * + * @return the evaluatorName value. + */ + @Generated + public String getEvaluatorName() { + return this.evaluatorName; + } + + /** + * Get the evaluatorDisplayName property: Optional human-friendly display name for the resulting evaluator. Surfaced + * as `EvaluatorVersion.display_name` on the persisted evaluator. When omitted, the service uses `evaluator_name` as + * the display name. The `evaluator_` prefix disambiguates this from the immutable `evaluator_name` identifier. + * + * @return the evaluatorDisplayName value. + */ + @Generated + public String getEvaluatorDisplayName() { + return this.evaluatorDisplayName; + } + + /** + * Set the evaluatorDisplayName property: Optional human-friendly display name for the resulting evaluator. Surfaced + * as `EvaluatorVersion.display_name` on the persisted evaluator. When omitted, the service uses `evaluator_name` as + * the display name. The `evaluator_` prefix disambiguates this from the immutable `evaluator_name` identifier. + * + * @param evaluatorDisplayName the evaluatorDisplayName value to set. + * @return the EvaluatorGenerationInputs object itself. + */ + @Generated + public EvaluatorGenerationInputs setEvaluatorDisplayName(String evaluatorDisplayName) { + this.evaluatorDisplayName = evaluatorDisplayName; + return this; + } + + /** + * Get the evaluatorDescription property: Optional human-friendly description for the resulting evaluator. Surfaced + * as `EvaluatorVersion.description` on the persisted evaluator. Typically collected from the UI alongside + * `evaluator_display_name`. The `evaluator_` prefix disambiguates this from any other description fields on related + * models. + * + * @return the evaluatorDescription value. + */ + @Generated + public String getEvaluatorDescription() { + return this.evaluatorDescription; + } + + /** + * Set the evaluatorDescription property: Optional human-friendly description for the resulting evaluator. Surfaced + * as `EvaluatorVersion.description` on the persisted evaluator. Typically collected from the UI alongside + * `evaluator_display_name`. The `evaluator_` prefix disambiguates this from any other description fields on related + * models. + * + * @param evaluatorDescription the evaluatorDescription value to set. + * @return the EvaluatorGenerationInputs object itself. + */ + @Generated + public EvaluatorGenerationInputs setEvaluatorDescription(String evaluatorDescription) { + this.evaluatorDescription = evaluatorDescription; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeArrayField("sources", this.sources, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeStringField("model", this.model); + jsonWriter.writeStringField("evaluator_name", this.evaluatorName); + jsonWriter.writeStringField("evaluator_display_name", this.evaluatorDisplayName); + jsonWriter.writeStringField("evaluator_description", this.evaluatorDescription); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EvaluatorGenerationInputs from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EvaluatorGenerationInputs if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the EvaluatorGenerationInputs. + */ + @Generated + public static EvaluatorGenerationInputs fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + List sources = null; + String model = null; + String evaluatorName = null; + String evaluatorDisplayName = null; + String evaluatorDescription = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("sources".equals(fieldName)) { + sources = reader.readArray(reader1 -> EvaluatorGenerationJobSource.fromJson(reader1)); + } else if ("model".equals(fieldName)) { + model = reader.getString(); + } else if ("evaluator_name".equals(fieldName)) { + evaluatorName = reader.getString(); + } else if ("evaluator_display_name".equals(fieldName)) { + evaluatorDisplayName = reader.getString(); + } else if ("evaluator_description".equals(fieldName)) { + evaluatorDescription = reader.getString(); + } else { + reader.skipChildren(); + } + } + EvaluatorGenerationInputs deserializedEvaluatorGenerationInputs + = new EvaluatorGenerationInputs(sources, model, evaluatorName); + deserializedEvaluatorGenerationInputs.evaluatorDisplayName = evaluatorDisplayName; + deserializedEvaluatorGenerationInputs.evaluatorDescription = evaluatorDescription; + + return deserializedEvaluatorGenerationInputs; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java new file mode 100644 index 000000000000..80e1b06c79af --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java @@ -0,0 +1,228 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; + +/** + * Evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions from source + * materials. On success, the result is the persisted EvaluatorVersion. + */ +@Fluent +public final class EvaluatorGenerationJob implements JsonSerializable { + /* + * Server-assigned unique identifier. + */ + @Generated + private String id; + + /* + * Caller-supplied inputs. + */ + @Generated + private EvaluatorGenerationInputs inputs; + + /* + * Result produced on success. + */ + @Generated + private EvaluatorVersion result; + + /* + * Current lifecycle status. + */ + @Generated + private JobStatus status; + + /* + * Error details — populated only on failure. + */ + @Generated + private ApiError error; + + /* + * The timestamp when the job was created, represented in Unix time (seconds since January 1, 1970). + */ + @Generated + private long createdAt; + + /* + * The timestamp when the job finished, represented in Unix time (seconds since January 1, 1970). + */ + @Generated + private Long finishedAt; + + /* + * Token consumption summary. Populated when the job reaches a terminal state. + */ + @Generated + private EvaluatorGenerationTokenUsage usage; + + /** + * Creates an instance of EvaluatorGenerationJob class. + */ + @Generated + public EvaluatorGenerationJob() { + } + + /** + * Get the id property: Server-assigned unique identifier. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } + + /** + * Get the inputs property: Caller-supplied inputs. + * + * @return the inputs value. + */ + @Generated + public EvaluatorGenerationInputs getInputs() { + return this.inputs; + } + + /** + * Set the inputs property: Caller-supplied inputs. + * + * @param inputs the inputs value to set. + * @return the EvaluatorGenerationJob object itself. + */ + @Generated + public EvaluatorGenerationJob setInputs(EvaluatorGenerationInputs inputs) { + this.inputs = inputs; + return this; + } + + /** + * Get the result property: Result produced on success. + * + * @return the result value. + */ + @Generated + public EvaluatorVersion getResult() { + return this.result; + } + + /** + * Get the status property: Current lifecycle status. + * + * @return the status value. + */ + @Generated + public JobStatus getStatus() { + return this.status; + } + + /** + * Get the error property: Error details — populated only on failure. + * + * @return the error value. + */ + @Generated + public ApiError getError() { + return this.error; + } + + /** + * Get the createdAt property: The timestamp when the job was created, represented in Unix time (seconds since + * January 1, 1970). + * + * @return the createdAt value. + */ + @Generated + public OffsetDateTime getCreatedAt() { + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.createdAt), ZoneOffset.UTC); + } + + /** + * Get the finishedAt property: The timestamp when the job finished, represented in Unix time (seconds since January + * 1, 1970). + * + * @return the finishedAt value. + */ + @Generated + public OffsetDateTime getFinishedAt() { + if (this.finishedAt == null) { + return null; + } + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.finishedAt), ZoneOffset.UTC); + } + + /** + * Get the usage property: Token consumption summary. Populated when the job reaches a terminal state. + * + * @return the usage value. + */ + @Generated + public EvaluatorGenerationTokenUsage getUsage() { + return this.usage; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("inputs", this.inputs); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EvaluatorGenerationJob from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EvaluatorGenerationJob if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the EvaluatorGenerationJob. + */ + @Generated + public static EvaluatorGenerationJob fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + EvaluatorGenerationJob deserializedEvaluatorGenerationJob = new EvaluatorGenerationJob(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedEvaluatorGenerationJob.id = reader.getString(); + } else if ("status".equals(fieldName)) { + deserializedEvaluatorGenerationJob.status = JobStatus.fromString(reader.getString()); + } else if ("created_at".equals(fieldName)) { + deserializedEvaluatorGenerationJob.createdAt = reader.getLong(); + } else if ("inputs".equals(fieldName)) { + deserializedEvaluatorGenerationJob.inputs = EvaluatorGenerationInputs.fromJson(reader); + } else if ("result".equals(fieldName)) { + deserializedEvaluatorGenerationJob.result = EvaluatorVersion.fromJson(reader); + } else if ("error".equals(fieldName)) { + deserializedEvaluatorGenerationJob.error = ApiError.fromJson(reader); + } else if ("finished_at".equals(fieldName)) { + deserializedEvaluatorGenerationJob.finishedAt = reader.getNullable(JsonReader::getLong); + } else if ("usage".equals(fieldName)) { + deserializedEvaluatorGenerationJob.usage = EvaluatorGenerationTokenUsage.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedEvaluatorGenerationJob; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java new file mode 100644 index 000000000000..99a3b39cf28c --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java @@ -0,0 +1,114 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The base source model for evaluator generation jobs. Polymorphic over `type`. + */ +@Immutable +public class EvaluatorGenerationJobSource implements JsonSerializable { + /* + * The type of source. + */ + @Generated + private EvaluatorGenerationJobSourceType type + = EvaluatorGenerationJobSourceType.fromString("EvaluatorGenerationJobSource"); + + /** + * Creates an instance of EvaluatorGenerationJobSource class. + */ + @Generated + public EvaluatorGenerationJobSource() { + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + public EvaluatorGenerationJobSourceType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EvaluatorGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the EvaluatorGenerationJobSource. + */ + @Generated + public static EvaluatorGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + readerToUse.nextToken(); // Prepare for reading + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("type".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("prompt".equals(discriminatorValue)) { + return PromptEvaluatorGenerationJobSource.fromJson(readerToUse.reset()); + } else if ("agent".equals(discriminatorValue)) { + return AgentEvaluatorGenerationJobSource.fromJson(readerToUse.reset()); + } else if ("traces".equals(discriminatorValue)) { + return TracesEvaluatorGenerationJobSource.fromJson(readerToUse.reset()); + } else if ("dataset".equals(discriminatorValue)) { + return DatasetEvaluatorGenerationJobSource.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static EvaluatorGenerationJobSource fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + EvaluatorGenerationJobSource deserializedEvaluatorGenerationJobSource = new EvaluatorGenerationJobSource(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedEvaluatorGenerationJobSource.type + = EvaluatorGenerationJobSourceType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedEvaluatorGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java new file mode 100644 index 000000000000..827c76e67d2e --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The supported source types for evaluator generation jobs. + */ +public final class EvaluatorGenerationJobSourceType extends ExpandableStringEnum { + /** + * Prompt source — inline text provided by the user. + */ + @Generated + public static final EvaluatorGenerationJobSourceType PROMPT = fromString("prompt"); + + /** + * Agent source — references an agent to fetch instructions and metadata from. + */ + @Generated + public static final EvaluatorGenerationJobSourceType AGENT = fromString("agent"); + + /** + * Traces source — conversation traces from Application Insights. + */ + @Generated + public static final EvaluatorGenerationJobSourceType TRACES = fromString("traces"); + + /** + * Dataset source — reference to a dataset. + */ + @Generated + public static final EvaluatorGenerationJobSourceType DATASET = fromString("dataset"); + + /** + * Creates a new instance of EvaluatorGenerationJobSourceType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public EvaluatorGenerationJobSourceType() { + } + + /** + * Creates or finds a EvaluatorGenerationJobSourceType from its string representation. + * + * @param name a name to look for. + * @return the corresponding EvaluatorGenerationJobSourceType. + */ + @Generated + public static EvaluatorGenerationJobSourceType fromString(String name) { + return fromString(name, EvaluatorGenerationJobSourceType.class); + } + + /** + * Gets known EvaluatorGenerationJobSourceType values. + * + * @return known EvaluatorGenerationJobSourceType values. + */ + @Generated + public static Collection values() { + return values(EvaluatorGenerationJobSourceType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java new file mode 100644 index 000000000000..a452679c16df --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java @@ -0,0 +1,127 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Token consumption summary for an evaluator generation job. Populated when the job reaches a terminal state. + */ +@Immutable +public final class EvaluatorGenerationTokenUsage implements JsonSerializable { + /* + * Number of input (prompt) tokens consumed. + */ + @Generated + private final long inputTokens; + + /* + * Number of output (completion) tokens generated. + */ + @Generated + private final long outputTokens; + + /* + * Total tokens consumed (input + output). + */ + @Generated + private final long totalTokens; + + /** + * Creates an instance of EvaluatorGenerationTokenUsage class. + * + * @param inputTokens the inputTokens value to set. + * @param outputTokens the outputTokens value to set. + * @param totalTokens the totalTokens value to set. + */ + @Generated + private EvaluatorGenerationTokenUsage(long inputTokens, long outputTokens, long totalTokens) { + this.inputTokens = inputTokens; + this.outputTokens = outputTokens; + this.totalTokens = totalTokens; + } + + /** + * Get the inputTokens property: Number of input (prompt) tokens consumed. + * + * @return the inputTokens value. + */ + @Generated + public long getInputTokens() { + return this.inputTokens; + } + + /** + * Get the outputTokens property: Number of output (completion) tokens generated. + * + * @return the outputTokens value. + */ + @Generated + public long getOutputTokens() { + return this.outputTokens; + } + + /** + * Get the totalTokens property: Total tokens consumed (input + output). + * + * @return the totalTokens value. + */ + @Generated + public long getTotalTokens() { + return this.totalTokens; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeLongField("input_tokens", this.inputTokens); + jsonWriter.writeLongField("output_tokens", this.outputTokens); + jsonWriter.writeLongField("total_tokens", this.totalTokens); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EvaluatorGenerationTokenUsage from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EvaluatorGenerationTokenUsage if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the EvaluatorGenerationTokenUsage. + */ + @Generated + public static EvaluatorGenerationTokenUsage fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + long inputTokens = 0L; + long outputTokens = 0L; + long totalTokens = 0L; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("input_tokens".equals(fieldName)) { + inputTokens = reader.getLong(); + } else if ("output_tokens".equals(fieldName)) { + outputTokens = reader.getLong(); + } else if ("total_tokens".equals(fieldName)) { + totalTokens = reader.getLong(); + } else { + reader.skipChildren(); + } + } + return new EvaluatorGenerationTokenUsage(inputTokens, outputTokens, totalTokens); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java index 025fb0f18566..678deb89fc14 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java @@ -335,6 +335,7 @@ public static EvaluatorVersion fromJson(JsonReader jsonReader) throws IOExceptio String version = null; String displayName = null; Map metadata = null; + EvaluatorGenerationArtifacts generationArtifacts = null; String id = null; String description = null; Map tags = null; @@ -363,6 +364,8 @@ public static EvaluatorVersion fromJson(JsonReader jsonReader) throws IOExceptio displayName = reader.getString(); } else if ("metadata".equals(fieldName)) { metadata = reader.readMap(reader1 -> reader1.getString()); + } else if ("generation_artifacts".equals(fieldName)) { + generationArtifacts = EvaluatorGenerationArtifacts.fromJson(reader); } else if ("id".equals(fieldName)) { id = reader.getString(); } else if ("description".equals(fieldName)) { @@ -381,10 +384,30 @@ public static EvaluatorVersion fromJson(JsonReader jsonReader) throws IOExceptio deserializedEvaluatorVersion.version = version; deserializedEvaluatorVersion.displayName = displayName; deserializedEvaluatorVersion.metadata = metadata; + deserializedEvaluatorVersion.generationArtifacts = generationArtifacts; deserializedEvaluatorVersion.id = id; deserializedEvaluatorVersion.description = description; deserializedEvaluatorVersion.tags = tags; return deserializedEvaluatorVersion; }); } + + /* + * Provenance artifacts from the generation pipeline. Read-only; present only on evaluator versions created via an + * EvaluatorGenerationJob. Each artifact resolves to a versioned Foundry Dataset. + */ + @Generated + private EvaluatorGenerationArtifacts generationArtifacts; + + /** + * Get the generationArtifacts property: Provenance artifacts from the generation pipeline. Read-only; present only + * on evaluator versions created via an EvaluatorGenerationJob. Each artifact resolves to a versioned Foundry + * Dataset. + * + * @return the generationArtifacts value. + */ + @Generated + public EvaluatorGenerationArtifacts getGenerationArtifacts() { + return this.generationArtifacts; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java new file mode 100644 index 000000000000..8558032a66ea --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java @@ -0,0 +1,118 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Azure OpenAI file output for a data generation job. + */ +@Immutable +public final class FileDataGenerationJobOutput extends DataGenerationJobOutput { + /* + * The type of the output. + */ + @Generated + private DataGenerationJobOutputType type = DataGenerationJobOutputType.FILE; + + /* + * The id of the output Azure OpenAI file. + */ + @Generated + private String id; + + /* + * The filename of the output Azure OpenAI file. + */ + @Generated + private String filename; + + /** + * Creates an instance of FileDataGenerationJobOutput class. + */ + @Generated + private FileDataGenerationJobOutput() { + } + + /** + * Get the type property: The type of the output. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobOutputType getType() { + return this.type; + } + + /** + * Get the id property: The id of the output Azure OpenAI file. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } + + /** + * Get the filename property: The filename of the output Azure OpenAI file. + * + * @return the filename value. + */ + @Generated + public String getFilename() { + return this.filename; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FileDataGenerationJobOutput from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FileDataGenerationJobOutput if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the FileDataGenerationJobOutput. + */ + @Generated + public static FileDataGenerationJobOutput fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + FileDataGenerationJobOutput deserializedFileDataGenerationJobOutput = new FileDataGenerationJobOutput(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedFileDataGenerationJobOutput.id = reader.getString(); + } else if ("filename".equals(fieldName)) { + deserializedFileDataGenerationJobOutput.filename = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedFileDataGenerationJobOutput.type + = DataGenerationJobOutputType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedFileDataGenerationJobOutput; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java new file mode 100644 index 000000000000..8f0091bedeb7 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java @@ -0,0 +1,121 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * File source for data generation jobs — Azure OpenAI file input. + */ +@Fluent +public final class FileDataGenerationJobSource extends DataGenerationJobSource { + /* + * The type of source. + */ + @Generated + private DataGenerationJobSourceType type = DataGenerationJobSourceType.FILE; + + /* + * Input Azure Open AI file id used for data generation. + */ + @Generated + private final String id; + + /** + * Creates an instance of FileDataGenerationJobSource class. + * + * @param id the id value to set. + */ + @Generated + public FileDataGenerationJobSource(String id) { + this.id = id; + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the id property: Input Azure Open AI file id used for data generation. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public FileDataGenerationJobSource setDescription(String description) { + super.setDescription(description); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("description", getDescription()); + jsonWriter.writeStringField("id", this.id); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FileDataGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FileDataGenerationJobSource if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the FileDataGenerationJobSource. + */ + @Generated + public static FileDataGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String description = null; + String id = null; + DataGenerationJobSourceType type = DataGenerationJobSourceType.FILE; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("id".equals(fieldName)) { + id = reader.getString(); + } else if ("type".equals(fieldName)) { + type = DataGenerationJobSourceType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + FileDataGenerationJobSource deserializedFileDataGenerationJobSource = new FileDataGenerationJobSource(id); + deserializedFileDataGenerationJobSource.setDescription(description); + deserializedFileDataGenerationJobSource.type = type; + + return deserializedFileDataGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchTool.java new file mode 100644 index 000000000000..b138dc597fa4 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchTool.java @@ -0,0 +1,216 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * File search + * + * A tool that searches for relevant content from uploaded files. Learn more about the [file search + * tool](https://platform.openai.com/docs/guides/tools-file-search). + */ +@Fluent +public final class FileSearchTool extends Tool { + /* + * The type property. + */ + @Generated + private ToolType type = ToolType.FILE_SEARCH; + + /* + * The IDs of the vector stores to search. + */ + @Generated + private final List vectorStoreIds; + + /* + * The maximum number of results to return. This number should be between 1 and 50 inclusive. + */ + @Generated + private Integer maxNumResults; + + /* + * Ranking options for search. + */ + @Generated + private RankingOptions rankingOptions; + + /* + * The filters property. + */ + @Generated + private BinaryData filters; + + /** + * Creates an instance of FileSearchTool class. + * + * @param vectorStoreIds the vectorStoreIds value to set. + */ + @Generated + public FileSearchTool(List vectorStoreIds) { + this.vectorStoreIds = vectorStoreIds; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public ToolType getType() { + return this.type; + } + + /** + * Get the vectorStoreIds property: The IDs of the vector stores to search. + * + * @return the vectorStoreIds value. + */ + @Generated + public List getVectorStoreIds() { + return this.vectorStoreIds; + } + + /** + * Get the maxNumResults property: The maximum number of results to return. This number should be between 1 and 50 + * inclusive. + * + * @return the maxNumResults value. + */ + @Generated + public Integer getMaxNumResults() { + return this.maxNumResults; + } + + /** + * Set the maxNumResults property: The maximum number of results to return. This number should be between 1 and 50 + * inclusive. + * + * @param maxNumResults the maxNumResults value to set. + * @return the FileSearchTool object itself. + */ + @Generated + public FileSearchTool setMaxNumResults(Integer maxNumResults) { + this.maxNumResults = maxNumResults; + return this; + } + + /** + * Get the rankingOptions property: Ranking options for search. + * + * @return the rankingOptions value. + */ + @Generated + public RankingOptions getRankingOptions() { + return this.rankingOptions; + } + + /** + * Set the rankingOptions property: Ranking options for search. + * + * @param rankingOptions the rankingOptions value to set. + * @return the FileSearchTool object itself. + */ + @Generated + public FileSearchTool setRankingOptions(RankingOptions rankingOptions) { + this.rankingOptions = rankingOptions; + return this; + } + + /** + * Get the filters property: The filters property. + * + * @return the filters value. + */ + @Generated + public BinaryData getFilters() { + return this.filters; + } + + /** + * Set the filters property: The filters property. + * + * @param filters the filters value to set. + * @return the FileSearchTool object itself. + */ + @Generated + public FileSearchTool setFilters(BinaryData filters) { + this.filters = filters; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeArrayField("vector_store_ids", this.vectorStoreIds, + (writer, element) -> writer.writeString(element)); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeNumberField("max_num_results", this.maxNumResults); + jsonWriter.writeJsonField("ranking_options", this.rankingOptions); + if (this.filters != null) { + jsonWriter.writeFieldName("filters"); + this.filters.writeTo(jsonWriter); + } + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FileSearchTool from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FileSearchTool if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the FileSearchTool. + */ + @Generated + public static FileSearchTool fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + List vectorStoreIds = null; + ToolType type = ToolType.FILE_SEARCH; + Integer maxNumResults = null; + RankingOptions rankingOptions = null; + BinaryData filters = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("vector_store_ids".equals(fieldName)) { + vectorStoreIds = reader.readArray(reader1 -> reader1.getString()); + } else if ("type".equals(fieldName)) { + type = ToolType.fromString(reader.getString()); + } else if ("max_num_results".equals(fieldName)) { + maxNumResults = reader.getNullable(JsonReader::getInt); + } else if ("ranking_options".equals(fieldName)) { + rankingOptions = RankingOptions.fromJson(reader); + } else if ("filters".equals(fieldName)) { + filters = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); + } else { + reader.skipChildren(); + } + } + FileSearchTool deserializedFileSearchTool = new FileSearchTool(vectorStoreIds); + deserializedFileSearchTool.type = type; + deserializedFileSearchTool.maxNumResults = maxNumResults; + deserializedFileSearchTool.rankingOptions = rankingOptions; + deserializedFileSearchTool.filters = filters; + + return deserializedFileSearchTool; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType.java new file mode 100644 index 000000000000..184ca64e85a7 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType.java @@ -0,0 +1,76 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +/** + * Defines values for FileSearchToolFiltersType. + */ +public enum FileSearchToolFiltersType { + /** + * Enum value eq. + */ + EQ("eq"), + + /** + * Enum value ne. + */ + NE("ne"), + + /** + * Enum value gt. + */ + GT("gt"), + + /** + * Enum value gte. + */ + GTE("gte"), + + /** + * Enum value lt. + */ + LT("lt"), + + /** + * Enum value lte. + */ + LTE("lte"); + + /** + * The actual serialized value for a FileSearchToolFiltersType instance. + */ + private final String value; + + FileSearchToolFiltersType(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a FileSearchToolFiltersType instance. + * + * @param value the serialized value to parse. + * @return the parsed FileSearchToolFiltersType object, or null if unable to parse. + */ + public static FileSearchToolFiltersType fromString(String value) { + if (value == null) { + return null; + } + FileSearchToolFiltersType[] items = FileSearchToolFiltersType.values(); + for (FileSearchToolFiltersType item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType1.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType1.java new file mode 100644 index 000000000000..8a21edd5d7b9 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType1.java @@ -0,0 +1,56 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +/** + * Defines values for FileSearchToolFiltersType1. + */ +public enum FileSearchToolFiltersType1 { + /** + * Enum value and. + */ + AND("and"), + + /** + * Enum value or. + */ + OR("or"); + + /** + * The actual serialized value for a FileSearchToolFiltersType1 instance. + */ + private final String value; + + FileSearchToolFiltersType1(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a FileSearchToolFiltersType1 instance. + * + * @param value the serialized value to parse. + * @return the parsed FileSearchToolFiltersType1 object, or null if unable to parse. + */ + public static FileSearchToolFiltersType1 fromString(String value) { + if (value == null) { + return null; + } + FileSearchToolFiltersType1[] items = FileSearchToolFiltersType1.values(); + for (FileSearchToolFiltersType1 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java index bc4bb587ffd1..78b225e0fa57 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java @@ -33,6 +33,11 @@ public enum FoundryFeaturesOptInKeys { */ MEMORY_STORES_V1_PREVIEW("MemoryStores=V1Preview"), + /** + * Enum value Routines=V1Preview. + */ + ROUTINES_V1_PREVIEW("Routines=V1Preview"), + /** * Enum value Toolboxes=V1Preview. */ @@ -51,7 +56,12 @@ public enum FoundryFeaturesOptInKeys { /** * Enum value Models=V1Preview. */ - MODELS_V1_PREVIEW("Models=V1Preview"); + MODELS_V1_PREVIEW("Models=V1Preview"), + + /** + * Enum value AgentsOptimization=V1Preview. + */ + AGENTS_OPTIMIZATION_V1_PREVIEW("AgentsOptimization=V1Preview"); /** * The actual serialized value for a FoundryFeaturesOptInKeys instance. diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java new file mode 100644 index 000000000000..2cef7749767a --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java @@ -0,0 +1,113 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Shell tool + * + * A tool that allows the model to execute shell commands. + */ +@Fluent +public final class FunctionShellToolParam extends Tool { + /* + * The type property. + */ + @Generated + private ToolType type = ToolType.SHELL; + + /* + * The environment property. + */ + @Generated + private FunctionShellToolParamEnvironment environment; + + /** + * Creates an instance of FunctionShellToolParam class. + */ + @Generated + public FunctionShellToolParam() { + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public ToolType getType() { + return this.type; + } + + /** + * Get the environment property: The environment property. + * + * @return the environment value. + */ + @Generated + public FunctionShellToolParamEnvironment getEnvironment() { + return this.environment; + } + + /** + * Set the environment property: The environment property. + * + * @param environment the environment value to set. + * @return the FunctionShellToolParam object itself. + */ + @Generated + public FunctionShellToolParam setEnvironment(FunctionShellToolParamEnvironment environment) { + this.environment = environment; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeJsonField("environment", this.environment); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FunctionShellToolParam from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FunctionShellToolParam if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the FunctionShellToolParam. + */ + @Generated + public static FunctionShellToolParam fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + FunctionShellToolParam deserializedFunctionShellToolParam = new FunctionShellToolParam(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedFunctionShellToolParam.type = ToolType.fromString(reader.getString()); + } else if ("environment".equals(fieldName)) { + deserializedFunctionShellToolParam.environment = FunctionShellToolParamEnvironment.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedFunctionShellToolParam; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java new file mode 100644 index 000000000000..c938efb41baf --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java @@ -0,0 +1,113 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The FunctionShellToolParamEnvironment model. + */ +@Immutable +public class FunctionShellToolParamEnvironment implements JsonSerializable { + /* + * The type property. + */ + @Generated + private FunctionShellToolParamEnvironmentType type + = FunctionShellToolParamEnvironmentType.fromString("FunctionShellToolParamEnvironment"); + + /** + * Creates an instance of FunctionShellToolParamEnvironment class. + */ + @Generated + public FunctionShellToolParamEnvironment() { + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + public FunctionShellToolParamEnvironmentType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FunctionShellToolParamEnvironment from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FunctionShellToolParamEnvironment if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the FunctionShellToolParamEnvironment. + */ + @Generated + public static FunctionShellToolParamEnvironment fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + readerToUse.nextToken(); // Prepare for reading + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("type".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("local".equals(discriminatorValue)) { + return FunctionShellToolParamEnvironmentLocalEnvironmentParam.fromJson(readerToUse.reset()); + } else if ("container_reference".equals(discriminatorValue)) { + return FunctionShellToolParamEnvironmentContainerReferenceParam.fromJson(readerToUse.reset()); + } else if ("container_auto".equals(discriminatorValue)) { + return ContainerAutoParam.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static FunctionShellToolParamEnvironment fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + FunctionShellToolParamEnvironment deserializedFunctionShellToolParamEnvironment + = new FunctionShellToolParamEnvironment(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedFunctionShellToolParamEnvironment.type + = FunctionShellToolParamEnvironmentType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedFunctionShellToolParamEnvironment; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java new file mode 100644 index 000000000000..282755beaecb --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java @@ -0,0 +1,109 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The FunctionShellToolParamEnvironmentContainerReferenceParam model. + */ +@Immutable +public final class FunctionShellToolParamEnvironmentContainerReferenceParam extends FunctionShellToolParamEnvironment { + /* + * The type property. + */ + @Generated + private FunctionShellToolParamEnvironmentType type = FunctionShellToolParamEnvironmentType.CONTAINER_REFERENCE; + + /* + * The ID of the referenced container. + */ + @Generated + private final String containerId; + + /** + * Creates an instance of FunctionShellToolParamEnvironmentContainerReferenceParam class. + * + * @param containerId the containerId value to set. + */ + @Generated + public FunctionShellToolParamEnvironmentContainerReferenceParam(String containerId) { + this.containerId = containerId; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public FunctionShellToolParamEnvironmentType getType() { + return this.type; + } + + /** + * Get the containerId property: The ID of the referenced container. + * + * @return the containerId value. + */ + @Generated + public String getContainerId() { + return this.containerId; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("container_id", this.containerId); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FunctionShellToolParamEnvironmentContainerReferenceParam from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FunctionShellToolParamEnvironmentContainerReferenceParam if the JsonReader was pointing to + * an instance of it, or null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the + * FunctionShellToolParamEnvironmentContainerReferenceParam. + */ + @Generated + public static FunctionShellToolParamEnvironmentContainerReferenceParam fromJson(JsonReader jsonReader) + throws IOException { + return jsonReader.readObject(reader -> { + String containerId = null; + FunctionShellToolParamEnvironmentType type = FunctionShellToolParamEnvironmentType.CONTAINER_REFERENCE; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("container_id".equals(fieldName)) { + containerId = reader.getString(); + } else if ("type".equals(fieldName)) { + type = FunctionShellToolParamEnvironmentType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + FunctionShellToolParamEnvironmentContainerReferenceParam deserializedFunctionShellToolParamEnvironmentContainerReferenceParam + = new FunctionShellToolParamEnvironmentContainerReferenceParam(containerId); + deserializedFunctionShellToolParamEnvironmentContainerReferenceParam.type = type; + + return deserializedFunctionShellToolParamEnvironmentContainerReferenceParam; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java new file mode 100644 index 000000000000..aa481f047f68 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * The FunctionShellToolParamEnvironmentLocalEnvironmentParam model. + */ +@Fluent +public final class FunctionShellToolParamEnvironmentLocalEnvironmentParam extends FunctionShellToolParamEnvironment { + /* + * The type property. + */ + @Generated + private FunctionShellToolParamEnvironmentType type = FunctionShellToolParamEnvironmentType.LOCAL; + + /* + * An optional list of skills. + */ + @Generated + private List skills; + + /** + * Creates an instance of FunctionShellToolParamEnvironmentLocalEnvironmentParam class. + */ + @Generated + public FunctionShellToolParamEnvironmentLocalEnvironmentParam() { + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public FunctionShellToolParamEnvironmentType getType() { + return this.type; + } + + /** + * Get the skills property: An optional list of skills. + * + * @return the skills value. + */ + @Generated + public List getSkills() { + return this.skills; + } + + /** + * Set the skills property: An optional list of skills. + * + * @param skills the skills value to set. + * @return the FunctionShellToolParamEnvironmentLocalEnvironmentParam object itself. + */ + @Generated + public FunctionShellToolParamEnvironmentLocalEnvironmentParam setSkills(List skills) { + this.skills = skills; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeArrayField("skills", this.skills, (writer, element) -> writer.writeJson(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FunctionShellToolParamEnvironmentLocalEnvironmentParam from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FunctionShellToolParamEnvironmentLocalEnvironmentParam if the JsonReader was pointing to + * an instance of it, or null if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the FunctionShellToolParamEnvironmentLocalEnvironmentParam. + */ + @Generated + public static FunctionShellToolParamEnvironmentLocalEnvironmentParam fromJson(JsonReader jsonReader) + throws IOException { + return jsonReader.readObject(reader -> { + FunctionShellToolParamEnvironmentLocalEnvironmentParam deserializedFunctionShellToolParamEnvironmentLocalEnvironmentParam + = new FunctionShellToolParamEnvironmentLocalEnvironmentParam(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedFunctionShellToolParamEnvironmentLocalEnvironmentParam.type + = FunctionShellToolParamEnvironmentType.fromString(reader.getString()); + } else if ("skills".equals(fieldName)) { + List skills = reader.readArray(reader1 -> LocalSkillParam.fromJson(reader1)); + deserializedFunctionShellToolParamEnvironmentLocalEnvironmentParam.skills = skills; + } else { + reader.skipChildren(); + } + } + + return deserializedFunctionShellToolParamEnvironmentLocalEnvironmentParam; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java new file mode 100644 index 000000000000..f17709789ee8 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java @@ -0,0 +1,64 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Defines values for FunctionShellToolParamEnvironmentType. + */ +public final class FunctionShellToolParamEnvironmentType + extends ExpandableStringEnum { + /** + * Static value container_auto for FunctionShellToolParamEnvironmentType. + */ + @Generated + public static final FunctionShellToolParamEnvironmentType CONTAINER_AUTO = fromString("container_auto"); + + /** + * Static value local for FunctionShellToolParamEnvironmentType. + */ + @Generated + public static final FunctionShellToolParamEnvironmentType LOCAL = fromString("local"); + + /** + * Static value container_reference for FunctionShellToolParamEnvironmentType. + */ + @Generated + public static final FunctionShellToolParamEnvironmentType CONTAINER_REFERENCE = fromString("container_reference"); + + /** + * Creates a new instance of FunctionShellToolParamEnvironmentType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public FunctionShellToolParamEnvironmentType() { + } + + /** + * Creates or finds a FunctionShellToolParamEnvironmentType from its string representation. + * + * @param name a name to look for. + * @return the corresponding FunctionShellToolParamEnvironmentType. + */ + @Generated + public static FunctionShellToolParamEnvironmentType fromString(String name) { + return fromString(name, FunctionShellToolParamEnvironmentType.class); + } + + /** + * Gets known FunctionShellToolParamEnvironmentType values. + * + * @return known FunctionShellToolParamEnvironmentType values. + */ + @Generated + public static Collection values() { + return values(FunctionShellToolParamEnvironmentType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionTool.java new file mode 100644 index 000000000000..f2b9e8e5d280 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionTool.java @@ -0,0 +1,195 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.Map; + +/** + * Function + * + * Defines a function in your own code the model can choose to call. Learn more about [function + * calling](https://platform.openai.com/docs/guides/function-calling). + */ +@Fluent +public final class FunctionTool extends Tool { + /* + * The type property. + */ + @Generated + private ToolType type = ToolType.FUNCTION; + + /* + * The name of the function to call. + */ + @Generated + private final String name; + + /* + * The description property. + */ + @Generated + private String description; + + /* + * The parameters property. + */ + @Generated + private final Map parameters; + + /* + * The strict property. + */ + @Generated + private final Boolean strict; + + /** + * Creates an instance of FunctionTool class. + * + * @param name the name value to set. + * @param parameters the parameters value to set. + * @param strict the strict value to set. + */ + @Generated + public FunctionTool(String name, Map parameters, Boolean strict) { + this.name = name; + this.parameters = parameters; + this.strict = strict; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public ToolType getType() { + return this.type; + } + + /** + * Get the name property: The name of the function to call. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the description property: The description property. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: The description property. + * + * @param description the description value to set. + * @return the FunctionTool object itself. + */ + @Generated + public FunctionTool setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the parameters property: The parameters property. + * + * @return the parameters value. + */ + @Generated + public Map getParameters() { + return this.parameters; + } + + /** + * Get the strict property: The strict property. + * + * @return the strict value. + */ + @Generated + public Boolean isStrict() { + return this.strict; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeMapField("parameters", this.parameters, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + jsonWriter.writeBooleanField("strict", this.strict); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FunctionTool from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FunctionTool if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the FunctionTool. + */ + @Generated + public static FunctionTool fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + Map parameters = null; + Boolean strict = null; + ToolType type = ToolType.FUNCTION; + String description = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("parameters".equals(fieldName)) { + parameters = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); + } else if ("strict".equals(fieldName)) { + strict = reader.getNullable(JsonReader::getBoolean); + } else if ("type".equals(fieldName)) { + type = ToolType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else { + reader.skipChildren(); + } + } + FunctionTool deserializedFunctionTool = new FunctionTool(name, parameters, strict); + deserializedFunctionTool.type = type; + deserializedFunctionTool.description = description; + + return deserializedFunctionTool; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java new file mode 100644 index 000000000000..60d823e291af --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java @@ -0,0 +1,153 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A GitHub issue-opened routine trigger. + */ +@Immutable +public final class GitHubIssueOpenedRoutineTrigger extends RoutineTrigger { + /* + * The trigger type. + */ + @Generated + private RoutineTriggerType type = RoutineTriggerType.GITHUB_ISSUE_OPENED; + + /* + * The workspace connection identifier that resolves the GitHub configuration for the trigger. + */ + @Generated + private final String connectionId; + + /* + * The GitHub assignee or organization filter that scopes which issues can fire the trigger. + */ + @Generated + private final String assignee; + + /* + * The GitHub repository filter that scopes which issues can fire the trigger. + */ + @Generated + private final String repository; + + /** + * Creates an instance of GitHubIssueOpenedRoutineTrigger class. + * + * @param connectionId the connectionId value to set. + * @param assignee the assignee value to set. + * @param repository the repository value to set. + */ + @Generated + public GitHubIssueOpenedRoutineTrigger(String connectionId, String assignee, String repository) { + this.connectionId = connectionId; + this.assignee = assignee; + this.repository = repository; + } + + /** + * Get the type property: The trigger type. + * + * @return the type value. + */ + @Generated + @Override + public RoutineTriggerType getType() { + return this.type; + } + + /** + * Get the connectionId property: The workspace connection identifier that resolves the GitHub configuration for the + * trigger. + * + * @return the connectionId value. + */ + @Generated + public String getConnectionId() { + return this.connectionId; + } + + /** + * Get the assignee property: The GitHub assignee or organization filter that scopes which issues can fire the + * trigger. + * + * @return the assignee value. + */ + @Generated + public String getAssignee() { + return this.assignee; + } + + /** + * Get the repository property: The GitHub repository filter that scopes which issues can fire the trigger. + * + * @return the repository value. + */ + @Generated + public String getRepository() { + return this.repository; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("connection_id", this.connectionId); + jsonWriter.writeStringField("assignee", this.assignee); + jsonWriter.writeStringField("repository", this.repository); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of GitHubIssueOpenedRoutineTrigger from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of GitHubIssueOpenedRoutineTrigger if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the GitHubIssueOpenedRoutineTrigger. + */ + @Generated + public static GitHubIssueOpenedRoutineTrigger fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String connectionId = null; + String assignee = null; + String repository = null; + RoutineTriggerType type = RoutineTriggerType.GITHUB_ISSUE_OPENED; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("connection_id".equals(fieldName)) { + connectionId = reader.getString(); + } else if ("assignee".equals(fieldName)) { + assignee = reader.getString(); + } else if ("repository".equals(fieldName)) { + repository = reader.getString(); + } else if ("type".equals(fieldName)) { + type = RoutineTriggerType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + GitHubIssueOpenedRoutineTrigger deserializedGitHubIssueOpenedRoutineTrigger + = new GitHubIssueOpenedRoutineTrigger(connectionId, assignee, repository); + deserializedGitHubIssueOpenedRoutineTrigger.type = type; + + return deserializedGitHubIssueOpenedRoutineTrigger; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GrammarSyntax1.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GrammarSyntax1.java new file mode 100644 index 000000000000..6125ea825e11 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GrammarSyntax1.java @@ -0,0 +1,56 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +/** + * Defines values for GrammarSyntax1. + */ +public enum GrammarSyntax1 { + /** + * Enum value lark. + */ + LARK("lark"), + + /** + * Enum value regex. + */ + REGEX("regex"); + + /** + * The actual serialized value for a GrammarSyntax1 instance. + */ + private final String value; + + GrammarSyntax1(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a GrammarSyntax1 instance. + * + * @param value the serialized value to parse. + * @return the parsed GrammarSyntax1 object, or null if unable to parse. + */ + public static GrammarSyntax1 fromString(String value) { + if (value == null) { + return null; + } + GrammarSyntax1[] items = GrammarSyntax1.values(); + for (GrammarSyntax1 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java new file mode 100644 index 000000000000..09703a0653fa --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java @@ -0,0 +1,105 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The HybridSearchOptions model. + */ +@Immutable +public final class HybridSearchOptions implements JsonSerializable { + /* + * The weight of the embedding in the reciprocal ranking fusion. + */ + @Generated + private final int embeddingWeight; + + /* + * The weight of the text in the reciprocal ranking fusion. + */ + @Generated + private final int textWeight; + + /** + * Creates an instance of HybridSearchOptions class. + * + * @param embeddingWeight the embeddingWeight value to set. + * @param textWeight the textWeight value to set. + */ + @Generated + public HybridSearchOptions(int embeddingWeight, int textWeight) { + this.embeddingWeight = embeddingWeight; + this.textWeight = textWeight; + } + + /** + * Get the embeddingWeight property: The weight of the embedding in the reciprocal ranking fusion. + * + * @return the embeddingWeight value. + */ + @Generated + public int getEmbeddingWeight() { + return this.embeddingWeight; + } + + /** + * Get the textWeight property: The weight of the text in the reciprocal ranking fusion. + * + * @return the textWeight value. + */ + @Generated + public int getTextWeight() { + return this.textWeight; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeIntField("embedding_weight", this.embeddingWeight); + jsonWriter.writeIntField("text_weight", this.textWeight); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of HybridSearchOptions from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of HybridSearchOptions if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the HybridSearchOptions. + */ + @Generated + public static HybridSearchOptions fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + int embeddingWeight = 0; + int textWeight = 0; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("embedding_weight".equals(fieldName)) { + embeddingWeight = reader.getInt(); + } else if ("text_weight".equals(fieldName)) { + textWeight = reader.getInt(); + } else { + reader.skipChildren(); + } + } + return new HybridSearchOptions(embeddingWeight, textWeight); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenActionEnum.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenActionEnum.java new file mode 100644 index 000000000000..f028b6c8519b --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenActionEnum.java @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +/** + * Defines values for ImageGenActionEnum. + */ +public enum ImageGenActionEnum { + /** + * Enum value generate. + */ + GENERATE("generate"), + + /** + * Enum value edit. + */ + EDIT("edit"), + + /** + * Enum value auto. + */ + AUTO("auto"); + + /** + * The actual serialized value for a ImageGenActionEnum instance. + */ + private final String value; + + ImageGenActionEnum(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a ImageGenActionEnum instance. + * + * @param value the serialized value to parse. + * @return the parsed ImageGenActionEnum object, or null if unable to parse. + */ + public static ImageGenActionEnum fromString(String value) { + if (value == null) { + return null; + } + ImageGenActionEnum[] items = ImageGenActionEnum.values(); + for (ImageGenActionEnum item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenTool.java new file mode 100644 index 000000000000..c347d3f4150e --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenTool.java @@ -0,0 +1,441 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Image generation tool + * + * A tool that generates images using the GPT image models. + */ +@Fluent +public final class ImageGenTool extends Tool { + /* + * The type property. + */ + @Generated + private ToolType type = ToolType.IMAGE_GENERATION; + + /* + * The model property. + */ + @Generated + private ImageGenToolModel model; + + /* + * The quality of the generated image. One of `low`, `medium`, `high`, + * or `auto`. Default: `auto`. + */ + @Generated + private ImageGenToolQuality quality; + + /* + * The size of the generated image. One of `1024x1024`, `1024x1536`, + * `1536x1024`, or `auto`. Default: `auto`. + */ + @Generated + private ImageGenToolSize size; + + /* + * The output format of the generated image. One of `png`, `webp`, or + * `jpeg`. Default: `png`. + */ + @Generated + private ImageGenToolOutputFormat outputFormat; + + /* + * Compression level for the output image. Default: 100. + */ + @Generated + private Integer outputCompression; + + /* + * Moderation level for the generated image. Default: `auto`. + */ + @Generated + private ImageGenToolModeration moderation; + + /* + * Background type for the generated image. One of `transparent`, + * `opaque`, or `auto`. Default: `auto`. + */ + @Generated + private ImageGenToolBackground background; + + /* + * The input_fidelity property. + */ + @Generated + private InputFidelity inputFidelity; + + /* + * Optional mask for inpainting. Contains `image_url` + * (string, optional) and `file_id` (string, optional). + */ + @Generated + private ImageGenToolInputImageMask inputImageMask; + + /* + * Number of partial images to generate in streaming mode, from 0 (default value) to 3. + */ + @Generated + private Integer partialImages; + + /* + * Whether to generate a new image or edit an existing image. Default: `auto`. + */ + @Generated + private ImageGenActionEnum action; + + /** + * Creates an instance of ImageGenTool class. + */ + @Generated + public ImageGenTool() { + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public ToolType getType() { + return this.type; + } + + /** + * Get the model property: The model property. + * + * @return the model value. + */ + @Generated + public ImageGenToolModel getModel() { + return this.model; + } + + /** + * Set the model property: The model property. + * + * @param model the model value to set. + * @return the ImageGenTool object itself. + */ + @Generated + public ImageGenTool setModel(ImageGenToolModel model) { + this.model = model; + return this; + } + + /** + * Get the quality property: The quality of the generated image. One of `low`, `medium`, `high`, + * or `auto`. Default: `auto`. + * + * @return the quality value. + */ + @Generated + public ImageGenToolQuality getQuality() { + return this.quality; + } + + /** + * Set the quality property: The quality of the generated image. One of `low`, `medium`, `high`, + * or `auto`. Default: `auto`. + * + * @param quality the quality value to set. + * @return the ImageGenTool object itself. + */ + @Generated + public ImageGenTool setQuality(ImageGenToolQuality quality) { + this.quality = quality; + return this; + } + + /** + * Get the size property: The size of the generated image. One of `1024x1024`, `1024x1536`, + * `1536x1024`, or `auto`. Default: `auto`. + * + * @return the size value. + */ + @Generated + public ImageGenToolSize getSize() { + return this.size; + } + + /** + * Set the size property: The size of the generated image. One of `1024x1024`, `1024x1536`, + * `1536x1024`, or `auto`. Default: `auto`. + * + * @param size the size value to set. + * @return the ImageGenTool object itself. + */ + @Generated + public ImageGenTool setSize(ImageGenToolSize size) { + this.size = size; + return this; + } + + /** + * Get the outputFormat property: The output format of the generated image. One of `png`, `webp`, or + * `jpeg`. Default: `png`. + * + * @return the outputFormat value. + */ + @Generated + public ImageGenToolOutputFormat getOutputFormat() { + return this.outputFormat; + } + + /** + * Set the outputFormat property: The output format of the generated image. One of `png`, `webp`, or + * `jpeg`. Default: `png`. + * + * @param outputFormat the outputFormat value to set. + * @return the ImageGenTool object itself. + */ + @Generated + public ImageGenTool setOutputFormat(ImageGenToolOutputFormat outputFormat) { + this.outputFormat = outputFormat; + return this; + } + + /** + * Get the outputCompression property: Compression level for the output image. Default: 100. + * + * @return the outputCompression value. + */ + @Generated + public Integer getOutputCompression() { + return this.outputCompression; + } + + /** + * Set the outputCompression property: Compression level for the output image. Default: 100. + * + * @param outputCompression the outputCompression value to set. + * @return the ImageGenTool object itself. + */ + @Generated + public ImageGenTool setOutputCompression(Integer outputCompression) { + this.outputCompression = outputCompression; + return this; + } + + /** + * Get the moderation property: Moderation level for the generated image. Default: `auto`. + * + * @return the moderation value. + */ + @Generated + public ImageGenToolModeration getModeration() { + return this.moderation; + } + + /** + * Set the moderation property: Moderation level for the generated image. Default: `auto`. + * + * @param moderation the moderation value to set. + * @return the ImageGenTool object itself. + */ + @Generated + public ImageGenTool setModeration(ImageGenToolModeration moderation) { + this.moderation = moderation; + return this; + } + + /** + * Get the background property: Background type for the generated image. One of `transparent`, + * `opaque`, or `auto`. Default: `auto`. + * + * @return the background value. + */ + @Generated + public ImageGenToolBackground getBackground() { + return this.background; + } + + /** + * Set the background property: Background type for the generated image. One of `transparent`, + * `opaque`, or `auto`. Default: `auto`. + * + * @param background the background value to set. + * @return the ImageGenTool object itself. + */ + @Generated + public ImageGenTool setBackground(ImageGenToolBackground background) { + this.background = background; + return this; + } + + /** + * Get the inputFidelity property: The input_fidelity property. + * + * @return the inputFidelity value. + */ + @Generated + public InputFidelity getInputFidelity() { + return this.inputFidelity; + } + + /** + * Set the inputFidelity property: The input_fidelity property. + * + * @param inputFidelity the inputFidelity value to set. + * @return the ImageGenTool object itself. + */ + @Generated + public ImageGenTool setInputFidelity(InputFidelity inputFidelity) { + this.inputFidelity = inputFidelity; + return this; + } + + /** + * Get the inputImageMask property: Optional mask for inpainting. Contains `image_url` + * (string, optional) and `file_id` (string, optional). + * + * @return the inputImageMask value. + */ + @Generated + public ImageGenToolInputImageMask getInputImageMask() { + return this.inputImageMask; + } + + /** + * Set the inputImageMask property: Optional mask for inpainting. Contains `image_url` + * (string, optional) and `file_id` (string, optional). + * + * @param inputImageMask the inputImageMask value to set. + * @return the ImageGenTool object itself. + */ + @Generated + public ImageGenTool setInputImageMask(ImageGenToolInputImageMask inputImageMask) { + this.inputImageMask = inputImageMask; + return this; + } + + /** + * Get the partialImages property: Number of partial images to generate in streaming mode, from 0 (default value) to + * 3. + * + * @return the partialImages value. + */ + @Generated + public Integer getPartialImages() { + return this.partialImages; + } + + /** + * Set the partialImages property: Number of partial images to generate in streaming mode, from 0 (default value) to + * 3. + * + * @param partialImages the partialImages value to set. + * @return the ImageGenTool object itself. + */ + @Generated + public ImageGenTool setPartialImages(Integer partialImages) { + this.partialImages = partialImages; + return this; + } + + /** + * Get the action property: Whether to generate a new image or edit an existing image. Default: `auto`. + * + * @return the action value. + */ + @Generated + public ImageGenActionEnum getAction() { + return this.action; + } + + /** + * Set the action property: Whether to generate a new image or edit an existing image. Default: `auto`. + * + * @param action the action value to set. + * @return the ImageGenTool object itself. + */ + @Generated + public ImageGenTool setAction(ImageGenActionEnum action) { + this.action = action; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("model", this.model == null ? null : this.model.toString()); + jsonWriter.writeStringField("quality", this.quality == null ? null : this.quality.toString()); + jsonWriter.writeStringField("size", this.size == null ? null : this.size.toString()); + jsonWriter.writeStringField("output_format", this.outputFormat == null ? null : this.outputFormat.toString()); + jsonWriter.writeNumberField("output_compression", this.outputCompression); + jsonWriter.writeStringField("moderation", this.moderation == null ? null : this.moderation.toString()); + jsonWriter.writeStringField("background", this.background == null ? null : this.background.toString()); + jsonWriter.writeStringField("input_fidelity", + this.inputFidelity == null ? null : this.inputFidelity.toString()); + jsonWriter.writeJsonField("input_image_mask", this.inputImageMask); + jsonWriter.writeNumberField("partial_images", this.partialImages); + jsonWriter.writeStringField("action", this.action == null ? null : this.action.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ImageGenTool from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ImageGenTool if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the ImageGenTool. + */ + @Generated + public static ImageGenTool fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ImageGenTool deserializedImageGenTool = new ImageGenTool(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedImageGenTool.type = ToolType.fromString(reader.getString()); + } else if ("model".equals(fieldName)) { + deserializedImageGenTool.model = ImageGenToolModel.fromString(reader.getString()); + } else if ("quality".equals(fieldName)) { + deserializedImageGenTool.quality = ImageGenToolQuality.fromString(reader.getString()); + } else if ("size".equals(fieldName)) { + deserializedImageGenTool.size = ImageGenToolSize.fromString(reader.getString()); + } else if ("output_format".equals(fieldName)) { + deserializedImageGenTool.outputFormat = ImageGenToolOutputFormat.fromString(reader.getString()); + } else if ("output_compression".equals(fieldName)) { + deserializedImageGenTool.outputCompression = reader.getNullable(JsonReader::getInt); + } else if ("moderation".equals(fieldName)) { + deserializedImageGenTool.moderation = ImageGenToolModeration.fromString(reader.getString()); + } else if ("background".equals(fieldName)) { + deserializedImageGenTool.background = ImageGenToolBackground.fromString(reader.getString()); + } else if ("input_fidelity".equals(fieldName)) { + deserializedImageGenTool.inputFidelity = InputFidelity.fromString(reader.getString()); + } else if ("input_image_mask".equals(fieldName)) { + deserializedImageGenTool.inputImageMask = ImageGenToolInputImageMask.fromJson(reader); + } else if ("partial_images".equals(fieldName)) { + deserializedImageGenTool.partialImages = reader.getNullable(JsonReader::getInt); + } else if ("action".equals(fieldName)) { + deserializedImageGenTool.action = ImageGenActionEnum.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedImageGenTool; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolBackground.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolBackground.java new file mode 100644 index 000000000000..5161c977d6b4 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolBackground.java @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +/** + * Defines values for ImageGenToolBackground. + */ +public enum ImageGenToolBackground { + /** + * Enum value transparent. + */ + TRANSPARENT("transparent"), + + /** + * Enum value opaque. + */ + OPAQUE("opaque"), + + /** + * Enum value auto. + */ + AUTO("auto"); + + /** + * The actual serialized value for a ImageGenToolBackground instance. + */ + private final String value; + + ImageGenToolBackground(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a ImageGenToolBackground instance. + * + * @param value the serialized value to parse. + * @return the parsed ImageGenToolBackground object, or null if unable to parse. + */ + public static ImageGenToolBackground fromString(String value) { + if (value == null) { + return null; + } + ImageGenToolBackground[] items = ImageGenToolBackground.values(); + for (ImageGenToolBackground item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolInputImageMask.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolInputImageMask.java new file mode 100644 index 000000000000..63153587bb7a --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolInputImageMask.java @@ -0,0 +1,123 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The ImageGenToolInputImageMask model. + */ +@Fluent +public final class ImageGenToolInputImageMask implements JsonSerializable { + /* + * The image_url property. + */ + @Generated + private String imageUrl; + + /* + * The file_id property. + */ + @Generated + private String fileId; + + /** + * Creates an instance of ImageGenToolInputImageMask class. + */ + @Generated + public ImageGenToolInputImageMask() { + } + + /** + * Get the imageUrl property: The image_url property. + * + * @return the imageUrl value. + */ + @Generated + public String getImageUrl() { + return this.imageUrl; + } + + /** + * Set the imageUrl property: The image_url property. + * + * @param imageUrl the imageUrl value to set. + * @return the ImageGenToolInputImageMask object itself. + */ + @Generated + public ImageGenToolInputImageMask setImageUrl(String imageUrl) { + this.imageUrl = imageUrl; + return this; + } + + /** + * Get the fileId property: The file_id property. + * + * @return the fileId value. + */ + @Generated + public String getFileId() { + return this.fileId; + } + + /** + * Set the fileId property: The file_id property. + * + * @param fileId the fileId value to set. + * @return the ImageGenToolInputImageMask object itself. + */ + @Generated + public ImageGenToolInputImageMask setFileId(String fileId) { + this.fileId = fileId; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("image_url", this.imageUrl); + jsonWriter.writeStringField("file_id", this.fileId); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ImageGenToolInputImageMask from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ImageGenToolInputImageMask if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IOException If an error occurs while reading the ImageGenToolInputImageMask. + */ + @Generated + public static ImageGenToolInputImageMask fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ImageGenToolInputImageMask deserializedImageGenToolInputImageMask = new ImageGenToolInputImageMask(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("image_url".equals(fieldName)) { + deserializedImageGenToolInputImageMask.imageUrl = reader.getString(); + } else if ("file_id".equals(fieldName)) { + deserializedImageGenToolInputImageMask.fileId = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedImageGenToolInputImageMask; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java new file mode 100644 index 000000000000..97e606bf5397 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java @@ -0,0 +1,63 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Defines values for ImageGenToolModel. + */ +public final class ImageGenToolModel extends ExpandableStringEnum { + /** + * Static value gpt-image-1 for ImageGenToolModel. + */ + @Generated + public static final ImageGenToolModel GPT_IMAGE_1 = fromString("gpt-image-1"); + + /** + * Static value gpt-image-1-mini for ImageGenToolModel. + */ + @Generated + public static final ImageGenToolModel GPT_IMAGE_1_MINI = fromString("gpt-image-1-mini"); + + /** + * Static value gpt-image-1.5 for ImageGenToolModel. + */ + @Generated + public static final ImageGenToolModel GPT_IMAGE_1_5 = fromString("gpt-image-1.5"); + + /** + * Creates a new instance of ImageGenToolModel value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public ImageGenToolModel() { + } + + /** + * Creates or finds a ImageGenToolModel from its string representation. + * + * @param name a name to look for. + * @return the corresponding ImageGenToolModel. + */ + @Generated + public static ImageGenToolModel fromString(String name) { + return fromString(name, ImageGenToolModel.class); + } + + /** + * Gets known ImageGenToolModel values. + * + * @return known ImageGenToolModel values. + */ + @Generated + public static Collection values() { + return values(ImageGenToolModel.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModeration.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModeration.java new file mode 100644 index 000000000000..086f39c3f849 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModeration.java @@ -0,0 +1,56 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +/** + * Defines values for ImageGenToolModeration. + */ +public enum ImageGenToolModeration { + /** + * Enum value auto. + */ + AUTO("auto"), + + /** + * Enum value low. + */ + LOW("low"); + + /** + * The actual serialized value for a ImageGenToolModeration instance. + */ + private final String value; + + ImageGenToolModeration(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a ImageGenToolModeration instance. + * + * @param value the serialized value to parse. + * @return the parsed ImageGenToolModeration object, or null if unable to parse. + */ + public static ImageGenToolModeration fromString(String value) { + if (value == null) { + return null; + } + ImageGenToolModeration[] items = ImageGenToolModeration.values(); + for (ImageGenToolModeration item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolOutputFormat.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolOutputFormat.java new file mode 100644 index 000000000000..8d5fc23ed44c --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolOutputFormat.java @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +/** + * Defines values for ImageGenToolOutputFormat. + */ +public enum ImageGenToolOutputFormat { + /** + * Enum value png. + */ + PNG("png"), + + /** + * Enum value webp. + */ + WEBP("webp"), + + /** + * Enum value jpeg. + */ + JPEG("jpeg"); + + /** + * The actual serialized value for a ImageGenToolOutputFormat instance. + */ + private final String value; + + ImageGenToolOutputFormat(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a ImageGenToolOutputFormat instance. + * + * @param value the serialized value to parse. + * @return the parsed ImageGenToolOutputFormat object, or null if unable to parse. + */ + public static ImageGenToolOutputFormat fromString(String value) { + if (value == null) { + return null; + } + ImageGenToolOutputFormat[] items = ImageGenToolOutputFormat.values(); + for (ImageGenToolOutputFormat item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolQuality.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolQuality.java new file mode 100644 index 000000000000..c9ddd2cb4e4f --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolQuality.java @@ -0,0 +1,66 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +/** + * Defines values for ImageGenToolQuality. + */ +public enum ImageGenToolQuality { + /** + * Enum value low. + */ + LOW("low"), + + /** + * Enum value medium. + */ + MEDIUM("medium"), + + /** + * Enum value high. + */ + HIGH("high"), + + /** + * Enum value auto. + */ + AUTO("auto"); + + /** + * The actual serialized value for a ImageGenToolQuality instance. + */ + private final String value; + + ImageGenToolQuality(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a ImageGenToolQuality instance. + * + * @param value the serialized value to parse. + * @return the parsed ImageGenToolQuality object, or null if unable to parse. + */ + public static ImageGenToolQuality fromString(String value) { + if (value == null) { + return null; + } + ImageGenToolQuality[] items = ImageGenToolQuality.values(); + for (ImageGenToolQuality item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolSize.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolSize.java new file mode 100644 index 000000000000..dc3cf5597032 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolSize.java @@ -0,0 +1,66 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +/** + * Defines values for ImageGenToolSize. + */ +public enum ImageGenToolSize { + /** + * Enum value 1024x1024. + */ + ONE_ZERO_TWO_FOURX_ONE_ZERO_TWO_FOUR("1024x1024"), + + /** + * Enum value 1024x1536. + */ + ONE_ZERO_TWO_FOURX_ONE_FIVE_THREE_SIX("1024x1536"), + + /** + * Enum value 1536x1024. + */ + ONE_FIVE_THREE_SIXX_ONE_ZERO_TWO_FOUR("1536x1024"), + + /** + * Enum value auto. + */ + AUTO("auto"); + + /** + * The actual serialized value for a ImageGenToolSize instance. + */ + private final String value; + + ImageGenToolSize(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a ImageGenToolSize instance. + * + * @param value the serialized value to parse. + * @return the parsed ImageGenToolSize object, or null if unable to parse. + */ + public static ImageGenToolSize fromString(String value) { + if (value == null) { + return null; + } + ImageGenToolSize[] items = ImageGenToolSize.values(); + for (ImageGenToolSize item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InlineSkillParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InlineSkillParam.java new file mode 100644 index 000000000000..251bcab84ede --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InlineSkillParam.java @@ -0,0 +1,150 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The InlineSkillParam model. + */ +@Immutable +public final class InlineSkillParam extends ContainerSkill { + /* + * The type property. + */ + @Generated + private ContainerSkillType type = ContainerSkillType.INLINE; + + /* + * The name of the skill. + */ + @Generated + private final String name; + + /* + * The description of the skill. + */ + @Generated + private final String description; + + /* + * Inline skill payload + */ + @Generated + private final InlineSkillSourceParam source; + + /** + * Creates an instance of InlineSkillParam class. + * + * @param name the name value to set. + * @param description the description value to set. + * @param source the source value to set. + */ + @Generated + public InlineSkillParam(String name, String description, InlineSkillSourceParam source) { + this.name = name; + this.description = description; + this.source = source; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public ContainerSkillType getType() { + return this.type; + } + + /** + * Get the name property: The name of the skill. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the description property: The description of the skill. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Get the source property: Inline skill payload. + * + * @return the source value. + */ + @Generated + public InlineSkillSourceParam getSource() { + return this.source; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeJsonField("source", this.source); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of InlineSkillParam from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of InlineSkillParam if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the InlineSkillParam. + */ + @Generated + public static InlineSkillParam fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + String description = null; + InlineSkillSourceParam source = null; + ContainerSkillType type = ContainerSkillType.INLINE; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("source".equals(fieldName)) { + source = InlineSkillSourceParam.fromJson(reader); + } else if ("type".equals(fieldName)) { + type = ContainerSkillType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + InlineSkillParam deserializedInlineSkillParam = new InlineSkillParam(name, description, source); + deserializedInlineSkillParam.type = type; + + return deserializedInlineSkillParam; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InlineSkillSourceParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InlineSkillSourceParam.java new file mode 100644 index 000000000000..d0594601f310 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InlineSkillSourceParam.java @@ -0,0 +1,117 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Inline skill payload. + */ +@Immutable +public final class InlineSkillSourceParam implements JsonSerializable { + /* + * The type of the inline skill source. Must be `base64`. + */ + @Generated + private final String type = "base64"; + + /* + * The media type of the inline skill payload. Must be `application/zip`. + */ + @Generated + private final String mediaType = "application/zip"; + + /* + * Base64-encoded skill zip bundle. + */ + @Generated + private final String data; + + /** + * Creates an instance of InlineSkillSourceParam class. + * + * @param data the data value to set. + */ + @Generated + public InlineSkillSourceParam(String data) { + this.data = data; + } + + /** + * Get the type property: The type of the inline skill source. Must be `base64`. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the mediaType property: The media type of the inline skill payload. Must be `application/zip`. + * + * @return the mediaType value. + */ + @Generated + public String getMediaType() { + return this.mediaType; + } + + /** + * Get the data property: Base64-encoded skill zip bundle. + * + * @return the data value. + */ + @Generated + public String getData() { + return this.data; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeStringField("media_type", this.mediaType); + jsonWriter.writeStringField("data", this.data); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of InlineSkillSourceParam from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of InlineSkillSourceParam if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the InlineSkillSourceParam. + */ + @Generated + public static InlineSkillSourceParam fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String data = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("data".equals(fieldName)) { + data = reader.getString(); + } else { + reader.skipChildren(); + } + } + return new InlineSkillSourceParam(data); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InputFidelity.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InputFidelity.java new file mode 100644 index 000000000000..43903cd40c5c --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InputFidelity.java @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +/** + * Control how much effort the model will exert to match the style and features, especially facial features, of input + * images. This parameter is only supported for `gpt-image-1` and `gpt-image-1.5` and later models, unsupported for + * `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`. + */ +public enum InputFidelity { + /** + * Enum value high. + */ + HIGH("high"), + + /** + * Enum value low. + */ + LOW("low"); + + /** + * The actual serialized value for a InputFidelity instance. + */ + private final String value; + + InputFidelity(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a InputFidelity instance. + * + * @param value the serialized value to parse. + * @return the parsed InputFidelity object, or null if unable to parse. + */ + public static InputFidelity fromString(String value) { + if (value == null) { + return null; + } + InputFidelity[] items = InputFidelity.values(); + for (InputFidelity item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java new file mode 100644 index 000000000000..66a0e1b899e8 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java @@ -0,0 +1,113 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A manual payload used to test an invocations API routine dispatch. + */ +@Fluent +public final class InvokeAgentInvocationsApiDispatchPayload extends RoutineDispatchPayload { + /* + * The manual dispatch payload type. + */ + @Generated + private RoutineDispatchPayloadType type = RoutineDispatchPayloadType.INVOKE_AGENT_INVOCATIONS_API; + + /* + * The raw input sent to the downstream invocations target. + */ + @Generated + private String input; + + /** + * Creates an instance of InvokeAgentInvocationsApiDispatchPayload class. + */ + @Generated + public InvokeAgentInvocationsApiDispatchPayload() { + } + + /** + * Get the type property: The manual dispatch payload type. + * + * @return the type value. + */ + @Generated + @Override + public RoutineDispatchPayloadType getType() { + return this.type; + } + + /** + * Get the input property: The raw input sent to the downstream invocations target. + * + * @return the input value. + */ + @Generated + public String getInput() { + return this.input; + } + + /** + * Set the input property: The raw input sent to the downstream invocations target. + * + * @param input the input value to set. + * @return the InvokeAgentInvocationsApiDispatchPayload object itself. + */ + @Generated + public InvokeAgentInvocationsApiDispatchPayload setInput(String input) { + this.input = input; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("input", this.input); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of InvokeAgentInvocationsApiDispatchPayload from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of InvokeAgentInvocationsApiDispatchPayload if the JsonReader was pointing to an instance of + * it, or null if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the InvokeAgentInvocationsApiDispatchPayload. + */ + @Generated + public static InvokeAgentInvocationsApiDispatchPayload fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + InvokeAgentInvocationsApiDispatchPayload deserializedInvokeAgentInvocationsApiDispatchPayload + = new InvokeAgentInvocationsApiDispatchPayload(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedInvokeAgentInvocationsApiDispatchPayload.type + = RoutineDispatchPayloadType.fromString(reader.getString()); + } else if ("input".equals(fieldName)) { + deserializedInvokeAgentInvocationsApiDispatchPayload.input = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedInvokeAgentInvocationsApiDispatchPayload; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java new file mode 100644 index 000000000000..b79cc366afe3 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java @@ -0,0 +1,142 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Dispatches a routine through the raw invocations API. + */ +@Fluent +public final class InvokeAgentInvocationsApiRoutineAction extends RoutineAction { + /* + * The action type. + */ + @Generated + private RoutineActionType type = RoutineActionType.INVOKE_AGENT_INVOCATIONS_API; + + /* + * The endpoint-scoped agent identifier for invocations API dispatch. + */ + @Generated + private final String agentEndpointId; + + /* + * An optional existing hosted-agent session identifier to continue during the downstream dispatch. + */ + @Generated + private String sessionId; + + /** + * Creates an instance of InvokeAgentInvocationsApiRoutineAction class. + * + * @param agentEndpointId the agentEndpointId value to set. + */ + @Generated + public InvokeAgentInvocationsApiRoutineAction(String agentEndpointId) { + this.agentEndpointId = agentEndpointId; + } + + /** + * Get the type property: The action type. + * + * @return the type value. + */ + @Generated + @Override + public RoutineActionType getType() { + return this.type; + } + + /** + * Get the agentEndpointId property: The endpoint-scoped agent identifier for invocations API dispatch. + * + * @return the agentEndpointId value. + */ + @Generated + public String getAgentEndpointId() { + return this.agentEndpointId; + } + + /** + * Get the sessionId property: An optional existing hosted-agent session identifier to continue during the + * downstream dispatch. + * + * @return the sessionId value. + */ + @Generated + public String getSessionId() { + return this.sessionId; + } + + /** + * Set the sessionId property: An optional existing hosted-agent session identifier to continue during the + * downstream dispatch. + * + * @param sessionId the sessionId value to set. + * @return the InvokeAgentInvocationsApiRoutineAction object itself. + */ + @Generated + public InvokeAgentInvocationsApiRoutineAction setSessionId(String sessionId) { + this.sessionId = sessionId; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("agent_endpoint_id", this.agentEndpointId); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("session_id", this.sessionId); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of InvokeAgentInvocationsApiRoutineAction from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of InvokeAgentInvocationsApiRoutineAction if the JsonReader was pointing to an instance of + * it, or null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the InvokeAgentInvocationsApiRoutineAction. + */ + @Generated + public static InvokeAgentInvocationsApiRoutineAction fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String agentEndpointId = null; + RoutineActionType type = RoutineActionType.INVOKE_AGENT_INVOCATIONS_API; + String sessionId = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("agent_endpoint_id".equals(fieldName)) { + agentEndpointId = reader.getString(); + } else if ("type".equals(fieldName)) { + type = RoutineActionType.fromString(reader.getString()); + } else if ("session_id".equals(fieldName)) { + sessionId = reader.getString(); + } else { + reader.skipChildren(); + } + } + InvokeAgentInvocationsApiRoutineAction deserializedInvokeAgentInvocationsApiRoutineAction + = new InvokeAgentInvocationsApiRoutineAction(agentEndpointId); + deserializedInvokeAgentInvocationsApiRoutineAction.type = type; + deserializedInvokeAgentInvocationsApiRoutineAction.sessionId = sessionId; + + return deserializedInvokeAgentInvocationsApiRoutineAction; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java new file mode 100644 index 000000000000..90ebc901e38c --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java @@ -0,0 +1,113 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A manual payload used to test a responses API routine dispatch. + */ +@Fluent +public final class InvokeAgentResponsesApiDispatchPayload extends RoutineDispatchPayload { + /* + * The manual dispatch payload type. + */ + @Generated + private RoutineDispatchPayloadType type = RoutineDispatchPayloadType.INVOKE_AGENT_RESPONSES_API; + + /* + * The user input sent to the downstream responses target. + */ + @Generated + private String input; + + /** + * Creates an instance of InvokeAgentResponsesApiDispatchPayload class. + */ + @Generated + public InvokeAgentResponsesApiDispatchPayload() { + } + + /** + * Get the type property: The manual dispatch payload type. + * + * @return the type value. + */ + @Generated + @Override + public RoutineDispatchPayloadType getType() { + return this.type; + } + + /** + * Get the input property: The user input sent to the downstream responses target. + * + * @return the input value. + */ + @Generated + public String getInput() { + return this.input; + } + + /** + * Set the input property: The user input sent to the downstream responses target. + * + * @param input the input value to set. + * @return the InvokeAgentResponsesApiDispatchPayload object itself. + */ + @Generated + public InvokeAgentResponsesApiDispatchPayload setInput(String input) { + this.input = input; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("input", this.input); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of InvokeAgentResponsesApiDispatchPayload from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of InvokeAgentResponsesApiDispatchPayload if the JsonReader was pointing to an instance of + * it, or null if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the InvokeAgentResponsesApiDispatchPayload. + */ + @Generated + public static InvokeAgentResponsesApiDispatchPayload fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + InvokeAgentResponsesApiDispatchPayload deserializedInvokeAgentResponsesApiDispatchPayload + = new InvokeAgentResponsesApiDispatchPayload(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedInvokeAgentResponsesApiDispatchPayload.type + = RoutineDispatchPayloadType.fromString(reader.getString()); + } else if ("input".equals(fieldName)) { + deserializedInvokeAgentResponsesApiDispatchPayload.input = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedInvokeAgentResponsesApiDispatchPayload; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java new file mode 100644 index 000000000000..9d7ae67efdab --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java @@ -0,0 +1,177 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Dispatches a routine through the responses API. Exactly one of agent_name or agent_endpoint_id must be provided. + */ +@Fluent +public final class InvokeAgentResponsesApiRoutineAction extends RoutineAction { + /* + * The action type. + */ + @Generated + private RoutineActionType type = RoutineActionType.INVOKE_AGENT_RESPONSES_API; + + /* + * The project-scoped agent name for responses API dispatch. + */ + @Generated + private String agentName; + + /* + * The endpoint-scoped agent identifier for responses API dispatch. + */ + @Generated + private String agentEndpointId; + + /* + * An optional existing conversation identifier to continue during the downstream dispatch. + */ + @Generated + private String conversationId; + + /** + * Creates an instance of InvokeAgentResponsesApiRoutineAction class. + */ + @Generated + public InvokeAgentResponsesApiRoutineAction() { + } + + /** + * Get the type property: The action type. + * + * @return the type value. + */ + @Generated + @Override + public RoutineActionType getType() { + return this.type; + } + + /** + * Get the agentName property: The project-scoped agent name for responses API dispatch. + * + * @return the agentName value. + */ + @Generated + public String getAgentName() { + return this.agentName; + } + + /** + * Set the agentName property: The project-scoped agent name for responses API dispatch. + * + * @param agentName the agentName value to set. + * @return the InvokeAgentResponsesApiRoutineAction object itself. + */ + @Generated + public InvokeAgentResponsesApiRoutineAction setAgentName(String agentName) { + this.agentName = agentName; + return this; + } + + /** + * Get the agentEndpointId property: The endpoint-scoped agent identifier for responses API dispatch. + * + * @return the agentEndpointId value. + */ + @Generated + public String getAgentEndpointId() { + return this.agentEndpointId; + } + + /** + * Set the agentEndpointId property: The endpoint-scoped agent identifier for responses API dispatch. + * + * @param agentEndpointId the agentEndpointId value to set. + * @return the InvokeAgentResponsesApiRoutineAction object itself. + */ + @Generated + public InvokeAgentResponsesApiRoutineAction setAgentEndpointId(String agentEndpointId) { + this.agentEndpointId = agentEndpointId; + return this; + } + + /** + * Get the conversationId property: An optional existing conversation identifier to continue during the downstream + * dispatch. + * + * @return the conversationId value. + */ + @Generated + public String getConversationId() { + return this.conversationId; + } + + /** + * Set the conversationId property: An optional existing conversation identifier to continue during the downstream + * dispatch. + * + * @param conversationId the conversationId value to set. + * @return the InvokeAgentResponsesApiRoutineAction object itself. + */ + @Generated + public InvokeAgentResponsesApiRoutineAction setConversationId(String conversationId) { + this.conversationId = conversationId; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("agent_name", this.agentName); + jsonWriter.writeStringField("agent_endpoint_id", this.agentEndpointId); + jsonWriter.writeStringField("conversation_id", this.conversationId); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of InvokeAgentResponsesApiRoutineAction from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of InvokeAgentResponsesApiRoutineAction if the JsonReader was pointing to an instance of it, + * or null if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the InvokeAgentResponsesApiRoutineAction. + */ + @Generated + public static InvokeAgentResponsesApiRoutineAction fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + InvokeAgentResponsesApiRoutineAction deserializedInvokeAgentResponsesApiRoutineAction + = new InvokeAgentResponsesApiRoutineAction(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedInvokeAgentResponsesApiRoutineAction.type + = RoutineActionType.fromString(reader.getString()); + } else if ("agent_name".equals(fieldName)) { + deserializedInvokeAgentResponsesApiRoutineAction.agentName = reader.getString(); + } else if ("agent_endpoint_id".equals(fieldName)) { + deserializedInvokeAgentResponsesApiRoutineAction.agentEndpointId = reader.getString(); + } else if ("conversation_id".equals(fieldName)) { + deserializedInvokeAgentResponsesApiRoutineAction.conversationId = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedInvokeAgentResponsesApiRoutineAction; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/JobStatus.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/JobStatus.java new file mode 100644 index 000000000000..b8dfbf9023b6 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/JobStatus.java @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Extensible status values shared by Foundry jobs. + */ +public final class JobStatus extends ExpandableStringEnum { + /** + * Job is waiting to start. + */ + @Generated + public static final JobStatus QUEUED = fromString("queued"); + + /** + * Job is actively processing. + */ + @Generated + public static final JobStatus IN_PROGRESS = fromString("in_progress"); + + /** + * Job completed successfully. + */ + @Generated + public static final JobStatus SUCCEEDED = fromString("succeeded"); + + /** + * Job failed. + */ + @Generated + public static final JobStatus FAILED = fromString("failed"); + + /** + * Job was cancelled by the caller. + */ + @Generated + public static final JobStatus CANCELLED = fromString("cancelled"); + + /** + * Creates a new instance of JobStatus value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public JobStatus() { + } + + /** + * Creates or finds a JobStatus from its string representation. + * + * @param name a name to look for. + * @return the corresponding JobStatus. + */ + @Generated + public static JobStatus fromString(String name) { + return fromString(name, JobStatus.class); + } + + /** + * Gets known JobStatus values. + * + * @return known JobStatus values. + */ + @Generated + public static Collection values() { + return values(JobStatus.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java new file mode 100644 index 000000000000..17d7bbd5a17d --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java @@ -0,0 +1,82 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Local shell tool + * + * A tool that allows the model to execute shell commands in a local environment. + */ +@Immutable +public final class LocalShellToolParam extends Tool { + /* + * The type property. + */ + @Generated + private ToolType type = ToolType.LOCAL_SHELL; + + /** + * Creates an instance of LocalShellToolParam class. + */ + @Generated + public LocalShellToolParam() { + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public ToolType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of LocalShellToolParam from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of LocalShellToolParam if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the LocalShellToolParam. + */ + @Generated + public static LocalShellToolParam fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + LocalShellToolParam deserializedLocalShellToolParam = new LocalShellToolParam(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedLocalShellToolParam.type = ToolType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedLocalShellToolParam; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalSkillParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalSkillParam.java new file mode 100644 index 000000000000..c231e897a299 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalSkillParam.java @@ -0,0 +1,127 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The LocalSkillParam model. + */ +@Immutable +public final class LocalSkillParam implements JsonSerializable { + /* + * The name of the skill. + */ + @Generated + private final String name; + + /* + * The description of the skill. + */ + @Generated + private final String description; + + /* + * The path to the directory containing the skill. + */ + @Generated + private final String path; + + /** + * Creates an instance of LocalSkillParam class. + * + * @param name the name value to set. + * @param description the description value to set. + * @param path the path value to set. + */ + @Generated + public LocalSkillParam(String name, String description, String path) { + this.name = name; + this.description = description; + this.path = path; + } + + /** + * Get the name property: The name of the skill. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the description property: The description of the skill. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Get the path property: The path to the directory containing the skill. + * + * @return the path value. + */ + @Generated + public String getPath() { + return this.path; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeStringField("path", this.path); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of LocalSkillParam from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of LocalSkillParam if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the LocalSkillParam. + */ + @Generated + public static LocalSkillParam fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + String description = null; + String path = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("path".equals(fieldName)) { + path = reader.getString(); + } else { + reader.skipChildren(); + } + } + return new LocalSkillParam(name, description, path); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPTool.java new file mode 100644 index 000000000000..51d61c9161fa --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPTool.java @@ -0,0 +1,392 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.Map; + +/** + * MCP tool + * + * Give the model access to additional tools via remote Model Context Protocol + * (MCP) servers. [Learn more about MCP](/docs/guides/tools-remote-mcp). + */ +@Fluent +public final class MCPTool extends Tool { + /* + * The type property. + */ + @Generated + private ToolType type = ToolType.MCP; + + /* + * A label for this MCP server, used to identify it in tool calls. + */ + @Generated + private final String serverLabel; + + /* + * The URL for the MCP server. One of `server_url` or `connector_id` must be + * provided. + */ + @Generated + private String serverUrl; + + /* + * Identifier for service connectors, like those available in ChatGPT. One of + * `server_url` or `connector_id` must be provided. Learn more about service + * connectors [here](/docs/guides/tools-remote-mcp#connectors). + * Currently supported `connector_id` values are: + * - Dropbox: `connector_dropbox` + * - Gmail: `connector_gmail` + * - Google Calendar: `connector_googlecalendar` + * - Google Drive: `connector_googledrive` + * - Microsoft Teams: `connector_microsoftteams` + * - Outlook Calendar: `connector_outlookcalendar` + * - Outlook Email: `connector_outlookemail` + * - SharePoint: `connector_sharepoint` + */ + @Generated + private MCPToolConnectorId connectorId; + + /* + * An OAuth access token that can be used with a remote MCP server, either + * with a custom MCP server URL or a service connector. Your application + * must handle the OAuth authorization flow and provide the token here. + */ + @Generated + private String authorization; + + /* + * Optional description of the MCP server, used to provide more context. + */ + @Generated + private String serverDescription; + + /* + * The headers property. + */ + @Generated + private Map headers; + + /* + * The allowed_tools property. + */ + @Generated + private BinaryData allowedTools; + + /* + * The require_approval property. + */ + @Generated + private BinaryData requireApproval; + + /** + * Creates an instance of MCPTool class. + * + * @param serverLabel the serverLabel value to set. + */ + @Generated + public MCPTool(String serverLabel) { + this.serverLabel = serverLabel; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public ToolType getType() { + return this.type; + } + + /** + * Get the serverLabel property: A label for this MCP server, used to identify it in tool calls. + * + * @return the serverLabel value. + */ + @Generated + public String getServerLabel() { + return this.serverLabel; + } + + /** + * Get the serverUrl property: The URL for the MCP server. One of `server_url` or `connector_id` must be + * provided. + * + * @return the serverUrl value. + */ + @Generated + public String getServerUrl() { + return this.serverUrl; + } + + /** + * Set the serverUrl property: The URL for the MCP server. One of `server_url` or `connector_id` must be + * provided. + * + * @param serverUrl the serverUrl value to set. + * @return the MCPTool object itself. + */ + @Generated + public MCPTool setServerUrl(String serverUrl) { + this.serverUrl = serverUrl; + return this; + } + + /** + * Get the connectorId property: Identifier for service connectors, like those available in ChatGPT. One of + * `server_url` or `connector_id` must be provided. Learn more about service + * connectors [here](/docs/guides/tools-remote-mcp#connectors). + * Currently supported `connector_id` values are: + * - Dropbox: `connector_dropbox` + * - Gmail: `connector_gmail` + * - Google Calendar: `connector_googlecalendar` + * - Google Drive: `connector_googledrive` + * - Microsoft Teams: `connector_microsoftteams` + * - Outlook Calendar: `connector_outlookcalendar` + * - Outlook Email: `connector_outlookemail` + * - SharePoint: `connector_sharepoint`. + * + * @return the connectorId value. + */ + @Generated + public MCPToolConnectorId getConnectorId() { + return this.connectorId; + } + + /** + * Set the connectorId property: Identifier for service connectors, like those available in ChatGPT. One of + * `server_url` or `connector_id` must be provided. Learn more about service + * connectors [here](/docs/guides/tools-remote-mcp#connectors). + * Currently supported `connector_id` values are: + * - Dropbox: `connector_dropbox` + * - Gmail: `connector_gmail` + * - Google Calendar: `connector_googlecalendar` + * - Google Drive: `connector_googledrive` + * - Microsoft Teams: `connector_microsoftteams` + * - Outlook Calendar: `connector_outlookcalendar` + * - Outlook Email: `connector_outlookemail` + * - SharePoint: `connector_sharepoint`. + * + * @param connectorId the connectorId value to set. + * @return the MCPTool object itself. + */ + @Generated + public MCPTool setConnectorId(MCPToolConnectorId connectorId) { + this.connectorId = connectorId; + return this; + } + + /** + * Get the authorization property: An OAuth access token that can be used with a remote MCP server, either + * with a custom MCP server URL or a service connector. Your application + * must handle the OAuth authorization flow and provide the token here. + * + * @return the authorization value. + */ + @Generated + public String getAuthorization() { + return this.authorization; + } + + /** + * Set the authorization property: An OAuth access token that can be used with a remote MCP server, either + * with a custom MCP server URL or a service connector. Your application + * must handle the OAuth authorization flow and provide the token here. + * + * @param authorization the authorization value to set. + * @return the MCPTool object itself. + */ + @Generated + public MCPTool setAuthorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * Get the serverDescription property: Optional description of the MCP server, used to provide more context. + * + * @return the serverDescription value. + */ + @Generated + public String getServerDescription() { + return this.serverDescription; + } + + /** + * Set the serverDescription property: Optional description of the MCP server, used to provide more context. + * + * @param serverDescription the serverDescription value to set. + * @return the MCPTool object itself. + */ + @Generated + public MCPTool setServerDescription(String serverDescription) { + this.serverDescription = serverDescription; + return this; + } + + /** + * Get the headers property: The headers property. + * + * @return the headers value. + */ + @Generated + public Map getHeaders() { + return this.headers; + } + + /** + * Set the headers property: The headers property. + * + * @param headers the headers value to set. + * @return the MCPTool object itself. + */ + @Generated + public MCPTool setHeaders(Map headers) { + this.headers = headers; + return this; + } + + /** + * Get the allowedTools property: The allowed_tools property. + * + * @return the allowedTools value. + */ + @Generated + public BinaryData getAllowedTools() { + return this.allowedTools; + } + + /** + * Set the allowedTools property: The allowed_tools property. + * + * @param allowedTools the allowedTools value to set. + * @return the MCPTool object itself. + */ + @Generated + public MCPTool setAllowedTools(BinaryData allowedTools) { + this.allowedTools = allowedTools; + return this; + } + + /** + * Get the requireApproval property: The require_approval property. + * + * @return the requireApproval value. + */ + @Generated + public BinaryData getRequireApproval() { + return this.requireApproval; + } + + /** + * Set the requireApproval property: The require_approval property. + * + * @param requireApproval the requireApproval value to set. + * @return the MCPTool object itself. + */ + @Generated + public MCPTool setRequireApproval(BinaryData requireApproval) { + this.requireApproval = requireApproval; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("server_label", this.serverLabel); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("server_url", this.serverUrl); + jsonWriter.writeStringField("connector_id", this.connectorId == null ? null : this.connectorId.toString()); + jsonWriter.writeStringField("authorization", this.authorization); + jsonWriter.writeStringField("server_description", this.serverDescription); + jsonWriter.writeMapField("headers", this.headers, (writer, element) -> writer.writeString(element)); + if (this.allowedTools != null) { + jsonWriter.writeFieldName("allowed_tools"); + this.allowedTools.writeTo(jsonWriter); + } + if (this.requireApproval != null) { + jsonWriter.writeFieldName("require_approval"); + this.requireApproval.writeTo(jsonWriter); + } + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of MCPTool from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of MCPTool if the JsonReader was pointing to an instance of it, or null if it was pointing to + * JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the MCPTool. + */ + @Generated + public static MCPTool fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String serverLabel = null; + ToolType type = ToolType.MCP; + String serverUrl = null; + MCPToolConnectorId connectorId = null; + String authorization = null; + String serverDescription = null; + Map headers = null; + BinaryData allowedTools = null; + BinaryData requireApproval = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("server_label".equals(fieldName)) { + serverLabel = reader.getString(); + } else if ("type".equals(fieldName)) { + type = ToolType.fromString(reader.getString()); + } else if ("server_url".equals(fieldName)) { + serverUrl = reader.getString(); + } else if ("connector_id".equals(fieldName)) { + connectorId = MCPToolConnectorId.fromString(reader.getString()); + } else if ("authorization".equals(fieldName)) { + authorization = reader.getString(); + } else if ("server_description".equals(fieldName)) { + serverDescription = reader.getString(); + } else if ("headers".equals(fieldName)) { + headers = reader.readMap(reader1 -> reader1.getString()); + } else if ("allowed_tools".equals(fieldName)) { + allowedTools + = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); + } else if ("require_approval".equals(fieldName)) { + requireApproval + = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); + } else { + reader.skipChildren(); + } + } + MCPTool deserializedMCPTool = new MCPTool(serverLabel); + deserializedMCPTool.type = type; + deserializedMCPTool.serverUrl = serverUrl; + deserializedMCPTool.connectorId = connectorId; + deserializedMCPTool.authorization = authorization; + deserializedMCPTool.serverDescription = serverDescription; + deserializedMCPTool.headers = headers; + deserializedMCPTool.allowedTools = allowedTools; + deserializedMCPTool.requireApproval = requireApproval; + + return deserializedMCPTool; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolConnectorId.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolConnectorId.java new file mode 100644 index 000000000000..67bb14dc6687 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolConnectorId.java @@ -0,0 +1,86 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +/** + * Defines values for MCPToolConnectorId. + */ +public enum MCPToolConnectorId { + /** + * Enum value connector_dropbox. + */ + CONNECTOR_DROPBOX("connector_dropbox"), + + /** + * Enum value connector_gmail. + */ + CONNECTOR_GMAIL("connector_gmail"), + + /** + * Enum value connector_googlecalendar. + */ + CONNECTOR_GOOGLECALENDAR("connector_googlecalendar"), + + /** + * Enum value connector_googledrive. + */ + CONNECTOR_GOOGLEDRIVE("connector_googledrive"), + + /** + * Enum value connector_microsoftteams. + */ + CONNECTOR_MICROSOFTTEAMS("connector_microsoftteams"), + + /** + * Enum value connector_outlookcalendar. + */ + CONNECTOR_OUTLOOKCALENDAR("connector_outlookcalendar"), + + /** + * Enum value connector_outlookemail. + */ + CONNECTOR_OUTLOOKEMAIL("connector_outlookemail"), + + /** + * Enum value connector_sharepoint. + */ + CONNECTOR_SHAREPOINT("connector_sharepoint"); + + /** + * The actual serialized value for a MCPToolConnectorId instance. + */ + private final String value; + + MCPToolConnectorId(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a MCPToolConnectorId instance. + * + * @param value the serialized value to parse. + * @return the parsed MCPToolConnectorId object, or null if unable to parse. + */ + public static MCPToolConnectorId fromString(String value) { + if (value == null) { + return null; + } + MCPToolConnectorId[] items = MCPToolConnectorId.values(); + for (MCPToolConnectorId item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolFilter.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolFilter.java new file mode 100644 index 000000000000..db5abfda5544 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolFilter.java @@ -0,0 +1,142 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * MCP tool filter + * + * A filter object to specify which tools are allowed. + */ +@Fluent +public final class MCPToolFilter implements JsonSerializable { + /* + * MCP allowed tools + * + * List of allowed tool names. + */ + @Generated + private List toolNames; + + /* + * Indicates whether or not a tool modifies data or is read-only. If an + * MCP server is [annotated with + * `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), + * it will match this filter. + */ + @Generated + private Boolean readOnly; + + /** + * Creates an instance of MCPToolFilter class. + */ + @Generated + public MCPToolFilter() { + } + + /** + * Get the toolNames property: MCP allowed tools + * + * List of allowed tool names. + * + * @return the toolNames value. + */ + @Generated + public List getToolNames() { + return this.toolNames; + } + + /** + * Set the toolNames property: MCP allowed tools + * + * List of allowed tool names. + * + * @param toolNames the toolNames value to set. + * @return the MCPToolFilter object itself. + */ + @Generated + public MCPToolFilter setToolNames(List toolNames) { + this.toolNames = toolNames; + return this; + } + + /** + * Get the readOnly property: Indicates whether or not a tool modifies data or is read-only. If an + * MCP server is [annotated with + * `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), + * it will match this filter. + * + * @return the readOnly value. + */ + @Generated + public Boolean isReadOnly() { + return this.readOnly; + } + + /** + * Set the readOnly property: Indicates whether or not a tool modifies data or is read-only. If an + * MCP server is [annotated with + * `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), + * it will match this filter. + * + * @param readOnly the readOnly value to set. + * @return the MCPToolFilter object itself. + */ + @Generated + public MCPToolFilter setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeArrayField("tool_names", this.toolNames, (writer, element) -> writer.writeString(element)); + jsonWriter.writeBooleanField("read_only", this.readOnly); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of MCPToolFilter from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of MCPToolFilter if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the MCPToolFilter. + */ + @Generated + public static MCPToolFilter fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + MCPToolFilter deserializedMCPToolFilter = new MCPToolFilter(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("tool_names".equals(fieldName)) { + List toolNames = reader.readArray(reader1 -> reader1.getString()); + deserializedMCPToolFilter.toolNames = toolNames; + } else if ("read_only".equals(fieldName)) { + deserializedMCPToolFilter.readOnly = reader.getNullable(JsonReader::getBoolean); + } else { + reader.skipChildren(); + } + } + + return deserializedMCPToolFilter; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java new file mode 100644 index 000000000000..0e8c40f29dcd --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java @@ -0,0 +1,123 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The MCPToolRequireApproval model. + */ +@Fluent +public final class MCPToolRequireApproval implements JsonSerializable { + /* + * The always property. + */ + @Generated + private MCPToolFilter always; + + /* + * The never property. + */ + @Generated + private MCPToolFilter never; + + /** + * Creates an instance of MCPToolRequireApproval class. + */ + @Generated + public MCPToolRequireApproval() { + } + + /** + * Get the always property: The always property. + * + * @return the always value. + */ + @Generated + public MCPToolFilter getAlways() { + return this.always; + } + + /** + * Set the always property: The always property. + * + * @param always the always value to set. + * @return the MCPToolRequireApproval object itself. + */ + @Generated + public MCPToolRequireApproval setAlways(MCPToolFilter always) { + this.always = always; + return this; + } + + /** + * Get the never property: The never property. + * + * @return the never value. + */ + @Generated + public MCPToolFilter getNever() { + return this.never; + } + + /** + * Set the never property: The never property. + * + * @param never the never value to set. + * @return the MCPToolRequireApproval object itself. + */ + @Generated + public MCPToolRequireApproval setNever(MCPToolFilter never) { + this.never = never; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("always", this.always); + jsonWriter.writeJsonField("never", this.never); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of MCPToolRequireApproval from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of MCPToolRequireApproval if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the MCPToolRequireApproval. + */ + @Generated + public static MCPToolRequireApproval fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + MCPToolRequireApproval deserializedMCPToolRequireApproval = new MCPToolRequireApproval(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("always".equals(fieldName)) { + deserializedMCPToolRequireApproval.always = MCPToolFilter.fromJson(reader); + } else if ("never".equals(fieldName)) { + deserializedMCPToolRequireApproval.never = MCPToolFilter.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedMCPToolRequireApproval; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java index 88fddf32ef2a..96b7df5928bb 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -17,6 +16,7 @@ */ @Fluent public final class ModelPendingUploadRequest implements JsonSerializable { + /* * If PendingUploadId is not provided, a random GUID will be used. */ @@ -44,7 +44,7 @@ public ModelPendingUploadRequest() { /** * Get the pendingUploadId property: If PendingUploadId is not provided, a random GUID will be used. - * + * * @return the pendingUploadId value. */ @Generated @@ -54,7 +54,7 @@ public String getPendingUploadId() { /** * Set the pendingUploadId property: If PendingUploadId is not provided, a random GUID will be used. - * + * * @param pendingUploadId the pendingUploadId value to set. * @return the ModelPendingUploadRequest object itself. */ @@ -66,7 +66,7 @@ public ModelPendingUploadRequest setPendingUploadId(String pendingUploadId) { /** * Get the connectionName property: Azure Storage Account connection name to use for generating temporary SAS token. - * + * * @return the connectionName value. */ @Generated @@ -76,7 +76,7 @@ public String getConnectionName() { /** * Set the connectionName property: Azure Storage Account connection name to use for generating temporary SAS token. - * + * * @param connectionName the connectionName value to set. * @return the ModelPendingUploadRequest object itself. */ @@ -89,7 +89,7 @@ public ModelPendingUploadRequest setConnectionName(String connectionName) { /** * Get the pendingUploadType property: The type of pending upload. Only TemporaryBlobReference is supported for * models. - * + * * @return the pendingUploadType value. */ @Generated @@ -113,7 +113,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of ModelPendingUploadRequest from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of ModelPendingUploadRequest if the JsonReader was pointing to an instance of it, or null if * it was pointing to JSON null. @@ -127,7 +127,6 @@ public static ModelPendingUploadRequest fromJson(JsonReader jsonReader) throws I while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("pendingUploadId".equals(fieldName)) { deserializedModelPendingUploadRequest.pendingUploadId = reader.getString(); } else if ("connectionName".equals(fieldName)) { @@ -136,7 +135,6 @@ public static ModelPendingUploadRequest fromJson(JsonReader jsonReader) throws I reader.skipChildren(); } } - return deserializedModelPendingUploadRequest; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java index 6083a465a10b..ff8de47f1936 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public final class ModelPendingUploadResponse implements JsonSerializable { + /* * Container-level read, write, list SAS. */ @@ -43,7 +43,7 @@ public final class ModelPendingUploadResponse implements JsonSerializable { + String prompt = null; + DataGenerationJobSourceType type = DataGenerationJobSourceType.PROMPT; + String description = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("prompt".equals(fieldName)) { + prompt = reader.getString(); + } else if ("type".equals(fieldName)) { + type = DataGenerationJobSourceType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else { + reader.skipChildren(); + } + } + PromptDataGenerationJobSource deserializedPromptDataGenerationJobSource + = new PromptDataGenerationJobSource(prompt); + deserializedPromptDataGenerationJobSource.type = type; + deserializedPromptDataGenerationJobSource.description = description; + + return deserializedPromptDataGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java new file mode 100644 index 000000000000..7a806abb3f35 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java @@ -0,0 +1,143 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Prompt source for evaluator generation jobs — inline text provided by the user. + */ +@Fluent +public final class PromptEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource { + /* + * The type of source. + */ + @Generated + private EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.PROMPT; + + /* + * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company + * refund policy document' or 'Describes the agent's core capabilities'). + */ + @Generated + private String description; + + /* + * Inline prompt text (e.g., agent description, policy text, supplementary context). + */ + @Generated + private final String prompt; + + /** + * Creates an instance of PromptEvaluatorGenerationJobSource class. + * + * @param prompt the prompt value to set. + */ + @Generated + public PromptEvaluatorGenerationJobSource(String prompt) { + this.prompt = prompt; + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + @Override + public EvaluatorGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @param description the description value to set. + * @return the PromptEvaluatorGenerationJobSource object itself. + */ + @Generated + public PromptEvaluatorGenerationJobSource setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the prompt property: Inline prompt text (e.g., agent description, policy text, supplementary context). + * + * @return the prompt value. + */ + @Generated + public String getPrompt() { + return this.prompt; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("prompt", this.prompt); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of PromptEvaluatorGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of PromptEvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the PromptEvaluatorGenerationJobSource. + */ + @Generated + public static PromptEvaluatorGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String prompt = null; + EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.PROMPT; + String description = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("prompt".equals(fieldName)) { + prompt = reader.getString(); + } else if ("type".equals(fieldName)) { + type = EvaluatorGenerationJobSourceType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else { + reader.skipChildren(); + } + } + PromptEvaluatorGenerationJobSource deserializedPromptEvaluatorGenerationJobSource + = new PromptEvaluatorGenerationJobSource(prompt); + deserializedPromptEvaluatorGenerationJobSource.type = type; + deserializedPromptEvaluatorGenerationJobSource.description = description; + + return deserializedPromptEvaluatorGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankerVersionType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankerVersionType.java new file mode 100644 index 000000000000..375a69fe3896 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankerVersionType.java @@ -0,0 +1,56 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +/** + * Defines values for RankerVersionType. + */ +public enum RankerVersionType { + /** + * Enum value auto. + */ + AUTO("auto"), + + /** + * Enum value default-2024-11-15. + */ + DEFAULT_2024_11_15("default-2024-11-15"); + + /** + * The actual serialized value for a RankerVersionType instance. + */ + private final String value; + + RankerVersionType(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a RankerVersionType instance. + * + * @param value the serialized value to parse. + * @return the parsed RankerVersionType object, or null if unable to parse. + */ + public static RankerVersionType fromString(String value) { + if (value == null) { + return null; + } + RankerVersionType[] items = RankerVersionType.values(); + for (RankerVersionType item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankingOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankingOptions.java new file mode 100644 index 000000000000..61b98e7687f4 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankingOptions.java @@ -0,0 +1,160 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The RankingOptions model. + */ +@Fluent +public final class RankingOptions implements JsonSerializable { + /* + * The ranker to use for the file search. + */ + @Generated + private RankerVersionType ranker; + + /* + * The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return + * only the most relevant results, but may return fewer results. + */ + @Generated + private Integer scoreThreshold; + + /* + * Weights that control how reciprocal rank fusion balances semantic embedding matches versus sparse keyword matches + * when hybrid search is enabled. + */ + @Generated + private HybridSearchOptions hybridSearch; + + /** + * Creates an instance of RankingOptions class. + */ + @Generated + public RankingOptions() { + } + + /** + * Get the ranker property: The ranker to use for the file search. + * + * @return the ranker value. + */ + @Generated + public RankerVersionType getRanker() { + return this.ranker; + } + + /** + * Set the ranker property: The ranker to use for the file search. + * + * @param ranker the ranker value to set. + * @return the RankingOptions object itself. + */ + @Generated + public RankingOptions setRanker(RankerVersionType ranker) { + this.ranker = ranker; + return this; + } + + /** + * Get the scoreThreshold property: The score threshold for the file search, a number between 0 and 1. Numbers + * closer to 1 will attempt to return only the most relevant results, but may return fewer results. + * + * @return the scoreThreshold value. + */ + @Generated + public Integer getScoreThreshold() { + return this.scoreThreshold; + } + + /** + * Set the scoreThreshold property: The score threshold for the file search, a number between 0 and 1. Numbers + * closer to 1 will attempt to return only the most relevant results, but may return fewer results. + * + * @param scoreThreshold the scoreThreshold value to set. + * @return the RankingOptions object itself. + */ + @Generated + public RankingOptions setScoreThreshold(Integer scoreThreshold) { + this.scoreThreshold = scoreThreshold; + return this; + } + + /** + * Get the hybridSearch property: Weights that control how reciprocal rank fusion balances semantic embedding + * matches versus sparse keyword matches when hybrid search is enabled. + * + * @return the hybridSearch value. + */ + @Generated + public HybridSearchOptions getHybridSearch() { + return this.hybridSearch; + } + + /** + * Set the hybridSearch property: Weights that control how reciprocal rank fusion balances semantic embedding + * matches versus sparse keyword matches when hybrid search is enabled. + * + * @param hybridSearch the hybridSearch value to set. + * @return the RankingOptions object itself. + */ + @Generated + public RankingOptions setHybridSearch(HybridSearchOptions hybridSearch) { + this.hybridSearch = hybridSearch; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("ranker", this.ranker == null ? null : this.ranker.toString()); + jsonWriter.writeNumberField("score_threshold", this.scoreThreshold); + jsonWriter.writeJsonField("hybrid_search", this.hybridSearch); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of RankingOptions from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of RankingOptions if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the RankingOptions. + */ + @Generated + public static RankingOptions fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + RankingOptions deserializedRankingOptions = new RankingOptions(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("ranker".equals(fieldName)) { + deserializedRankingOptions.ranker = RankerVersionType.fromString(reader.getString()); + } else if ("score_threshold".equals(fieldName)) { + deserializedRankingOptions.scoreThreshold = reader.getNullable(JsonReader::getInt); + } else if ("hybrid_search".equals(fieldName)) { + deserializedRankingOptions.hybridSearch = HybridSearchOptions.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedRankingOptions; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Routine.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Routine.java new file mode 100644 index 000000000000..2004f1d2d069 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Routine.java @@ -0,0 +1,224 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; +import java.util.Map; + +/** + * A routine definition returned by the service. + */ +@Immutable +public final class Routine implements JsonSerializable { + /* + * The routine name. + */ + @Generated + private final String name; + + /* + * A human-readable description of the routine. + */ + @Generated + private String description; + + /* + * Whether the routine is enabled. + */ + @Generated + private final boolean enabled; + + /* + * The triggers configured for the routine. + */ + @Generated + private final Map triggers; + + /* + * The action executed when the routine fires. + */ + @Generated + private final RoutineAction action; + + /* + * The time when the routine was created. + */ + @Generated + private Long createdAt; + + /* + * The time when the routine was last updated. + */ + @Generated + private Long updatedAt; + + /** + * Creates an instance of Routine class. + * + * @param name the name value to set. + * @param enabled the enabled value to set. + * @param triggers the triggers value to set. + * @param action the action value to set. + */ + @Generated + private Routine(String name, boolean enabled, Map triggers, RoutineAction action) { + this.name = name; + this.enabled = enabled; + this.triggers = triggers; + this.action = action; + } + + /** + * Get the name property: The routine name. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the description property: A human-readable description of the routine. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Get the enabled property: Whether the routine is enabled. + * + * @return the enabled value. + */ + @Generated + public boolean isEnabled() { + return this.enabled; + } + + /** + * Get the triggers property: The triggers configured for the routine. + * + * @return the triggers value. + */ + @Generated + public Map getTriggers() { + return this.triggers; + } + + /** + * Get the action property: The action executed when the routine fires. + * + * @return the action value. + */ + @Generated + public RoutineAction getAction() { + return this.action; + } + + /** + * Get the createdAt property: The time when the routine was created. + * + * @return the createdAt value. + */ + @Generated + public OffsetDateTime getCreatedAt() { + if (this.createdAt == null) { + return null; + } + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.createdAt), ZoneOffset.UTC); + } + + /** + * Get the updatedAt property: The time when the routine was last updated. + * + * @return the updatedAt value. + */ + @Generated + public OffsetDateTime getUpdatedAt() { + if (this.updatedAt == null) { + return null; + } + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.updatedAt), ZoneOffset.UTC); + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeBooleanField("enabled", this.enabled); + jsonWriter.writeMapField("triggers", this.triggers, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeJsonField("action", this.action); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeNumberField("created_at", this.createdAt); + jsonWriter.writeNumberField("updated_at", this.updatedAt); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of Routine from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of Routine if the JsonReader was pointing to an instance of it, or null if it was pointing to + * JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the Routine. + */ + @Generated + public static Routine fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + boolean enabled = false; + Map triggers = null; + RoutineAction action = null; + String description = null; + Long createdAt = null; + Long updatedAt = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("enabled".equals(fieldName)) { + enabled = reader.getBoolean(); + } else if ("triggers".equals(fieldName)) { + triggers = reader.readMap(reader1 -> RoutineTrigger.fromJson(reader1)); + } else if ("action".equals(fieldName)) { + action = RoutineAction.fromJson(reader); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("created_at".equals(fieldName)) { + createdAt = reader.getNullable(JsonReader::getLong); + } else if ("updated_at".equals(fieldName)) { + updatedAt = reader.getNullable(JsonReader::getLong); + } else { + reader.skipChildren(); + } + } + Routine deserializedRoutine = new Routine(name, enabled, triggers, action); + deserializedRoutine.description = description; + deserializedRoutine.createdAt = createdAt; + deserializedRoutine.updatedAt = updatedAt; + + return deserializedRoutine; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineAction.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineAction.java new file mode 100644 index 000000000000..9f43b2b203a0 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineAction.java @@ -0,0 +1,108 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Base model for a routine action. + */ +@Immutable +public class RoutineAction implements JsonSerializable { + /* + * The action type. + */ + @Generated + private RoutineActionType type = RoutineActionType.fromString("RoutineAction"); + + /** + * Creates an instance of RoutineAction class. + */ + @Generated + public RoutineAction() { + } + + /** + * Get the type property: The action type. + * + * @return the type value. + */ + @Generated + public RoutineActionType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of RoutineAction from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of RoutineAction if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the RoutineAction. + */ + @Generated + public static RoutineAction fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + readerToUse.nextToken(); // Prepare for reading + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("type".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("invoke_agent_responses_api".equals(discriminatorValue)) { + return InvokeAgentResponsesApiRoutineAction.fromJson(readerToUse.reset()); + } else if ("invoke_agent_invocations_api".equals(discriminatorValue)) { + return InvokeAgentInvocationsApiRoutineAction.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static RoutineAction fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + RoutineAction deserializedRoutineAction = new RoutineAction(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedRoutineAction.type = RoutineActionType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedRoutineAction; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineActionType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineActionType.java new file mode 100644 index 000000000000..92c25f284d96 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineActionType.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The discriminator values supported for routine actions. + */ +public final class RoutineActionType extends ExpandableStringEnum { + /** + * Dispatches through the responses API. + */ + @Generated + public static final RoutineActionType INVOKE_AGENT_RESPONSES_API = fromString("invoke_agent_responses_api"); + + /** + * Dispatches through the raw invocations API. + */ + @Generated + public static final RoutineActionType INVOKE_AGENT_INVOCATIONS_API = fromString("invoke_agent_invocations_api"); + + /** + * Creates a new instance of RoutineActionType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public RoutineActionType() { + } + + /** + * Creates or finds a RoutineActionType from its string representation. + * + * @param name a name to look for. + * @return the corresponding RoutineActionType. + */ + @Generated + public static RoutineActionType fromString(String name) { + return fromString(name, RoutineActionType.class); + } + + /** + * Gets known RoutineActionType values. + * + * @return known RoutineActionType values. + */ + @Generated + public static Collection values() { + return values(RoutineActionType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java new file mode 100644 index 000000000000..f3faef1775b2 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Known source paths that can produce a routine run. + */ +public final class RoutineAttemptSource extends ExpandableStringEnum { + /** + * A dispatch fired from an event delivery. + */ + @Generated + public static final RoutineAttemptSource EVENT_FIRE = fromString("event_fire"); + + /** + * A dispatch executed synchronously by a direct request. + */ + @Generated + public static final RoutineAttemptSource MANUAL_DISPATCH = fromString("manual_dispatch"); + + /** + * A dispatch executed asynchronously from the dispatch queue. + */ + @Generated + public static final RoutineAttemptSource QUEUED_DISPATCH = fromString("queued_dispatch"); + + /** + * A dispatch fired from a schedule delivery. + */ + @Generated + public static final RoutineAttemptSource SCHEDULE_DELIVERY = fromString("schedule_delivery"); + + /** + * A dispatch fired from a timer delivery. + */ + @Generated + public static final RoutineAttemptSource TIMER_DELIVERY = fromString("timer_delivery"); + + /** + * Creates a new instance of RoutineAttemptSource value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public RoutineAttemptSource() { + } + + /** + * Creates or finds a RoutineAttemptSource from its string representation. + * + * @param name a name to look for. + * @return the corresponding RoutineAttemptSource. + */ + @Generated + public static RoutineAttemptSource fromString(String name) { + return fromString(name, RoutineAttemptSource.class); + } + + /** + * Gets known RoutineAttemptSource values. + * + * @return known RoutineAttemptSource values. + */ + @Generated + public static Collection values() { + return values(RoutineAttemptSource.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java new file mode 100644 index 000000000000..f464d212850b --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java @@ -0,0 +1,108 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Base model for a manual dispatch payload. + */ +@Immutable +public class RoutineDispatchPayload implements JsonSerializable { + /* + * The manual dispatch payload type. + */ + @Generated + private RoutineDispatchPayloadType type = RoutineDispatchPayloadType.fromString("RoutineDispatchPayload"); + + /** + * Creates an instance of RoutineDispatchPayload class. + */ + @Generated + public RoutineDispatchPayload() { + } + + /** + * Get the type property: The manual dispatch payload type. + * + * @return the type value. + */ + @Generated + public RoutineDispatchPayloadType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of RoutineDispatchPayload from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of RoutineDispatchPayload if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the RoutineDispatchPayload. + */ + @Generated + public static RoutineDispatchPayload fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + readerToUse.nextToken(); // Prepare for reading + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("type".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("invoke_agent_responses_api".equals(discriminatorValue)) { + return InvokeAgentResponsesApiDispatchPayload.fromJson(readerToUse.reset()); + } else if ("invoke_agent_invocations_api".equals(discriminatorValue)) { + return InvokeAgentInvocationsApiDispatchPayload.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static RoutineDispatchPayload fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + RoutineDispatchPayload deserializedRoutineDispatchPayload = new RoutineDispatchPayload(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedRoutineDispatchPayload.type = RoutineDispatchPayloadType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedRoutineDispatchPayload; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java new file mode 100644 index 000000000000..01e7b853b72a --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The discriminator values supported for manual routine dispatch payloads. + */ +public final class RoutineDispatchPayloadType extends ExpandableStringEnum { + /** + * A manual payload for a responses API routine dispatch. + */ + @Generated + public static final RoutineDispatchPayloadType INVOKE_AGENT_RESPONSES_API + = fromString("invoke_agent_responses_api"); + + /** + * A manual payload for an invocations API routine dispatch. + */ + @Generated + public static final RoutineDispatchPayloadType INVOKE_AGENT_INVOCATIONS_API + = fromString("invoke_agent_invocations_api"); + + /** + * Creates a new instance of RoutineDispatchPayloadType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public RoutineDispatchPayloadType() { + } + + /** + * Creates or finds a RoutineDispatchPayloadType from its string representation. + * + * @param name a name to look for. + * @return the corresponding RoutineDispatchPayloadType. + */ + @Generated + public static RoutineDispatchPayloadType fromString(String name) { + return fromString(name, RoutineDispatchPayloadType.class); + } + + /** + * Gets known RoutineDispatchPayloadType values. + * + * @return known RoutineDispatchPayloadType values. + */ + @Generated + public static Collection values() { + return values(RoutineDispatchPayloadType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRun.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRun.java new file mode 100644 index 000000000000..0645d34869dd --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRun.java @@ -0,0 +1,417 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; + +/** + * A single routine run returned from the run history API. + */ +@Immutable +public final class RoutineRun implements JsonSerializable { + /* + * The MLflow run identifier for the routine attempt. + */ + @Generated + private final String id; + + /* + * The underlying MLflow run status. + */ + @Generated + private final String status; + + /* + * The AgentExtensions lifecycle phase for the routine attempt. + */ + @Generated + private RoutineRunPhase phase; + + /* + * The trigger type that produced the routine attempt. + */ + @Generated + private final RoutineTriggerType triggerType; + + /* + * The source path that created the routine attempt. + */ + @Generated + private RoutineAttemptSource attemptSource; + + /* + * The action type dispatched for the routine attempt. + */ + @Generated + private RoutineActionType actionType; + + /* + * The logical trigger time recorded for the routine attempt. + */ + @Generated + private Long triggeredAt; + + /* + * The time when the underlying run started. + */ + @Generated + private final long startedAt; + + /* + * The time when the underlying run reached a terminal state. + */ + @Generated + private Long endedAt; + + /* + * The dispatch identifier associated with the routine attempt. + */ + @Generated + private String dispatchId; + + /* + * The downstream action correlation identifier, when available. + */ + @Generated + private String actionCorrelationId; + + /* + * The downstream response or invocation identifier, when available. + */ + @Generated + private String responseId; + + /* + * The workspace task identifier linked to the routine attempt, when available. + */ + @Generated + private String taskId; + + /* + * The fully qualified error type captured for a failed attempt, when available. + */ + @Generated + private String errorType; + + /* + * The truncated failure message captured for a failed attempt, when available. + */ + @Generated + private String errorMessage; + + /* + * Diagnostic data captured for the routine attempt. + */ + @Generated + private RoutineRunDiagnostics diagnostics; + + /** + * Creates an instance of RoutineRun class. + * + * @param id the id value to set. + * @param status the status value to set. + * @param triggerType the triggerType value to set. + * @param startedAt the startedAt value to set. + */ + @Generated + private RoutineRun(String id, String status, RoutineTriggerType triggerType, OffsetDateTime startedAt) { + this.id = id; + this.status = status; + this.triggerType = triggerType; + if (startedAt == null) { + this.startedAt = 0L; + } else { + this.startedAt = startedAt.toEpochSecond(); + } + } + + /** + * Get the id property: The MLflow run identifier for the routine attempt. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } + + /** + * Get the status property: The underlying MLflow run status. + * + * @return the status value. + */ + @Generated + public String getStatus() { + return this.status; + } + + /** + * Get the phase property: The AgentExtensions lifecycle phase for the routine attempt. + * + * @return the phase value. + */ + @Generated + public RoutineRunPhase getPhase() { + return this.phase; + } + + /** + * Get the triggerType property: The trigger type that produced the routine attempt. + * + * @return the triggerType value. + */ + @Generated + public RoutineTriggerType getTriggerType() { + return this.triggerType; + } + + /** + * Get the attemptSource property: The source path that created the routine attempt. + * + * @return the attemptSource value. + */ + @Generated + public RoutineAttemptSource getAttemptSource() { + return this.attemptSource; + } + + /** + * Get the actionType property: The action type dispatched for the routine attempt. + * + * @return the actionType value. + */ + @Generated + public RoutineActionType getActionType() { + return this.actionType; + } + + /** + * Get the triggeredAt property: The logical trigger time recorded for the routine attempt. + * + * @return the triggeredAt value. + */ + @Generated + public OffsetDateTime getTriggeredAt() { + if (this.triggeredAt == null) { + return null; + } + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.triggeredAt), ZoneOffset.UTC); + } + + /** + * Get the startedAt property: The time when the underlying run started. + * + * @return the startedAt value. + */ + @Generated + public OffsetDateTime getStartedAt() { + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.startedAt), ZoneOffset.UTC); + } + + /** + * Get the endedAt property: The time when the underlying run reached a terminal state. + * + * @return the endedAt value. + */ + @Generated + public OffsetDateTime getEndedAt() { + if (this.endedAt == null) { + return null; + } + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.endedAt), ZoneOffset.UTC); + } + + /** + * Get the dispatchId property: The dispatch identifier associated with the routine attempt. + * + * @return the dispatchId value. + */ + @Generated + public String getDispatchId() { + return this.dispatchId; + } + + /** + * Get the actionCorrelationId property: The downstream action correlation identifier, when available. + * + * @return the actionCorrelationId value. + */ + @Generated + public String getActionCorrelationId() { + return this.actionCorrelationId; + } + + /** + * Get the responseId property: The downstream response or invocation identifier, when available. + * + * @return the responseId value. + */ + @Generated + public String getResponseId() { + return this.responseId; + } + + /** + * Get the taskId property: The workspace task identifier linked to the routine attempt, when available. + * + * @return the taskId value. + */ + @Generated + public String getTaskId() { + return this.taskId; + } + + /** + * Get the errorType property: The fully qualified error type captured for a failed attempt, when available. + * + * @return the errorType value. + */ + @Generated + public String getErrorType() { + return this.errorType; + } + + /** + * Get the errorMessage property: The truncated failure message captured for a failed attempt, when available. + * + * @return the errorMessage value. + */ + @Generated + public String getErrorMessage() { + return this.errorMessage; + } + + /** + * Get the diagnostics property: Diagnostic data captured for the routine attempt. + * + * @return the diagnostics value. + */ + @Generated + public RoutineRunDiagnostics getDiagnostics() { + return this.diagnostics; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("id", this.id); + jsonWriter.writeStringField("status", this.status); + jsonWriter.writeStringField("trigger_type", this.triggerType == null ? null : this.triggerType.toString()); + jsonWriter.writeLongField("started_at", this.startedAt); + jsonWriter.writeStringField("phase", this.phase == null ? null : this.phase.toString()); + jsonWriter.writeStringField("attempt_source", + this.attemptSource == null ? null : this.attemptSource.toString()); + jsonWriter.writeStringField("action_type", this.actionType == null ? null : this.actionType.toString()); + jsonWriter.writeNumberField("triggered_at", this.triggeredAt); + jsonWriter.writeNumberField("ended_at", this.endedAt); + jsonWriter.writeStringField("dispatch_id", this.dispatchId); + jsonWriter.writeStringField("action_correlation_id", this.actionCorrelationId); + jsonWriter.writeStringField("response_id", this.responseId); + jsonWriter.writeStringField("task_id", this.taskId); + jsonWriter.writeStringField("error_type", this.errorType); + jsonWriter.writeStringField("error_message", this.errorMessage); + jsonWriter.writeJsonField("diagnostics", this.diagnostics); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of RoutineRun from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of RoutineRun if the JsonReader was pointing to an instance of it, or null if it was pointing + * to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the RoutineRun. + */ + @Generated + public static RoutineRun fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String id = null; + String status = null; + RoutineTriggerType triggerType = null; + OffsetDateTime startedAt = null; + RoutineRunPhase phase = null; + RoutineAttemptSource attemptSource = null; + RoutineActionType actionType = null; + Long triggeredAt = null; + Long endedAt = null; + String dispatchId = null; + String actionCorrelationId = null; + String responseId = null; + String taskId = null; + String errorType = null; + String errorMessage = null; + RoutineRunDiagnostics diagnostics = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + id = reader.getString(); + } else if ("status".equals(fieldName)) { + status = reader.getString(); + } else if ("trigger_type".equals(fieldName)) { + triggerType = RoutineTriggerType.fromString(reader.getString()); + } else if ("started_at".equals(fieldName)) { + startedAt = OffsetDateTime.ofInstant(Instant.ofEpochSecond(reader.getLong()), ZoneOffset.UTC); + } else if ("phase".equals(fieldName)) { + phase = RoutineRunPhase.fromString(reader.getString()); + } else if ("attempt_source".equals(fieldName)) { + attemptSource = RoutineAttemptSource.fromString(reader.getString()); + } else if ("action_type".equals(fieldName)) { + actionType = RoutineActionType.fromString(reader.getString()); + } else if ("triggered_at".equals(fieldName)) { + triggeredAt = reader.getNullable(JsonReader::getLong); + } else if ("ended_at".equals(fieldName)) { + endedAt = reader.getNullable(JsonReader::getLong); + } else if ("dispatch_id".equals(fieldName)) { + dispatchId = reader.getString(); + } else if ("action_correlation_id".equals(fieldName)) { + actionCorrelationId = reader.getString(); + } else if ("response_id".equals(fieldName)) { + responseId = reader.getString(); + } else if ("task_id".equals(fieldName)) { + taskId = reader.getString(); + } else if ("error_type".equals(fieldName)) { + errorType = reader.getString(); + } else if ("error_message".equals(fieldName)) { + errorMessage = reader.getString(); + } else if ("diagnostics".equals(fieldName)) { + diagnostics = RoutineRunDiagnostics.fromJson(reader); + } else { + reader.skipChildren(); + } + } + RoutineRun deserializedRoutineRun = new RoutineRun(id, status, triggerType, startedAt); + deserializedRoutineRun.phase = phase; + deserializedRoutineRun.attemptSource = attemptSource; + deserializedRoutineRun.actionType = actionType; + deserializedRoutineRun.triggeredAt = triggeredAt; + deserializedRoutineRun.endedAt = endedAt; + deserializedRoutineRun.dispatchId = dispatchId; + deserializedRoutineRun.actionCorrelationId = actionCorrelationId; + deserializedRoutineRun.responseId = responseId; + deserializedRoutineRun.taskId = taskId; + deserializedRoutineRun.errorType = errorType; + deserializedRoutineRun.errorMessage = errorMessage; + deserializedRoutineRun.diagnostics = diagnostics; + + return deserializedRoutineRun; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java new file mode 100644 index 000000000000..af9a911db10e --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java @@ -0,0 +1,129 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.Map; + +/** + * Generic diagnostics captured on a routine run. + */ +@Immutable +public final class RoutineRunDiagnostics implements JsonSerializable { + /* + * MLflow parameters recorded on the run, keyed by parameter name. + */ + @Generated + private final Map parameters; + + /* + * MLflow tags recorded on the run, keyed by tag name. + */ + @Generated + private final Map tags; + + /* + * Latest MLflow metric values recorded on the run, keyed by metric name. + */ + @Generated + private final Map metrics; + + /** + * Creates an instance of RoutineRunDiagnostics class. + * + * @param parameters the parameters value to set. + * @param tags the tags value to set. + * @param metrics the metrics value to set. + */ + @Generated + private RoutineRunDiagnostics(Map parameters, Map tags, + Map metrics) { + this.parameters = parameters; + this.tags = tags; + this.metrics = metrics; + } + + /** + * Get the parameters property: MLflow parameters recorded on the run, keyed by parameter name. + * + * @return the parameters value. + */ + @Generated + public Map getParameters() { + return this.parameters; + } + + /** + * Get the tags property: MLflow tags recorded on the run, keyed by tag name. + * + * @return the tags value. + */ + @Generated + public Map getTags() { + return this.tags; + } + + /** + * Get the metrics property: Latest MLflow metric values recorded on the run, keyed by metric name. + * + * @return the metrics value. + */ + @Generated + public Map getMetrics() { + return this.metrics; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeMapField("parameters", this.parameters, (writer, element) -> writer.writeString(element)); + jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); + jsonWriter.writeMapField("metrics", this.metrics, (writer, element) -> writer.writeDouble(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of RoutineRunDiagnostics from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of RoutineRunDiagnostics if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the RoutineRunDiagnostics. + */ + @Generated + public static RoutineRunDiagnostics fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + Map parameters = null; + Map tags = null; + Map metrics = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("parameters".equals(fieldName)) { + parameters = reader.readMap(reader1 -> reader1.getString()); + } else if ("tags".equals(fieldName)) { + tags = reader.readMap(reader1 -> reader1.getString()); + } else if ("metrics".equals(fieldName)) { + metrics = reader.readMap(reader1 -> reader1.getDouble()); + } else { + reader.skipChildren(); + } + } + return new RoutineRunDiagnostics(parameters, tags, metrics); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java new file mode 100644 index 000000000000..d691bddfc317 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Known lifecycle phases recorded for a routine run. + */ +public final class RoutineRunPhase extends ExpandableStringEnum { + /** + * The run is queued for dispatch. + */ + @Generated + public static final RoutineRunPhase QUEUED = fromString("queued"); + + /** + * The run is currently being dispatched. + */ + @Generated + public static final RoutineRunPhase DISPATCHING = fromString("dispatching"); + + /** + * The run finished successfully. + */ + @Generated + public static final RoutineRunPhase COMPLETED = fromString("completed"); + + /** + * The run finished with an error. + */ + @Generated + public static final RoutineRunPhase FAILED = fromString("failed"); + + /** + * Creates a new instance of RoutineRunPhase value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public RoutineRunPhase() { + } + + /** + * Creates or finds a RoutineRunPhase from its string representation. + * + * @param name a name to look for. + * @return the corresponding RoutineRunPhase. + */ + @Generated + public static RoutineRunPhase fromString(String name) { + return fromString(name, RoutineRunPhase.class); + } + + /** + * Gets known RoutineRunPhase values. + * + * @return known RoutineRunPhase values. + */ + @Generated + public static Collection values() { + return values(RoutineRunPhase.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTrigger.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTrigger.java new file mode 100644 index 000000000000..3d06f34913aa --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTrigger.java @@ -0,0 +1,110 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Base model for a routine trigger. + */ +@Immutable +public class RoutineTrigger implements JsonSerializable { + /* + * The trigger type. + */ + @Generated + private RoutineTriggerType type = RoutineTriggerType.fromString("RoutineTrigger"); + + /** + * Creates an instance of RoutineTrigger class. + */ + @Generated + public RoutineTrigger() { + } + + /** + * Get the type property: The trigger type. + * + * @return the type value. + */ + @Generated + public RoutineTriggerType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of RoutineTrigger from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of RoutineTrigger if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the RoutineTrigger. + */ + @Generated + public static RoutineTrigger fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + readerToUse.nextToken(); // Prepare for reading + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("type".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("schedule".equals(discriminatorValue)) { + return ScheduleRoutineTrigger.fromJson(readerToUse.reset()); + } else if ("timer".equals(discriminatorValue)) { + return TimerRoutineTrigger.fromJson(readerToUse.reset()); + } else if ("github_issue_opened".equals(discriminatorValue)) { + return GitHubIssueOpenedRoutineTrigger.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static RoutineTrigger fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + RoutineTrigger deserializedRoutineTrigger = new RoutineTrigger(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedRoutineTrigger.type = RoutineTriggerType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedRoutineTrigger; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java new file mode 100644 index 000000000000..0ab99711b1ee --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java @@ -0,0 +1,63 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The discriminator values supported for routine triggers. + */ +public final class RoutineTriggerType extends ExpandableStringEnum { + /** + * A GitHub issue-opened trigger. + */ + @Generated + public static final RoutineTriggerType GITHUB_ISSUE_OPENED = fromString("github_issue_opened"); + + /** + * A recurring cron-based trigger. + */ + @Generated + public static final RoutineTriggerType SCHEDULE = fromString("schedule"); + + /** + * A one-shot timer trigger. + */ + @Generated + public static final RoutineTriggerType TIMER = fromString("timer"); + + /** + * Creates a new instance of RoutineTriggerType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public RoutineTriggerType() { + } + + /** + * Creates or finds a RoutineTriggerType from its string representation. + * + * @param name a name to look for. + * @return the corresponding RoutineTriggerType. + */ + @Generated + public static RoutineTriggerType fromString(String name) { + return fromString(name, RoutineTriggerType.class); + } + + /** + * Gets known RoutineTriggerType values. + * + * @return known RoutineTriggerType values. + */ + @Generated + public static Collection values() { + return values(RoutineTriggerType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java new file mode 100644 index 000000000000..56a4e8a1d1fd --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java @@ -0,0 +1,216 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; +import java.util.Map; + +/** + * Rubric-based evaluator definition — stores dimensions produced by the generate API. Used for both quality and safety + * evaluators. + */ +@Fluent +public final class RubricBasedEvaluatorDefinition extends EvaluatorDefinition { + /* + * The type of evaluator definition + */ + @Generated + private EvaluatorDefinitionType type = EvaluatorDefinitionType.RUBRIC; + + /* + * The set of dimensions — the scoring blueprint used by the LLM judge. Quality evaluators include a non-editable + * residual dimension with dimension_id 'general_quality' (always_applicable: true); safety evaluators include + * 'general_policy_compliance'. Both use the same Dimension structure. + */ + @Generated + private final List dimensions; + + /* + * Pass/fail threshold for the aggregate rubric score, on the same normalized 0.0-1.0 scale as the emitted `score`. + * When the runtime weighted average meets or exceeds this value, the result is `pass`. Defaults to 0.5 (equivalent + * to a raw 1-5 weighted average of 3.0). The 'any dimension scored 1 → fail' rule still applies regardless of this + * threshold. + */ + @Generated + private Double passThreshold; + + /** + * Creates an instance of RubricBasedEvaluatorDefinition class. + * + * @param dimensions the dimensions value to set. + */ + @Generated + public RubricBasedEvaluatorDefinition(List dimensions) { + this.dimensions = dimensions; + } + + /** + * Get the type property: The type of evaluator definition. + * + * @return the type value. + */ + @Generated + @Override + public EvaluatorDefinitionType getType() { + return this.type; + } + + /** + * Get the dimensions property: The set of dimensions — the scoring blueprint used by the LLM judge. Quality + * evaluators include a non-editable residual dimension with dimension_id 'general_quality' (always_applicable: + * true); safety evaluators include 'general_policy_compliance'. Both use the same Dimension structure. + * + * @return the dimensions value. + */ + @Generated + public List getDimensions() { + return this.dimensions; + } + + /** + * Get the passThreshold property: Pass/fail threshold for the aggregate rubric score, on the same normalized + * 0.0-1.0 scale as the emitted `score`. When the runtime weighted average meets or exceeds this value, the result + * is `pass`. Defaults to 0.5 (equivalent to a raw 1-5 weighted average of 3.0). The 'any dimension scored 1 → fail' + * rule still applies regardless of this threshold. + * + * @return the passThreshold value. + */ + @Generated + public Double getPassThreshold() { + return this.passThreshold; + } + + /** + * Set the passThreshold property: Pass/fail threshold for the aggregate rubric score, on the same normalized + * 0.0-1.0 scale as the emitted `score`. When the runtime weighted average meets or exceeds this value, the result + * is `pass`. Defaults to 0.5 (equivalent to a raw 1-5 weighted average of 3.0). The 'any dimension scored 1 → fail' + * rule still applies regardless of this threshold. + * + * @param passThreshold the passThreshold value to set. + * @return the RubricBasedEvaluatorDefinition object itself. + */ + @Generated + public RubricBasedEvaluatorDefinition setPassThreshold(Double passThreshold) { + this.passThreshold = passThreshold; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public RubricBasedEvaluatorDefinition setInitParameters(Map initParameters) { + super.setInitParameters(initParameters); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public RubricBasedEvaluatorDefinition setDataSchema(Map dataSchema) { + super.setDataSchema(dataSchema); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public RubricBasedEvaluatorDefinition setMetrics(Map metrics) { + super.setMetrics(metrics); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeMapField("init_parameters", getInitParameters(), (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + jsonWriter.writeMapField("data_schema", getDataSchema(), (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + jsonWriter.writeMapField("metrics", getMetrics(), (writer, element) -> writer.writeJson(element)); + jsonWriter.writeArrayField("dimensions", this.dimensions, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeNumberField("pass_threshold", this.passThreshold); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of RubricBasedEvaluatorDefinition from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of RubricBasedEvaluatorDefinition if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the RubricBasedEvaluatorDefinition. + */ + @Generated + public static RubricBasedEvaluatorDefinition fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + Map initParameters = null; + Map dataSchema = null; + Map metrics = null; + List dimensions = null; + EvaluatorDefinitionType type = EvaluatorDefinitionType.RUBRIC; + Double passThreshold = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("init_parameters".equals(fieldName)) { + initParameters = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); + } else if ("data_schema".equals(fieldName)) { + dataSchema = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); + } else if ("metrics".equals(fieldName)) { + metrics = reader.readMap(reader1 -> EvaluatorMetric.fromJson(reader1)); + } else if ("dimensions".equals(fieldName)) { + dimensions = reader.readArray(reader1 -> Dimension.fromJson(reader1)); + } else if ("type".equals(fieldName)) { + type = EvaluatorDefinitionType.fromString(reader.getString()); + } else if ("pass_threshold".equals(fieldName)) { + passThreshold = reader.getNullable(JsonReader::getDouble); + } else { + reader.skipChildren(); + } + } + RubricBasedEvaluatorDefinition deserializedRubricBasedEvaluatorDefinition + = new RubricBasedEvaluatorDefinition(dimensions); + deserializedRubricBasedEvaluatorDefinition.setInitParameters(initParameters); + deserializedRubricBasedEvaluatorDefinition.setDataSchema(dataSchema); + deserializedRubricBasedEvaluatorDefinition.setMetrics(metrics); + deserializedRubricBasedEvaluatorDefinition.type = type; + deserializedRubricBasedEvaluatorDefinition.passThreshold = passThreshold; + + return deserializedRubricBasedEvaluatorDefinition; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java new file mode 100644 index 000000000000..0b454c4aca83 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java @@ -0,0 +1,130 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A recurring cron-based routine trigger. + */ +@Immutable +public final class ScheduleRoutineTrigger extends RoutineTrigger { + /* + * The trigger type. + */ + @Generated + private RoutineTriggerType type = RoutineTriggerType.SCHEDULE; + + /* + * A 5-field cron expression. The service enforces a minimum interval of five minutes by default. + */ + @Generated + private final String cronExpression; + + /* + * An IANA or Windows time zone identifier for the schedule. + */ + @Generated + private final String timeZone; + + /** + * Creates an instance of ScheduleRoutineTrigger class. + * + * @param cronExpression the cronExpression value to set. + * @param timeZone the timeZone value to set. + */ + @Generated + public ScheduleRoutineTrigger(String cronExpression, String timeZone) { + this.cronExpression = cronExpression; + this.timeZone = timeZone; + } + + /** + * Get the type property: The trigger type. + * + * @return the type value. + */ + @Generated + @Override + public RoutineTriggerType getType() { + return this.type; + } + + /** + * Get the cronExpression property: A 5-field cron expression. The service enforces a minimum interval of five + * minutes by default. + * + * @return the cronExpression value. + */ + @Generated + public String getCronExpression() { + return this.cronExpression; + } + + /** + * Get the timeZone property: An IANA or Windows time zone identifier for the schedule. + * + * @return the timeZone value. + */ + @Generated + public String getTimeZone() { + return this.timeZone; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("cron_expression", this.cronExpression); + jsonWriter.writeStringField("time_zone", this.timeZone); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ScheduleRoutineTrigger from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ScheduleRoutineTrigger if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ScheduleRoutineTrigger. + */ + @Generated + public static ScheduleRoutineTrigger fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String cronExpression = null; + String timeZone = null; + RoutineTriggerType type = RoutineTriggerType.SCHEDULE; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("cron_expression".equals(fieldName)) { + cronExpression = reader.getString(); + } else if ("time_zone".equals(fieldName)) { + timeZone = reader.getString(); + } else if ("type".equals(fieldName)) { + type = RoutineTriggerType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + ScheduleRoutineTrigger deserializedScheduleRoutineTrigger + = new ScheduleRoutineTrigger(cronExpression, timeZone); + deserializedScheduleRoutineTrigger.type = type; + + return deserializedScheduleRoutineTrigger; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SearchContextSize.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SearchContextSize.java new file mode 100644 index 000000000000..e37d78ce78ac --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SearchContextSize.java @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +/** + * Defines values for SearchContextSize. + */ +public enum SearchContextSize { + /** + * Enum value low. + */ + LOW("low"), + + /** + * Enum value medium. + */ + MEDIUM("medium"), + + /** + * Enum value high. + */ + HIGH("high"); + + /** + * The actual serialized value for a SearchContextSize instance. + */ + private final String value; + + SearchContextSize(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a SearchContextSize instance. + * + * @param value the serialized value to parse. + * @return the parsed SearchContextSize object, or null if unable to parse. + */ + public static SearchContextSize fromString(String value) { + if (value == null) { + return null; + } + SearchContextSize[] items = SearchContextSize.values(); + for (SearchContextSize item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java new file mode 100644 index 000000000000..923ea851c24b --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java @@ -0,0 +1,157 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * The options for a data generation job with SimpleQnA type. + */ +@Fluent +public final class SimpleQnADataGenerationJobOptions extends DataGenerationJobOptions { + /* + * The data generation job type. + */ + @Generated + private DataGenerationJobType type = DataGenerationJobType.SIMPLE_QNA; + + /* + * The question types to generate. Used only for fine-tuning scenarios. + */ + @Generated + private List questionTypes; + + /** + * Creates an instance of SimpleQnADataGenerationJobOptions class. + * + * @param maxSamples the maxSamples value to set. + */ + @Generated + public SimpleQnADataGenerationJobOptions(int maxSamples) { + super(maxSamples); + } + + /** + * Get the type property: The data generation job type. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobType getType() { + return this.type; + } + + /** + * Get the questionTypes property: The question types to generate. Used only for fine-tuning scenarios. + * + * @return the questionTypes value. + */ + @Generated + public List getQuestionTypes() { + return this.questionTypes; + } + + /** + * Set the questionTypes property: The question types to generate. Used only for fine-tuning scenarios. + * + * @param questionTypes the questionTypes value to set. + * @return the SimpleQnADataGenerationJobOptions object itself. + */ + @Generated + public SimpleQnADataGenerationJobOptions setQuestionTypes(List questionTypes) { + this.questionTypes = questionTypes; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public SimpleQnADataGenerationJobOptions setTrainSplit(Double trainSplit) { + super.setTrainSplit(trainSplit); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public SimpleQnADataGenerationJobOptions setModelOptions(DataGenerationModelOptions modelOptions) { + super.setModelOptions(modelOptions); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeIntField("max_samples", getMaxSamples()); + jsonWriter.writeNumberField("train_split", getTrainSplit()); + jsonWriter.writeJsonField("model_options", getModelOptions()); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeArrayField("question_types", this.questionTypes, + (writer, element) -> writer.writeString(element == null ? null : element.toString())); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SimpleQnADataGenerationJobOptions from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SimpleQnADataGenerationJobOptions if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the SimpleQnADataGenerationJobOptions. + */ + @Generated + public static SimpleQnADataGenerationJobOptions fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + int maxSamples = 0; + Double trainSplit = null; + DataGenerationModelOptions modelOptions = null; + DataGenerationJobType type = DataGenerationJobType.SIMPLE_QNA; + List questionTypes = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("max_samples".equals(fieldName)) { + maxSamples = reader.getInt(); + } else if ("train_split".equals(fieldName)) { + trainSplit = reader.getNullable(JsonReader::getDouble); + } else if ("model_options".equals(fieldName)) { + modelOptions = DataGenerationModelOptions.fromJson(reader); + } else if ("type".equals(fieldName)) { + type = DataGenerationJobType.fromString(reader.getString()); + } else if ("question_types".equals(fieldName)) { + questionTypes + = reader.readArray(reader1 -> SimpleQnAFineTuningQuestionType.fromString(reader1.getString())); + } else { + reader.skipChildren(); + } + } + SimpleQnADataGenerationJobOptions deserializedSimpleQnADataGenerationJobOptions + = new SimpleQnADataGenerationJobOptions(maxSamples); + deserializedSimpleQnADataGenerationJobOptions.setTrainSplit(trainSplit); + deserializedSimpleQnADataGenerationJobOptions.setModelOptions(modelOptions); + deserializedSimpleQnADataGenerationJobOptions.type = type; + deserializedSimpleQnADataGenerationJobOptions.questionTypes = questionTypes; + + return deserializedSimpleQnADataGenerationJobOptions; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java new file mode 100644 index 000000000000..f6752b23ba9e --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The supported question types for SimpleQnA data generation jobs used for fine-tuning scenarios. + */ +public final class SimpleQnAFineTuningQuestionType extends ExpandableStringEnum { + /** + * Short answer question type. + */ + @Generated + public static final SimpleQnAFineTuningQuestionType SHORT_ANSWER = fromString("short_answer"); + + /** + * Long answer question type. + */ + @Generated + public static final SimpleQnAFineTuningQuestionType LONG_ANSWER = fromString("long_answer"); + + /** + * Creates a new instance of SimpleQnAFineTuningQuestionType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public SimpleQnAFineTuningQuestionType() { + } + + /** + * Creates or finds a SimpleQnAFineTuningQuestionType from its string representation. + * + * @param name a name to look for. + * @return the corresponding SimpleQnAFineTuningQuestionType. + */ + @Generated + public static SimpleQnAFineTuningQuestionType fromString(String name) { + return fromString(name, SimpleQnAFineTuningQuestionType.class); + } + + /** + * Gets known SimpleQnAFineTuningQuestionType values. + * + * @return known SimpleQnAFineTuningQuestionType values. + */ + @Generated + public static Collection values() { + return values(SimpleQnAFineTuningQuestionType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java new file mode 100644 index 000000000000..08a7e7facd74 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java @@ -0,0 +1,139 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The SkillReferenceParam model. + */ +@Fluent +public final class SkillReferenceParam extends ContainerSkill { + /* + * The type property. + */ + @Generated + private ContainerSkillType type = ContainerSkillType.SKILL_REFERENCE; + + /* + * The ID of the referenced skill. + */ + @Generated + private final String skillId; + + /* + * Optional skill version. Use a positive integer or 'latest'. Omit for default. + */ + @Generated + private String version; + + /** + * Creates an instance of SkillReferenceParam class. + * + * @param skillId the skillId value to set. + */ + @Generated + public SkillReferenceParam(String skillId) { + this.skillId = skillId; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public ContainerSkillType getType() { + return this.type; + } + + /** + * Get the skillId property: The ID of the referenced skill. + * + * @return the skillId value. + */ + @Generated + public String getSkillId() { + return this.skillId; + } + + /** + * Get the version property: Optional skill version. Use a positive integer or 'latest'. Omit for default. + * + * @return the version value. + */ + @Generated + public String getVersion() { + return this.version; + } + + /** + * Set the version property: Optional skill version. Use a positive integer or 'latest'. Omit for default. + * + * @param version the version value to set. + * @return the SkillReferenceParam object itself. + */ + @Generated + public SkillReferenceParam setVersion(String version) { + this.version = version; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("skill_id", this.skillId); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("version", this.version); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SkillReferenceParam from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SkillReferenceParam if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the SkillReferenceParam. + */ + @Generated + public static SkillReferenceParam fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String skillId = null; + ContainerSkillType type = ContainerSkillType.SKILL_REFERENCE; + String version = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("skill_id".equals(fieldName)) { + skillId = reader.getString(); + } else if ("type".equals(fieldName)) { + type = ContainerSkillType.fromString(reader.getString()); + } else if ("version".equals(fieldName)) { + version = reader.getString(); + } else { + reader.skipChildren(); + } + } + SkillReferenceParam deserializedSkillReferenceParam = new SkillReferenceParam(skillId); + deserializedSkillReferenceParam.type = type; + deserializedSkillReferenceParam.version = version; + + return deserializedSkillReferenceParam; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java new file mode 100644 index 000000000000..9e7a49211e98 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java @@ -0,0 +1,143 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A one-shot timer routine trigger. + */ +@Fluent +public final class TimerRoutineTrigger extends RoutineTrigger { + /* + * The trigger type. + */ + @Generated + private RoutineTriggerType type = RoutineTriggerType.TIMER; + + /* + * A future timer expression. Supported values include an ISO-8601 timestamp with an explicit offset, a local + * timestamp paired with time_zone, or a positive duration from now. + */ + @Generated + private final String at; + + /* + * An optional IANA or Windows time zone identifier when the timer uses a local timestamp. + */ + @Generated + private String timeZone; + + /** + * Creates an instance of TimerRoutineTrigger class. + * + * @param at the at value to set. + */ + @Generated + public TimerRoutineTrigger(String at) { + this.at = at; + } + + /** + * Get the type property: The trigger type. + * + * @return the type value. + */ + @Generated + @Override + public RoutineTriggerType getType() { + return this.type; + } + + /** + * Get the at property: A future timer expression. Supported values include an ISO-8601 timestamp with an explicit + * offset, a local timestamp paired with time_zone, or a positive duration from now. + * + * @return the at value. + */ + @Generated + public String getAt() { + return this.at; + } + + /** + * Get the timeZone property: An optional IANA or Windows time zone identifier when the timer uses a local + * timestamp. + * + * @return the timeZone value. + */ + @Generated + public String getTimeZone() { + return this.timeZone; + } + + /** + * Set the timeZone property: An optional IANA or Windows time zone identifier when the timer uses a local + * timestamp. + * + * @param timeZone the timeZone value to set. + * @return the TimerRoutineTrigger object itself. + */ + @Generated + public TimerRoutineTrigger setTimeZone(String timeZone) { + this.timeZone = timeZone; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("at", this.at); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("time_zone", this.timeZone); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TimerRoutineTrigger from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TimerRoutineTrigger if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the TimerRoutineTrigger. + */ + @Generated + public static TimerRoutineTrigger fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String at = null; + RoutineTriggerType type = RoutineTriggerType.TIMER; + String timeZone = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("at".equals(fieldName)) { + at = reader.getString(); + } else if ("type".equals(fieldName)) { + type = RoutineTriggerType.fromString(reader.getString()); + } else if ("time_zone".equals(fieldName)) { + timeZone = reader.getString(); + } else { + reader.skipChildren(); + } + } + TimerRoutineTrigger deserializedTimerRoutineTrigger = new TimerRoutineTrigger(at); + deserializedTimerRoutineTrigger.type = type; + deserializedTimerRoutineTrigger.timeZone = timeZone; + + return deserializedTimerRoutineTrigger; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Tool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Tool.java new file mode 100644 index 000000000000..06054b4faf8c --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Tool.java @@ -0,0 +1,128 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A tool that can be used to generate a response. + */ +@Immutable +public class Tool implements JsonSerializable { + /* + * The type property. + */ + @Generated + private ToolType type = ToolType.fromString("Tool"); + + /** + * Creates an instance of Tool class. + */ + @Generated + public Tool() { + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + public ToolType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of Tool from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of Tool if the JsonReader was pointing to an instance of it, or null if it was pointing to + * JSON null. + * @throws IOException If an error occurs while reading the Tool. + */ + @Generated + public static Tool fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + readerToUse.nextToken(); // Prepare for reading + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("type".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("code_interpreter".equals(discriminatorValue)) { + return CodeInterpreterTool.fromJson(readerToUse.reset()); + } else if ("function".equals(discriminatorValue)) { + return FunctionTool.fromJson(readerToUse.reset()); + } else if ("file_search".equals(discriminatorValue)) { + return FileSearchTool.fromJson(readerToUse.reset()); + } else if ("computer_use_preview".equals(discriminatorValue)) { + return ComputerUsePreviewTool.fromJson(readerToUse.reset()); + } else if ("web_search".equals(discriminatorValue)) { + return WebSearchTool.fromJson(readerToUse.reset()); + } else if ("mcp".equals(discriminatorValue)) { + return MCPTool.fromJson(readerToUse.reset()); + } else if ("image_generation".equals(discriminatorValue)) { + return ImageGenTool.fromJson(readerToUse.reset()); + } else if ("local_shell".equals(discriminatorValue)) { + return LocalShellToolParam.fromJson(readerToUse.reset()); + } else if ("shell".equals(discriminatorValue)) { + return FunctionShellToolParam.fromJson(readerToUse.reset()); + } else if ("custom".equals(discriminatorValue)) { + return CustomToolParam.fromJson(readerToUse.reset()); + } else if ("web_search_preview".equals(discriminatorValue)) { + return WebSearchPreviewTool.fromJson(readerToUse.reset()); + } else if ("apply_patch".equals(discriminatorValue)) { + return ApplyPatchToolParam.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static Tool fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + Tool deserializedTool = new Tool(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedTool.type = ToolType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedTool; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolType.java new file mode 100644 index 000000000000..cacfbfdbd0cf --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolType.java @@ -0,0 +1,117 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Defines values for ToolType. + */ +public final class ToolType extends ExpandableStringEnum { + /** + * Static value function for ToolType. + */ + @Generated + public static final ToolType FUNCTION = fromString("function"); + + /** + * Static value file_search for ToolType. + */ + @Generated + public static final ToolType FILE_SEARCH = fromString("file_search"); + + /** + * Static value computer_use_preview for ToolType. + */ + @Generated + public static final ToolType COMPUTER_USE_PREVIEW = fromString("computer_use_preview"); + + /** + * Static value web_search for ToolType. + */ + @Generated + public static final ToolType WEB_SEARCH = fromString("web_search"); + + /** + * Static value mcp for ToolType. + */ + @Generated + public static final ToolType MCP = fromString("mcp"); + + /** + * Static value code_interpreter for ToolType. + */ + @Generated + public static final ToolType CODE_INTERPRETER = fromString("code_interpreter"); + + /** + * Static value image_generation for ToolType. + */ + @Generated + public static final ToolType IMAGE_GENERATION = fromString("image_generation"); + + /** + * Static value local_shell for ToolType. + */ + @Generated + public static final ToolType LOCAL_SHELL = fromString("local_shell"); + + /** + * Static value shell for ToolType. + */ + @Generated + public static final ToolType SHELL = fromString("shell"); + + /** + * Static value custom for ToolType. + */ + @Generated + public static final ToolType CUSTOM = fromString("custom"); + + /** + * Static value web_search_preview for ToolType. + */ + @Generated + public static final ToolType WEB_SEARCH_PREVIEW = fromString("web_search_preview"); + + /** + * Static value apply_patch for ToolType. + */ + @Generated + public static final ToolType APPLY_PATCH = fromString("apply_patch"); + + /** + * Creates a new instance of ToolType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public ToolType() { + } + + /** + * Creates or finds a ToolType from its string representation. + * + * @param name a name to look for. + * @return the corresponding ToolType. + */ + @Generated + public static ToolType fromString(String name) { + return fromString(name, ToolType.class); + } + + /** + * Gets known ToolType values. + * + * @return known ToolType values. + */ + @Generated + public static Collection values() { + return values(ToolType.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java new file mode 100644 index 000000000000..d7320b3b1095 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java @@ -0,0 +1,121 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The options for a data generation job with ToolUse type. Used only for fine-tuning scenarios. + */ +@Fluent +public final class ToolUseFineTuningDataGenerationJobOptions extends DataGenerationJobOptions { + /* + * The data generation job type. + */ + @Generated + private DataGenerationJobType type = DataGenerationJobType.TOOL_USE; + + /** + * Creates an instance of ToolUseFineTuningDataGenerationJobOptions class. + * + * @param maxSamples the maxSamples value to set. + */ + @Generated + public ToolUseFineTuningDataGenerationJobOptions(int maxSamples) { + super(maxSamples); + } + + /** + * Get the type property: The data generation job type. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public ToolUseFineTuningDataGenerationJobOptions setTrainSplit(Double trainSplit) { + super.setTrainSplit(trainSplit); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public ToolUseFineTuningDataGenerationJobOptions setModelOptions(DataGenerationModelOptions modelOptions) { + super.setModelOptions(modelOptions); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeIntField("max_samples", getMaxSamples()); + jsonWriter.writeNumberField("train_split", getTrainSplit()); + jsonWriter.writeJsonField("model_options", getModelOptions()); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ToolUseFineTuningDataGenerationJobOptions from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ToolUseFineTuningDataGenerationJobOptions if the JsonReader was pointing to an instance of + * it, or null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ToolUseFineTuningDataGenerationJobOptions. + */ + @Generated + public static ToolUseFineTuningDataGenerationJobOptions fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + int maxSamples = 0; + Double trainSplit = null; + DataGenerationModelOptions modelOptions = null; + DataGenerationJobType type = DataGenerationJobType.TOOL_USE; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("max_samples".equals(fieldName)) { + maxSamples = reader.getInt(); + } else if ("train_split".equals(fieldName)) { + trainSplit = reader.getNullable(JsonReader::getDouble); + } else if ("model_options".equals(fieldName)) { + modelOptions = DataGenerationModelOptions.fromJson(reader); + } else if ("type".equals(fieldName)) { + type = DataGenerationJobType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + ToolUseFineTuningDataGenerationJobOptions deserializedToolUseFineTuningDataGenerationJobOptions + = new ToolUseFineTuningDataGenerationJobOptions(maxSamples); + deserializedToolUseFineTuningDataGenerationJobOptions.setTrainSplit(trainSplit); + deserializedToolUseFineTuningDataGenerationJobOptions.setModelOptions(modelOptions); + deserializedToolUseFineTuningDataGenerationJobOptions.type = type; + + return deserializedToolUseFineTuningDataGenerationJobOptions; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java new file mode 100644 index 000000000000..2c02491b607c --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java @@ -0,0 +1,121 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The options for a data generation job with Traces type. + */ +@Fluent +public final class TracesDataGenerationJobOptions extends DataGenerationJobOptions { + /* + * The data generation job type. + */ + @Generated + private DataGenerationJobType type = DataGenerationJobType.TRACES; + + /** + * Creates an instance of TracesDataGenerationJobOptions class. + * + * @param maxSamples the maxSamples value to set. + */ + @Generated + public TracesDataGenerationJobOptions(int maxSamples) { + super(maxSamples); + } + + /** + * Get the type property: The data generation job type. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public TracesDataGenerationJobOptions setTrainSplit(Double trainSplit) { + super.setTrainSplit(trainSplit); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public TracesDataGenerationJobOptions setModelOptions(DataGenerationModelOptions modelOptions) { + super.setModelOptions(modelOptions); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeIntField("max_samples", getMaxSamples()); + jsonWriter.writeNumberField("train_split", getTrainSplit()); + jsonWriter.writeJsonField("model_options", getModelOptions()); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TracesDataGenerationJobOptions from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TracesDataGenerationJobOptions if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the TracesDataGenerationJobOptions. + */ + @Generated + public static TracesDataGenerationJobOptions fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + int maxSamples = 0; + Double trainSplit = null; + DataGenerationModelOptions modelOptions = null; + DataGenerationJobType type = DataGenerationJobType.TRACES; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("max_samples".equals(fieldName)) { + maxSamples = reader.getInt(); + } else if ("train_split".equals(fieldName)) { + trainSplit = reader.getNullable(JsonReader::getDouble); + } else if ("model_options".equals(fieldName)) { + modelOptions = DataGenerationModelOptions.fromJson(reader); + } else if ("type".equals(fieldName)) { + type = DataGenerationJobType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + TracesDataGenerationJobOptions deserializedTracesDataGenerationJobOptions + = new TracesDataGenerationJobOptions(maxSamples); + deserializedTracesDataGenerationJobOptions.setTrainSplit(trainSplit); + deserializedTracesDataGenerationJobOptions.setModelOptions(modelOptions); + deserializedTracesDataGenerationJobOptions.type = type; + + return deserializedTracesDataGenerationJobOptions; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java new file mode 100644 index 000000000000..4d16d72b0048 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java @@ -0,0 +1,295 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; + +/** + * Traces source for data generation jobs — conversation traces from Application Insights. + */ +@Fluent +public final class TracesDataGenerationJobSource extends DataGenerationJobSource { + /* + * The type of source. + */ + @Generated + private DataGenerationJobSourceType type = DataGenerationJobSourceType.TRACES; + + /* + * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company + * refund policy document' or 'Describes the agent's core capabilities'). + */ + @Generated + private String description; + + /* + * The unique agent ID used to filter traces. Provide either `agent_id` or `agent_name` — at least one is required. + */ + @Generated + private String agentId; + + /* + * The agent name to fetch traces for. Provide either `agent_id` or `agent_name` — at least one is required. + */ + @Generated + private String agentName; + + /* + * The agent version. If not specified, traces for ALL versions of the agent are included within the time window. + */ + @Generated + private String agentVersion; + + /* + * Start of the time window (Unix timestamp in seconds) for fetching traces. + */ + @Generated + private final long startTime; + + /* + * End of the time window (Unix timestamp in seconds). Defaults to current time. + */ + @Generated + private Long endTime; + + /** + * Creates an instance of TracesDataGenerationJobSource class. + * + * @param startTime the startTime value to set. + */ + @Generated + public TracesDataGenerationJobSource(OffsetDateTime startTime) { + if (startTime == null) { + this.startTime = 0L; + } else { + this.startTime = startTime.toEpochSecond(); + } + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + @Override + public DataGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @param description the description value to set. + * @return the TracesDataGenerationJobSource object itself. + */ + @Generated + public TracesDataGenerationJobSource setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the agentId property: The unique agent ID used to filter traces. Provide either `agent_id` or `agent_name` — + * at least one is required. + * + * @return the agentId value. + */ + @Generated + public String getAgentId() { + return this.agentId; + } + + /** + * Set the agentId property: The unique agent ID used to filter traces. Provide either `agent_id` or `agent_name` — + * at least one is required. + * + * @param agentId the agentId value to set. + * @return the TracesDataGenerationJobSource object itself. + */ + @Generated + public TracesDataGenerationJobSource setAgentId(String agentId) { + this.agentId = agentId; + return this; + } + + /** + * Get the agentName property: The agent name to fetch traces for. Provide either `agent_id` or `agent_name` — at + * least one is required. + * + * @return the agentName value. + */ + @Generated + public String getAgentName() { + return this.agentName; + } + + /** + * Set the agentName property: The agent name to fetch traces for. Provide either `agent_id` or `agent_name` — at + * least one is required. + * + * @param agentName the agentName value to set. + * @return the TracesDataGenerationJobSource object itself. + */ + @Generated + public TracesDataGenerationJobSource setAgentName(String agentName) { + this.agentName = agentName; + return this; + } + + /** + * Get the agentVersion property: The agent version. If not specified, traces for ALL versions of the agent are + * included within the time window. + * + * @return the agentVersion value. + */ + @Generated + public String getAgentVersion() { + return this.agentVersion; + } + + /** + * Set the agentVersion property: The agent version. If not specified, traces for ALL versions of the agent are + * included within the time window. + * + * @param agentVersion the agentVersion value to set. + * @return the TracesDataGenerationJobSource object itself. + */ + @Generated + public TracesDataGenerationJobSource setAgentVersion(String agentVersion) { + this.agentVersion = agentVersion; + return this; + } + + /** + * Get the startTime property: Start of the time window (Unix timestamp in seconds) for fetching traces. + * + * @return the startTime value. + */ + @Generated + public OffsetDateTime getStartTime() { + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.startTime), ZoneOffset.UTC); + } + + /** + * Get the endTime property: End of the time window (Unix timestamp in seconds). Defaults to current time. + * + * @return the endTime value. + */ + @Generated + public OffsetDateTime getEndTime() { + if (this.endTime == null) { + return null; + } + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.endTime), ZoneOffset.UTC); + } + + /** + * Set the endTime property: End of the time window (Unix timestamp in seconds). Defaults to current time. + * + * @param endTime the endTime value to set. + * @return the TracesDataGenerationJobSource object itself. + */ + @Generated + public TracesDataGenerationJobSource setEndTime(OffsetDateTime endTime) { + if (endTime == null) { + this.endTime = null; + } else { + this.endTime = endTime.toEpochSecond(); + } + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeLongField("start_time", this.startTime); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeStringField("agent_id", this.agentId); + jsonWriter.writeStringField("agent_name", this.agentName); + jsonWriter.writeStringField("agent_version", this.agentVersion); + jsonWriter.writeNumberField("end_time", this.endTime); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TracesDataGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TracesDataGenerationJobSource if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the TracesDataGenerationJobSource. + */ + @Generated + public static TracesDataGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + OffsetDateTime startTime = null; + DataGenerationJobSourceType type = DataGenerationJobSourceType.TRACES; + String description = null; + String agentId = null; + String agentName = null; + String agentVersion = null; + Long endTime = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("start_time".equals(fieldName)) { + startTime = OffsetDateTime.ofInstant(Instant.ofEpochSecond(reader.getLong()), ZoneOffset.UTC); + } else if ("type".equals(fieldName)) { + type = DataGenerationJobSourceType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("agent_id".equals(fieldName)) { + agentId = reader.getString(); + } else if ("agent_name".equals(fieldName)) { + agentName = reader.getString(); + } else if ("agent_version".equals(fieldName)) { + agentVersion = reader.getString(); + } else if ("end_time".equals(fieldName)) { + endTime = reader.getNullable(JsonReader::getLong); + } else { + reader.skipChildren(); + } + } + TracesDataGenerationJobSource deserializedTracesDataGenerationJobSource + = new TracesDataGenerationJobSource(startTime); + deserializedTracesDataGenerationJobSource.type = type; + deserializedTracesDataGenerationJobSource.description = description; + deserializedTracesDataGenerationJobSource.agentId = agentId; + deserializedTracesDataGenerationJobSource.agentName = agentName; + deserializedTracesDataGenerationJobSource.agentVersion = agentVersion; + deserializedTracesDataGenerationJobSource.endTime = endTime; + + return deserializedTracesDataGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java new file mode 100644 index 000000000000..d1263bfd0a77 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java @@ -0,0 +1,295 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; + +/** + * Traces source for evaluator generation jobs — conversation traces from Application Insights. + */ +@Fluent +public final class TracesEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource { + /* + * The type of source. + */ + @Generated + private EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.TRACES; + + /* + * Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company + * refund policy document' or 'Describes the agent's core capabilities'). + */ + @Generated + private String description; + + /* + * The unique agent ID used to filter traces. Provide either `agent_id` or `agent_name` — at least one is required. + */ + @Generated + private String agentId; + + /* + * The agent name to fetch traces for. Provide either `agent_id` or `agent_name` — at least one is required. + */ + @Generated + private String agentName; + + /* + * The agent version. If not specified, traces for ALL versions of the agent are included within the time window. + */ + @Generated + private String agentVersion; + + /* + * Start of the time window (Unix timestamp in seconds) for fetching traces. + */ + @Generated + private final long startTime; + + /* + * End of the time window (Unix timestamp in seconds). Defaults to current time. + */ + @Generated + private Long endTime; + + /** + * Creates an instance of TracesEvaluatorGenerationJobSource class. + * + * @param startTime the startTime value to set. + */ + @Generated + public TracesEvaluatorGenerationJobSource(OffsetDateTime startTime) { + if (startTime == null) { + this.startTime = 0L; + } else { + this.startTime = startTime.toEpochSecond(); + } + } + + /** + * Get the type property: The type of source. + * + * @return the type value. + */ + @Generated + @Override + public EvaluatorGenerationJobSourceType getType() { + return this.type; + } + + /** + * Get the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Optional description of what this source represents — helps the pipeline interpret + * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). + * + * @param description the description value to set. + * @return the TracesEvaluatorGenerationJobSource object itself. + */ + @Generated + public TracesEvaluatorGenerationJobSource setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the agentId property: The unique agent ID used to filter traces. Provide either `agent_id` or `agent_name` — + * at least one is required. + * + * @return the agentId value. + */ + @Generated + public String getAgentId() { + return this.agentId; + } + + /** + * Set the agentId property: The unique agent ID used to filter traces. Provide either `agent_id` or `agent_name` — + * at least one is required. + * + * @param agentId the agentId value to set. + * @return the TracesEvaluatorGenerationJobSource object itself. + */ + @Generated + public TracesEvaluatorGenerationJobSource setAgentId(String agentId) { + this.agentId = agentId; + return this; + } + + /** + * Get the agentName property: The agent name to fetch traces for. Provide either `agent_id` or `agent_name` — at + * least one is required. + * + * @return the agentName value. + */ + @Generated + public String getAgentName() { + return this.agentName; + } + + /** + * Set the agentName property: The agent name to fetch traces for. Provide either `agent_id` or `agent_name` — at + * least one is required. + * + * @param agentName the agentName value to set. + * @return the TracesEvaluatorGenerationJobSource object itself. + */ + @Generated + public TracesEvaluatorGenerationJobSource setAgentName(String agentName) { + this.agentName = agentName; + return this; + } + + /** + * Get the agentVersion property: The agent version. If not specified, traces for ALL versions of the agent are + * included within the time window. + * + * @return the agentVersion value. + */ + @Generated + public String getAgentVersion() { + return this.agentVersion; + } + + /** + * Set the agentVersion property: The agent version. If not specified, traces for ALL versions of the agent are + * included within the time window. + * + * @param agentVersion the agentVersion value to set. + * @return the TracesEvaluatorGenerationJobSource object itself. + */ + @Generated + public TracesEvaluatorGenerationJobSource setAgentVersion(String agentVersion) { + this.agentVersion = agentVersion; + return this; + } + + /** + * Get the startTime property: Start of the time window (Unix timestamp in seconds) for fetching traces. + * + * @return the startTime value. + */ + @Generated + public OffsetDateTime getStartTime() { + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.startTime), ZoneOffset.UTC); + } + + /** + * Get the endTime property: End of the time window (Unix timestamp in seconds). Defaults to current time. + * + * @return the endTime value. + */ + @Generated + public OffsetDateTime getEndTime() { + if (this.endTime == null) { + return null; + } + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.endTime), ZoneOffset.UTC); + } + + /** + * Set the endTime property: End of the time window (Unix timestamp in seconds). Defaults to current time. + * + * @param endTime the endTime value to set. + * @return the TracesEvaluatorGenerationJobSource object itself. + */ + @Generated + public TracesEvaluatorGenerationJobSource setEndTime(OffsetDateTime endTime) { + if (endTime == null) { + this.endTime = null; + } else { + this.endTime = endTime.toEpochSecond(); + } + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeLongField("start_time", this.startTime); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeStringField("agent_id", this.agentId); + jsonWriter.writeStringField("agent_name", this.agentName); + jsonWriter.writeStringField("agent_version", this.agentVersion); + jsonWriter.writeNumberField("end_time", this.endTime); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TracesEvaluatorGenerationJobSource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TracesEvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the TracesEvaluatorGenerationJobSource. + */ + @Generated + public static TracesEvaluatorGenerationJobSource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + OffsetDateTime startTime = null; + EvaluatorGenerationJobSourceType type = EvaluatorGenerationJobSourceType.TRACES; + String description = null; + String agentId = null; + String agentName = null; + String agentVersion = null; + Long endTime = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("start_time".equals(fieldName)) { + startTime = OffsetDateTime.ofInstant(Instant.ofEpochSecond(reader.getLong()), ZoneOffset.UTC); + } else if ("type".equals(fieldName)) { + type = EvaluatorGenerationJobSourceType.fromString(reader.getString()); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("agent_id".equals(fieldName)) { + agentId = reader.getString(); + } else if ("agent_name".equals(fieldName)) { + agentName = reader.getString(); + } else if ("agent_version".equals(fieldName)) { + agentVersion = reader.getString(); + } else if ("end_time".equals(fieldName)) { + endTime = reader.getNullable(JsonReader::getLong); + } else { + reader.skipChildren(); + } + } + TracesEvaluatorGenerationJobSource deserializedTracesEvaluatorGenerationJobSource + = new TracesEvaluatorGenerationJobSource(startTime); + deserializedTracesEvaluatorGenerationJobSource.type = type; + deserializedTracesEvaluatorGenerationJobSource.description = description; + deserializedTracesEvaluatorGenerationJobSource.agentId = agentId; + deserializedTracesEvaluatorGenerationJobSource.agentName = agentName; + deserializedTracesEvaluatorGenerationJobSource.agentVersion = agentVersion; + deserializedTracesEvaluatorGenerationJobSource.endTime = endTime; + + return deserializedTracesEvaluatorGenerationJobSource; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java new file mode 100644 index 000000000000..05a942c9022e --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java @@ -0,0 +1,205 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Web search approximate location + * + * The approximate location of the user. + */ +@Fluent +public final class WebSearchApproximateLocation implements JsonSerializable { + /* + * The type of location approximation. Always `approximate`. + */ + @Generated + private final String type = "approximate"; + + /* + * The country property. + */ + @Generated + private String country; + + /* + * The region property. + */ + @Generated + private String region; + + /* + * The city property. + */ + @Generated + private String city; + + /* + * The timezone property. + */ + @Generated + private String timezone; + + /** + * Creates an instance of WebSearchApproximateLocation class. + */ + @Generated + public WebSearchApproximateLocation() { + } + + /** + * Get the type property: The type of location approximation. Always `approximate`. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the country property: The country property. + * + * @return the country value. + */ + @Generated + public String getCountry() { + return this.country; + } + + /** + * Set the country property: The country property. + * + * @param country the country value to set. + * @return the WebSearchApproximateLocation object itself. + */ + @Generated + public WebSearchApproximateLocation setCountry(String country) { + this.country = country; + return this; + } + + /** + * Get the region property: The region property. + * + * @return the region value. + */ + @Generated + public String getRegion() { + return this.region; + } + + /** + * Set the region property: The region property. + * + * @param region the region value to set. + * @return the WebSearchApproximateLocation object itself. + */ + @Generated + public WebSearchApproximateLocation setRegion(String region) { + this.region = region; + return this; + } + + /** + * Get the city property: The city property. + * + * @return the city value. + */ + @Generated + public String getCity() { + return this.city; + } + + /** + * Set the city property: The city property. + * + * @param city the city value to set. + * @return the WebSearchApproximateLocation object itself. + */ + @Generated + public WebSearchApproximateLocation setCity(String city) { + this.city = city; + return this; + } + + /** + * Get the timezone property: The timezone property. + * + * @return the timezone value. + */ + @Generated + public String getTimezone() { + return this.timezone; + } + + /** + * Set the timezone property: The timezone property. + * + * @param timezone the timezone value to set. + * @return the WebSearchApproximateLocation object itself. + */ + @Generated + public WebSearchApproximateLocation setTimezone(String timezone) { + this.timezone = timezone; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeStringField("country", this.country); + jsonWriter.writeStringField("region", this.region); + jsonWriter.writeStringField("city", this.city); + jsonWriter.writeStringField("timezone", this.timezone); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of WebSearchApproximateLocation from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of WebSearchApproximateLocation if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the WebSearchApproximateLocation. + */ + @Generated + public static WebSearchApproximateLocation fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + WebSearchApproximateLocation deserializedWebSearchApproximateLocation = new WebSearchApproximateLocation(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("country".equals(fieldName)) { + deserializedWebSearchApproximateLocation.country = reader.getString(); + } else if ("region".equals(fieldName)) { + deserializedWebSearchApproximateLocation.region = reader.getString(); + } else if ("city".equals(fieldName)) { + deserializedWebSearchApproximateLocation.city = reader.getString(); + } else if ("timezone".equals(fieldName)) { + deserializedWebSearchApproximateLocation.timezone = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedWebSearchApproximateLocation; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java new file mode 100644 index 000000000000..531f4be543e5 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java @@ -0,0 +1,150 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Web search preview + * + * This tool searches the web for relevant results to use in a response. Learn more about the [web search + * tool](https://platform.openai.com/docs/guides/tools-web-search). + */ +@Fluent +public final class WebSearchPreviewTool extends Tool { + /* + * The type property. + */ + @Generated + private ToolType type = ToolType.WEB_SEARCH_PREVIEW; + + /* + * The user_location property. + */ + @Generated + private ApproximateLocation userLocation; + + /* + * High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or + * `high`. `medium` is the default. + */ + @Generated + private SearchContextSize searchContextSize; + + /** + * Creates an instance of WebSearchPreviewTool class. + */ + @Generated + public WebSearchPreviewTool() { + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public ToolType getType() { + return this.type; + } + + /** + * Get the userLocation property: The user_location property. + * + * @return the userLocation value. + */ + @Generated + public ApproximateLocation getUserLocation() { + return this.userLocation; + } + + /** + * Set the userLocation property: The user_location property. + * + * @param userLocation the userLocation value to set. + * @return the WebSearchPreviewTool object itself. + */ + @Generated + public WebSearchPreviewTool setUserLocation(ApproximateLocation userLocation) { + this.userLocation = userLocation; + return this; + } + + /** + * Get the searchContextSize property: High level guidance for the amount of context window space to use for the + * search. One of `low`, `medium`, or `high`. `medium` is the default. + * + * @return the searchContextSize value. + */ + @Generated + public SearchContextSize getSearchContextSize() { + return this.searchContextSize; + } + + /** + * Set the searchContextSize property: High level guidance for the amount of context window space to use for the + * search. One of `low`, `medium`, or `high`. `medium` is the default. + * + * @param searchContextSize the searchContextSize value to set. + * @return the WebSearchPreviewTool object itself. + */ + @Generated + public WebSearchPreviewTool setSearchContextSize(SearchContextSize searchContextSize) { + this.searchContextSize = searchContextSize; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeJsonField("user_location", this.userLocation); + jsonWriter.writeStringField("search_context_size", + this.searchContextSize == null ? null : this.searchContextSize.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of WebSearchPreviewTool from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of WebSearchPreviewTool if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the WebSearchPreviewTool. + */ + @Generated + public static WebSearchPreviewTool fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + WebSearchPreviewTool deserializedWebSearchPreviewTool = new WebSearchPreviewTool(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedWebSearchPreviewTool.type = ToolType.fromString(reader.getString()); + } else if ("user_location".equals(fieldName)) { + deserializedWebSearchPreviewTool.userLocation = ApproximateLocation.fromJson(reader); + } else if ("search_context_size".equals(fieldName)) { + deserializedWebSearchPreviewTool.searchContextSize + = SearchContextSize.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedWebSearchPreviewTool; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchTool.java new file mode 100644 index 000000000000..5fb29ec4e0f6 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchTool.java @@ -0,0 +1,181 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Web search + * + * Search the Internet for sources related to the prompt. Learn more about the + * [web search tool](/docs/guides/tools-web-search). + */ +@Fluent +public final class WebSearchTool extends Tool { + /* + * The type property. + */ + @Generated + private ToolType type = ToolType.WEB_SEARCH; + + /* + * The filters property. + */ + @Generated + private WebSearchToolFilters filters; + + /* + * The user_location property. + */ + @Generated + private WebSearchApproximateLocation userLocation; + + /* + * High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or + * `high`. `medium` is the default. + */ + @Generated + private WebSearchToolSearchContextSize searchContextSize; + + /** + * Creates an instance of WebSearchTool class. + */ + @Generated + public WebSearchTool() { + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + @Override + public ToolType getType() { + return this.type; + } + + /** + * Get the filters property: The filters property. + * + * @return the filters value. + */ + @Generated + public WebSearchToolFilters getFilters() { + return this.filters; + } + + /** + * Set the filters property: The filters property. + * + * @param filters the filters value to set. + * @return the WebSearchTool object itself. + */ + @Generated + public WebSearchTool setFilters(WebSearchToolFilters filters) { + this.filters = filters; + return this; + } + + /** + * Get the userLocation property: The user_location property. + * + * @return the userLocation value. + */ + @Generated + public WebSearchApproximateLocation getUserLocation() { + return this.userLocation; + } + + /** + * Set the userLocation property: The user_location property. + * + * @param userLocation the userLocation value to set. + * @return the WebSearchTool object itself. + */ + @Generated + public WebSearchTool setUserLocation(WebSearchApproximateLocation userLocation) { + this.userLocation = userLocation; + return this; + } + + /** + * Get the searchContextSize property: High level guidance for the amount of context window space to use for the + * search. One of `low`, `medium`, or `high`. `medium` is the default. + * + * @return the searchContextSize value. + */ + @Generated + public WebSearchToolSearchContextSize getSearchContextSize() { + return this.searchContextSize; + } + + /** + * Set the searchContextSize property: High level guidance for the amount of context window space to use for the + * search. One of `low`, `medium`, or `high`. `medium` is the default. + * + * @param searchContextSize the searchContextSize value to set. + * @return the WebSearchTool object itself. + */ + @Generated + public WebSearchTool setSearchContextSize(WebSearchToolSearchContextSize searchContextSize) { + this.searchContextSize = searchContextSize; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeJsonField("filters", this.filters); + jsonWriter.writeJsonField("user_location", this.userLocation); + jsonWriter.writeStringField("search_context_size", + this.searchContextSize == null ? null : this.searchContextSize.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of WebSearchTool from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of WebSearchTool if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the WebSearchTool. + */ + @Generated + public static WebSearchTool fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + WebSearchTool deserializedWebSearchTool = new WebSearchTool(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedWebSearchTool.type = ToolType.fromString(reader.getString()); + } else if ("filters".equals(fieldName)) { + deserializedWebSearchTool.filters = WebSearchToolFilters.fromJson(reader); + } else if ("user_location".equals(fieldName)) { + deserializedWebSearchTool.userLocation = WebSearchApproximateLocation.fromJson(reader); + } else if ("search_context_size".equals(fieldName)) { + deserializedWebSearchTool.searchContextSize + = WebSearchToolSearchContextSize.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedWebSearchTool; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java new file mode 100644 index 000000000000..afc39cd01d3a --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java @@ -0,0 +1,95 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * The WebSearchToolFilters model. + */ +@Fluent +public final class WebSearchToolFilters implements JsonSerializable { + /* + * The allowed_domains property. + */ + @Generated + private List allowedDomains; + + /** + * Creates an instance of WebSearchToolFilters class. + */ + @Generated + public WebSearchToolFilters() { + } + + /** + * Get the allowedDomains property: The allowed_domains property. + * + * @return the allowedDomains value. + */ + @Generated + public List getAllowedDomains() { + return this.allowedDomains; + } + + /** + * Set the allowedDomains property: The allowed_domains property. + * + * @param allowedDomains the allowedDomains value to set. + * @return the WebSearchToolFilters object itself. + */ + @Generated + public WebSearchToolFilters setAllowedDomains(List allowedDomains) { + this.allowedDomains = allowedDomains; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeArrayField("allowed_domains", this.allowedDomains, + (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of WebSearchToolFilters from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of WebSearchToolFilters if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the WebSearchToolFilters. + */ + @Generated + public static WebSearchToolFilters fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + WebSearchToolFilters deserializedWebSearchToolFilters = new WebSearchToolFilters(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("allowed_domains".equals(fieldName)) { + List allowedDomains = reader.readArray(reader1 -> reader1.getString()); + deserializedWebSearchToolFilters.allowedDomains = allowedDomains; + } else { + reader.skipChildren(); + } + } + + return deserializedWebSearchToolFilters; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolSearchContextSize.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolSearchContextSize.java new file mode 100644 index 000000000000..13bdb554e221 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolSearchContextSize.java @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +/** + * Defines values for WebSearchToolSearchContextSize. + */ +public enum WebSearchToolSearchContextSize { + /** + * Enum value low. + */ + LOW("low"), + + /** + * Enum value medium. + */ + MEDIUM("medium"), + + /** + * Enum value high. + */ + HIGH("high"); + + /** + * The actual serialized value for a WebSearchToolSearchContextSize instance. + */ + private final String value; + + WebSearchToolSearchContextSize(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a WebSearchToolSearchContextSize instance. + * + * @param value the serialized value to parse. + * @return the parsed WebSearchToolSearchContextSize object, or null if unable to parse. + */ + public static WebSearchToolSearchContextSize fromString(String value) { + if (value == null) { + return null; + } + WebSearchToolSearchContextSize[] items = WebSearchToolSearchContextSize.values(); + for (WebSearchToolSearchContextSize item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json index e7f12228b8da..e9edb08634f3 100644 --- a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json +++ b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateSkillRequest":"Azure.AI.Projects.createSkill.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SkillDetails":"Azure.AI.Projects.SkillObject","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SkillDetails.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient":"Azure.AI.Projects.EvaluatorGenerationJobs","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorGenerationJobsClient":"Azure.AI.Projects.EvaluatorGenerationJobs","com.azure.ai.projects.EvaluatorGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillRequest":"Azure.AI.Projects.createSkill.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ApplyPatchToolParam":"OpenAI.ApplyPatchToolParam","com.azure.ai.projects.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AutoCodeInterpreterToolParam":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.projects.models.ComparisonFilter":"OpenAI.ComparisonFilter","com.azure.ai.projects.models.CompoundFilter":"OpenAI.CompoundFilter","com.azure.ai.projects.models.ComputerEnvironment":"OpenAI.ComputerEnvironment","com.azure.ai.projects.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContainerAutoParam":"OpenAI.ContainerAutoParam","com.azure.ai.projects.models.ContainerMemoryLimit":"OpenAI.ContainerMemoryLimit","com.azure.ai.projects.models.ContainerNetworkPolicyAllowlistParam":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.projects.models.ContainerNetworkPolicyDisabledParam":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.projects.models.ContainerNetworkPolicyDomainSecretParam":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.projects.models.ContainerNetworkPolicyParam":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.projects.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.projects.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.projects.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.CustomGrammarFormatParam":"OpenAI.CustomGrammarFormatParam","com.azure.ai.projects.models.CustomTextFormatParam":"OpenAI.CustomTextFormatParam","com.azure.ai.projects.models.CustomToolParam":"OpenAI.CustomToolParam","com.azure.ai.projects.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.projects.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetDataGenerationJobSource":"Azure.AI.Projects.DatasetDataGenerationJobSource","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.projects.models.FileSearchToolFiltersType":"OpenAI.FileSearchTool.filters.type.anonymous","com.azure.ai.projects.models.FileSearchToolFiltersType1":"OpenAI.FileSearchTool.filters.type.anonymous","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.FunctionShellToolParam":"OpenAI.FunctionShellToolParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentContainerReferenceParam":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentLocalEnvironmentParam":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.projects.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.projects.models.GitHubIssueOpenedRoutineTrigger":"Azure.AI.Projects.GitHubIssueOpenedRoutineTrigger","com.azure.ai.projects.models.GrammarSyntax1":"OpenAI.GrammarSyntax1","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.projects.models.ImageGenActionEnum":"OpenAI.ImageGenActionEnum","com.azure.ai.projects.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.projects.models.ImageGenToolBackground":"OpenAI.ImageGenTool.background.anonymous","com.azure.ai.projects.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.projects.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.projects.models.ImageGenToolModeration":"OpenAI.ImageGenTool.moderation.anonymous","com.azure.ai.projects.models.ImageGenToolOutputFormat":"OpenAI.ImageGenTool.output_format.anonymous","com.azure.ai.projects.models.ImageGenToolQuality":"OpenAI.ImageGenTool.quality.anonymous","com.azure.ai.projects.models.ImageGenToolSize":"OpenAI.ImageGenTool.size.anonymous","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.InlineSkillParam":"OpenAI.InlineSkillParam","com.azure.ai.projects.models.InlineSkillSourceParam":"OpenAI.InlineSkillSourceParam","com.azure.ai.projects.models.InputFidelity":"OpenAI.InputFidelity","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LocalShellToolParam":"OpenAI.LocalShellToolParam","com.azure.ai.projects.models.LocalSkillParam":"OpenAI.LocalSkillParam","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.MCPTool":"OpenAI.MCPTool","com.azure.ai.projects.models.MCPToolConnectorId":"OpenAI.MCPTool.connector_id.anonymous","com.azure.ai.projects.models.MCPToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.projects.models.MCPToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RankerVersionType":"OpenAI.RankerVersionType","com.azure.ai.projects.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunDiagnostics":"Azure.AI.Projects.RoutineRunDiagnostics","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SearchContextSize":"OpenAI.SearchContextSize","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.SkillDetails":"Azure.AI.Projects.SkillObject","com.azure.ai.projects.models.SkillReferenceParam":"OpenAI.SkillReferenceParam","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.Tool":"OpenAI.Tool","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolType":"OpenAI.ToolType","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.projects.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.projects.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.projects.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.projects.models.WebSearchToolSearchContextSize":"OpenAI.WebSearchTool.search_context_size.anonymous","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java","src/main/java/com/azure/ai/projects/models/ApproximateLocation.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/projects/models/ComparisonFilter.java","src/main/java/com/azure/ai/projects/models/CompoundFilter.java","src/main/java/com/azure/ai/projects/models/ComputerEnvironment.java","src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java","src/main/java/com/azure/ai/projects/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/projects/models/ContainerSkill.java","src/main/java/com/azure/ai/projects/models/ContainerSkillType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java","src/main/java/com/azure/ai/projects/models/CustomTextFormatParam.java","src/main/java/com/azure/ai/projects/models/CustomToolParam.java","src/main/java/com/azure/ai/projects/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FileSearchTool.java","src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType.java","src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType1.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/projects/models/FunctionTool.java","src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GrammarSyntax1.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java","src/main/java/com/azure/ai/projects/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/projects/models/ImageGenTool.java","src/main/java/com/azure/ai/projects/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/projects/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java","src/main/java/com/azure/ai/projects/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/projects/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/projects/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/projects/models/ImageGenToolSize.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/InlineSkillParam.java","src/main/java/com/azure/ai/projects/models/InlineSkillSourceParam.java","src/main/java/com/azure/ai/projects/models/InputFidelity.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java","src/main/java/com/azure/ai/projects/models/LocalSkillParam.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/MCPTool.java","src/main/java/com/azure/ai/projects/models/MCPToolConnectorId.java","src/main/java/com/azure/ai/projects/models/MCPToolFilter.java","src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RankerVersionType.java","src/main/java/com/azure/ai/projects/models/RankingOptions.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SearchContextSize.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/SkillDetails.java","src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/Tool.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolType.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/projects/models/WebSearchTool.java","src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/projects/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml b/sdk/ai/azure-ai-projects/tsp-location.yaml index f63e890fe46f..23ff98bba91e 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: c76e2e52e7c38e6efbdf2c25cc71e02dff59de36 +commit: 76ab5dc55ed6845c0920c75d5cb6e494208b7d23 repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From fbd71c533e6560f9a58c19e0654b7a7c1c96da0a Mon Sep 17 00:00:00 2001 From: kaylieee Date: Fri, 15 May 2026 16:34:09 -0700 Subject: [PATCH 13/74] fix spacing --- .../models/CreateMemoryRequest.java | 13 ++-- .../models/UpdateMemoryRequest.java | 9 ++- .../agents/models/DeleteMemoryResponse.java | 15 ++--- .../models/ExternalAgentDefinition.java | 12 ++-- .../agents/models/ProceduralMemoryItem.java | 10 ++- .../DataGenerationJobsAsyncClient.java | 64 +++++++++---------- .../ai/projects/DataGenerationJobsClient.java | 64 +++++++++---------- .../EvaluatorGenerationJobsAsyncClient.java | 58 ++++++++--------- .../EvaluatorGenerationJobsClient.java | 58 ++++++++--------- .../ai/projects/RoutinesAsyncClient.java | 52 +++++++-------- .../com/azure/ai/projects/RoutinesClient.java | 52 +++++++-------- .../models/CreateOrUpdateRoutineRequest.java | 20 +++--- .../models/DispatchRoutineAsyncRequest.java | 10 ++- .../models/AgentDataGenerationJobSource.java | 20 +++--- .../AgentEvaluatorGenerationJobSource.java | 20 +++--- .../azure/ai/projects/models/ApiError.java | 22 +++---- .../projects/models/ApplyPatchToolParam.java | 10 ++- .../projects/models/ApproximateLocation.java | 24 ++++--- .../models/AutoCodeInterpreterToolParam.java | 22 +++---- .../projects/models/CodeInterpreterTool.java | 14 ++-- .../ai/projects/models/ComparisonFilter.java | 15 ++--- .../ai/projects/models/CompoundFilter.java | 13 ++-- .../models/ComputerUsePreviewTool.java | 18 +++--- .../projects/models/ContainerAutoParam.java | 24 ++++--- .../ContainerNetworkPolicyAllowlistParam.java | 16 ++--- .../ContainerNetworkPolicyDisabledParam.java | 8 +-- ...ntainerNetworkPolicyDomainSecretParam.java | 13 ++-- .../models/ContainerNetworkPolicyParam.java | 11 ++-- .../ContainerNetworkPolicyParamType.java | 8 +-- .../ai/projects/models/ContainerSkill.java | 11 ++-- .../projects/models/ContainerSkillType.java | 8 +-- .../models/CustomGrammarFormatParam.java | 16 ++--- .../models/CustomTextFormatParam.java | 10 ++- .../ai/projects/models/CustomToolParam.java | 22 +++---- .../models/CustomToolParamFormat.java | 11 ++-- .../models/CustomToolParamFormatType.java | 8 +-- .../ai/projects/models/DataGenerationJob.java | 22 +++---- .../models/DataGenerationJobInputs.java | 20 +++--- .../models/DataGenerationJobOptions.java | 23 ++++--- .../models/DataGenerationJobOutput.java | 11 ++-- .../DataGenerationJobOutputOptions.java | 18 +++--- .../models/DataGenerationJobOutputType.java | 8 +-- .../models/DataGenerationJobResult.java | 14 ++-- .../models/DataGenerationJobScenario.java | 8 +-- .../models/DataGenerationJobSource.java | 15 ++--- .../models/DataGenerationJobSourceType.java | 8 +-- .../models/DataGenerationJobType.java | 8 +-- .../models/DataGenerationModelOptions.java | 9 ++- .../models/DataGenerationTokenUsage.java | 12 ++-- .../DatasetDataGenerationJobOutput.java | 18 +++--- .../DatasetDataGenerationJobSource.java | 20 +++--- .../DatasetEvaluatorGenerationJobSource.java | 20 +++--- .../ai/projects/models/DatasetReference.java | 11 ++-- .../azure/ai/projects/models/Dimension.java | 18 +++--- .../models/DispatchRoutineResponse.java | 12 ++-- .../models/EvaluatorCredentialRequest.java | 9 ++- .../models/EvaluatorGenerationArtifacts.java | 11 ++-- .../models/EvaluatorGenerationInputs.java | 22 +++---- .../models/EvaluatorGenerationJob.java | 24 ++++--- .../models/EvaluatorGenerationJobSource.java | 11 ++-- .../EvaluatorGenerationJobSourceType.java | 8 +-- .../models/EvaluatorGenerationTokenUsage.java | 13 ++-- .../models/FileDataGenerationJobOutput.java | 12 ++-- .../models/FileDataGenerationJobSource.java | 12 ++-- .../ai/projects/models/FileSearchTool.java | 26 ++++---- .../models/FunctionShellToolParam.java | 14 ++-- .../FunctionShellToolParamEnvironment.java | 11 ++-- ...ramEnvironmentContainerReferenceParam.java | 12 ++-- ...ParamEnvironmentLocalEnvironmentParam.java | 12 ++-- ...FunctionShellToolParamEnvironmentType.java | 8 +-- .../ai/projects/models/FunctionTool.java | 22 +++---- .../GitHubIssueOpenedRoutineTrigger.java | 16 ++--- .../projects/models/HybridSearchOptions.java | 11 ++-- .../ai/projects/models/ImageGenTool.java | 54 ++++++++-------- .../models/ImageGenToolInputImageMask.java | 14 ++-- .../ai/projects/models/ImageGenToolModel.java | 8 +-- .../ai/projects/models/InlineSkillParam.java | 16 ++--- .../models/InlineSkillSourceParam.java | 13 ++-- ...okeAgentInvocationsApiDispatchPayload.java | 12 ++-- ...nvokeAgentInvocationsApiRoutineAction.java | 16 ++--- ...nvokeAgentResponsesApiDispatchPayload.java | 12 ++-- .../InvokeAgentResponsesApiRoutineAction.java | 20 +++--- .../azure/ai/projects/models/JobStatus.java | 8 +-- .../projects/models/LocalShellToolParam.java | 10 ++- .../ai/projects/models/LocalSkillParam.java | 13 ++-- .../com/azure/ai/projects/models/MCPTool.java | 42 ++++++------ .../ai/projects/models/MCPToolFilter.java | 20 +++--- .../models/MCPToolRequireApproval.java | 14 ++-- .../models/PromptDataGenerationJobSource.java | 16 ++--- .../PromptEvaluatorGenerationJobSource.java | 16 ++--- .../ai/projects/models/RankingOptions.java | 18 +++--- .../com/azure/ai/projects/models/Routine.java | 22 +++---- .../ai/projects/models/RoutineAction.java | 11 ++-- .../ai/projects/models/RoutineActionType.java | 8 +-- .../projects/models/RoutineAttemptSource.java | 8 +-- .../models/RoutineDispatchPayload.java | 11 ++-- .../models/RoutineDispatchPayloadType.java | 8 +-- .../azure/ai/projects/models/RoutineRun.java | 40 ++++++------ .../models/RoutineRunDiagnostics.java | 13 ++-- .../ai/projects/models/RoutineRunPhase.java | 8 +-- .../ai/projects/models/RoutineTrigger.java | 11 ++-- .../projects/models/RoutineTriggerType.java | 8 +-- .../RubricBasedEvaluatorDefinition.java | 16 ++--- .../models/ScheduleRoutineTrigger.java | 14 ++-- .../SimpleQnADataGenerationJobOptions.java | 14 ++-- .../SimpleQnAFineTuningQuestionType.java | 8 +-- .../projects/models/SkillReferenceParam.java | 16 ++--- .../projects/models/TimerRoutineTrigger.java | 16 ++--- .../com/azure/ai/projects/models/Tool.java | 11 ++-- .../azure/ai/projects/models/ToolType.java | 8 +-- ...UseFineTuningDataGenerationJobOptions.java | 10 ++- .../TracesDataGenerationJobOptions.java | 10 ++- .../models/TracesDataGenerationJobSource.java | 32 +++++----- .../TracesEvaluatorGenerationJobSource.java | 32 +++++----- .../models/WebSearchApproximateLocation.java | 26 ++++---- .../projects/models/WebSearchPreviewTool.java | 18 +++--- .../ai/projects/models/WebSearchTool.java | 22 +++---- .../projects/models/WebSearchToolFilters.java | 10 ++- 118 files changed, 941 insertions(+), 1102 deletions(-) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java index 87f3efdd71db..2867b02b5a7e 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.agents.implementation.models; import com.azure.ai.agents.models.MemoryItemKind; @@ -18,6 +17,7 @@ */ @Immutable public final class CreateMemoryRequest implements JsonSerializable { + /* * The namespace that logically groups and isolates memories, such as a user ID. */ @@ -38,7 +38,7 @@ public final class CreateMemoryRequest implements JsonSerializable { + /* * The updated content of the memory. */ @@ -25,7 +25,7 @@ public final class UpdateMemoryRequest implements JsonSerializable { + /* * The object type. Always 'memory.deleted'. */ @@ -43,7 +43,7 @@ public final class DeleteMemoryResponse implements JsonSerializableHeader Parameters

* @@ -130,7 +130,7 @@ public final class DataGenerationJobsAsyncClient { * } * } * - * + * * @param jobId The ID of the job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -138,7 +138,7 @@ public final class DataGenerationJobsAsyncClient { * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @return info about a data generation job. - * + * * Gets the details of a data generation job by its ID along with {@link Response} on successful completion of * {@link Mono}. */ @@ -150,7 +150,7 @@ public Mono> getGenerationJobWithResponse(String jobId, Req /** * Returns a list of data generation jobs - * + * * Returns a list of data generation jobs. *

Query Parameters

*
@@ -252,7 +252,7 @@ public Mono> getGenerationJobWithResponse(String jobId, Req * } * } * - * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -412,7 +412,7 @@ public PagedFlux listGenerationJobs(RequestOptions requestOptions) { * } * } * - * + * * @param job The job to create. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -429,7 +429,7 @@ public Mono> createGenerationJobWithResponse(BinaryData job /** * Cancels a data generation job. - * + * * Cancels a data generation job by its ID. *

Header Parameters

*
@@ -507,7 +507,7 @@ public Mono> createGenerationJobWithResponse(BinaryData job * } * } * - * + * * @param jobId The ID of the job to cancel. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -524,7 +524,7 @@ public Mono> cancelGenerationJobWithResponse(String jobId, /** * Deletes a data generation job. - * + * * Deletes a data generation job by its ID. *

Header Parameters

*
@@ -537,7 +537,7 @@ public Mono> cancelGenerationJobWithResponse(String jobId, * "Models=V1Preview", "AgentsOptimization=V1Preview". *
* You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobId The ID of the job to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -554,9 +554,9 @@ public Mono> deleteGenerationJobWithResponse(String jobId, Reques /** * Get info about a data generation job. - * + * * Gets the details of a data generation job by its ID. - * + * * @param jobId The ID of the job. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -567,7 +567,7 @@ public Mono> deleteGenerationJobWithResponse(String jobId, Reques * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return info about a data generation job. - * + * * Gets the details of a data generation job by its ID on successful completion of {@link Mono}. */ @Generated @@ -584,9 +584,9 @@ public Mono getGenerationJob(String jobId, FoundryFeaturesOpt /** * Get info about a data generation job. - * + * * Gets the details of a data generation job by its ID. - * + * * @param jobId The ID of the job. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -595,7 +595,7 @@ public Mono getGenerationJob(String jobId, FoundryFeaturesOpt * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return info about a data generation job. - * + * * Gets the details of a data generation job by its ID on successful completion of {@link Mono}. */ @Generated @@ -609,9 +609,9 @@ public Mono getGenerationJob(String jobId) { /** * Returns a list of data generation jobs - * + * * Returns a list of data generation jobs. - * + * * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the @@ -683,9 +683,9 @@ public PagedFlux listGenerationJobs(FoundryFeaturesOptInKeys /** * Returns a list of data generation jobs - * + * * Returns a list of data generation jobs. - * + * * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. @@ -715,7 +715,7 @@ public PagedFlux listGenerationJobs() { /** * Creates a data generation job. - * + * * @param job The job to create. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -747,7 +747,7 @@ public Mono createGenerationJob(DataGenerationJob job, Foundr /** * Creates a data generation job. - * + * * @param job The job to create. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -768,9 +768,9 @@ public Mono createGenerationJob(DataGenerationJob job) { /** * Cancels a data generation job. - * + * * Cancels a data generation job by its ID. - * + * * @param jobId The ID of the job to cancel. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -796,9 +796,9 @@ public Mono cancelGenerationJob(String jobId, FoundryFeatures /** * Cancels a data generation job. - * + * * Cancels a data generation job by its ID. - * + * * @param jobId The ID of the job to cancel. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -819,9 +819,9 @@ public Mono cancelGenerationJob(String jobId) { /** * Deletes a data generation job. - * + * * Deletes a data generation job by its ID. - * + * * @param jobId The ID of the job to delete. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -846,9 +846,9 @@ public Mono deleteGenerationJob(String jobId, FoundryFeaturesOptInKeys fou /** * Deletes a data generation job. - * + * * Deletes a data generation job by its ID. - * + * * @param jobId The ID of the job to delete. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java index 0c924386dcba..7840fac2689c 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects; import com.azure.ai.agents.models.PageOrder; @@ -32,12 +31,13 @@ */ @ServiceClient(builder = AIProjectClientBuilder.class) public final class DataGenerationJobsClient { + @Generated private final DataGenerationJobsImpl serviceClient; /** * Initializes an instance of DataGenerationJobsClient class. - * + * * @param serviceClient the service client implementation. */ @Generated @@ -47,7 +47,7 @@ public final class DataGenerationJobsClient { /** * Get info about a data generation job. - * + * * Gets the details of a data generation job by its ID. *

Header Parameters

* @@ -125,7 +125,7 @@ public final class DataGenerationJobsClient { * } * } * - * + * * @param jobId The ID of the job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -133,7 +133,7 @@ public final class DataGenerationJobsClient { * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @return info about a data generation job. - * + * * Gets the details of a data generation job by its ID along with {@link Response}. */ @Generated @@ -144,7 +144,7 @@ public Response getGenerationJobWithResponse(String jobId, RequestOp /** * Returns a list of data generation jobs - * + * * Returns a list of data generation jobs. *

Query Parameters

*
@@ -246,7 +246,7 @@ public Response getGenerationJobWithResponse(String jobId, RequestOp * } * } * - * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -406,7 +406,7 @@ public PagedIterable listGenerationJobs(RequestOptions requestOption * } * } * - * + * * @param job The job to create. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -423,7 +423,7 @@ public Response createGenerationJobWithResponse(BinaryData job, Requ /** * Cancels a data generation job. - * + * * Cancels a data generation job by its ID. *

Header Parameters

*
@@ -501,7 +501,7 @@ public Response createGenerationJobWithResponse(BinaryData job, Requ * } * } * - * + * * @param jobId The ID of the job to cancel. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -518,7 +518,7 @@ public Response cancelGenerationJobWithResponse(String jobId, Reques /** * Deletes a data generation job. - * + * * Deletes a data generation job by its ID. *

Header Parameters

*
@@ -531,7 +531,7 @@ public Response cancelGenerationJobWithResponse(String jobId, Reques * "Models=V1Preview", "AgentsOptimization=V1Preview". *
* You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobId The ID of the job to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -548,9 +548,9 @@ public Response deleteGenerationJobWithResponse(String jobId, RequestOptio /** * Get info about a data generation job. - * + * * Gets the details of a data generation job by its ID. - * + * * @param jobId The ID of the job. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -561,7 +561,7 @@ public Response deleteGenerationJobWithResponse(String jobId, RequestOptio * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return info about a data generation job. - * + * * Gets the details of a data generation job by its ID. */ @Generated @@ -577,9 +577,9 @@ public DataGenerationJob getGenerationJob(String jobId, FoundryFeaturesOptInKeys /** * Get info about a data generation job. - * + * * Gets the details of a data generation job by its ID. - * + * * @param jobId The ID of the job. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -588,7 +588,7 @@ public DataGenerationJob getGenerationJob(String jobId, FoundryFeaturesOptInKeys * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return info about a data generation job. - * + * * Gets the details of a data generation job by its ID. */ @Generated @@ -601,9 +601,9 @@ public DataGenerationJob getGenerationJob(String jobId) { /** * Returns a list of data generation jobs - * + * * Returns a list of data generation jobs. - * + * * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the @@ -664,9 +664,9 @@ public PagedIterable listGenerationJobs(FoundryFeaturesOptInK /** * Returns a list of data generation jobs - * + * * Returns a list of data generation jobs. - * + * * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. @@ -685,7 +685,7 @@ public PagedIterable listGenerationJobs() { /** * Creates a data generation job. - * + * * @param job The job to create. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -717,7 +717,7 @@ public DataGenerationJob createGenerationJob(DataGenerationJob job, FoundryFeatu /** * Creates a data generation job. - * + * * @param job The job to create. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -738,9 +738,9 @@ public DataGenerationJob createGenerationJob(DataGenerationJob job) { /** * Cancels a data generation job. - * + * * Cancels a data generation job by its ID. - * + * * @param jobId The ID of the job to cancel. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -765,9 +765,9 @@ public DataGenerationJob cancelGenerationJob(String jobId, FoundryFeaturesOptInK /** * Cancels a data generation job. - * + * * Cancels a data generation job by its ID. - * + * * @param jobId The ID of the job to cancel. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -787,9 +787,9 @@ public DataGenerationJob cancelGenerationJob(String jobId) { /** * Deletes a data generation job. - * + * * Deletes a data generation job by its ID. - * + * * @param jobId The ID of the job to delete. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -813,9 +813,9 @@ public void deleteGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFe /** * Deletes a data generation job. - * + * * Deletes a data generation job by its ID. - * + * * @param jobId The ID of the job to delete. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java index 1be0950f3c69..b6c13a7852e8 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects; import com.azure.ai.agents.models.PageOrder; @@ -34,12 +33,13 @@ */ @ServiceClient(builder = AIProjectClientBuilder.class, isAsync = true) public final class EvaluatorGenerationJobsAsyncClient { + @Generated private final EvaluatorGenerationJobsImpl serviceClient; /** * Initializes an instance of EvaluatorGenerationJobsAsyncClient class. - * + * * @param serviceClient the service client implementation. */ @Generated @@ -49,7 +49,7 @@ public final class EvaluatorGenerationJobsAsyncClient { /** * Creates an evaluator generation job. - * + * * Creates an evaluator generation job. The service generates rubric-based evaluator * definitions from the provided source materials asynchronously. *

Header Parameters

@@ -248,7 +248,7 @@ public final class EvaluatorGenerationJobsAsyncClient { * } * } *
- * + * * @param job The job to create. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -266,7 +266,7 @@ public Mono> createGenerationJobWithResponse(BinaryData job /** * Get info about an evaluator generation job. - * + * * Gets the details of an evaluator generation job by its ID. *

Header Parameters

* @@ -370,7 +370,7 @@ public Mono> createGenerationJobWithResponse(BinaryData job * } * } * - * + * * @param jobId The ID of the job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -378,7 +378,7 @@ public Mono> createGenerationJobWithResponse(BinaryData job * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @return info about an evaluator generation job. - * + * * Gets the details of an evaluator generation job by its ID along with {@link Response} on successful completion of * {@link Mono}. */ @@ -514,7 +514,7 @@ public Mono> getGenerationJobWithResponse(String jobId, Req * } * } * - * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -530,7 +530,7 @@ public PagedFlux listGenerationJobs(RequestOptions requestOptions) { /** * Cancels an evaluator generation job. - * + * * Cancels an evaluator generation job by its ID. *

Header Parameters

*
@@ -634,7 +634,7 @@ public PagedFlux listGenerationJobs(RequestOptions requestOptions) { * } * } * - * + * * @param jobId The ID of the job to cancel. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -664,7 +664,7 @@ public Mono> cancelGenerationJobWithResponse(String jobId, * "Models=V1Preview", "AgentsOptimization=V1Preview". *
* You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobId The ID of the job to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -681,10 +681,10 @@ public Mono> deleteGenerationJobWithResponse(String jobId, Reques /** * Creates an evaluator generation job. - * + * * Creates an evaluator generation job. The service generates rubric-based evaluator * definitions from the provided source materials asynchronously. - * + * * @param job The job to create. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -717,10 +717,10 @@ public Mono createGenerationJob(EvaluatorGenerationJob j /** * Creates an evaluator generation job. - * + * * Creates an evaluator generation job. The service generates rubric-based evaluator * definitions from the provided source materials asynchronously. - * + * * @param job The job to create. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -742,9 +742,9 @@ public Mono createGenerationJob(EvaluatorGenerationJob j /** * Get info about an evaluator generation job. - * + * * Gets the details of an evaluator generation job by its ID. - * + * * @param jobId The ID of the job. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -755,7 +755,7 @@ public Mono createGenerationJob(EvaluatorGenerationJob j * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return info about an evaluator generation job. - * + * * Gets the details of an evaluator generation job by its ID on successful completion of {@link Mono}. */ @Generated @@ -772,9 +772,9 @@ public Mono getGenerationJob(String jobId, FoundryFeatur /** * Get info about an evaluator generation job. - * + * * Gets the details of an evaluator generation job by its ID. - * + * * @param jobId The ID of the job. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -783,7 +783,7 @@ public Mono getGenerationJob(String jobId, FoundryFeatur * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return info about an evaluator generation job. - * + * * Gets the details of an evaluator generation job by its ID on successful completion of {@link Mono}. */ @Generated @@ -797,7 +797,7 @@ public Mono getGenerationJob(String jobId) { /** * Returns a list of evaluator generation jobs. - * + * * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the @@ -861,7 +861,7 @@ public PagedFlux listGenerationJobs(FoundryFeaturesOptIn /** * Returns a list of evaluator generation jobs. - * + * * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. @@ -892,9 +892,9 @@ public PagedFlux listGenerationJobs() { /** * Cancels an evaluator generation job. - * + * * Cancels an evaluator generation job by its ID. - * + * * @param jobId The ID of the job to cancel. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -921,9 +921,9 @@ public Mono cancelGenerationJob(String jobId, FoundryFea /** * Cancels an evaluator generation job. - * + * * Cancels an evaluator generation job by its ID. - * + * * @param jobId The ID of the job to cancel. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -946,7 +946,7 @@ public Mono cancelGenerationJob(String jobId) { /** * Deletes an evaluator generation job by its ID. Deletes the job record only; * the generated evaluator (if any) is preserved. - * + * * @param jobId The ID of the job to delete. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -972,7 +972,7 @@ public Mono deleteGenerationJob(String jobId, FoundryFeaturesOptInKeys fou /** * Deletes an evaluator generation job by its ID. Deletes the job record only; * the generated evaluator (if any) is preserved. - * + * * @param jobId The ID of the job to delete. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java index d44eeee44b22..984681ad3e92 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects; import com.azure.ai.agents.models.PageOrder; @@ -28,12 +27,13 @@ */ @ServiceClient(builder = AIProjectClientBuilder.class) public final class EvaluatorGenerationJobsClient { + @Generated private final EvaluatorGenerationJobsImpl serviceClient; /** * Initializes an instance of EvaluatorGenerationJobsClient class. - * + * * @param serviceClient the service client implementation. */ @Generated @@ -43,7 +43,7 @@ public final class EvaluatorGenerationJobsClient { /** * Creates an evaluator generation job. - * + * * Creates an evaluator generation job. The service generates rubric-based evaluator * definitions from the provided source materials asynchronously. *

Header Parameters

@@ -242,7 +242,7 @@ public final class EvaluatorGenerationJobsClient { * } * } *
- * + * * @param job The job to create. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -260,7 +260,7 @@ public Response createGenerationJobWithResponse(BinaryData job, Requ /** * Get info about an evaluator generation job. - * + * * Gets the details of an evaluator generation job by its ID. *

Header Parameters

* @@ -364,7 +364,7 @@ public Response createGenerationJobWithResponse(BinaryData job, Requ * } * } * - * + * * @param jobId The ID of the job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -372,7 +372,7 @@ public Response createGenerationJobWithResponse(BinaryData job, Requ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @return info about an evaluator generation job. - * + * * Gets the details of an evaluator generation job by its ID along with {@link Response}. */ @Generated @@ -507,7 +507,7 @@ public Response getGenerationJobWithResponse(String jobId, RequestOp * } * } * - * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -523,7 +523,7 @@ public PagedIterable listGenerationJobs(RequestOptions requestOption /** * Cancels an evaluator generation job. - * + * * Cancels an evaluator generation job by its ID. *

Header Parameters

*
@@ -627,7 +627,7 @@ public PagedIterable listGenerationJobs(RequestOptions requestOption * } * } * - * + * * @param jobId The ID of the job to cancel. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -657,7 +657,7 @@ public Response cancelGenerationJobWithResponse(String jobId, Reques * "Models=V1Preview", "AgentsOptimization=V1Preview". *
* You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobId The ID of the job to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -674,10 +674,10 @@ public Response deleteGenerationJobWithResponse(String jobId, RequestOptio /** * Creates an evaluator generation job. - * + * * Creates an evaluator generation job. The service generates rubric-based evaluator * definitions from the provided source materials asynchronously. - * + * * @param job The job to create. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -710,10 +710,10 @@ public EvaluatorGenerationJob createGenerationJob(EvaluatorGenerationJob job, /** * Creates an evaluator generation job. - * + * * Creates an evaluator generation job. The service generates rubric-based evaluator * definitions from the provided source materials asynchronously. - * + * * @param job The job to create. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -735,9 +735,9 @@ public EvaluatorGenerationJob createGenerationJob(EvaluatorGenerationJob job) { /** * Get info about an evaluator generation job. - * + * * Gets the details of an evaluator generation job by its ID. - * + * * @param jobId The ID of the job. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -748,7 +748,7 @@ public EvaluatorGenerationJob createGenerationJob(EvaluatorGenerationJob job) { * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return info about an evaluator generation job. - * + * * Gets the details of an evaluator generation job by its ID. */ @Generated @@ -764,9 +764,9 @@ public EvaluatorGenerationJob getGenerationJob(String jobId, FoundryFeaturesOptI /** * Get info about an evaluator generation job. - * + * * Gets the details of an evaluator generation job by its ID. - * + * * @param jobId The ID of the job. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -775,7 +775,7 @@ public EvaluatorGenerationJob getGenerationJob(String jobId, FoundryFeaturesOptI * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return info about an evaluator generation job. - * + * * Gets the details of an evaluator generation job by its ID. */ @Generated @@ -788,7 +788,7 @@ public EvaluatorGenerationJob getGenerationJob(String jobId) { /** * Returns a list of evaluator generation jobs. - * + * * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the @@ -840,7 +840,7 @@ public PagedIterable listGenerationJobs(FoundryFeaturesO /** * Returns a list of evaluator generation jobs. - * + * * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. @@ -859,9 +859,9 @@ public PagedIterable listGenerationJobs() { /** * Cancels an evaluator generation job. - * + * * Cancels an evaluator generation job by its ID. - * + * * @param jobId The ID of the job to cancel. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -887,9 +887,9 @@ public EvaluatorGenerationJob cancelGenerationJob(String jobId, FoundryFeaturesO /** * Cancels an evaluator generation job. - * + * * Cancels an evaluator generation job by its ID. - * + * * @param jobId The ID of the job to cancel. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -911,7 +911,7 @@ public EvaluatorGenerationJob cancelGenerationJob(String jobId) { /** * Deletes an evaluator generation job by its ID. Deletes the job record only; * the generated evaluator (if any) is preserved. - * + * * @param jobId The ID of the job to delete. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -936,7 +936,7 @@ public void deleteGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFe /** * Deletes an evaluator generation job by its ID. Deletes the job record only; * the generated evaluator (if any) is preserved. - * + * * @param jobId The ID of the job to delete. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java index f1c6aee1ba38..16859d35089e 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects; import com.azure.ai.agents.models.PageOrder; @@ -41,12 +40,13 @@ */ @ServiceClient(builder = AIProjectClientBuilder.class, isAsync = true) public final class RoutinesAsyncClient { + @Generated private final RoutinesImpl serviceClient; /** * Initializes an instance of RoutinesAsyncClient class. - * + * * @param serviceClient the service client implementation. */ @Generated @@ -107,7 +107,7 @@ public final class RoutinesAsyncClient { * } * } *
- * + * * @param routineName The unique name of the routine. * @param createOrUpdateRoutineRequest The createOrUpdateRoutineRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -160,7 +160,7 @@ public Mono> createOrUpdateRoutineWithResponse(String routi * } * } *
- * + * * @param routineName The unique name of the routine. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -210,7 +210,7 @@ public Mono> getRoutineWithResponse(String routineName, Req * } * } *
- * + * * @param routineName The unique name of the routine. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -260,7 +260,7 @@ public Mono> enableRoutineWithResponse(String routineName, * } * } *
- * + * * @param routineName The unique name of the routine. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -330,7 +330,7 @@ public Mono> disableRoutineWithResponse(String routineName, * } * } *
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -357,7 +357,7 @@ public PagedFlux listRoutines(RequestOptions requestOptions) { * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param routineName The unique name of the routine. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -441,7 +441,7 @@ public Mono> deleteRoutineWithResponse(String routineName, Reques * } * } *
- * + * * @param routineName The unique name of the routine. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -492,7 +492,7 @@ public PagedFlux listRoutineRuns(String routineName, RequestOptions * } * } *
- * + * * @param routineName The unique name of the routine. * @param dispatchRoutineAsyncRequest The dispatchRoutineAsyncRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -513,7 +513,7 @@ public Mono> dispatchRoutineAsyncWithResponse(String routin /** * Create or update a routine. - * + * * @param routineName The unique name of the routine. * @param triggers The triggers configured for the routine. In v1, exactly one trigger entry is supported. * @param action The action executed when the routine fires. @@ -543,7 +543,7 @@ public Mono createOrUpdateRoutine(String routineName, Map createOrUpdateRoutine(String routineName, Map getRoutine(String routineName, FoundryFeaturesOptInKeys fou /** * Retrieve a routine. - * + * * @param routineName The unique name of the routine. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -618,7 +618,7 @@ public Mono getRoutine(String routineName) { /** * Enable a routine. - * + * * @param routineName The unique name of the routine. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -644,7 +644,7 @@ public Mono enableRoutine(String routineName, FoundryFeaturesOptInKeys /** * Enable a routine. - * + * * @param routineName The unique name of the routine. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -665,7 +665,7 @@ public Mono enableRoutine(String routineName) { /** * Disable a routine. - * + * * @param routineName The unique name of the routine. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -691,7 +691,7 @@ public Mono disableRoutine(String routineName, FoundryFeaturesOptInKeys /** * Disable a routine. - * + * * @param routineName The unique name of the routine. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -712,7 +712,7 @@ public Mono disableRoutine(String routineName) { /** * List routines. - * + * * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the @@ -771,7 +771,7 @@ public PagedFlux listRoutines(FoundryFeaturesOptInKeys foundryFeatures, /** * List routines. - * + * * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. @@ -801,7 +801,7 @@ public PagedFlux listRoutines() { /** * Delete a routine. - * + * * @param routineName The unique name of the routine. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -826,7 +826,7 @@ public Mono deleteRoutine(String routineName, FoundryFeaturesOptInKeys fou /** * Delete a routine. - * + * * @param routineName The unique name of the routine. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -846,7 +846,7 @@ public Mono deleteRoutine(String routineName) { /** * List prior runs for a routine. - * + * * @param routineName The unique name of the routine. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -910,7 +910,7 @@ public PagedFlux listRoutineRuns(String routineName, FoundryFeatures /** * List prior runs for a routine. - * + * * @param routineName The unique name of the routine. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -942,7 +942,7 @@ public PagedFlux listRoutineRuns(String routineName) { /** * Queue an asynchronous routine dispatch. - * + * * @param routineName The unique name of the routine. * @param payload A direct action-input override sent downstream when testing a routine. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -968,7 +968,7 @@ public Mono dispatchRoutineAsync(String routineName, Ro /** * Queue an asynchronous routine dispatch. - * + * * @param routineName The unique name of the routine. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java index 24a808c05390..1690b0d7d4e7 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects; import com.azure.ai.agents.models.PageOrder; @@ -35,12 +34,13 @@ */ @ServiceClient(builder = AIProjectClientBuilder.class) public final class RoutinesClient { + @Generated private final RoutinesImpl serviceClient; /** * Initializes an instance of RoutinesClient class. - * + * * @param serviceClient the service client implementation. */ @Generated @@ -101,7 +101,7 @@ public final class RoutinesClient { * } * } *
- * + * * @param routineName The unique name of the routine. * @param createOrUpdateRoutineRequest The createOrUpdateRoutineRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -153,7 +153,7 @@ public Response createOrUpdateRoutineWithResponse(String routineName * } * } *
- * + * * @param routineName The unique name of the routine. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -202,7 +202,7 @@ public Response getRoutineWithResponse(String routineName, RequestOp * } * } *
- * + * * @param routineName The unique name of the routine. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -251,7 +251,7 @@ public Response enableRoutineWithResponse(String routineName, Reques * } * } *
- * + * * @param routineName The unique name of the routine. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -320,7 +320,7 @@ public Response disableRoutineWithResponse(String routineName, Reque * } * } *
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -347,7 +347,7 @@ public PagedIterable listRoutines(RequestOptions requestOptions) { * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param routineName The unique name of the routine. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -431,7 +431,7 @@ public Response deleteRoutineWithResponse(String routineName, RequestOptio * } * } *
- * + * * @param routineName The unique name of the routine. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -482,7 +482,7 @@ public PagedIterable listRoutineRuns(String routineName, RequestOpti * } * } *
- * + * * @param routineName The unique name of the routine. * @param dispatchRoutineAsyncRequest The dispatchRoutineAsyncRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -502,7 +502,7 @@ public Response dispatchRoutineAsyncWithResponse(String routineName, /** * Create or update a routine. - * + * * @param routineName The unique name of the routine. * @param triggers The triggers configured for the routine. In v1, exactly one trigger entry is supported. * @param action The action executed when the routine fires. @@ -531,7 +531,7 @@ public Routine createOrUpdateRoutine(String routineName, Map listRoutines(FoundryFeaturesOptInKeys foundryFeatu /** * List routines. - * + * * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. @@ -760,7 +760,7 @@ public PagedIterable listRoutines() { /** * Delete a routine. - * + * * @param routineName The unique name of the routine. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -784,7 +784,7 @@ public void deleteRoutine(String routineName, FoundryFeaturesOptInKeys foundryFe /** * Delete a routine. - * + * * @param routineName The unique name of the routine. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -803,7 +803,7 @@ public void deleteRoutine(String routineName) { /** * List prior runs for a routine. - * + * * @param routineName The unique name of the routine. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. @@ -856,7 +856,7 @@ public PagedIterable listRoutineRuns(String routineName, FoundryFeat /** * List prior runs for a routine. - * + * * @param routineName The unique name of the routine. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -877,7 +877,7 @@ public PagedIterable listRoutineRuns(String routineName) { /** * Queue an asynchronous routine dispatch. - * + * * @param routineName The unique name of the routine. * @param payload A direct action-input override sent downstream when testing a routine. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -902,7 +902,7 @@ public DispatchRoutineResponse dispatchRoutineAsync(String routineName, RoutineD /** * Queue an asynchronous routine dispatch. - * + * * @param routineName The unique name of the routine. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java index e6ded6e09108..182a93b705f1 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.implementation.models; import com.azure.ai.projects.models.RoutineAction; @@ -20,6 +19,7 @@ */ @Fluent public final class CreateOrUpdateRoutineRequest implements JsonSerializable { + /* * A human-readable description of the routine. */ @@ -46,7 +46,7 @@ public final class CreateOrUpdateRoutineRequest implements JsonSerializable triggers, Routin /** * Get the description property: A human-readable description of the routine. - * + * * @return the description value. */ @Generated @@ -68,7 +68,7 @@ public String getDescription() { /** * Set the description property: A human-readable description of the routine. - * + * * @param description the description value to set. * @return the CreateOrUpdateRoutineRequest object itself. */ @@ -80,7 +80,7 @@ public CreateOrUpdateRoutineRequest setDescription(String description) { /** * Get the enabled property: Whether the routine is enabled. - * + * * @return the enabled value. */ @Generated @@ -90,7 +90,7 @@ public Boolean isEnabled() { /** * Set the enabled property: Whether the routine is enabled. - * + * * @param enabled the enabled value to set. * @return the CreateOrUpdateRoutineRequest object itself. */ @@ -103,7 +103,7 @@ public CreateOrUpdateRoutineRequest setEnabled(Boolean enabled) { /** * Get the triggers property: The triggers configured for the routine. In v1, exactly one trigger entry is * supported. - * + * * @return the triggers value. */ @Generated @@ -113,7 +113,7 @@ public Map getTriggers() { /** * Get the action property: The action executed when the routine fires. - * + * * @return the action value. */ @Generated @@ -137,7 +137,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of CreateOrUpdateRoutineRequest from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of CreateOrUpdateRoutineRequest if the JsonReader was pointing to an instance of it, or null * if it was pointing to JSON null. @@ -154,7 +154,6 @@ public static CreateOrUpdateRoutineRequest fromJson(JsonReader jsonReader) throw while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("triggers".equals(fieldName)) { triggers = reader.readMap(reader1 -> RoutineTrigger.fromJson(reader1)); } else if ("action".equals(fieldName)) { @@ -171,7 +170,6 @@ public static CreateOrUpdateRoutineRequest fromJson(JsonReader jsonReader) throw = new CreateOrUpdateRoutineRequest(triggers, action); deserializedCreateOrUpdateRoutineRequest.description = description; deserializedCreateOrUpdateRoutineRequest.enabled = enabled; - return deserializedCreateOrUpdateRoutineRequest; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java index 99b4f1bb224d..613d2e1ef670 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.implementation.models; import com.azure.ai.projects.models.RoutineDispatchPayload; @@ -18,6 +17,7 @@ */ @Fluent public final class DispatchRoutineAsyncRequest implements JsonSerializable { + /* * A direct action-input override sent downstream when testing a routine. */ @@ -33,7 +33,7 @@ public DispatchRoutineAsyncRequest() { /** * Get the payload property: A direct action-input override sent downstream when testing a routine. - * + * * @return the payload value. */ @Generated @@ -43,7 +43,7 @@ public RoutineDispatchPayload getPayload() { /** * Set the payload property: A direct action-input override sent downstream when testing a routine. - * + * * @param payload the payload value to set. * @return the DispatchRoutineAsyncRequest object itself. */ @@ -66,7 +66,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of DispatchRoutineAsyncRequest from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of DispatchRoutineAsyncRequest if the JsonReader was pointing to an instance of it, or null * if it was pointing to JSON null. @@ -79,14 +79,12 @@ public static DispatchRoutineAsyncRequest fromJson(JsonReader jsonReader) throws while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("payload".equals(fieldName)) { deserializedDispatchRoutineAsyncRequest.payload = RoutineDispatchPayload.fromJson(reader); } else { reader.skipChildren(); } } - return deserializedDispatchRoutineAsyncRequest; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java index f2ac6aad062f..8c02b35a70e8 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -16,6 +15,7 @@ */ @Fluent public final class AgentDataGenerationJobSource extends DataGenerationJobSource { + /* * The type of source. */ @@ -43,7 +43,7 @@ public final class AgentDataGenerationJobSource extends DataGenerationJobSource /** * Creates an instance of AgentDataGenerationJobSource class. - * + * * @param agentName the agentName value to set. */ @Generated @@ -53,7 +53,7 @@ public AgentDataGenerationJobSource(String agentName) { /** * Get the type property: The type of source. - * + * * @return the type value. */ @Generated @@ -65,7 +65,7 @@ public DataGenerationJobSourceType getType() { /** * Get the description property: Optional description of what this source represents — helps the pipeline interpret * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * + * * @return the description value. */ @Generated @@ -76,7 +76,7 @@ public String getDescription() { /** * Set the description property: Optional description of what this source represents — helps the pipeline interpret * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * + * * @param description the description value to set. * @return the AgentDataGenerationJobSource object itself. */ @@ -88,7 +88,7 @@ public AgentDataGenerationJobSource setDescription(String description) { /** * Get the agentName property: The agent name to fetch instructions from. - * + * * @return the agentName value. */ @Generated @@ -98,7 +98,7 @@ public String getAgentName() { /** * Get the agentVersion property: The agent version. If not specified, the latest version is used. - * + * * @return the agentVersion value. */ @Generated @@ -108,7 +108,7 @@ public String getAgentVersion() { /** * Set the agentVersion property: The agent version. If not specified, the latest version is used. - * + * * @param agentVersion the agentVersion value to set. * @return the AgentDataGenerationJobSource object itself. */ @@ -134,7 +134,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of AgentDataGenerationJobSource from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of AgentDataGenerationJobSource if the JsonReader was pointing to an instance of it, or null * if it was pointing to JSON null. @@ -151,7 +151,6 @@ public static AgentDataGenerationJobSource fromJson(JsonReader jsonReader) throw while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("agent_name".equals(fieldName)) { agentName = reader.getString(); } else if ("type".equals(fieldName)) { @@ -169,7 +168,6 @@ public static AgentDataGenerationJobSource fromJson(JsonReader jsonReader) throw deserializedAgentDataGenerationJobSource.type = type; deserializedAgentDataGenerationJobSource.description = description; deserializedAgentDataGenerationJobSource.agentVersion = agentVersion; - return deserializedAgentDataGenerationJobSource; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java index 43d7ca440a48..47bad90ee947 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -16,6 +15,7 @@ */ @Fluent public final class AgentEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource { + /* * The type of source. */ @@ -43,7 +43,7 @@ public final class AgentEvaluatorGenerationJobSource extends EvaluatorGeneration /** * Creates an instance of AgentEvaluatorGenerationJobSource class. - * + * * @param agentName the agentName value to set. */ @Generated @@ -53,7 +53,7 @@ public AgentEvaluatorGenerationJobSource(String agentName) { /** * Get the type property: The type of source. - * + * * @return the type value. */ @Generated @@ -65,7 +65,7 @@ public EvaluatorGenerationJobSourceType getType() { /** * Get the description property: Optional description of what this source represents — helps the pipeline interpret * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * + * * @return the description value. */ @Generated @@ -76,7 +76,7 @@ public String getDescription() { /** * Set the description property: Optional description of what this source represents — helps the pipeline interpret * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * + * * @param description the description value to set. * @return the AgentEvaluatorGenerationJobSource object itself. */ @@ -88,7 +88,7 @@ public AgentEvaluatorGenerationJobSource setDescription(String description) { /** * Get the agentName property: The agent name to fetch instructions from. - * + * * @return the agentName value. */ @Generated @@ -98,7 +98,7 @@ public String getAgentName() { /** * Get the agentVersion property: The agent version. If not specified, the latest version is used. - * + * * @return the agentVersion value. */ @Generated @@ -108,7 +108,7 @@ public String getAgentVersion() { /** * Set the agentVersion property: The agent version. If not specified, the latest version is used. - * + * * @param agentVersion the agentVersion value to set. * @return the AgentEvaluatorGenerationJobSource object itself. */ @@ -134,7 +134,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of AgentEvaluatorGenerationJobSource from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of AgentEvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, or * null if it was pointing to JSON null. @@ -151,7 +151,6 @@ public static AgentEvaluatorGenerationJobSource fromJson(JsonReader jsonReader) while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("agent_name".equals(fieldName)) { agentName = reader.getString(); } else if ("type".equals(fieldName)) { @@ -169,7 +168,6 @@ public static AgentEvaluatorGenerationJobSource fromJson(JsonReader jsonReader) deserializedAgentEvaluatorGenerationJobSource.type = type; deserializedAgentEvaluatorGenerationJobSource.description = description; deserializedAgentEvaluatorGenerationJobSource.agentVersion = agentVersion; - return deserializedAgentEvaluatorGenerationJobSource; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApiError.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApiError.java index bec2f6ff9019..57b7d4282a38 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApiError.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApiError.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -20,6 +19,7 @@ */ @Immutable public final class ApiError implements JsonSerializable { + /* * The code property. */ @@ -64,7 +64,7 @@ public final class ApiError implements JsonSerializable { /** * Creates an instance of ApiError class. - * + * * @param code the code value to set. * @param message the message value to set. */ @@ -76,7 +76,7 @@ private ApiError(String code, String message) { /** * Get the code property: The code property. - * + * * @return the code value. */ @Generated @@ -86,7 +86,7 @@ public String getCode() { /** * Get the message property: The message property. - * + * * @return the message value. */ @Generated @@ -96,7 +96,7 @@ public String getMessage() { /** * Get the param property: The param property. - * + * * @return the param value. */ @Generated @@ -106,7 +106,7 @@ public String getParam() { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -116,7 +116,7 @@ public String getType() { /** * Get the details property: The details property. - * + * * @return the details value. */ @Generated @@ -126,7 +126,7 @@ public List getDetails() { /** * Get the additionalInfo property: The additionalInfo property. - * + * * @return the additionalInfo value. */ @Generated @@ -136,7 +136,7 @@ public Map getAdditionalInfo() { /** * Get the debugInfo property: The debugInfo property. - * + * * @return the debugInfo value. */ @Generated @@ -175,7 +175,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of ApiError from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of ApiError if the JsonReader was pointing to an instance of it, or null if it was pointing * to JSON null. @@ -195,7 +195,6 @@ public static ApiError fromJson(JsonReader jsonReader) throws IOException { while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("code".equals(fieldName)) { code = reader.getString(); } else if ("message".equals(fieldName)) { @@ -222,7 +221,6 @@ public static ApiError fromJson(JsonReader jsonReader) throws IOException { deserializedApiError.details = details; deserializedApiError.additionalInfo = additionalInfo; deserializedApiError.debugInfo = debugInfo; - return deserializedApiError; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java index 080fcaa04a6a..401feca5117d 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -13,11 +12,12 @@ /** * Apply patch tool - * + * * Allows the assistant to create, delete, or update files using unified diffs. */ @Immutable public final class ApplyPatchToolParam extends Tool { + /* * The type property. */ @@ -33,7 +33,7 @@ public ApplyPatchToolParam() { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -55,7 +55,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of ApplyPatchToolParam from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of ApplyPatchToolParam if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -68,14 +68,12 @@ public static ApplyPatchToolParam fromJson(JsonReader jsonReader) throws IOExcep while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedApplyPatchToolParam.type = ToolType.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedApplyPatchToolParam; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApproximateLocation.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApproximateLocation.java index f3219e6cc6d4..695ef8ec322e 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApproximateLocation.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApproximateLocation.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -17,6 +16,7 @@ */ @Fluent public final class ApproximateLocation implements JsonSerializable { + /* * The type of location approximation. Always `approximate`. */ @@ -56,7 +56,7 @@ public ApproximateLocation() { /** * Get the type property: The type of location approximation. Always `approximate`. - * + * * @return the type value. */ @Generated @@ -66,7 +66,7 @@ public String getType() { /** * Get the country property: The country property. - * + * * @return the country value. */ @Generated @@ -76,7 +76,7 @@ public String getCountry() { /** * Set the country property: The country property. - * + * * @param country the country value to set. * @return the ApproximateLocation object itself. */ @@ -88,7 +88,7 @@ public ApproximateLocation setCountry(String country) { /** * Get the region property: The region property. - * + * * @return the region value. */ @Generated @@ -98,7 +98,7 @@ public String getRegion() { /** * Set the region property: The region property. - * + * * @param region the region value to set. * @return the ApproximateLocation object itself. */ @@ -110,7 +110,7 @@ public ApproximateLocation setRegion(String region) { /** * Get the city property: The city property. - * + * * @return the city value. */ @Generated @@ -120,7 +120,7 @@ public String getCity() { /** * Set the city property: The city property. - * + * * @param city the city value to set. * @return the ApproximateLocation object itself. */ @@ -132,7 +132,7 @@ public ApproximateLocation setCity(String city) { /** * Get the timezone property: The timezone property. - * + * * @return the timezone value. */ @Generated @@ -142,7 +142,7 @@ public String getTimezone() { /** * Set the timezone property: The timezone property. - * + * * @param timezone the timezone value to set. * @return the ApproximateLocation object itself. */ @@ -169,7 +169,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of ApproximateLocation from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of ApproximateLocation if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -183,7 +183,6 @@ public static ApproximateLocation fromJson(JsonReader jsonReader) throws IOExcep while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("country".equals(fieldName)) { deserializedApproximateLocation.country = reader.getString(); } else if ("region".equals(fieldName)) { @@ -196,7 +195,6 @@ public static ApproximateLocation fromJson(JsonReader jsonReader) throws IOExcep reader.skipChildren(); } } - return deserializedApproximateLocation; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java index 118402153036..02e9ca21c1f3 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -15,11 +14,12 @@ /** * CodeInterpreterToolAuto - * + * * Configuration for a code interpreter container. Optionally specify the IDs of the files to run the code on. */ @Fluent public final class AutoCodeInterpreterToolParam implements JsonSerializable { + /* * Always `auto`. */ @@ -53,7 +53,7 @@ public AutoCodeInterpreterToolParam() { /** * Get the type property: Always `auto`. - * + * * @return the type value. */ @Generated @@ -63,7 +63,7 @@ public String getType() { /** * Get the fileIds property: An optional list of uploaded files to make available to your code. - * + * * @return the fileIds value. */ @Generated @@ -73,7 +73,7 @@ public List getFileIds() { /** * Set the fileIds property: An optional list of uploaded files to make available to your code. - * + * * @param fileIds the fileIds value to set. * @return the AutoCodeInterpreterToolParam object itself. */ @@ -85,7 +85,7 @@ public AutoCodeInterpreterToolParam setFileIds(List fileIds) { /** * Get the memoryLimit property: The memory_limit property. - * + * * @return the memoryLimit value. */ @Generated @@ -95,7 +95,7 @@ public ContainerMemoryLimit getMemoryLimit() { /** * Set the memoryLimit property: The memory_limit property. - * + * * @param memoryLimit the memoryLimit value to set. * @return the AutoCodeInterpreterToolParam object itself. */ @@ -107,7 +107,7 @@ public AutoCodeInterpreterToolParam setMemoryLimit(ContainerMemoryLimit memoryLi /** * Get the networkPolicy property: The network_policy property. - * + * * @return the networkPolicy value. */ @Generated @@ -117,7 +117,7 @@ public ContainerNetworkPolicyParam getNetworkPolicy() { /** * Set the networkPolicy property: The network_policy property. - * + * * @param networkPolicy the networkPolicy value to set. * @return the AutoCodeInterpreterToolParam object itself. */ @@ -143,7 +143,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of AutoCodeInterpreterToolParam from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of AutoCodeInterpreterToolParam if the JsonReader was pointing to an instance of it, or null * if it was pointing to JSON null. @@ -157,7 +157,6 @@ public static AutoCodeInterpreterToolParam fromJson(JsonReader jsonReader) throw while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("file_ids".equals(fieldName)) { List fileIds = reader.readArray(reader1 -> reader1.getString()); deserializedAutoCodeInterpreterToolParam.fileIds = fileIds; @@ -171,7 +170,6 @@ public static AutoCodeInterpreterToolParam fromJson(JsonReader jsonReader) throw reader.skipChildren(); } } - return deserializedAutoCodeInterpreterToolParam; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java index c6ccd031a9ac..9eaf3d6dbfd1 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -14,11 +13,12 @@ /** * Code interpreter - * + * * A tool that runs Python code to help generate a response to a prompt. */ @Immutable public final class CodeInterpreterTool extends Tool { + /* * The type property. */ @@ -35,7 +35,7 @@ public final class CodeInterpreterTool extends Tool { /** * Creates an instance of CodeInterpreterTool class. - * + * * @param container the container value to set. */ @Generated @@ -45,7 +45,7 @@ public CodeInterpreterTool(BinaryData container) { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -58,7 +58,7 @@ public ToolType getType() { * Get the container property: The code interpreter container. Can be a container ID or an object that * specifies uploaded file IDs to make available to your code, along with an * optional `memory_limit` setting. - * + * * @return the container value. */ @Generated @@ -81,7 +81,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of CodeInterpreterTool from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of CodeInterpreterTool if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -96,7 +96,6 @@ public static CodeInterpreterTool fromJson(JsonReader jsonReader) throws IOExcep while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("container".equals(fieldName)) { container = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); } else if ("type".equals(fieldName)) { @@ -107,7 +106,6 @@ public static CodeInterpreterTool fromJson(JsonReader jsonReader) throws IOExcep } CodeInterpreterTool deserializedCodeInterpreterTool = new CodeInterpreterTool(container); deserializedCodeInterpreterTool.type = type; - return deserializedCodeInterpreterTool; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComparisonFilter.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComparisonFilter.java index 74d5b4ab839a..4e0d7f769197 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComparisonFilter.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComparisonFilter.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -15,11 +14,12 @@ /** * Comparison Filter - * + * * A filter used to compare a specified attribute key to a given value using a defined comparison operation. */ @Immutable public final class ComparisonFilter implements JsonSerializable { + /* * Specifies the comparison operator: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`. * - `eq`: equals @@ -48,7 +48,7 @@ public final class ComparisonFilter implements JsonSerializable { + /* * Type of operation: `and` or `or`. */ @@ -35,7 +35,7 @@ public final class CompoundFilter implements JsonSerializable { /** * Creates an instance of CompoundFilter class. - * + * * @param type the type value to set. * @param filters the filters value to set. */ @@ -47,7 +47,7 @@ public CompoundFilter(FileSearchToolFiltersType1 type, List filters) /** * Get the type property: Type of operation: `and` or `or`. - * + * * @return the type value. */ @Generated @@ -57,7 +57,7 @@ public FileSearchToolFiltersType1 getType() { /** * Get the filters property: Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`. - * + * * @return the filters value. */ @Generated @@ -85,7 +85,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of CompoundFilter from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of CompoundFilter if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -100,7 +100,6 @@ public static CompoundFilter fromJson(JsonReader jsonReader) throws IOException while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { type = FileSearchToolFiltersType1.fromString(reader.getString()); } else if ("filters".equals(fieldName)) { diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java index 8106b3230176..7000573b8557 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -13,12 +12,13 @@ /** * Computer use preview - * + * * A tool that controls a virtual computer. Learn more about the [computer * tool](https://platform.openai.com/docs/guides/tools-computer-use). */ @Immutable public final class ComputerUsePreviewTool extends Tool { + /* * The type property. */ @@ -45,7 +45,7 @@ public final class ComputerUsePreviewTool extends Tool { /** * Creates an instance of ComputerUsePreviewTool class. - * + * * @param environment the environment value to set. * @param displayWidth the displayWidth value to set. * @param displayHeight the displayHeight value to set. @@ -59,7 +59,7 @@ public ComputerUsePreviewTool(ComputerEnvironment environment, int displayWidth, /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -70,7 +70,7 @@ public ToolType getType() { /** * Get the environment property: The type of computer environment to control. - * + * * @return the environment value. */ @Generated @@ -80,7 +80,7 @@ public ComputerEnvironment getEnvironment() { /** * Get the displayWidth property: The width of the computer display. - * + * * @return the displayWidth value. */ @Generated @@ -90,7 +90,7 @@ public int getDisplayWidth() { /** * Get the displayHeight property: The height of the computer display. - * + * * @return the displayHeight value. */ @Generated @@ -114,7 +114,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of ComputerUsePreviewTool from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of ComputerUsePreviewTool if the JsonReader was pointing to an instance of it, or null if it * was pointing to JSON null. @@ -131,7 +131,6 @@ public static ComputerUsePreviewTool fromJson(JsonReader jsonReader) throws IOEx while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("environment".equals(fieldName)) { environment = ComputerEnvironment.fromString(reader.getString()); } else if ("display_width".equals(fieldName)) { @@ -147,7 +146,6 @@ public static ComputerUsePreviewTool fromJson(JsonReader jsonReader) throws IOEx ComputerUsePreviewTool deserializedComputerUsePreviewTool = new ComputerUsePreviewTool(environment, displayWidth, displayHeight); deserializedComputerUsePreviewTool.type = type; - return deserializedComputerUsePreviewTool; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java index 176b078f76b4..ed8b3f7062bf 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -17,6 +16,7 @@ */ @Fluent public final class ContainerAutoParam extends FunctionShellToolParamEnvironment { + /* * The type property. */ @@ -56,7 +56,7 @@ public ContainerAutoParam() { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -67,7 +67,7 @@ public FunctionShellToolParamEnvironmentType getType() { /** * Get the fileIds property: An optional list of uploaded files to make available to your code. - * + * * @return the fileIds value. */ @Generated @@ -77,7 +77,7 @@ public List getFileIds() { /** * Set the fileIds property: An optional list of uploaded files to make available to your code. - * + * * @param fileIds the fileIds value to set. * @return the ContainerAutoParam object itself. */ @@ -89,7 +89,7 @@ public ContainerAutoParam setFileIds(List fileIds) { /** * Get the memoryLimit property: The memory_limit property. - * + * * @return the memoryLimit value. */ @Generated @@ -99,7 +99,7 @@ public ContainerMemoryLimit getMemoryLimit() { /** * Set the memoryLimit property: The memory_limit property. - * + * * @param memoryLimit the memoryLimit value to set. * @return the ContainerAutoParam object itself. */ @@ -111,7 +111,7 @@ public ContainerAutoParam setMemoryLimit(ContainerMemoryLimit memoryLimit) { /** * Get the skills property: An optional list of skills referenced by id or inline data. - * + * * @return the skills value. */ @Generated @@ -121,7 +121,7 @@ public List getSkills() { /** * Set the skills property: An optional list of skills referenced by id or inline data. - * + * * @param skills the skills value to set. * @return the ContainerAutoParam object itself. */ @@ -133,7 +133,7 @@ public ContainerAutoParam setSkills(List skills) { /** * Get the networkPolicy property: The network_policy property. - * + * * @return the networkPolicy value. */ @Generated @@ -143,7 +143,7 @@ public ContainerNetworkPolicyParam getNetworkPolicy() { /** * Set the networkPolicy property: The network_policy property. - * + * * @param networkPolicy the networkPolicy value to set. * @return the ContainerAutoParam object itself. */ @@ -170,7 +170,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of ContainerAutoParam from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of ContainerAutoParam if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -183,7 +183,6 @@ public static ContainerAutoParam fromJson(JsonReader jsonReader) throws IOExcept while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedContainerAutoParam.type = FunctionShellToolParamEnvironmentType.fromString(reader.getString()); @@ -201,7 +200,6 @@ public static ContainerAutoParam fromJson(JsonReader jsonReader) throws IOExcept reader.skipChildren(); } } - return deserializedContainerAutoParam; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java index 8b71e174c4df..4bd68f2ac82a 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -17,6 +16,7 @@ */ @Fluent public final class ContainerNetworkPolicyAllowlistParam extends ContainerNetworkPolicyParam { + /* * The type property. */ @@ -37,7 +37,7 @@ public final class ContainerNetworkPolicyAllowlistParam extends ContainerNetwork /** * Creates an instance of ContainerNetworkPolicyAllowlistParam class. - * + * * @param allowedDomains the allowedDomains value to set. */ @Generated @@ -47,7 +47,7 @@ public ContainerNetworkPolicyAllowlistParam(List allowedDomains) { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -58,7 +58,7 @@ public ContainerNetworkPolicyParamType getType() { /** * Get the allowedDomains property: A list of allowed domains when type is `allowlist`. - * + * * @return the allowedDomains value. */ @Generated @@ -68,7 +68,7 @@ public List getAllowedDomains() { /** * Get the domainSecrets property: Optional domain-scoped secrets for allowlisted domains. - * + * * @return the domainSecrets value. */ @Generated @@ -78,7 +78,7 @@ public List getDomainSecrets() { /** * Set the domainSecrets property: Optional domain-scoped secrets for allowlisted domains. - * + * * @param domainSecrets the domainSecrets value to set. * @return the ContainerNetworkPolicyAllowlistParam object itself. */ @@ -106,7 +106,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of ContainerNetworkPolicyAllowlistParam from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of ContainerNetworkPolicyAllowlistParam if the JsonReader was pointing to an instance of it, * or null if it was pointing to JSON null. @@ -122,7 +122,6 @@ public static ContainerNetworkPolicyAllowlistParam fromJson(JsonReader jsonReade while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("allowed_domains".equals(fieldName)) { allowedDomains = reader.readArray(reader1 -> reader1.getString()); } else if ("type".equals(fieldName)) { @@ -138,7 +137,6 @@ public static ContainerNetworkPolicyAllowlistParam fromJson(JsonReader jsonReade = new ContainerNetworkPolicyAllowlistParam(allowedDomains); deserializedContainerNetworkPolicyAllowlistParam.type = type; deserializedContainerNetworkPolicyAllowlistParam.domainSecrets = domainSecrets; - return deserializedContainerNetworkPolicyAllowlistParam; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java index 436525c77e56..9d2396b5a616 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -16,6 +15,7 @@ */ @Immutable public final class ContainerNetworkPolicyDisabledParam extends ContainerNetworkPolicyParam { + /* * The type property. */ @@ -31,7 +31,7 @@ public ContainerNetworkPolicyDisabledParam() { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -53,7 +53,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of ContainerNetworkPolicyDisabledParam from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of ContainerNetworkPolicyDisabledParam if the JsonReader was pointing to an instance of it, * or null if it was pointing to JSON null. @@ -67,7 +67,6 @@ public static ContainerNetworkPolicyDisabledParam fromJson(JsonReader jsonReader while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedContainerNetworkPolicyDisabledParam.type = ContainerNetworkPolicyParamType.fromString(reader.getString()); @@ -75,7 +74,6 @@ public static ContainerNetworkPolicyDisabledParam fromJson(JsonReader jsonReader reader.skipChildren(); } } - return deserializedContainerNetworkPolicyDisabledParam; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java index e0c6cb0e3cd1..9343314449ae 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -18,6 +17,7 @@ @Immutable public final class ContainerNetworkPolicyDomainSecretParam implements JsonSerializable { + /* * The domain associated with the secret. */ @@ -38,7 +38,7 @@ public final class ContainerNetworkPolicyDomainSecretParam /** * Creates an instance of ContainerNetworkPolicyDomainSecretParam class. - * + * * @param domain the domain value to set. * @param name the name value to set. * @param value the value value to set. @@ -52,7 +52,7 @@ public ContainerNetworkPolicyDomainSecretParam(String domain, String name, Strin /** * Get the domain property: The domain associated with the secret. - * + * * @return the domain value. */ @Generated @@ -62,7 +62,7 @@ public String getDomain() { /** * Get the name property: The name of the secret to inject for the domain. - * + * * @return the name value. */ @Generated @@ -72,7 +72,7 @@ public String getName() { /** * Get the value property: The secret value to inject for the domain. - * + * * @return the value value. */ @Generated @@ -95,7 +95,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of ContainerNetworkPolicyDomainSecretParam from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of ContainerNetworkPolicyDomainSecretParam if the JsonReader was pointing to an instance of * it, or null if it was pointing to JSON null. @@ -111,7 +111,6 @@ public static ContainerNetworkPolicyDomainSecretParam fromJson(JsonReader jsonRe while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("domain".equals(fieldName)) { domain = reader.getString(); } else if ("name".equals(fieldName)) { diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java index 84196f84c373..f306e9fc8236 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public class ContainerNetworkPolicyParam implements JsonSerializable { + /* * The type property. */ @@ -33,7 +33,7 @@ public ContainerNetworkPolicyParam() { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -54,7 +54,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of ContainerNetworkPolicyParam from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of ContainerNetworkPolicyParam if the JsonReader was pointing to an instance of it, or null * if it was pointing to JSON null. @@ -65,7 +65,8 @@ public static ContainerNetworkPolicyParam fromJson(JsonReader jsonReader) throws return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { - readerToUse.nextToken(); // Prepare for reading + // Prepare for reading + readerToUse.nextToken(); while (readerToUse.nextToken() != JsonToken.END_OBJECT) { String fieldName = readerToUse.getFieldName(); readerToUse.nextToken(); @@ -95,7 +96,6 @@ static ContainerNetworkPolicyParam fromJsonKnownDiscriminator(JsonReader jsonRea while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedContainerNetworkPolicyParam.type = ContainerNetworkPolicyParamType.fromString(reader.getString()); @@ -103,7 +103,6 @@ static ContainerNetworkPolicyParam fromJsonKnownDiscriminator(JsonReader jsonRea reader.skipChildren(); } } - return deserializedContainerNetworkPolicyParam; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java index 0662c6478a41..7a1e22ec10c1 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -12,6 +11,7 @@ * Defines values for ContainerNetworkPolicyParamType. */ public final class ContainerNetworkPolicyParamType extends ExpandableStringEnum { + /** * Static value disabled for ContainerNetworkPolicyParamType. */ @@ -26,7 +26,7 @@ public final class ContainerNetworkPolicyParamType extends ExpandableStringEnum< /** * Creates a new instance of ContainerNetworkPolicyParamType value. - * + * * @deprecated Use the {@link #fromString(String)} factory method. */ @Generated @@ -36,7 +36,7 @@ public ContainerNetworkPolicyParamType() { /** * Creates or finds a ContainerNetworkPolicyParamType from its string representation. - * + * * @param name a name to look for. * @return the corresponding ContainerNetworkPolicyParamType. */ @@ -47,7 +47,7 @@ public static ContainerNetworkPolicyParamType fromString(String name) { /** * Gets known ContainerNetworkPolicyParamType values. - * + * * @return known ContainerNetworkPolicyParamType values. */ @Generated diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkill.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkill.java index 607afa56604f..7b3ab6c99ce1 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkill.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkill.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public class ContainerSkill implements JsonSerializable { + /* * The type property. */ @@ -32,7 +32,7 @@ public ContainerSkill() { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -53,7 +53,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of ContainerSkill from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of ContainerSkill if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -64,7 +64,8 @@ public static ContainerSkill fromJson(JsonReader jsonReader) throws IOException return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { - readerToUse.nextToken(); // Prepare for reading + // Prepare for reading + readerToUse.nextToken(); while (readerToUse.nextToken() != JsonToken.END_OBJECT) { String fieldName = readerToUse.getFieldName(); readerToUse.nextToken(); @@ -94,14 +95,12 @@ static ContainerSkill fromJsonKnownDiscriminator(JsonReader jsonReader) throws I while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedContainerSkill.type = ContainerSkillType.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedContainerSkill; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkillType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkillType.java index de61dfe9a40d..99d7d56d0571 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkillType.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkillType.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -12,6 +11,7 @@ * Defines values for ContainerSkillType. */ public final class ContainerSkillType extends ExpandableStringEnum { + /** * Static value skill_reference for ContainerSkillType. */ @@ -26,7 +26,7 @@ public final class ContainerSkillType extends ExpandableStringEnum { + /* * The type property. */ @@ -32,7 +32,7 @@ public CustomToolParamFormat() { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -53,7 +53,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of CustomToolParamFormat from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of CustomToolParamFormat if the JsonReader was pointing to an instance of it, or null if it * was pointing to JSON null. @@ -64,7 +64,8 @@ public static CustomToolParamFormat fromJson(JsonReader jsonReader) throws IOExc return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { - readerToUse.nextToken(); // Prepare for reading + // Prepare for reading + readerToUse.nextToken(); while (readerToUse.nextToken() != JsonToken.END_OBJECT) { String fieldName = readerToUse.getFieldName(); readerToUse.nextToken(); @@ -94,14 +95,12 @@ static CustomToolParamFormat fromJsonKnownDiscriminator(JsonReader jsonReader) t while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedCustomToolParamFormat.type = CustomToolParamFormatType.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedCustomToolParamFormat; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java index 71d656897b41..90e4c67ecbc4 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -12,6 +11,7 @@ * Defines values for CustomToolParamFormatType. */ public final class CustomToolParamFormatType extends ExpandableStringEnum { + /** * Static value text for CustomToolParamFormatType. */ @@ -26,7 +26,7 @@ public final class CustomToolParamFormatType extends ExpandableStringEnum { + /* * Server-assigned unique identifier. */ @@ -71,7 +71,7 @@ public DataGenerationJob() { /** * Get the id property: Server-assigned unique identifier. - * + * * @return the id value. */ @Generated @@ -81,7 +81,7 @@ public String getId() { /** * Get the inputs property: Caller-supplied inputs. - * + * * @return the inputs value. */ @Generated @@ -91,7 +91,7 @@ public DataGenerationJobInputs getInputs() { /** * Set the inputs property: Caller-supplied inputs. - * + * * @param inputs the inputs value to set. * @return the DataGenerationJob object itself. */ @@ -103,7 +103,7 @@ public DataGenerationJob setInputs(DataGenerationJobInputs inputs) { /** * Get the result property: Result produced on success. - * + * * @return the result value. */ @Generated @@ -113,7 +113,7 @@ public DataGenerationJobResult getResult() { /** * Get the status property: Current lifecycle status. - * + * * @return the status value. */ @Generated @@ -123,7 +123,7 @@ public JobStatus getStatus() { /** * Get the error property: Error details — populated only on failure. - * + * * @return the error value. */ @Generated @@ -134,7 +134,7 @@ public ApiError getError() { /** * Get the createdAt property: The timestamp when the job was created, represented in Unix time (seconds since * January 1, 1970). - * + * * @return the createdAt value. */ @Generated @@ -145,7 +145,7 @@ public OffsetDateTime getCreatedAt() { /** * Get the finishedAt property: The timestamp when the job was finished, represented in Unix time (seconds since * January 1, 1970). - * + * * @return the finishedAt value. */ @Generated @@ -169,7 +169,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of DataGenerationJob from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of DataGenerationJob if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -183,7 +183,6 @@ public static DataGenerationJob fromJson(JsonReader jsonReader) throws IOExcepti while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("id".equals(fieldName)) { deserializedDataGenerationJob.id = reader.getString(); } else if ("status".equals(fieldName)) { @@ -202,7 +201,6 @@ public static DataGenerationJob fromJson(JsonReader jsonReader) throws IOExcepti reader.skipChildren(); } } - return deserializedDataGenerationJob; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java index 8e5069735012..51a11c440556 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -18,6 +17,7 @@ */ @Fluent public final class DataGenerationJobInputs implements JsonSerializable { + /* * The display name of the data generation job. */ @@ -51,7 +51,7 @@ public final class DataGenerationJobInputs implements JsonSerializable source /** * Get the name property: The display name of the data generation job. - * + * * @return the name value. */ @Generated @@ -78,7 +78,7 @@ public String getName() { /** * Get the sources property: The sources used for the data generation job. - * + * * @return the sources value. */ @Generated @@ -88,7 +88,7 @@ public List getSources() { /** * Get the options property: The options for the data generation job. - * + * * @return the options value. */ @Generated @@ -98,7 +98,7 @@ public DataGenerationJobOptions getOptions() { /** * Get the scenario property: The scenario of the data generation job. Either for fine-tuning or evaluation. - * + * * @return the scenario value. */ @Generated @@ -109,7 +109,7 @@ public DataGenerationJobScenario getScenario() { /** * Get the outputOptions property: Optional caller-supplied metadata for the job's output. See individual fields for * whether they apply to file outputs (fine-tuning scenarios), dataset outputs (evaluation scenario), or both. - * + * * @return the outputOptions value. */ @Generated @@ -120,7 +120,7 @@ public DataGenerationJobOutputOptions getOutputOptions() { /** * Set the outputOptions property: Optional caller-supplied metadata for the job's output. See individual fields for * whether they apply to file outputs (fine-tuning scenarios), dataset outputs (evaluation scenario), or both. - * + * * @param outputOptions the outputOptions value to set. * @return the DataGenerationJobInputs object itself. */ @@ -147,7 +147,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of DataGenerationJobInputs from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of DataGenerationJobInputs if the JsonReader was pointing to an instance of it, or null if it * was pointing to JSON null. @@ -165,7 +165,6 @@ public static DataGenerationJobInputs fromJson(JsonReader jsonReader) throws IOE while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { name = reader.getString(); } else if ("sources".equals(fieldName)) { @@ -183,7 +182,6 @@ public static DataGenerationJobInputs fromJson(JsonReader jsonReader) throws IOE DataGenerationJobInputs deserializedDataGenerationJobInputs = new DataGenerationJobInputs(name, sources, options, scenario); deserializedDataGenerationJobInputs.outputOptions = outputOptions; - return deserializedDataGenerationJobInputs; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java index a6486592e0e1..1011dd2f961b 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -17,6 +16,7 @@ */ @Fluent public class DataGenerationJobOptions implements JsonSerializable { + /* * The data generation job type. */ @@ -44,7 +44,7 @@ public class DataGenerationJobOptions implements JsonSerializable { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { - readerToUse.nextToken(); // Prepare for reading + // Prepare for reading + readerToUse.nextToken(); while (readerToUse.nextToken() != JsonToken.END_OBJECT) { String fieldName = readerToUse.getFieldName(); readerToUse.nextToken(); @@ -181,7 +182,6 @@ static DataGenerationJobOptions fromJsonKnownDiscriminator(JsonReader jsonReader while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("max_samples".equals(fieldName)) { maxSamples = reader.getInt(); } else if ("type".equals(fieldName)) { @@ -198,7 +198,6 @@ static DataGenerationJobOptions fromJsonKnownDiscriminator(JsonReader jsonReader deserializedDataGenerationJobOptions.type = type; deserializedDataGenerationJobOptions.trainSplit = trainSplit; deserializedDataGenerationJobOptions.modelOptions = modelOptions; - return deserializedDataGenerationJobOptions; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java index da6277d1587e..f42a56ba95d2 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public class DataGenerationJobOutput implements JsonSerializable { + /* * The type of the output. */ @@ -32,7 +32,7 @@ protected DataGenerationJobOutput() { /** * Get the type property: The type of the output. - * + * * @return the type value. */ @Generated @@ -53,7 +53,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of DataGenerationJobOutput from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of DataGenerationJobOutput if the JsonReader was pointing to an instance of it, or null if it * was pointing to JSON null. @@ -64,7 +64,8 @@ public static DataGenerationJobOutput fromJson(JsonReader jsonReader) throws IOE return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { - readerToUse.nextToken(); // Prepare for reading + // Prepare for reading + readerToUse.nextToken(); while (readerToUse.nextToken() != JsonToken.END_OBJECT) { String fieldName = readerToUse.getFieldName(); readerToUse.nextToken(); @@ -94,7 +95,6 @@ static DataGenerationJobOutput fromJsonKnownDiscriminator(JsonReader jsonReader) while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedDataGenerationJobOutput.type = DataGenerationJobOutputType.fromString(reader.getString()); @@ -102,7 +102,6 @@ static DataGenerationJobOutput fromJsonKnownDiscriminator(JsonReader jsonReader) reader.skipChildren(); } } - return deserializedDataGenerationJobOutput; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java index fc043482c956..7fbe7f1d2a46 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -18,6 +17,7 @@ */ @Fluent public final class DataGenerationJobOutputOptions implements JsonSerializable { + /* * Name to assign to the output. Used as the filename for Azure OpenAI file outputs (fine-tuning scenarios) and as * the dataset name for dataset outputs (evaluation scenario). @@ -49,7 +49,7 @@ public DataGenerationJobOutputOptions() { /** * Get the name property: Name to assign to the output. Used as the filename for Azure OpenAI file outputs * (fine-tuning scenarios) and as the dataset name for dataset outputs (evaluation scenario). - * + * * @return the name value. */ @Generated @@ -60,7 +60,7 @@ public String getName() { /** * Set the name property: Name to assign to the output. Used as the filename for Azure OpenAI file outputs * (fine-tuning scenarios) and as the dataset name for dataset outputs (evaluation scenario). - * + * * @param name the name value to set. * @return the DataGenerationJobOutputOptions object itself. */ @@ -73,7 +73,7 @@ public DataGenerationJobOutputOptions setName(String name) { /** * Get the description property: Description to assign to the output. Applies only to dataset outputs (evaluation * scenario); ignored for Azure OpenAI file outputs. - * + * * @return the description value. */ @Generated @@ -84,7 +84,7 @@ public String getDescription() { /** * Set the description property: Description to assign to the output. Applies only to dataset outputs (evaluation * scenario); ignored for Azure OpenAI file outputs. - * + * * @param description the description value to set. * @return the DataGenerationJobOutputOptions object itself. */ @@ -97,7 +97,7 @@ public DataGenerationJobOutputOptions setDescription(String description) { /** * Get the tags property: Tags to assign to the output. Applies only to dataset outputs (evaluation scenario); * ignored for Azure OpenAI file outputs. - * + * * @return the tags value. */ @Generated @@ -108,7 +108,7 @@ public Map getTags() { /** * Set the tags property: Tags to assign to the output. Applies only to dataset outputs (evaluation scenario); * ignored for Azure OpenAI file outputs. - * + * * @param tags the tags value to set. * @return the DataGenerationJobOutputOptions object itself. */ @@ -133,7 +133,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of DataGenerationJobOutputOptions from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of DataGenerationJobOutputOptions if the JsonReader was pointing to an instance of it, or * null if it was pointing to JSON null. @@ -147,7 +147,6 @@ public static DataGenerationJobOutputOptions fromJson(JsonReader jsonReader) thr while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { deserializedDataGenerationJobOutputOptions.name = reader.getString(); } else if ("description".equals(fieldName)) { @@ -159,7 +158,6 @@ public static DataGenerationJobOutputOptions fromJson(JsonReader jsonReader) thr reader.skipChildren(); } } - return deserializedDataGenerationJobOutputOptions; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java index 467ee3e86f36..a4b311e57c5c 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -12,6 +11,7 @@ * The supported output file types for a data generation job. */ public final class DataGenerationJobOutputType extends ExpandableStringEnum { + /** * The generated data is an Azure OpenAI File. */ @@ -26,7 +26,7 @@ public final class DataGenerationJobOutputType extends ExpandableStringEnum { + /* * The final job outputs: Azure OpenAI files for fine-tuning, or datasets for evaluation. */ @@ -38,7 +38,7 @@ public final class DataGenerationJobResult implements JsonSerializable getOutputs() { /** * Get the generatedSamples property: The number of samples actually generated. - * + * * @return the generatedSamples value. */ @Generated @@ -68,7 +68,7 @@ public int getGeneratedSamples() { /** * Get the tokenUsage property: The token usage information for the data generation job. - * + * * @return the tokenUsage value. */ @Generated @@ -91,7 +91,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of DataGenerationJobResult from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of DataGenerationJobResult if the JsonReader was pointing to an instance of it, or null if it * was pointing to JSON null. @@ -107,7 +107,6 @@ public static DataGenerationJobResult fromJson(JsonReader jsonReader) throws IOE while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("generated_samples".equals(fieldName)) { generatedSamples = reader.getInt(); } else if ("outputs".equals(fieldName)) { @@ -121,7 +120,6 @@ public static DataGenerationJobResult fromJson(JsonReader jsonReader) throws IOE DataGenerationJobResult deserializedDataGenerationJobResult = new DataGenerationJobResult(generatedSamples); deserializedDataGenerationJobResult.outputs = outputs; deserializedDataGenerationJobResult.tokenUsage = tokenUsage; - return deserializedDataGenerationJobResult; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java index 5add7ccb81c2..a59cf787f930 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -12,6 +11,7 @@ * The supported scenarios for a data generation job. */ public final class DataGenerationJobScenario extends ExpandableStringEnum { + /** * Supervised Fine-tuning scenario. */ @@ -32,7 +32,7 @@ public final class DataGenerationJobScenario extends ExpandableStringEnum { + /* * The type of source. */ @@ -39,7 +39,7 @@ public DataGenerationJobSource() { /** * Get the type property: The type of source. - * + * * @return the type value. */ @Generated @@ -50,7 +50,7 @@ public DataGenerationJobSourceType getType() { /** * Get the description property: Optional description of what this source represents — helps the pipeline interpret * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * + * * @return the description value. */ @Generated @@ -61,7 +61,7 @@ public String getDescription() { /** * Set the description property: Optional description of what this source represents — helps the pipeline interpret * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * + * * @param description the description value to set. * @return the DataGenerationJobSource object itself. */ @@ -85,7 +85,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of DataGenerationJobSource from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of DataGenerationJobSource if the JsonReader was pointing to an instance of it, or null if it * was pointing to JSON null. @@ -96,7 +96,8 @@ public static DataGenerationJobSource fromJson(JsonReader jsonReader) throws IOE return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { - readerToUse.nextToken(); // Prepare for reading + // Prepare for reading + readerToUse.nextToken(); while (readerToUse.nextToken() != JsonToken.END_OBJECT) { String fieldName = readerToUse.getFieldName(); readerToUse.nextToken(); @@ -132,7 +133,6 @@ static DataGenerationJobSource fromJsonKnownDiscriminator(JsonReader jsonReader) while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedDataGenerationJobSource.type = DataGenerationJobSourceType.fromString(reader.getString()); @@ -142,7 +142,6 @@ static DataGenerationJobSource fromJsonKnownDiscriminator(JsonReader jsonReader) reader.skipChildren(); } } - return deserializedDataGenerationJobSource; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java index ba7eced697c9..b93f4d48b656 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -12,6 +11,7 @@ * The supported source types for data generation jobs. */ public final class DataGenerationJobSourceType extends ExpandableStringEnum { + /** * Prompt source — inline text provided by the user. */ @@ -44,7 +44,7 @@ public final class DataGenerationJobSourceType extends ExpandableStringEnum { + /** * Simple question and answers between user and agent. */ @@ -32,7 +32,7 @@ public final class DataGenerationJobType extends ExpandableStringEnum { + /* * Base model name used to generate data. */ @@ -25,7 +25,7 @@ public final class DataGenerationModelOptions implements JsonSerializable { + /* * The number of prompt tokens used. */ @@ -44,7 +44,7 @@ private DataGenerationTokenUsage() { /** * Get the promptTokens property: The number of prompt tokens used. - * + * * @return the promptTokens value. */ @Generated @@ -54,7 +54,7 @@ public long getPromptTokens() { /** * Get the completionTokens property: The number of completion tokens generated. - * + * * @return the completionTokens value. */ @Generated @@ -64,7 +64,7 @@ public long getCompletionTokens() { /** * Get the totalTokens property: Total number of tokens used. - * + * * @return the totalTokens value. */ @Generated @@ -84,7 +84,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of DataGenerationTokenUsage from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of DataGenerationTokenUsage if the JsonReader was pointing to an instance of it, or null if * it was pointing to JSON null. @@ -98,7 +98,6 @@ public static DataGenerationTokenUsage fromJson(JsonReader jsonReader) throws IO while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("prompt_tokens".equals(fieldName)) { deserializedDataGenerationTokenUsage.promptTokens = reader.getLong(); } else if ("completion_tokens".equals(fieldName)) { @@ -109,7 +108,6 @@ public static DataGenerationTokenUsage fromJson(JsonReader jsonReader) throws IO reader.skipChildren(); } } - return deserializedDataGenerationTokenUsage; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java index 7086a76c9e89..746521a80d65 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public final class DatasetDataGenerationJobOutput extends DataGenerationJobOutput { + /* * The type of the output. */ @@ -62,7 +62,7 @@ private DatasetDataGenerationJobOutput() { /** * Get the type property: The type of the output. - * + * * @return the type value. */ @Generated @@ -73,7 +73,7 @@ public DataGenerationJobOutputType getType() { /** * Get the id property: The id of the output dataset created. - * + * * @return the id value. */ @Generated @@ -83,7 +83,7 @@ public String getId() { /** * Get the name property: The name of the output dataset. - * + * * @return the name value. */ @Generated @@ -93,7 +93,7 @@ public String getName() { /** * Get the version property: The version of the output dataset. - * + * * @return the version value. */ @Generated @@ -103,7 +103,7 @@ public String getVersion() { /** * Get the description property: Description of the output dataset. - * + * * @return the description value. */ @Generated @@ -113,7 +113,7 @@ public String getDescription() { /** * Get the tags property: Tag dictionary of the output dataset. - * + * * @return the tags value. */ @Generated @@ -134,7 +134,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of DatasetDataGenerationJobOutput from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of DatasetDataGenerationJobOutput if the JsonReader was pointing to an instance of it, or * null if it was pointing to JSON null. @@ -148,7 +148,6 @@ public static DatasetDataGenerationJobOutput fromJson(JsonReader jsonReader) thr while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedDatasetDataGenerationJobOutput.type = DataGenerationJobOutputType.fromString(reader.getString()); @@ -167,7 +166,6 @@ public static DatasetDataGenerationJobOutput fromJson(JsonReader jsonReader) thr reader.skipChildren(); } } - return deserializedDatasetDataGenerationJobOutput; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java index d670e897fc07..7a9bb3cb2403 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -16,6 +15,7 @@ */ @Fluent public final class DatasetDataGenerationJobSource extends DataGenerationJobSource { + /* * The type of source. */ @@ -43,7 +43,7 @@ public final class DatasetDataGenerationJobSource extends DataGenerationJobSourc /** * Creates an instance of DatasetDataGenerationJobSource class. - * + * * @param name the name value to set. */ @Generated @@ -53,7 +53,7 @@ public DatasetDataGenerationJobSource(String name) { /** * Get the type property: The type of source. - * + * * @return the type value. */ @Generated @@ -65,7 +65,7 @@ public DataGenerationJobSourceType getType() { /** * Get the description property: Optional description of what this source represents — helps the pipeline interpret * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * + * * @return the description value. */ @Generated @@ -76,7 +76,7 @@ public String getDescription() { /** * Set the description property: Optional description of what this source represents — helps the pipeline interpret * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * + * * @param description the description value to set. * @return the DatasetDataGenerationJobSource object itself. */ @@ -88,7 +88,7 @@ public DatasetDataGenerationJobSource setDescription(String description) { /** * Get the name property: The name of the dataset. - * + * * @return the name value. */ @Generated @@ -98,7 +98,7 @@ public String getName() { /** * Get the version property: The version of the dataset. If not specified, the latest version is used. - * + * * @return the version value. */ @Generated @@ -108,7 +108,7 @@ public String getVersion() { /** * Set the version property: The version of the dataset. If not specified, the latest version is used. - * + * * @param version the version value to set. * @return the DatasetDataGenerationJobSource object itself. */ @@ -134,7 +134,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of DatasetDataGenerationJobSource from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of DatasetDataGenerationJobSource if the JsonReader was pointing to an instance of it, or * null if it was pointing to JSON null. @@ -151,7 +151,6 @@ public static DatasetDataGenerationJobSource fromJson(JsonReader jsonReader) thr while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { name = reader.getString(); } else if ("type".equals(fieldName)) { @@ -169,7 +168,6 @@ public static DatasetDataGenerationJobSource fromJson(JsonReader jsonReader) thr deserializedDatasetDataGenerationJobSource.type = type; deserializedDatasetDataGenerationJobSource.description = description; deserializedDatasetDataGenerationJobSource.version = version; - return deserializedDatasetDataGenerationJobSource; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java index bd62e52828b2..b0af845acc60 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -16,6 +15,7 @@ */ @Fluent public final class DatasetEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource { + /* * The type of source. */ @@ -43,7 +43,7 @@ public final class DatasetEvaluatorGenerationJobSource extends EvaluatorGenerati /** * Creates an instance of DatasetEvaluatorGenerationJobSource class. - * + * * @param name the name value to set. */ @Generated @@ -53,7 +53,7 @@ public DatasetEvaluatorGenerationJobSource(String name) { /** * Get the type property: The type of source. - * + * * @return the type value. */ @Generated @@ -65,7 +65,7 @@ public EvaluatorGenerationJobSourceType getType() { /** * Get the description property: Optional description of what this source represents — helps the pipeline interpret * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * + * * @return the description value. */ @Generated @@ -76,7 +76,7 @@ public String getDescription() { /** * Set the description property: Optional description of what this source represents — helps the pipeline interpret * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * + * * @param description the description value to set. * @return the DatasetEvaluatorGenerationJobSource object itself. */ @@ -88,7 +88,7 @@ public DatasetEvaluatorGenerationJobSource setDescription(String description) { /** * Get the name property: The name of the dataset. - * + * * @return the name value. */ @Generated @@ -98,7 +98,7 @@ public String getName() { /** * Get the version property: The version of the dataset. If not specified, the latest version is used. - * + * * @return the version value. */ @Generated @@ -108,7 +108,7 @@ public String getVersion() { /** * Set the version property: The version of the dataset. If not specified, the latest version is used. - * + * * @param version the version value to set. * @return the DatasetEvaluatorGenerationJobSource object itself. */ @@ -134,7 +134,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of DatasetEvaluatorGenerationJobSource from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of DatasetEvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, * or null if it was pointing to JSON null. @@ -151,7 +151,6 @@ public static DatasetEvaluatorGenerationJobSource fromJson(JsonReader jsonReader while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { name = reader.getString(); } else if ("type".equals(fieldName)) { @@ -169,7 +168,6 @@ public static DatasetEvaluatorGenerationJobSource fromJson(JsonReader jsonReader deserializedDatasetEvaluatorGenerationJobSource.type = type; deserializedDatasetEvaluatorGenerationJobSource.description = description; deserializedDatasetEvaluatorGenerationJobSource.version = version; - return deserializedDatasetEvaluatorGenerationJobSource; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetReference.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetReference.java index 688759dfb392..51e2f10e15b8 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetReference.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetReference.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public final class DatasetReference implements JsonSerializable { + /* * Dataset name. */ @@ -31,7 +31,7 @@ public final class DatasetReference implements JsonSerializable { + /* * Stable identifier for this dimension (snake_case, e.g., `correct_resolution`). Required. Provided by the user * when manually creating a rubric evaluator or during human-in-the-loop review of a generated set; the generation @@ -49,7 +49,7 @@ public final class Dimension implements JsonSerializable { /** * Creates an instance of Dimension class. - * + * * @param dimensionId the dimensionId value to set. * @param description the description value to set. * @param weight the weight value to set. @@ -66,7 +66,7 @@ public Dimension(String dimensionId, String description, int weight) { * Required. Provided by the user when manually creating a rubric evaluator or during human-in-the-loop review of a * generated set; the generation pipeline produces an initial value the user can edit. Editable when saving new * versions. - * + * * @return the dimensionId value. */ @Generated @@ -77,7 +77,7 @@ public String getDimensionId() { /** * Get the description property: What this dimension measures (e.g., 'Correctly identifies the user's reservation * intent and pursues the appropriate workflow'). - * + * * @return the description value. */ @Generated @@ -88,7 +88,7 @@ public String getDescription() { /** * Get the weight property: Relative weight of this dimension (1-10). The generation pipeline assigns exactly one * dimension weight 8-10; all others use 1-6. User edits are not constrained by this heuristic. - * + * * @return the weight value. */ @Generated @@ -100,7 +100,7 @@ public int getWeight() { * Get the alwaysApplicable property: When true, the LLM judge always scores this dimension regardless of relevance * (skips applicability assessment). The service-generated general quality/policy dimension has this set to true and * is non-editable. Users may set this on their own custom dimensions. - * + * * @return the alwaysApplicable value. */ @Generated @@ -112,7 +112,7 @@ public Boolean isAlwaysApplicable() { * Set the alwaysApplicable property: When true, the LLM judge always scores this dimension regardless of relevance * (skips applicability assessment). The service-generated general quality/policy dimension has this set to true and * is non-editable. Users may set this on their own custom dimensions. - * + * * @param alwaysApplicable the alwaysApplicable value to set. * @return the Dimension object itself. */ @@ -138,7 +138,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of Dimension from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of Dimension if the JsonReader was pointing to an instance of it, or null if it was pointing * to JSON null. @@ -155,7 +155,6 @@ public static Dimension fromJson(JsonReader jsonReader) throws IOException { while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("dimension_id".equals(fieldName)) { dimensionId = reader.getString(); } else if ("description".equals(fieldName)) { @@ -170,7 +169,6 @@ public static Dimension fromJson(JsonReader jsonReader) throws IOException { } Dimension deserializedDimension = new Dimension(dimensionId, description, weight); deserializedDimension.alwaysApplicable = alwaysApplicable; - return deserializedDimension; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java index 34ca7e22dfd7..173d31d9701c 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public final class DispatchRoutineResponse implements JsonSerializable { + /* * The dispatch identifier created for the routine dispatch. */ @@ -44,7 +44,7 @@ private DispatchRoutineResponse() { /** * Get the dispatchId property: The dispatch identifier created for the routine dispatch. - * + * * @return the dispatchId value. */ @Generated @@ -54,7 +54,7 @@ public String getDispatchId() { /** * Get the actionCorrelationId property: A downstream action correlation identifier, when available. - * + * * @return the actionCorrelationId value. */ @Generated @@ -64,7 +64,7 @@ public String getActionCorrelationId() { /** * Get the taskId property: A workspace task identifier created for the dispatch, when available. - * + * * @return the taskId value. */ @Generated @@ -87,7 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of DispatchRoutineResponse from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of DispatchRoutineResponse if the JsonReader was pointing to an instance of it, or null if it * was pointing to JSON null. @@ -100,7 +100,6 @@ public static DispatchRoutineResponse fromJson(JsonReader jsonReader) throws IOE while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("dispatch_id".equals(fieldName)) { deserializedDispatchRoutineResponse.dispatchId = reader.getString(); } else if ("action_correlation_id".equals(fieldName)) { @@ -111,7 +110,6 @@ public static DispatchRoutineResponse fromJson(JsonReader jsonReader) throws IOE reader.skipChildren(); } } - return deserializedDispatchRoutineResponse; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java index 24adb59c6f10..503743e1d861 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public final class EvaluatorCredentialRequest implements JsonSerializable { + /* * The blob URI for the evaluator storage. Example: `https://account.blob.core.windows.net:443/container` */ @@ -25,7 +25,7 @@ public final class EvaluatorCredentialRequest implements JsonSerializable { + /* * Reference to the single Foundry Dataset (one combined JSONL file, version-aligned to `EvaluatorVersion.version`) * holding all artifacts produced by the generation pipeline. Each row in the JSONL carries a `kind` field @@ -39,7 +39,7 @@ public final class EvaluatorGenerationArtifacts implements JsonSerializable kind * Get the dataset property: Reference to the single Foundry Dataset (one combined JSONL file, version-aligned to * `EvaluatorVersion.version`) holding all artifacts produced by the generation pipeline. Each row in the JSONL * carries a `kind` field discriminating its content (e.g. `spec`, `tools`, `context`). - * + * * @return the dataset value. */ @Generated @@ -66,7 +66,7 @@ public DatasetReference getDataset() { * evaluation specification, a Markdown document describing what the evaluator measures). May additionally contain * `"tools"` (when the generation pipeline produced or inferred OpenAI tool schemas) and/or `"context"` (when * supplementary materials such as file uploads or trace samples were used during generation). - * + * * @return the kinds value. */ @Generated @@ -88,7 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of EvaluatorGenerationArtifacts from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of EvaluatorGenerationArtifacts if the JsonReader was pointing to an instance of it, or null * if it was pointing to JSON null. @@ -103,7 +103,6 @@ public static EvaluatorGenerationArtifacts fromJson(JsonReader jsonReader) throw while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("dataset".equals(fieldName)) { dataset = DatasetReference.fromJson(reader); } else if ("kinds".equals(fieldName)) { diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java index 7ca7583ea906..ea557319a4a4 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -18,6 +17,7 @@ */ @Fluent public final class EvaluatorGenerationInputs implements JsonSerializable { + /* * Source materials for generation — agent descriptions, prompts, traces, or datasets. Each entry is an * `EvaluatorGenerationJobSource` variant discriminated by `type`. @@ -62,7 +62,7 @@ public final class EvaluatorGenerationInputs implements JsonSerializable sources, Str /** * Get the sources property: Source materials for generation — agent descriptions, prompts, traces, or datasets. * Each entry is an `EvaluatorGenerationJobSource` variant discriminated by `type`. - * + * * @return the sources value. */ @Generated @@ -88,7 +88,7 @@ public List getSources() { /** * Get the model property: The LLM model to use for rubric generation (e.g., 'gpt-4o'). Required — users must * provide their own model rather than relying on service-owned capacity. - * + * * @return the model value. */ @Generated @@ -104,7 +104,7 @@ public String getModel() { * prior version's `dimensions` as context for incremental improvement (foundation of the post-//build adaptive * loop). Old versions remain queryable via `get_version(name, version)`. If the existing evaluator is not a * rubric-subtype evaluator (built-in, prompt-based, code-based), the request is rejected with `400 Bad Request`. - * + * * @return the evaluatorName value. */ @Generated @@ -116,7 +116,7 @@ public String getEvaluatorName() { * Get the evaluatorDisplayName property: Optional human-friendly display name for the resulting evaluator. Surfaced * as `EvaluatorVersion.display_name` on the persisted evaluator. When omitted, the service uses `evaluator_name` as * the display name. The `evaluator_` prefix disambiguates this from the immutable `evaluator_name` identifier. - * + * * @return the evaluatorDisplayName value. */ @Generated @@ -128,7 +128,7 @@ public String getEvaluatorDisplayName() { * Set the evaluatorDisplayName property: Optional human-friendly display name for the resulting evaluator. Surfaced * as `EvaluatorVersion.display_name` on the persisted evaluator. When omitted, the service uses `evaluator_name` as * the display name. The `evaluator_` prefix disambiguates this from the immutable `evaluator_name` identifier. - * + * * @param evaluatorDisplayName the evaluatorDisplayName value to set. * @return the EvaluatorGenerationInputs object itself. */ @@ -143,7 +143,7 @@ public EvaluatorGenerationInputs setEvaluatorDisplayName(String evaluatorDisplay * as `EvaluatorVersion.description` on the persisted evaluator. Typically collected from the UI alongside * `evaluator_display_name`. The `evaluator_` prefix disambiguates this from any other description fields on related * models. - * + * * @return the evaluatorDescription value. */ @Generated @@ -156,7 +156,7 @@ public String getEvaluatorDescription() { * as `EvaluatorVersion.description` on the persisted evaluator. Typically collected from the UI alongside * `evaluator_display_name`. The `evaluator_` prefix disambiguates this from any other description fields on related * models. - * + * * @param evaluatorDescription the evaluatorDescription value to set. * @return the EvaluatorGenerationInputs object itself. */ @@ -183,7 +183,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of EvaluatorGenerationInputs from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of EvaluatorGenerationInputs if the JsonReader was pointing to an instance of it, or null if * it was pointing to JSON null. @@ -201,7 +201,6 @@ public static EvaluatorGenerationInputs fromJson(JsonReader jsonReader) throws I while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("sources".equals(fieldName)) { sources = reader.readArray(reader1 -> EvaluatorGenerationJobSource.fromJson(reader1)); } else if ("model".equals(fieldName)) { @@ -220,7 +219,6 @@ public static EvaluatorGenerationInputs fromJson(JsonReader jsonReader) throws I = new EvaluatorGenerationInputs(sources, model, evaluatorName); deserializedEvaluatorGenerationInputs.evaluatorDisplayName = evaluatorDisplayName; deserializedEvaluatorGenerationInputs.evaluatorDescription = evaluatorDescription; - return deserializedEvaluatorGenerationInputs; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java index 80e1b06c79af..79f7bd26a96f 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -21,6 +20,7 @@ */ @Fluent public final class EvaluatorGenerationJob implements JsonSerializable { + /* * Server-assigned unique identifier. */ @@ -78,7 +78,7 @@ public EvaluatorGenerationJob() { /** * Get the id property: Server-assigned unique identifier. - * + * * @return the id value. */ @Generated @@ -88,7 +88,7 @@ public String getId() { /** * Get the inputs property: Caller-supplied inputs. - * + * * @return the inputs value. */ @Generated @@ -98,7 +98,7 @@ public EvaluatorGenerationInputs getInputs() { /** * Set the inputs property: Caller-supplied inputs. - * + * * @param inputs the inputs value to set. * @return the EvaluatorGenerationJob object itself. */ @@ -110,7 +110,7 @@ public EvaluatorGenerationJob setInputs(EvaluatorGenerationInputs inputs) { /** * Get the result property: Result produced on success. - * + * * @return the result value. */ @Generated @@ -120,7 +120,7 @@ public EvaluatorVersion getResult() { /** * Get the status property: Current lifecycle status. - * + * * @return the status value. */ @Generated @@ -130,7 +130,7 @@ public JobStatus getStatus() { /** * Get the error property: Error details — populated only on failure. - * + * * @return the error value. */ @Generated @@ -141,7 +141,7 @@ public ApiError getError() { /** * Get the createdAt property: The timestamp when the job was created, represented in Unix time (seconds since * January 1, 1970). - * + * * @return the createdAt value. */ @Generated @@ -152,7 +152,7 @@ public OffsetDateTime getCreatedAt() { /** * Get the finishedAt property: The timestamp when the job finished, represented in Unix time (seconds since January * 1, 1970). - * + * * @return the finishedAt value. */ @Generated @@ -165,7 +165,7 @@ public OffsetDateTime getFinishedAt() { /** * Get the usage property: Token consumption summary. Populated when the job reaches a terminal state. - * + * * @return the usage value. */ @Generated @@ -186,7 +186,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of EvaluatorGenerationJob from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of EvaluatorGenerationJob if the JsonReader was pointing to an instance of it, or null if it * was pointing to JSON null. @@ -200,7 +200,6 @@ public static EvaluatorGenerationJob fromJson(JsonReader jsonReader) throws IOEx while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("id".equals(fieldName)) { deserializedEvaluatorGenerationJob.id = reader.getString(); } else if ("status".equals(fieldName)) { @@ -221,7 +220,6 @@ public static EvaluatorGenerationJob fromJson(JsonReader jsonReader) throws IOEx reader.skipChildren(); } } - return deserializedEvaluatorGenerationJob; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java index 99a3b39cf28c..e777f2b081a7 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public class EvaluatorGenerationJobSource implements JsonSerializable { + /* * The type of source. */ @@ -33,7 +33,7 @@ public EvaluatorGenerationJobSource() { /** * Get the type property: The type of source. - * + * * @return the type value. */ @Generated @@ -54,7 +54,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of EvaluatorGenerationJobSource from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of EvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, or null * if it was pointing to JSON null. @@ -65,7 +65,8 @@ public static EvaluatorGenerationJobSource fromJson(JsonReader jsonReader) throw return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { - readerToUse.nextToken(); // Prepare for reading + // Prepare for reading + readerToUse.nextToken(); while (readerToUse.nextToken() != JsonToken.END_OBJECT) { String fieldName = readerToUse.getFieldName(); readerToUse.nextToken(); @@ -99,7 +100,6 @@ static EvaluatorGenerationJobSource fromJsonKnownDiscriminator(JsonReader jsonRe while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedEvaluatorGenerationJobSource.type = EvaluatorGenerationJobSourceType.fromString(reader.getString()); @@ -107,7 +107,6 @@ static EvaluatorGenerationJobSource fromJsonKnownDiscriminator(JsonReader jsonRe reader.skipChildren(); } } - return deserializedEvaluatorGenerationJobSource; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java index 827c76e67d2e..b49a6f230215 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -12,6 +11,7 @@ * The supported source types for evaluator generation jobs. */ public final class EvaluatorGenerationJobSourceType extends ExpandableStringEnum { + /** * Prompt source — inline text provided by the user. */ @@ -38,7 +38,7 @@ public final class EvaluatorGenerationJobSourceType extends ExpandableStringEnum /** * Creates a new instance of EvaluatorGenerationJobSourceType value. - * + * * @deprecated Use the {@link #fromString(String)} factory method. */ @Generated @@ -48,7 +48,7 @@ public EvaluatorGenerationJobSourceType() { /** * Creates or finds a EvaluatorGenerationJobSourceType from its string representation. - * + * * @param name a name to look for. * @return the corresponding EvaluatorGenerationJobSourceType. */ @@ -59,7 +59,7 @@ public static EvaluatorGenerationJobSourceType fromString(String name) { /** * Gets known EvaluatorGenerationJobSourceType values. - * + * * @return known EvaluatorGenerationJobSourceType values. */ @Generated diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java index a452679c16df..1b797124a860 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public final class EvaluatorGenerationTokenUsage implements JsonSerializable { + /* * Number of input (prompt) tokens consumed. */ @@ -37,7 +37,7 @@ public final class EvaluatorGenerationTokenUsage implements JsonSerializable vectorStoreIds) { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -74,7 +74,7 @@ public ToolType getType() { /** * Get the vectorStoreIds property: The IDs of the vector stores to search. - * + * * @return the vectorStoreIds value. */ @Generated @@ -85,7 +85,7 @@ public List getVectorStoreIds() { /** * Get the maxNumResults property: The maximum number of results to return. This number should be between 1 and 50 * inclusive. - * + * * @return the maxNumResults value. */ @Generated @@ -96,7 +96,7 @@ public Integer getMaxNumResults() { /** * Set the maxNumResults property: The maximum number of results to return. This number should be between 1 and 50 * inclusive. - * + * * @param maxNumResults the maxNumResults value to set. * @return the FileSearchTool object itself. */ @@ -108,7 +108,7 @@ public FileSearchTool setMaxNumResults(Integer maxNumResults) { /** * Get the rankingOptions property: Ranking options for search. - * + * * @return the rankingOptions value. */ @Generated @@ -118,7 +118,7 @@ public RankingOptions getRankingOptions() { /** * Set the rankingOptions property: Ranking options for search. - * + * * @param rankingOptions the rankingOptions value to set. * @return the FileSearchTool object itself. */ @@ -130,7 +130,7 @@ public FileSearchTool setRankingOptions(RankingOptions rankingOptions) { /** * Get the filters property: The filters property. - * + * * @return the filters value. */ @Generated @@ -140,7 +140,7 @@ public BinaryData getFilters() { /** * Set the filters property: The filters property. - * + * * @param filters the filters value to set. * @return the FileSearchTool object itself. */ @@ -171,7 +171,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of FileSearchTool from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of FileSearchTool if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -189,7 +189,6 @@ public static FileSearchTool fromJson(JsonReader jsonReader) throws IOException while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("vector_store_ids".equals(fieldName)) { vectorStoreIds = reader.readArray(reader1 -> reader1.getString()); } else if ("type".equals(fieldName)) { @@ -209,7 +208,6 @@ public static FileSearchTool fromJson(JsonReader jsonReader) throws IOException deserializedFileSearchTool.maxNumResults = maxNumResults; deserializedFileSearchTool.rankingOptions = rankingOptions; deserializedFileSearchTool.filters = filters; - return deserializedFileSearchTool; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java index 2cef7749767a..03fc58e8733c 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -13,11 +12,12 @@ /** * Shell tool - * + * * A tool that allows the model to execute shell commands. */ @Fluent public final class FunctionShellToolParam extends Tool { + /* * The type property. */ @@ -39,7 +39,7 @@ public FunctionShellToolParam() { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -50,7 +50,7 @@ public ToolType getType() { /** * Get the environment property: The environment property. - * + * * @return the environment value. */ @Generated @@ -60,7 +60,7 @@ public FunctionShellToolParamEnvironment getEnvironment() { /** * Set the environment property: The environment property. - * + * * @param environment the environment value to set. * @return the FunctionShellToolParam object itself. */ @@ -84,7 +84,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of FunctionShellToolParam from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of FunctionShellToolParam if the JsonReader was pointing to an instance of it, or null if it * was pointing to JSON null. @@ -97,7 +97,6 @@ public static FunctionShellToolParam fromJson(JsonReader jsonReader) throws IOEx while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedFunctionShellToolParam.type = ToolType.fromString(reader.getString()); } else if ("environment".equals(fieldName)) { @@ -106,7 +105,6 @@ public static FunctionShellToolParam fromJson(JsonReader jsonReader) throws IOEx reader.skipChildren(); } } - return deserializedFunctionShellToolParam; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java index c938efb41baf..f01bb8c045c9 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public class FunctionShellToolParamEnvironment implements JsonSerializable { + /* * The type property. */ @@ -33,7 +33,7 @@ public FunctionShellToolParamEnvironment() { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -54,7 +54,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of FunctionShellToolParamEnvironment from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of FunctionShellToolParamEnvironment if the JsonReader was pointing to an instance of it, or * null if it was pointing to JSON null. @@ -65,7 +65,8 @@ public static FunctionShellToolParamEnvironment fromJson(JsonReader jsonReader) return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { - readerToUse.nextToken(); // Prepare for reading + // Prepare for reading + readerToUse.nextToken(); while (readerToUse.nextToken() != JsonToken.END_OBJECT) { String fieldName = readerToUse.getFieldName(); readerToUse.nextToken(); @@ -98,7 +99,6 @@ static FunctionShellToolParamEnvironment fromJsonKnownDiscriminator(JsonReader j while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedFunctionShellToolParamEnvironment.type = FunctionShellToolParamEnvironmentType.fromString(reader.getString()); @@ -106,7 +106,6 @@ static FunctionShellToolParamEnvironment fromJsonKnownDiscriminator(JsonReader j reader.skipChildren(); } } - return deserializedFunctionShellToolParamEnvironment; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java index 282755beaecb..b86a4c686f30 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -16,6 +15,7 @@ */ @Immutable public final class FunctionShellToolParamEnvironmentContainerReferenceParam extends FunctionShellToolParamEnvironment { + /* * The type property. */ @@ -30,7 +30,7 @@ public final class FunctionShellToolParamEnvironmentContainerReferenceParam exte /** * Creates an instance of FunctionShellToolParamEnvironmentContainerReferenceParam class. - * + * * @param containerId the containerId value to set. */ @Generated @@ -40,7 +40,7 @@ public FunctionShellToolParamEnvironmentContainerReferenceParam(String container /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -51,7 +51,7 @@ public FunctionShellToolParamEnvironmentType getType() { /** * Get the containerId property: The ID of the referenced container. - * + * * @return the containerId value. */ @Generated @@ -73,7 +73,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of FunctionShellToolParamEnvironmentContainerReferenceParam from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of FunctionShellToolParamEnvironmentContainerReferenceParam if the JsonReader was pointing to * an instance of it, or null if it was pointing to JSON null. @@ -90,7 +90,6 @@ public static FunctionShellToolParamEnvironmentContainerReferenceParam fromJson( while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("container_id".equals(fieldName)) { containerId = reader.getString(); } else if ("type".equals(fieldName)) { @@ -102,7 +101,6 @@ public static FunctionShellToolParamEnvironmentContainerReferenceParam fromJson( FunctionShellToolParamEnvironmentContainerReferenceParam deserializedFunctionShellToolParamEnvironmentContainerReferenceParam = new FunctionShellToolParamEnvironmentContainerReferenceParam(containerId); deserializedFunctionShellToolParamEnvironmentContainerReferenceParam.type = type; - return deserializedFunctionShellToolParamEnvironmentContainerReferenceParam; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java index aa481f047f68..3f086d380996 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -17,6 +16,7 @@ */ @Fluent public final class FunctionShellToolParamEnvironmentLocalEnvironmentParam extends FunctionShellToolParamEnvironment { + /* * The type property. */ @@ -38,7 +38,7 @@ public FunctionShellToolParamEnvironmentLocalEnvironmentParam() { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -49,7 +49,7 @@ public FunctionShellToolParamEnvironmentType getType() { /** * Get the skills property: An optional list of skills. - * + * * @return the skills value. */ @Generated @@ -59,7 +59,7 @@ public List getSkills() { /** * Set the skills property: An optional list of skills. - * + * * @param skills the skills value to set. * @return the FunctionShellToolParamEnvironmentLocalEnvironmentParam object itself. */ @@ -83,7 +83,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of FunctionShellToolParamEnvironmentLocalEnvironmentParam from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of FunctionShellToolParamEnvironmentLocalEnvironmentParam if the JsonReader was pointing to * an instance of it, or null if it was pointing to JSON null. @@ -98,7 +98,6 @@ public static FunctionShellToolParamEnvironmentLocalEnvironmentParam fromJson(Js while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedFunctionShellToolParamEnvironmentLocalEnvironmentParam.type = FunctionShellToolParamEnvironmentType.fromString(reader.getString()); @@ -109,7 +108,6 @@ public static FunctionShellToolParamEnvironmentLocalEnvironmentParam fromJson(Js reader.skipChildren(); } } - return deserializedFunctionShellToolParamEnvironmentLocalEnvironmentParam; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java index f17709789ee8..1302b40bc02c 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -13,6 +12,7 @@ */ public final class FunctionShellToolParamEnvironmentType extends ExpandableStringEnum { + /** * Static value container_auto for FunctionShellToolParamEnvironmentType. */ @@ -33,7 +33,7 @@ public final class FunctionShellToolParamEnvironmentType /** * Creates a new instance of FunctionShellToolParamEnvironmentType value. - * + * * @deprecated Use the {@link #fromString(String)} factory method. */ @Generated @@ -43,7 +43,7 @@ public FunctionShellToolParamEnvironmentType() { /** * Creates or finds a FunctionShellToolParamEnvironmentType from its string representation. - * + * * @param name a name to look for. * @return the corresponding FunctionShellToolParamEnvironmentType. */ @@ -54,7 +54,7 @@ public static FunctionShellToolParamEnvironmentType fromString(String name) { /** * Gets known FunctionShellToolParamEnvironmentType values. - * + * * @return known FunctionShellToolParamEnvironmentType values. */ @Generated diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionTool.java index f2b9e8e5d280..073029986eda 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionTool.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionTool.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -15,12 +14,13 @@ /** * Function - * + * * Defines a function in your own code the model can choose to call. Learn more about [function * calling](https://platform.openai.com/docs/guides/function-calling). */ @Fluent public final class FunctionTool extends Tool { + /* * The type property. */ @@ -53,7 +53,7 @@ public final class FunctionTool extends Tool { /** * Creates an instance of FunctionTool class. - * + * * @param name the name value to set. * @param parameters the parameters value to set. * @param strict the strict value to set. @@ -67,7 +67,7 @@ public FunctionTool(String name, Map parameters, Boolean str /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -78,7 +78,7 @@ public ToolType getType() { /** * Get the name property: The name of the function to call. - * + * * @return the name value. */ @Generated @@ -88,7 +88,7 @@ public String getName() { /** * Get the description property: The description property. - * + * * @return the description value. */ @Generated @@ -98,7 +98,7 @@ public String getDescription() { /** * Set the description property: The description property. - * + * * @param description the description value to set. * @return the FunctionTool object itself. */ @@ -110,7 +110,7 @@ public FunctionTool setDescription(String description) { /** * Get the parameters property: The parameters property. - * + * * @return the parameters value. */ @Generated @@ -120,7 +120,7 @@ public Map getParameters() { /** * Get the strict property: The strict property. - * + * * @return the strict value. */ @Generated @@ -151,7 +151,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of FunctionTool from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of FunctionTool if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -169,7 +169,6 @@ public static FunctionTool fromJson(JsonReader jsonReader) throws IOException { while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { name = reader.getString(); } else if ("parameters".equals(fieldName)) { @@ -188,7 +187,6 @@ public static FunctionTool fromJson(JsonReader jsonReader) throws IOException { FunctionTool deserializedFunctionTool = new FunctionTool(name, parameters, strict); deserializedFunctionTool.type = type; deserializedFunctionTool.description = description; - return deserializedFunctionTool; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java index 60d823e291af..1bb28f557549 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -16,6 +15,7 @@ */ @Immutable public final class GitHubIssueOpenedRoutineTrigger extends RoutineTrigger { + /* * The trigger type. */ @@ -42,7 +42,7 @@ public final class GitHubIssueOpenedRoutineTrigger extends RoutineTrigger { /** * Creates an instance of GitHubIssueOpenedRoutineTrigger class. - * + * * @param connectionId the connectionId value to set. * @param assignee the assignee value to set. * @param repository the repository value to set. @@ -56,7 +56,7 @@ public GitHubIssueOpenedRoutineTrigger(String connectionId, String assignee, Str /** * Get the type property: The trigger type. - * + * * @return the type value. */ @Generated @@ -68,7 +68,7 @@ public RoutineTriggerType getType() { /** * Get the connectionId property: The workspace connection identifier that resolves the GitHub configuration for the * trigger. - * + * * @return the connectionId value. */ @Generated @@ -79,7 +79,7 @@ public String getConnectionId() { /** * Get the assignee property: The GitHub assignee or organization filter that scopes which issues can fire the * trigger. - * + * * @return the assignee value. */ @Generated @@ -89,7 +89,7 @@ public String getAssignee() { /** * Get the repository property: The GitHub repository filter that scopes which issues can fire the trigger. - * + * * @return the repository value. */ @Generated @@ -113,7 +113,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of GitHubIssueOpenedRoutineTrigger from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of GitHubIssueOpenedRoutineTrigger if the JsonReader was pointing to an instance of it, or * null if it was pointing to JSON null. @@ -130,7 +130,6 @@ public static GitHubIssueOpenedRoutineTrigger fromJson(JsonReader jsonReader) th while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("connection_id".equals(fieldName)) { connectionId = reader.getString(); } else if ("assignee".equals(fieldName)) { @@ -146,7 +145,6 @@ public static GitHubIssueOpenedRoutineTrigger fromJson(JsonReader jsonReader) th GitHubIssueOpenedRoutineTrigger deserializedGitHubIssueOpenedRoutineTrigger = new GitHubIssueOpenedRoutineTrigger(connectionId, assignee, repository); deserializedGitHubIssueOpenedRoutineTrigger.type = type; - return deserializedGitHubIssueOpenedRoutineTrigger; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java index 09703a0653fa..c87287e11198 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public final class HybridSearchOptions implements JsonSerializable { + /* * The weight of the embedding in the reciprocal ranking fusion. */ @@ -31,7 +31,7 @@ public final class HybridSearchOptions implements JsonSerializable { + /* * The image_url property. */ @@ -38,7 +38,7 @@ public ImageGenToolInputImageMask() { /** * Get the imageUrl property: The image_url property. - * + * * @return the imageUrl value. */ @Generated @@ -48,7 +48,7 @@ public String getImageUrl() { /** * Set the imageUrl property: The image_url property. - * + * * @param imageUrl the imageUrl value to set. * @return the ImageGenToolInputImageMask object itself. */ @@ -60,7 +60,7 @@ public ImageGenToolInputImageMask setImageUrl(String imageUrl) { /** * Get the fileId property: The file_id property. - * + * * @return the fileId value. */ @Generated @@ -70,7 +70,7 @@ public String getFileId() { /** * Set the fileId property: The file_id property. - * + * * @param fileId the fileId value to set. * @return the ImageGenToolInputImageMask object itself. */ @@ -94,7 +94,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of ImageGenToolInputImageMask from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of ImageGenToolInputImageMask if the JsonReader was pointing to an instance of it, or null if * it was pointing to JSON null. @@ -107,7 +107,6 @@ public static ImageGenToolInputImageMask fromJson(JsonReader jsonReader) throws while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("image_url".equals(fieldName)) { deserializedImageGenToolInputImageMask.imageUrl = reader.getString(); } else if ("file_id".equals(fieldName)) { @@ -116,7 +115,6 @@ public static ImageGenToolInputImageMask fromJson(JsonReader jsonReader) throws reader.skipChildren(); } } - return deserializedImageGenToolInputImageMask; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java index 97e606bf5397..b57f9f4c3de5 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -12,6 +11,7 @@ * Defines values for ImageGenToolModel. */ public final class ImageGenToolModel extends ExpandableStringEnum { + /** * Static value gpt-image-1 for ImageGenToolModel. */ @@ -32,7 +32,7 @@ public final class ImageGenToolModel extends ExpandableStringEnum { + /* * The type of the inline skill source. Must be `base64`. */ @@ -37,7 +37,7 @@ public final class InlineSkillSourceParam implements JsonSerializable { + /** * Job is waiting to start. */ @@ -44,7 +44,7 @@ public final class JobStatus extends ExpandableStringEnum { /** * Creates a new instance of JobStatus value. - * + * * @deprecated Use the {@link #fromString(String)} factory method. */ @Generated @@ -54,7 +54,7 @@ public JobStatus() { /** * Creates or finds a JobStatus from its string representation. - * + * * @param name a name to look for. * @return the corresponding JobStatus. */ @@ -65,7 +65,7 @@ public static JobStatus fromString(String name) { /** * Gets known JobStatus values. - * + * * @return known JobStatus values. */ @Generated diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java index 17d7bbd5a17d..c45add8102c1 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -13,11 +12,12 @@ /** * Local shell tool - * + * * A tool that allows the model to execute shell commands in a local environment. */ @Immutable public final class LocalShellToolParam extends Tool { + /* * The type property. */ @@ -33,7 +33,7 @@ public LocalShellToolParam() { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -55,7 +55,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of LocalShellToolParam from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of LocalShellToolParam if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -68,14 +68,12 @@ public static LocalShellToolParam fromJson(JsonReader jsonReader) throws IOExcep while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedLocalShellToolParam.type = ToolType.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedLocalShellToolParam; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalSkillParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalSkillParam.java index c231e897a299..b275391e039f 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalSkillParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalSkillParam.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public final class LocalSkillParam implements JsonSerializable { + /* * The name of the skill. */ @@ -37,7 +37,7 @@ public final class LocalSkillParam implements JsonSerializable /** * Creates an instance of LocalSkillParam class. - * + * * @param name the name value to set. * @param description the description value to set. * @param path the path value to set. @@ -51,7 +51,7 @@ public LocalSkillParam(String name, String description, String path) { /** * Get the name property: The name of the skill. - * + * * @return the name value. */ @Generated @@ -61,7 +61,7 @@ public String getName() { /** * Get the description property: The description of the skill. - * + * * @return the description value. */ @Generated @@ -71,7 +71,7 @@ public String getDescription() { /** * Get the path property: The path to the directory containing the skill. - * + * * @return the path value. */ @Generated @@ -94,7 +94,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of LocalSkillParam from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of LocalSkillParam if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -110,7 +110,6 @@ public static LocalSkillParam fromJson(JsonReader jsonReader) throws IOException while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { name = reader.getString(); } else if ("description".equals(fieldName)) { diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPTool.java index 51d61c9161fa..be19c3ff931e 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPTool.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPTool.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -15,12 +14,13 @@ /** * MCP tool - * + * * Give the model access to additional tools via remote Model Context Protocol * (MCP) servers. [Learn more about MCP](/docs/guides/tools-remote-mcp). */ @Fluent public final class MCPTool extends Tool { + /* * The type property. */ @@ -91,7 +91,7 @@ public final class MCPTool extends Tool { /** * Creates an instance of MCPTool class. - * + * * @param serverLabel the serverLabel value to set. */ @Generated @@ -101,7 +101,7 @@ public MCPTool(String serverLabel) { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -112,7 +112,7 @@ public ToolType getType() { /** * Get the serverLabel property: A label for this MCP server, used to identify it in tool calls. - * + * * @return the serverLabel value. */ @Generated @@ -123,7 +123,7 @@ public String getServerLabel() { /** * Get the serverUrl property: The URL for the MCP server. One of `server_url` or `connector_id` must be * provided. - * + * * @return the serverUrl value. */ @Generated @@ -134,7 +134,7 @@ public String getServerUrl() { /** * Set the serverUrl property: The URL for the MCP server. One of `server_url` or `connector_id` must be * provided. - * + * * @param serverUrl the serverUrl value to set. * @return the MCPTool object itself. */ @@ -157,7 +157,7 @@ public MCPTool setServerUrl(String serverUrl) { * - Outlook Calendar: `connector_outlookcalendar` * - Outlook Email: `connector_outlookemail` * - SharePoint: `connector_sharepoint`. - * + * * @return the connectorId value. */ @Generated @@ -178,7 +178,7 @@ public MCPToolConnectorId getConnectorId() { * - Outlook Calendar: `connector_outlookcalendar` * - Outlook Email: `connector_outlookemail` * - SharePoint: `connector_sharepoint`. - * + * * @param connectorId the connectorId value to set. * @return the MCPTool object itself. */ @@ -192,7 +192,7 @@ public MCPTool setConnectorId(MCPToolConnectorId connectorId) { * Get the authorization property: An OAuth access token that can be used with a remote MCP server, either * with a custom MCP server URL or a service connector. Your application * must handle the OAuth authorization flow and provide the token here. - * + * * @return the authorization value. */ @Generated @@ -204,7 +204,7 @@ public String getAuthorization() { * Set the authorization property: An OAuth access token that can be used with a remote MCP server, either * with a custom MCP server URL or a service connector. Your application * must handle the OAuth authorization flow and provide the token here. - * + * * @param authorization the authorization value to set. * @return the MCPTool object itself. */ @@ -216,7 +216,7 @@ public MCPTool setAuthorization(String authorization) { /** * Get the serverDescription property: Optional description of the MCP server, used to provide more context. - * + * * @return the serverDescription value. */ @Generated @@ -226,7 +226,7 @@ public String getServerDescription() { /** * Set the serverDescription property: Optional description of the MCP server, used to provide more context. - * + * * @param serverDescription the serverDescription value to set. * @return the MCPTool object itself. */ @@ -238,7 +238,7 @@ public MCPTool setServerDescription(String serverDescription) { /** * Get the headers property: The headers property. - * + * * @return the headers value. */ @Generated @@ -248,7 +248,7 @@ public Map getHeaders() { /** * Set the headers property: The headers property. - * + * * @param headers the headers value to set. * @return the MCPTool object itself. */ @@ -260,7 +260,7 @@ public MCPTool setHeaders(Map headers) { /** * Get the allowedTools property: The allowed_tools property. - * + * * @return the allowedTools value. */ @Generated @@ -270,7 +270,7 @@ public BinaryData getAllowedTools() { /** * Set the allowedTools property: The allowed_tools property. - * + * * @param allowedTools the allowedTools value to set. * @return the MCPTool object itself. */ @@ -282,7 +282,7 @@ public MCPTool setAllowedTools(BinaryData allowedTools) { /** * Get the requireApproval property: The require_approval property. - * + * * @return the requireApproval value. */ @Generated @@ -292,7 +292,7 @@ public BinaryData getRequireApproval() { /** * Set the requireApproval property: The require_approval property. - * + * * @param requireApproval the requireApproval value to set. * @return the MCPTool object itself. */ @@ -329,7 +329,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of MCPTool from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of MCPTool if the JsonReader was pointing to an instance of it, or null if it was pointing to * JSON null. @@ -351,7 +351,6 @@ public static MCPTool fromJson(JsonReader jsonReader) throws IOException { while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("server_label".equals(fieldName)) { serverLabel = reader.getString(); } else if ("type".equals(fieldName)) { @@ -385,7 +384,6 @@ public static MCPTool fromJson(JsonReader jsonReader) throws IOException { deserializedMCPTool.headers = headers; deserializedMCPTool.allowedTools = allowedTools; deserializedMCPTool.requireApproval = requireApproval; - return deserializedMCPTool; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolFilter.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolFilter.java index db5abfda5544..cd92afa42efb 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolFilter.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolFilter.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -15,11 +14,12 @@ /** * MCP tool filter - * + * * A filter object to specify which tools are allowed. */ @Fluent public final class MCPToolFilter implements JsonSerializable { + /* * MCP allowed tools * @@ -46,9 +46,9 @@ public MCPToolFilter() { /** * Get the toolNames property: MCP allowed tools - * + * * List of allowed tool names. - * + * * @return the toolNames value. */ @Generated @@ -58,9 +58,9 @@ public List getToolNames() { /** * Set the toolNames property: MCP allowed tools - * + * * List of allowed tool names. - * + * * @param toolNames the toolNames value to set. * @return the MCPToolFilter object itself. */ @@ -75,7 +75,7 @@ public MCPToolFilter setToolNames(List toolNames) { * MCP server is [annotated with * `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), * it will match this filter. - * + * * @return the readOnly value. */ @Generated @@ -88,7 +88,7 @@ public Boolean isReadOnly() { * MCP server is [annotated with * `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), * it will match this filter. - * + * * @param readOnly the readOnly value to set. * @return the MCPToolFilter object itself. */ @@ -112,7 +112,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of MCPToolFilter from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of MCPToolFilter if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -125,7 +125,6 @@ public static MCPToolFilter fromJson(JsonReader jsonReader) throws IOException { while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("tool_names".equals(fieldName)) { List toolNames = reader.readArray(reader1 -> reader1.getString()); deserializedMCPToolFilter.toolNames = toolNames; @@ -135,7 +134,6 @@ public static MCPToolFilter fromJson(JsonReader jsonReader) throws IOException { reader.skipChildren(); } } - return deserializedMCPToolFilter; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java index 0e8c40f29dcd..584310d4f785 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -17,6 +16,7 @@ */ @Fluent public final class MCPToolRequireApproval implements JsonSerializable { + /* * The always property. */ @@ -38,7 +38,7 @@ public MCPToolRequireApproval() { /** * Get the always property: The always property. - * + * * @return the always value. */ @Generated @@ -48,7 +48,7 @@ public MCPToolFilter getAlways() { /** * Set the always property: The always property. - * + * * @param always the always value to set. * @return the MCPToolRequireApproval object itself. */ @@ -60,7 +60,7 @@ public MCPToolRequireApproval setAlways(MCPToolFilter always) { /** * Get the never property: The never property. - * + * * @return the never value. */ @Generated @@ -70,7 +70,7 @@ public MCPToolFilter getNever() { /** * Set the never property: The never property. - * + * * @param never the never value to set. * @return the MCPToolRequireApproval object itself. */ @@ -94,7 +94,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of MCPToolRequireApproval from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of MCPToolRequireApproval if the JsonReader was pointing to an instance of it, or null if it * was pointing to JSON null. @@ -107,7 +107,6 @@ public static MCPToolRequireApproval fromJson(JsonReader jsonReader) throws IOEx while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("always".equals(fieldName)) { deserializedMCPToolRequireApproval.always = MCPToolFilter.fromJson(reader); } else if ("never".equals(fieldName)) { @@ -116,7 +115,6 @@ public static MCPToolRequireApproval fromJson(JsonReader jsonReader) throws IOEx reader.skipChildren(); } } - return deserializedMCPToolRequireApproval; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java index dc270f038fa5..f1c9e15d3a79 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -16,6 +15,7 @@ */ @Fluent public final class PromptDataGenerationJobSource extends DataGenerationJobSource { + /* * The type of source. */ @@ -37,7 +37,7 @@ public final class PromptDataGenerationJobSource extends DataGenerationJobSource /** * Creates an instance of PromptDataGenerationJobSource class. - * + * * @param prompt the prompt value to set. */ @Generated @@ -47,7 +47,7 @@ public PromptDataGenerationJobSource(String prompt) { /** * Get the type property: The type of source. - * + * * @return the type value. */ @Generated @@ -59,7 +59,7 @@ public DataGenerationJobSourceType getType() { /** * Get the description property: Optional description of what this source represents — helps the pipeline interpret * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * + * * @return the description value. */ @Generated @@ -70,7 +70,7 @@ public String getDescription() { /** * Set the description property: Optional description of what this source represents — helps the pipeline interpret * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * + * * @param description the description value to set. * @return the PromptDataGenerationJobSource object itself. */ @@ -82,7 +82,7 @@ public PromptDataGenerationJobSource setDescription(String description) { /** * Get the prompt property: Inline prompt text (e.g., agent description, policy text, supplementary context). - * + * * @return the prompt value. */ @Generated @@ -105,7 +105,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of PromptDataGenerationJobSource from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of PromptDataGenerationJobSource if the JsonReader was pointing to an instance of it, or null * if it was pointing to JSON null. @@ -121,7 +121,6 @@ public static PromptDataGenerationJobSource fromJson(JsonReader jsonReader) thro while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("prompt".equals(fieldName)) { prompt = reader.getString(); } else if ("type".equals(fieldName)) { @@ -136,7 +135,6 @@ public static PromptDataGenerationJobSource fromJson(JsonReader jsonReader) thro = new PromptDataGenerationJobSource(prompt); deserializedPromptDataGenerationJobSource.type = type; deserializedPromptDataGenerationJobSource.description = description; - return deserializedPromptDataGenerationJobSource; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java index 7a806abb3f35..d31c637c8cae 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -16,6 +15,7 @@ */ @Fluent public final class PromptEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource { + /* * The type of source. */ @@ -37,7 +37,7 @@ public final class PromptEvaluatorGenerationJobSource extends EvaluatorGeneratio /** * Creates an instance of PromptEvaluatorGenerationJobSource class. - * + * * @param prompt the prompt value to set. */ @Generated @@ -47,7 +47,7 @@ public PromptEvaluatorGenerationJobSource(String prompt) { /** * Get the type property: The type of source. - * + * * @return the type value. */ @Generated @@ -59,7 +59,7 @@ public EvaluatorGenerationJobSourceType getType() { /** * Get the description property: Optional description of what this source represents — helps the pipeline interpret * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * + * * @return the description value. */ @Generated @@ -70,7 +70,7 @@ public String getDescription() { /** * Set the description property: Optional description of what this source represents — helps the pipeline interpret * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * + * * @param description the description value to set. * @return the PromptEvaluatorGenerationJobSource object itself. */ @@ -82,7 +82,7 @@ public PromptEvaluatorGenerationJobSource setDescription(String description) { /** * Get the prompt property: Inline prompt text (e.g., agent description, policy text, supplementary context). - * + * * @return the prompt value. */ @Generated @@ -105,7 +105,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of PromptEvaluatorGenerationJobSource from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of PromptEvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, or * null if it was pointing to JSON null. @@ -121,7 +121,6 @@ public static PromptEvaluatorGenerationJobSource fromJson(JsonReader jsonReader) while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("prompt".equals(fieldName)) { prompt = reader.getString(); } else if ("type".equals(fieldName)) { @@ -136,7 +135,6 @@ public static PromptEvaluatorGenerationJobSource fromJson(JsonReader jsonReader) = new PromptEvaluatorGenerationJobSource(prompt); deserializedPromptEvaluatorGenerationJobSource.type = type; deserializedPromptEvaluatorGenerationJobSource.description = description; - return deserializedPromptEvaluatorGenerationJobSource; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankingOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankingOptions.java index 61b98e7687f4..598d5305ab39 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankingOptions.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankingOptions.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -17,6 +16,7 @@ */ @Fluent public final class RankingOptions implements JsonSerializable { + /* * The ranker to use for the file search. */ @@ -46,7 +46,7 @@ public RankingOptions() { /** * Get the ranker property: The ranker to use for the file search. - * + * * @return the ranker value. */ @Generated @@ -56,7 +56,7 @@ public RankerVersionType getRanker() { /** * Set the ranker property: The ranker to use for the file search. - * + * * @param ranker the ranker value to set. * @return the RankingOptions object itself. */ @@ -69,7 +69,7 @@ public RankingOptions setRanker(RankerVersionType ranker) { /** * Get the scoreThreshold property: The score threshold for the file search, a number between 0 and 1. Numbers * closer to 1 will attempt to return only the most relevant results, but may return fewer results. - * + * * @return the scoreThreshold value. */ @Generated @@ -80,7 +80,7 @@ public Integer getScoreThreshold() { /** * Set the scoreThreshold property: The score threshold for the file search, a number between 0 and 1. Numbers * closer to 1 will attempt to return only the most relevant results, but may return fewer results. - * + * * @param scoreThreshold the scoreThreshold value to set. * @return the RankingOptions object itself. */ @@ -93,7 +93,7 @@ public RankingOptions setScoreThreshold(Integer scoreThreshold) { /** * Get the hybridSearch property: Weights that control how reciprocal rank fusion balances semantic embedding * matches versus sparse keyword matches when hybrid search is enabled. - * + * * @return the hybridSearch value. */ @Generated @@ -104,7 +104,7 @@ public HybridSearchOptions getHybridSearch() { /** * Set the hybridSearch property: Weights that control how reciprocal rank fusion balances semantic embedding * matches versus sparse keyword matches when hybrid search is enabled. - * + * * @param hybridSearch the hybridSearch value to set. * @return the RankingOptions object itself. */ @@ -129,7 +129,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of RankingOptions from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of RankingOptions if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -142,7 +142,6 @@ public static RankingOptions fromJson(JsonReader jsonReader) throws IOException while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("ranker".equals(fieldName)) { deserializedRankingOptions.ranker = RankerVersionType.fromString(reader.getString()); } else if ("score_threshold".equals(fieldName)) { @@ -153,7 +152,6 @@ public static RankingOptions fromJson(JsonReader jsonReader) throws IOException reader.skipChildren(); } } - return deserializedRankingOptions; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Routine.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Routine.java index 2004f1d2d069..b9af216d6ea8 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Routine.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Routine.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -21,6 +20,7 @@ */ @Immutable public final class Routine implements JsonSerializable { + /* * The routine name. */ @@ -65,7 +65,7 @@ public final class Routine implements JsonSerializable { /** * Creates an instance of Routine class. - * + * * @param name the name value to set. * @param enabled the enabled value to set. * @param triggers the triggers value to set. @@ -81,7 +81,7 @@ private Routine(String name, boolean enabled, Map trigge /** * Get the name property: The routine name. - * + * * @return the name value. */ @Generated @@ -91,7 +91,7 @@ public String getName() { /** * Get the description property: A human-readable description of the routine. - * + * * @return the description value. */ @Generated @@ -101,7 +101,7 @@ public String getDescription() { /** * Get the enabled property: Whether the routine is enabled. - * + * * @return the enabled value. */ @Generated @@ -111,7 +111,7 @@ public boolean isEnabled() { /** * Get the triggers property: The triggers configured for the routine. - * + * * @return the triggers value. */ @Generated @@ -121,7 +121,7 @@ public Map getTriggers() { /** * Get the action property: The action executed when the routine fires. - * + * * @return the action value. */ @Generated @@ -131,7 +131,7 @@ public RoutineAction getAction() { /** * Get the createdAt property: The time when the routine was created. - * + * * @return the createdAt value. */ @Generated @@ -144,7 +144,7 @@ public OffsetDateTime getCreatedAt() { /** * Get the updatedAt property: The time when the routine was last updated. - * + * * @return the updatedAt value. */ @Generated @@ -174,7 +174,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of Routine from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of Routine if the JsonReader was pointing to an instance of it, or null if it was pointing to * JSON null. @@ -194,7 +194,6 @@ public static Routine fromJson(JsonReader jsonReader) throws IOException { while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { name = reader.getString(); } else if ("enabled".equals(fieldName)) { @@ -217,7 +216,6 @@ public static Routine fromJson(JsonReader jsonReader) throws IOException { deserializedRoutine.description = description; deserializedRoutine.createdAt = createdAt; deserializedRoutine.updatedAt = updatedAt; - return deserializedRoutine; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineAction.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineAction.java index 9f43b2b203a0..8e3bddb13df7 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineAction.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineAction.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public class RoutineAction implements JsonSerializable { + /* * The action type. */ @@ -32,7 +32,7 @@ public RoutineAction() { /** * Get the type property: The action type. - * + * * @return the type value. */ @Generated @@ -53,7 +53,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of RoutineAction from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of RoutineAction if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -64,7 +64,8 @@ public static RoutineAction fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { - readerToUse.nextToken(); // Prepare for reading + // Prepare for reading + readerToUse.nextToken(); while (readerToUse.nextToken() != JsonToken.END_OBJECT) { String fieldName = readerToUse.getFieldName(); readerToUse.nextToken(); @@ -94,14 +95,12 @@ static RoutineAction fromJsonKnownDiscriminator(JsonReader jsonReader) throws IO while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedRoutineAction.type = RoutineActionType.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedRoutineAction; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineActionType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineActionType.java index 92c25f284d96..3e80340f127d 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineActionType.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineActionType.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -12,6 +11,7 @@ * The discriminator values supported for routine actions. */ public final class RoutineActionType extends ExpandableStringEnum { + /** * Dispatches through the responses API. */ @@ -26,7 +26,7 @@ public final class RoutineActionType extends ExpandableStringEnum { + /** * A dispatch fired from an event delivery. */ @@ -44,7 +44,7 @@ public final class RoutineAttemptSource extends ExpandableStringEnum { + /* * The manual dispatch payload type. */ @@ -32,7 +32,7 @@ public RoutineDispatchPayload() { /** * Get the type property: The manual dispatch payload type. - * + * * @return the type value. */ @Generated @@ -53,7 +53,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of RoutineDispatchPayload from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of RoutineDispatchPayload if the JsonReader was pointing to an instance of it, or null if it * was pointing to JSON null. @@ -64,7 +64,8 @@ public static RoutineDispatchPayload fromJson(JsonReader jsonReader) throws IOEx return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { - readerToUse.nextToken(); // Prepare for reading + // Prepare for reading + readerToUse.nextToken(); while (readerToUse.nextToken() != JsonToken.END_OBJECT) { String fieldName = readerToUse.getFieldName(); readerToUse.nextToken(); @@ -94,14 +95,12 @@ static RoutineDispatchPayload fromJsonKnownDiscriminator(JsonReader jsonReader) while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedRoutineDispatchPayload.type = RoutineDispatchPayloadType.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedRoutineDispatchPayload; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java index 01e7b853b72a..eac29c462542 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -12,6 +11,7 @@ * The discriminator values supported for manual routine dispatch payloads. */ public final class RoutineDispatchPayloadType extends ExpandableStringEnum { + /** * A manual payload for a responses API routine dispatch. */ @@ -28,7 +28,7 @@ public final class RoutineDispatchPayloadType extends ExpandableStringEnum { + /* * The MLflow run identifier for the routine attempt. */ @@ -118,7 +118,7 @@ public final class RoutineRun implements JsonSerializable { /** * Creates an instance of RoutineRun class. - * + * * @param id the id value to set. * @param status the status value to set. * @param triggerType the triggerType value to set. @@ -138,7 +138,7 @@ private RoutineRun(String id, String status, RoutineTriggerType triggerType, Off /** * Get the id property: The MLflow run identifier for the routine attempt. - * + * * @return the id value. */ @Generated @@ -148,7 +148,7 @@ public String getId() { /** * Get the status property: The underlying MLflow run status. - * + * * @return the status value. */ @Generated @@ -158,7 +158,7 @@ public String getStatus() { /** * Get the phase property: The AgentExtensions lifecycle phase for the routine attempt. - * + * * @return the phase value. */ @Generated @@ -168,7 +168,7 @@ public RoutineRunPhase getPhase() { /** * Get the triggerType property: The trigger type that produced the routine attempt. - * + * * @return the triggerType value. */ @Generated @@ -178,7 +178,7 @@ public RoutineTriggerType getTriggerType() { /** * Get the attemptSource property: The source path that created the routine attempt. - * + * * @return the attemptSource value. */ @Generated @@ -188,7 +188,7 @@ public RoutineAttemptSource getAttemptSource() { /** * Get the actionType property: The action type dispatched for the routine attempt. - * + * * @return the actionType value. */ @Generated @@ -198,7 +198,7 @@ public RoutineActionType getActionType() { /** * Get the triggeredAt property: The logical trigger time recorded for the routine attempt. - * + * * @return the triggeredAt value. */ @Generated @@ -211,7 +211,7 @@ public OffsetDateTime getTriggeredAt() { /** * Get the startedAt property: The time when the underlying run started. - * + * * @return the startedAt value. */ @Generated @@ -221,7 +221,7 @@ public OffsetDateTime getStartedAt() { /** * Get the endedAt property: The time when the underlying run reached a terminal state. - * + * * @return the endedAt value. */ @Generated @@ -234,7 +234,7 @@ public OffsetDateTime getEndedAt() { /** * Get the dispatchId property: The dispatch identifier associated with the routine attempt. - * + * * @return the dispatchId value. */ @Generated @@ -244,7 +244,7 @@ public String getDispatchId() { /** * Get the actionCorrelationId property: The downstream action correlation identifier, when available. - * + * * @return the actionCorrelationId value. */ @Generated @@ -254,7 +254,7 @@ public String getActionCorrelationId() { /** * Get the responseId property: The downstream response or invocation identifier, when available. - * + * * @return the responseId value. */ @Generated @@ -264,7 +264,7 @@ public String getResponseId() { /** * Get the taskId property: The workspace task identifier linked to the routine attempt, when available. - * + * * @return the taskId value. */ @Generated @@ -274,7 +274,7 @@ public String getTaskId() { /** * Get the errorType property: The fully qualified error type captured for a failed attempt, when available. - * + * * @return the errorType value. */ @Generated @@ -284,7 +284,7 @@ public String getErrorType() { /** * Get the errorMessage property: The truncated failure message captured for a failed attempt, when available. - * + * * @return the errorMessage value. */ @Generated @@ -294,7 +294,7 @@ public String getErrorMessage() { /** * Get the diagnostics property: Diagnostic data captured for the routine attempt. - * + * * @return the diagnostics value. */ @Generated @@ -331,7 +331,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of RoutineRun from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of RoutineRun if the JsonReader was pointing to an instance of it, or null if it was pointing * to JSON null. @@ -360,7 +360,6 @@ public static RoutineRun fromJson(JsonReader jsonReader) throws IOException { while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("id".equals(fieldName)) { id = reader.getString(); } else if ("status".equals(fieldName)) { @@ -410,7 +409,6 @@ public static RoutineRun fromJson(JsonReader jsonReader) throws IOException { deserializedRoutineRun.errorType = errorType; deserializedRoutineRun.errorMessage = errorMessage; deserializedRoutineRun.diagnostics = diagnostics; - return deserializedRoutineRun; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java index af9a911db10e..f3013be17104 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -18,6 +17,7 @@ */ @Immutable public final class RoutineRunDiagnostics implements JsonSerializable { + /* * MLflow parameters recorded on the run, keyed by parameter name. */ @@ -38,7 +38,7 @@ public final class RoutineRunDiagnostics implements JsonSerializable parameters, Map getParameters() { /** * Get the tags property: MLflow tags recorded on the run, keyed by tag name. - * + * * @return the tags value. */ @Generated @@ -73,7 +73,7 @@ public Map getTags() { /** * Get the metrics property: Latest MLflow metric values recorded on the run, keyed by metric name. - * + * * @return the metrics value. */ @Generated @@ -96,7 +96,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of RoutineRunDiagnostics from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of RoutineRunDiagnostics if the JsonReader was pointing to an instance of it, or null if it * was pointing to JSON null. @@ -112,7 +112,6 @@ public static RoutineRunDiagnostics fromJson(JsonReader jsonReader) throws IOExc while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("parameters".equals(fieldName)) { parameters = reader.readMap(reader1 -> reader1.getString()); } else if ("tags".equals(fieldName)) { diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java index d691bddfc317..95992c6379a2 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -12,6 +11,7 @@ * Known lifecycle phases recorded for a routine run. */ public final class RoutineRunPhase extends ExpandableStringEnum { + /** * The run is queued for dispatch. */ @@ -38,7 +38,7 @@ public final class RoutineRunPhase extends ExpandableStringEnum /** * Creates a new instance of RoutineRunPhase value. - * + * * @deprecated Use the {@link #fromString(String)} factory method. */ @Generated @@ -48,7 +48,7 @@ public RoutineRunPhase() { /** * Creates or finds a RoutineRunPhase from its string representation. - * + * * @param name a name to look for. * @return the corresponding RoutineRunPhase. */ @@ -59,7 +59,7 @@ public static RoutineRunPhase fromString(String name) { /** * Gets known RoutineRunPhase values. - * + * * @return known RoutineRunPhase values. */ @Generated diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTrigger.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTrigger.java index 3d06f34913aa..acb0297e2216 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTrigger.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTrigger.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public class RoutineTrigger implements JsonSerializable { + /* * The trigger type. */ @@ -32,7 +32,7 @@ public RoutineTrigger() { /** * Get the type property: The trigger type. - * + * * @return the type value. */ @Generated @@ -53,7 +53,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of RoutineTrigger from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of RoutineTrigger if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -64,7 +64,8 @@ public static RoutineTrigger fromJson(JsonReader jsonReader) throws IOException return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { - readerToUse.nextToken(); // Prepare for reading + // Prepare for reading + readerToUse.nextToken(); while (readerToUse.nextToken() != JsonToken.END_OBJECT) { String fieldName = readerToUse.getFieldName(); readerToUse.nextToken(); @@ -96,14 +97,12 @@ static RoutineTrigger fromJsonKnownDiscriminator(JsonReader jsonReader) throws I while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedRoutineTrigger.type = RoutineTriggerType.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedRoutineTrigger; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java index 0ab99711b1ee..ba6b393316e5 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -12,6 +11,7 @@ * The discriminator values supported for routine triggers. */ public final class RoutineTriggerType extends ExpandableStringEnum { + /** * A GitHub issue-opened trigger. */ @@ -32,7 +32,7 @@ public final class RoutineTriggerType extends ExpandableStringEnum dimensions) { /** * Get the type property: The type of evaluator definition. - * + * * @return the type value. */ @Generated @@ -68,7 +68,7 @@ public EvaluatorDefinitionType getType() { * Get the dimensions property: The set of dimensions — the scoring blueprint used by the LLM judge. Quality * evaluators include a non-editable residual dimension with dimension_id 'general_quality' (always_applicable: * true); safety evaluators include 'general_policy_compliance'. Both use the same Dimension structure. - * + * * @return the dimensions value. */ @Generated @@ -81,7 +81,7 @@ public List getDimensions() { * 0.0-1.0 scale as the emitted `score`. When the runtime weighted average meets or exceeds this value, the result * is `pass`. Defaults to 0.5 (equivalent to a raw 1-5 weighted average of 3.0). The 'any dimension scored 1 → fail' * rule still applies regardless of this threshold. - * + * * @return the passThreshold value. */ @Generated @@ -94,7 +94,7 @@ public Double getPassThreshold() { * 0.0-1.0 scale as the emitted `score`. When the runtime weighted average meets or exceeds this value, the result * is `pass`. Defaults to 0.5 (equivalent to a raw 1-5 weighted average of 3.0). The 'any dimension scored 1 → fail' * rule still applies regardless of this threshold. - * + * * @param passThreshold the passThreshold value to set. * @return the RubricBasedEvaluatorDefinition object itself. */ @@ -164,7 +164,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of RubricBasedEvaluatorDefinition from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of RubricBasedEvaluatorDefinition if the JsonReader was pointing to an instance of it, or * null if it was pointing to JSON null. @@ -183,7 +183,6 @@ public static RubricBasedEvaluatorDefinition fromJson(JsonReader jsonReader) thr while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("init_parameters".equals(fieldName)) { initParameters = reader.readMap(reader1 -> reader1 .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); @@ -209,7 +208,6 @@ public static RubricBasedEvaluatorDefinition fromJson(JsonReader jsonReader) thr deserializedRubricBasedEvaluatorDefinition.setMetrics(metrics); deserializedRubricBasedEvaluatorDefinition.type = type; deserializedRubricBasedEvaluatorDefinition.passThreshold = passThreshold; - return deserializedRubricBasedEvaluatorDefinition; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java index 0b454c4aca83..49b9207b5c82 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -16,6 +15,7 @@ */ @Immutable public final class ScheduleRoutineTrigger extends RoutineTrigger { + /* * The trigger type. */ @@ -36,7 +36,7 @@ public final class ScheduleRoutineTrigger extends RoutineTrigger { /** * Creates an instance of ScheduleRoutineTrigger class. - * + * * @param cronExpression the cronExpression value to set. * @param timeZone the timeZone value to set. */ @@ -48,7 +48,7 @@ public ScheduleRoutineTrigger(String cronExpression, String timeZone) { /** * Get the type property: The trigger type. - * + * * @return the type value. */ @Generated @@ -60,7 +60,7 @@ public RoutineTriggerType getType() { /** * Get the cronExpression property: A 5-field cron expression. The service enforces a minimum interval of five * minutes by default. - * + * * @return the cronExpression value. */ @Generated @@ -70,7 +70,7 @@ public String getCronExpression() { /** * Get the timeZone property: An IANA or Windows time zone identifier for the schedule. - * + * * @return the timeZone value. */ @Generated @@ -93,7 +93,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of ScheduleRoutineTrigger from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of ScheduleRoutineTrigger if the JsonReader was pointing to an instance of it, or null if it * was pointing to JSON null. @@ -109,7 +109,6 @@ public static ScheduleRoutineTrigger fromJson(JsonReader jsonReader) throws IOEx while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("cron_expression".equals(fieldName)) { cronExpression = reader.getString(); } else if ("time_zone".equals(fieldName)) { @@ -123,7 +122,6 @@ public static ScheduleRoutineTrigger fromJson(JsonReader jsonReader) throws IOEx ScheduleRoutineTrigger deserializedScheduleRoutineTrigger = new ScheduleRoutineTrigger(cronExpression, timeZone); deserializedScheduleRoutineTrigger.type = type; - return deserializedScheduleRoutineTrigger; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java index 923ea851c24b..a402185b034d 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -17,6 +16,7 @@ */ @Fluent public final class SimpleQnADataGenerationJobOptions extends DataGenerationJobOptions { + /* * The data generation job type. */ @@ -31,7 +31,7 @@ public final class SimpleQnADataGenerationJobOptions extends DataGenerationJobOp /** * Creates an instance of SimpleQnADataGenerationJobOptions class. - * + * * @param maxSamples the maxSamples value to set. */ @Generated @@ -41,7 +41,7 @@ public SimpleQnADataGenerationJobOptions(int maxSamples) { /** * Get the type property: The data generation job type. - * + * * @return the type value. */ @Generated @@ -52,7 +52,7 @@ public DataGenerationJobType getType() { /** * Get the questionTypes property: The question types to generate. Used only for fine-tuning scenarios. - * + * * @return the questionTypes value. */ @Generated @@ -62,7 +62,7 @@ public List getQuestionTypes() { /** * Set the questionTypes property: The question types to generate. Used only for fine-tuning scenarios. - * + * * @param questionTypes the questionTypes value to set. * @return the SimpleQnADataGenerationJobOptions object itself. */ @@ -110,7 +110,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of SimpleQnADataGenerationJobOptions from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of SimpleQnADataGenerationJobOptions if the JsonReader was pointing to an instance of it, or * null if it was pointing to JSON null. @@ -128,7 +128,6 @@ public static SimpleQnADataGenerationJobOptions fromJson(JsonReader jsonReader) while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("max_samples".equals(fieldName)) { maxSamples = reader.getInt(); } else if ("train_split".equals(fieldName)) { @@ -150,7 +149,6 @@ public static SimpleQnADataGenerationJobOptions fromJson(JsonReader jsonReader) deserializedSimpleQnADataGenerationJobOptions.setModelOptions(modelOptions); deserializedSimpleQnADataGenerationJobOptions.type = type; deserializedSimpleQnADataGenerationJobOptions.questionTypes = questionTypes; - return deserializedSimpleQnADataGenerationJobOptions; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java index f6752b23ba9e..94515e5dd17e 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -12,6 +11,7 @@ * The supported question types for SimpleQnA data generation jobs used for fine-tuning scenarios. */ public final class SimpleQnAFineTuningQuestionType extends ExpandableStringEnum { + /** * Short answer question type. */ @@ -26,7 +26,7 @@ public final class SimpleQnAFineTuningQuestionType extends ExpandableStringEnum< /** * Creates a new instance of SimpleQnAFineTuningQuestionType value. - * + * * @deprecated Use the {@link #fromString(String)} factory method. */ @Generated @@ -36,7 +36,7 @@ public SimpleQnAFineTuningQuestionType() { /** * Creates or finds a SimpleQnAFineTuningQuestionType from its string representation. - * + * * @param name a name to look for. * @return the corresponding SimpleQnAFineTuningQuestionType. */ @@ -47,7 +47,7 @@ public static SimpleQnAFineTuningQuestionType fromString(String name) { /** * Gets known SimpleQnAFineTuningQuestionType values. - * + * * @return known SimpleQnAFineTuningQuestionType values. */ @Generated diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java index 08a7e7facd74..60f9a9434085 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -16,6 +15,7 @@ */ @Fluent public final class SkillReferenceParam extends ContainerSkill { + /* * The type property. */ @@ -36,7 +36,7 @@ public final class SkillReferenceParam extends ContainerSkill { /** * Creates an instance of SkillReferenceParam class. - * + * * @param skillId the skillId value to set. */ @Generated @@ -46,7 +46,7 @@ public SkillReferenceParam(String skillId) { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -57,7 +57,7 @@ public ContainerSkillType getType() { /** * Get the skillId property: The ID of the referenced skill. - * + * * @return the skillId value. */ @Generated @@ -67,7 +67,7 @@ public String getSkillId() { /** * Get the version property: Optional skill version. Use a positive integer or 'latest'. Omit for default. - * + * * @return the version value. */ @Generated @@ -77,7 +77,7 @@ public String getVersion() { /** * Set the version property: Optional skill version. Use a positive integer or 'latest'. Omit for default. - * + * * @param version the version value to set. * @return the SkillReferenceParam object itself. */ @@ -102,7 +102,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of SkillReferenceParam from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of SkillReferenceParam if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -118,7 +118,6 @@ public static SkillReferenceParam fromJson(JsonReader jsonReader) throws IOExcep while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("skill_id".equals(fieldName)) { skillId = reader.getString(); } else if ("type".equals(fieldName)) { @@ -132,7 +131,6 @@ public static SkillReferenceParam fromJson(JsonReader jsonReader) throws IOExcep SkillReferenceParam deserializedSkillReferenceParam = new SkillReferenceParam(skillId); deserializedSkillReferenceParam.type = type; deserializedSkillReferenceParam.version = version; - return deserializedSkillReferenceParam; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java index 9e7a49211e98..2a2708f81509 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -16,6 +15,7 @@ */ @Fluent public final class TimerRoutineTrigger extends RoutineTrigger { + /* * The trigger type. */ @@ -37,7 +37,7 @@ public final class TimerRoutineTrigger extends RoutineTrigger { /** * Creates an instance of TimerRoutineTrigger class. - * + * * @param at the at value to set. */ @Generated @@ -47,7 +47,7 @@ public TimerRoutineTrigger(String at) { /** * Get the type property: The trigger type. - * + * * @return the type value. */ @Generated @@ -59,7 +59,7 @@ public RoutineTriggerType getType() { /** * Get the at property: A future timer expression. Supported values include an ISO-8601 timestamp with an explicit * offset, a local timestamp paired with time_zone, or a positive duration from now. - * + * * @return the at value. */ @Generated @@ -70,7 +70,7 @@ public String getAt() { /** * Get the timeZone property: An optional IANA or Windows time zone identifier when the timer uses a local * timestamp. - * + * * @return the timeZone value. */ @Generated @@ -81,7 +81,7 @@ public String getTimeZone() { /** * Set the timeZone property: An optional IANA or Windows time zone identifier when the timer uses a local * timestamp. - * + * * @param timeZone the timeZone value to set. * @return the TimerRoutineTrigger object itself. */ @@ -106,7 +106,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of TimerRoutineTrigger from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of TimerRoutineTrigger if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -122,7 +122,6 @@ public static TimerRoutineTrigger fromJson(JsonReader jsonReader) throws IOExcep while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("at".equals(fieldName)) { at = reader.getString(); } else if ("type".equals(fieldName)) { @@ -136,7 +135,6 @@ public static TimerRoutineTrigger fromJson(JsonReader jsonReader) throws IOExcep TimerRoutineTrigger deserializedTimerRoutineTrigger = new TimerRoutineTrigger(at); deserializedTimerRoutineTrigger.type = type; deserializedTimerRoutineTrigger.timeZone = timeZone; - return deserializedTimerRoutineTrigger; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Tool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Tool.java index 06054b4faf8c..25cc3fbeadbf 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Tool.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Tool.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public class Tool implements JsonSerializable { + /* * The type property. */ @@ -32,7 +32,7 @@ public Tool() { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -53,7 +53,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of Tool from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of Tool if the JsonReader was pointing to an instance of it, or null if it was pointing to * JSON null. @@ -64,7 +64,8 @@ public static Tool fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { - readerToUse.nextToken(); // Prepare for reading + // Prepare for reading + readerToUse.nextToken(); while (readerToUse.nextToken() != JsonToken.END_OBJECT) { String fieldName = readerToUse.getFieldName(); readerToUse.nextToken(); @@ -114,14 +115,12 @@ static Tool fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedTool.type = ToolType.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedTool; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolType.java index cacfbfdbd0cf..927337c25476 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolType.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolType.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -12,6 +11,7 @@ * Defines values for ToolType. */ public final class ToolType extends ExpandableStringEnum { + /** * Static value function for ToolType. */ @@ -86,7 +86,7 @@ public final class ToolType extends ExpandableStringEnum { /** * Creates a new instance of ToolType value. - * + * * @deprecated Use the {@link #fromString(String)} factory method. */ @Generated @@ -96,7 +96,7 @@ public ToolType() { /** * Creates or finds a ToolType from its string representation. - * + * * @param name a name to look for. * @return the corresponding ToolType. */ @@ -107,7 +107,7 @@ public static ToolType fromString(String name) { /** * Gets known ToolType values. - * + * * @return known ToolType values. */ @Generated diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java index d7320b3b1095..cb3ba51894f4 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -16,6 +15,7 @@ */ @Fluent public final class ToolUseFineTuningDataGenerationJobOptions extends DataGenerationJobOptions { + /* * The data generation job type. */ @@ -24,7 +24,7 @@ public final class ToolUseFineTuningDataGenerationJobOptions extends DataGenerat /** * Creates an instance of ToolUseFineTuningDataGenerationJobOptions class. - * + * * @param maxSamples the maxSamples value to set. */ @Generated @@ -34,7 +34,7 @@ public ToolUseFineTuningDataGenerationJobOptions(int maxSamples) { /** * Get the type property: The data generation job type. - * + * * @return the type value. */ @Generated @@ -79,7 +79,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of ToolUseFineTuningDataGenerationJobOptions from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of ToolUseFineTuningDataGenerationJobOptions if the JsonReader was pointing to an instance of * it, or null if it was pointing to JSON null. @@ -96,7 +96,6 @@ public static ToolUseFineTuningDataGenerationJobOptions fromJson(JsonReader json while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("max_samples".equals(fieldName)) { maxSamples = reader.getInt(); } else if ("train_split".equals(fieldName)) { @@ -114,7 +113,6 @@ public static ToolUseFineTuningDataGenerationJobOptions fromJson(JsonReader json deserializedToolUseFineTuningDataGenerationJobOptions.setTrainSplit(trainSplit); deserializedToolUseFineTuningDataGenerationJobOptions.setModelOptions(modelOptions); deserializedToolUseFineTuningDataGenerationJobOptions.type = type; - return deserializedToolUseFineTuningDataGenerationJobOptions; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java index 2c02491b607c..8c8ee0845c3f 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -16,6 +15,7 @@ */ @Fluent public final class TracesDataGenerationJobOptions extends DataGenerationJobOptions { + /* * The data generation job type. */ @@ -24,7 +24,7 @@ public final class TracesDataGenerationJobOptions extends DataGenerationJobOptio /** * Creates an instance of TracesDataGenerationJobOptions class. - * + * * @param maxSamples the maxSamples value to set. */ @Generated @@ -34,7 +34,7 @@ public TracesDataGenerationJobOptions(int maxSamples) { /** * Get the type property: The data generation job type. - * + * * @return the type value. */ @Generated @@ -79,7 +79,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of TracesDataGenerationJobOptions from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of TracesDataGenerationJobOptions if the JsonReader was pointing to an instance of it, or * null if it was pointing to JSON null. @@ -96,7 +96,6 @@ public static TracesDataGenerationJobOptions fromJson(JsonReader jsonReader) thr while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("max_samples".equals(fieldName)) { maxSamples = reader.getInt(); } else if ("train_split".equals(fieldName)) { @@ -114,7 +113,6 @@ public static TracesDataGenerationJobOptions fromJson(JsonReader jsonReader) thr deserializedTracesDataGenerationJobOptions.setTrainSplit(trainSplit); deserializedTracesDataGenerationJobOptions.setModelOptions(modelOptions); deserializedTracesDataGenerationJobOptions.type = type; - return deserializedTracesDataGenerationJobOptions; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java index 4d16d72b0048..da899e605bab 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -19,6 +18,7 @@ */ @Fluent public final class TracesDataGenerationJobSource extends DataGenerationJobSource { + /* * The type of source. */ @@ -64,7 +64,7 @@ public final class TracesDataGenerationJobSource extends DataGenerationJobSource /** * Creates an instance of TracesDataGenerationJobSource class. - * + * * @param startTime the startTime value to set. */ @Generated @@ -78,7 +78,7 @@ public TracesDataGenerationJobSource(OffsetDateTime startTime) { /** * Get the type property: The type of source. - * + * * @return the type value. */ @Generated @@ -90,7 +90,7 @@ public DataGenerationJobSourceType getType() { /** * Get the description property: Optional description of what this source represents — helps the pipeline interpret * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * + * * @return the description value. */ @Generated @@ -101,7 +101,7 @@ public String getDescription() { /** * Set the description property: Optional description of what this source represents — helps the pipeline interpret * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * + * * @param description the description value to set. * @return the TracesDataGenerationJobSource object itself. */ @@ -114,7 +114,7 @@ public TracesDataGenerationJobSource setDescription(String description) { /** * Get the agentId property: The unique agent ID used to filter traces. Provide either `agent_id` or `agent_name` — * at least one is required. - * + * * @return the agentId value. */ @Generated @@ -125,7 +125,7 @@ public String getAgentId() { /** * Set the agentId property: The unique agent ID used to filter traces. Provide either `agent_id` or `agent_name` — * at least one is required. - * + * * @param agentId the agentId value to set. * @return the TracesDataGenerationJobSource object itself. */ @@ -138,7 +138,7 @@ public TracesDataGenerationJobSource setAgentId(String agentId) { /** * Get the agentName property: The agent name to fetch traces for. Provide either `agent_id` or `agent_name` — at * least one is required. - * + * * @return the agentName value. */ @Generated @@ -149,7 +149,7 @@ public String getAgentName() { /** * Set the agentName property: The agent name to fetch traces for. Provide either `agent_id` or `agent_name` — at * least one is required. - * + * * @param agentName the agentName value to set. * @return the TracesDataGenerationJobSource object itself. */ @@ -162,7 +162,7 @@ public TracesDataGenerationJobSource setAgentName(String agentName) { /** * Get the agentVersion property: The agent version. If not specified, traces for ALL versions of the agent are * included within the time window. - * + * * @return the agentVersion value. */ @Generated @@ -173,7 +173,7 @@ public String getAgentVersion() { /** * Set the agentVersion property: The agent version. If not specified, traces for ALL versions of the agent are * included within the time window. - * + * * @param agentVersion the agentVersion value to set. * @return the TracesDataGenerationJobSource object itself. */ @@ -185,7 +185,7 @@ public TracesDataGenerationJobSource setAgentVersion(String agentVersion) { /** * Get the startTime property: Start of the time window (Unix timestamp in seconds) for fetching traces. - * + * * @return the startTime value. */ @Generated @@ -195,7 +195,7 @@ public OffsetDateTime getStartTime() { /** * Get the endTime property: End of the time window (Unix timestamp in seconds). Defaults to current time. - * + * * @return the endTime value. */ @Generated @@ -208,7 +208,7 @@ public OffsetDateTime getEndTime() { /** * Set the endTime property: End of the time window (Unix timestamp in seconds). Defaults to current time. - * + * * @param endTime the endTime value to set. * @return the TracesDataGenerationJobSource object itself. */ @@ -241,7 +241,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of TracesDataGenerationJobSource from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of TracesDataGenerationJobSource if the JsonReader was pointing to an instance of it, or null * if it was pointing to JSON null. @@ -261,7 +261,6 @@ public static TracesDataGenerationJobSource fromJson(JsonReader jsonReader) thro while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("start_time".equals(fieldName)) { startTime = OffsetDateTime.ofInstant(Instant.ofEpochSecond(reader.getLong()), ZoneOffset.UTC); } else if ("type".equals(fieldName)) { @@ -288,7 +287,6 @@ public static TracesDataGenerationJobSource fromJson(JsonReader jsonReader) thro deserializedTracesDataGenerationJobSource.agentName = agentName; deserializedTracesDataGenerationJobSource.agentVersion = agentVersion; deserializedTracesDataGenerationJobSource.endTime = endTime; - return deserializedTracesDataGenerationJobSource; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java index d1263bfd0a77..3f87ca619d6e 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -19,6 +18,7 @@ */ @Fluent public final class TracesEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource { + /* * The type of source. */ @@ -64,7 +64,7 @@ public final class TracesEvaluatorGenerationJobSource extends EvaluatorGeneratio /** * Creates an instance of TracesEvaluatorGenerationJobSource class. - * + * * @param startTime the startTime value to set. */ @Generated @@ -78,7 +78,7 @@ public TracesEvaluatorGenerationJobSource(OffsetDateTime startTime) { /** * Get the type property: The type of source. - * + * * @return the type value. */ @Generated @@ -90,7 +90,7 @@ public EvaluatorGenerationJobSourceType getType() { /** * Get the description property: Optional description of what this source represents — helps the pipeline interpret * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * + * * @return the description value. */ @Generated @@ -101,7 +101,7 @@ public String getDescription() { /** * Set the description property: Optional description of what this source represents — helps the pipeline interpret * its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). - * + * * @param description the description value to set. * @return the TracesEvaluatorGenerationJobSource object itself. */ @@ -114,7 +114,7 @@ public TracesEvaluatorGenerationJobSource setDescription(String description) { /** * Get the agentId property: The unique agent ID used to filter traces. Provide either `agent_id` or `agent_name` — * at least one is required. - * + * * @return the agentId value. */ @Generated @@ -125,7 +125,7 @@ public String getAgentId() { /** * Set the agentId property: The unique agent ID used to filter traces. Provide either `agent_id` or `agent_name` — * at least one is required. - * + * * @param agentId the agentId value to set. * @return the TracesEvaluatorGenerationJobSource object itself. */ @@ -138,7 +138,7 @@ public TracesEvaluatorGenerationJobSource setAgentId(String agentId) { /** * Get the agentName property: The agent name to fetch traces for. Provide either `agent_id` or `agent_name` — at * least one is required. - * + * * @return the agentName value. */ @Generated @@ -149,7 +149,7 @@ public String getAgentName() { /** * Set the agentName property: The agent name to fetch traces for. Provide either `agent_id` or `agent_name` — at * least one is required. - * + * * @param agentName the agentName value to set. * @return the TracesEvaluatorGenerationJobSource object itself. */ @@ -162,7 +162,7 @@ public TracesEvaluatorGenerationJobSource setAgentName(String agentName) { /** * Get the agentVersion property: The agent version. If not specified, traces for ALL versions of the agent are * included within the time window. - * + * * @return the agentVersion value. */ @Generated @@ -173,7 +173,7 @@ public String getAgentVersion() { /** * Set the agentVersion property: The agent version. If not specified, traces for ALL versions of the agent are * included within the time window. - * + * * @param agentVersion the agentVersion value to set. * @return the TracesEvaluatorGenerationJobSource object itself. */ @@ -185,7 +185,7 @@ public TracesEvaluatorGenerationJobSource setAgentVersion(String agentVersion) { /** * Get the startTime property: Start of the time window (Unix timestamp in seconds) for fetching traces. - * + * * @return the startTime value. */ @Generated @@ -195,7 +195,7 @@ public OffsetDateTime getStartTime() { /** * Get the endTime property: End of the time window (Unix timestamp in seconds). Defaults to current time. - * + * * @return the endTime value. */ @Generated @@ -208,7 +208,7 @@ public OffsetDateTime getEndTime() { /** * Set the endTime property: End of the time window (Unix timestamp in seconds). Defaults to current time. - * + * * @param endTime the endTime value to set. * @return the TracesEvaluatorGenerationJobSource object itself. */ @@ -241,7 +241,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of TracesEvaluatorGenerationJobSource from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of TracesEvaluatorGenerationJobSource if the JsonReader was pointing to an instance of it, or * null if it was pointing to JSON null. @@ -261,7 +261,6 @@ public static TracesEvaluatorGenerationJobSource fromJson(JsonReader jsonReader) while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("start_time".equals(fieldName)) { startTime = OffsetDateTime.ofInstant(Instant.ofEpochSecond(reader.getLong()), ZoneOffset.UTC); } else if ("type".equals(fieldName)) { @@ -288,7 +287,6 @@ public static TracesEvaluatorGenerationJobSource fromJson(JsonReader jsonReader) deserializedTracesEvaluatorGenerationJobSource.agentName = agentName; deserializedTracesEvaluatorGenerationJobSource.agentVersion = agentVersion; deserializedTracesEvaluatorGenerationJobSource.endTime = endTime; - return deserializedTracesEvaluatorGenerationJobSource; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java index 05a942c9022e..0becf89ed419 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -14,11 +13,12 @@ /** * Web search approximate location - * + * * The approximate location of the user. */ @Fluent public final class WebSearchApproximateLocation implements JsonSerializable { + /* * The type of location approximation. Always `approximate`. */ @@ -58,7 +58,7 @@ public WebSearchApproximateLocation() { /** * Get the type property: The type of location approximation. Always `approximate`. - * + * * @return the type value. */ @Generated @@ -68,7 +68,7 @@ public String getType() { /** * Get the country property: The country property. - * + * * @return the country value. */ @Generated @@ -78,7 +78,7 @@ public String getCountry() { /** * Set the country property: The country property. - * + * * @param country the country value to set. * @return the WebSearchApproximateLocation object itself. */ @@ -90,7 +90,7 @@ public WebSearchApproximateLocation setCountry(String country) { /** * Get the region property: The region property. - * + * * @return the region value. */ @Generated @@ -100,7 +100,7 @@ public String getRegion() { /** * Set the region property: The region property. - * + * * @param region the region value to set. * @return the WebSearchApproximateLocation object itself. */ @@ -112,7 +112,7 @@ public WebSearchApproximateLocation setRegion(String region) { /** * Get the city property: The city property. - * + * * @return the city value. */ @Generated @@ -122,7 +122,7 @@ public String getCity() { /** * Set the city property: The city property. - * + * * @param city the city value to set. * @return the WebSearchApproximateLocation object itself. */ @@ -134,7 +134,7 @@ public WebSearchApproximateLocation setCity(String city) { /** * Get the timezone property: The timezone property. - * + * * @return the timezone value. */ @Generated @@ -144,7 +144,7 @@ public String getTimezone() { /** * Set the timezone property: The timezone property. - * + * * @param timezone the timezone value to set. * @return the WebSearchApproximateLocation object itself. */ @@ -171,7 +171,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of WebSearchApproximateLocation from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of WebSearchApproximateLocation if the JsonReader was pointing to an instance of it, or null * if it was pointing to JSON null. @@ -185,7 +185,6 @@ public static WebSearchApproximateLocation fromJson(JsonReader jsonReader) throw while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("country".equals(fieldName)) { deserializedWebSearchApproximateLocation.country = reader.getString(); } else if ("region".equals(fieldName)) { @@ -198,7 +197,6 @@ public static WebSearchApproximateLocation fromJson(JsonReader jsonReader) throw reader.skipChildren(); } } - return deserializedWebSearchApproximateLocation; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java index 531f4be543e5..01311ea1158f 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -13,12 +12,13 @@ /** * Web search preview - * + * * This tool searches the web for relevant results to use in a response. Learn more about the [web search * tool](https://platform.openai.com/docs/guides/tools-web-search). */ @Fluent public final class WebSearchPreviewTool extends Tool { + /* * The type property. */ @@ -47,7 +47,7 @@ public WebSearchPreviewTool() { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -58,7 +58,7 @@ public ToolType getType() { /** * Get the userLocation property: The user_location property. - * + * * @return the userLocation value. */ @Generated @@ -68,7 +68,7 @@ public ApproximateLocation getUserLocation() { /** * Set the userLocation property: The user_location property. - * + * * @param userLocation the userLocation value to set. * @return the WebSearchPreviewTool object itself. */ @@ -81,7 +81,7 @@ public WebSearchPreviewTool setUserLocation(ApproximateLocation userLocation) { /** * Get the searchContextSize property: High level guidance for the amount of context window space to use for the * search. One of `low`, `medium`, or `high`. `medium` is the default. - * + * * @return the searchContextSize value. */ @Generated @@ -92,7 +92,7 @@ public SearchContextSize getSearchContextSize() { /** * Set the searchContextSize property: High level guidance for the amount of context window space to use for the * search. One of `low`, `medium`, or `high`. `medium` is the default. - * + * * @param searchContextSize the searchContextSize value to set. * @return the WebSearchPreviewTool object itself. */ @@ -118,7 +118,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of WebSearchPreviewTool from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of WebSearchPreviewTool if the JsonReader was pointing to an instance of it, or null if it * was pointing to JSON null. @@ -131,7 +131,6 @@ public static WebSearchPreviewTool fromJson(JsonReader jsonReader) throws IOExce while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedWebSearchPreviewTool.type = ToolType.fromString(reader.getString()); } else if ("user_location".equals(fieldName)) { @@ -143,7 +142,6 @@ public static WebSearchPreviewTool fromJson(JsonReader jsonReader) throws IOExce reader.skipChildren(); } } - return deserializedWebSearchPreviewTool; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchTool.java index 5fb29ec4e0f6..fb2699c4f115 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchTool.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchTool.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -13,12 +12,13 @@ /** * Web search - * + * * Search the Internet for sources related to the prompt. Learn more about the * [web search tool](/docs/guides/tools-web-search). */ @Fluent public final class WebSearchTool extends Tool { + /* * The type property. */ @@ -53,7 +53,7 @@ public WebSearchTool() { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -64,7 +64,7 @@ public ToolType getType() { /** * Get the filters property: The filters property. - * + * * @return the filters value. */ @Generated @@ -74,7 +74,7 @@ public WebSearchToolFilters getFilters() { /** * Set the filters property: The filters property. - * + * * @param filters the filters value to set. * @return the WebSearchTool object itself. */ @@ -86,7 +86,7 @@ public WebSearchTool setFilters(WebSearchToolFilters filters) { /** * Get the userLocation property: The user_location property. - * + * * @return the userLocation value. */ @Generated @@ -96,7 +96,7 @@ public WebSearchApproximateLocation getUserLocation() { /** * Set the userLocation property: The user_location property. - * + * * @param userLocation the userLocation value to set. * @return the WebSearchTool object itself. */ @@ -109,7 +109,7 @@ public WebSearchTool setUserLocation(WebSearchApproximateLocation userLocation) /** * Get the searchContextSize property: High level guidance for the amount of context window space to use for the * search. One of `low`, `medium`, or `high`. `medium` is the default. - * + * * @return the searchContextSize value. */ @Generated @@ -120,7 +120,7 @@ public WebSearchToolSearchContextSize getSearchContextSize() { /** * Set the searchContextSize property: High level guidance for the amount of context window space to use for the * search. One of `low`, `medium`, or `high`. `medium` is the default. - * + * * @param searchContextSize the searchContextSize value to set. * @return the WebSearchTool object itself. */ @@ -147,7 +147,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of WebSearchTool from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of WebSearchTool if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -160,7 +160,6 @@ public static WebSearchTool fromJson(JsonReader jsonReader) throws IOException { while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { deserializedWebSearchTool.type = ToolType.fromString(reader.getString()); } else if ("filters".equals(fieldName)) { @@ -174,7 +173,6 @@ public static WebSearchTool fromJson(JsonReader jsonReader) throws IOException { reader.skipChildren(); } } - return deserializedWebSearchTool; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java index afc39cd01d3a..74fbf74ff5c0 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -18,6 +17,7 @@ */ @Fluent public final class WebSearchToolFilters implements JsonSerializable { + /* * The allowed_domains property. */ @@ -33,7 +33,7 @@ public WebSearchToolFilters() { /** * Get the allowedDomains property: The allowed_domains property. - * + * * @return the allowedDomains value. */ @Generated @@ -43,7 +43,7 @@ public List getAllowedDomains() { /** * Set the allowedDomains property: The allowed_domains property. - * + * * @param allowedDomains the allowedDomains value to set. * @return the WebSearchToolFilters object itself. */ @@ -67,7 +67,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of WebSearchToolFilters from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of WebSearchToolFilters if the JsonReader was pointing to an instance of it, or null if it * was pointing to JSON null. @@ -80,7 +80,6 @@ public static WebSearchToolFilters fromJson(JsonReader jsonReader) throws IOExce while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("allowed_domains".equals(fieldName)) { List allowedDomains = reader.readArray(reader1 -> reader1.getString()); deserializedWebSearchToolFilters.allowedDomains = allowedDomains; @@ -88,7 +87,6 @@ public static WebSearchToolFilters fromJson(JsonReader jsonReader) throws IOExce reader.skipChildren(); } } - return deserializedWebSearchToolFilters; }); } From bd446895015fa8e546396366b57a2ea74a165681 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Mon, 18 May 2026 16:14:00 -0700 Subject: [PATCH 14/74] suppress checkstyle --- sdk/ai/azure-ai-projects/checkstyle-suppressions.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/ai/azure-ai-projects/checkstyle-suppressions.xml b/sdk/ai/azure-ai-projects/checkstyle-suppressions.xml index 2620a491e8f6..3151341309f5 100644 --- a/sdk/ai/azure-ai-projects/checkstyle-suppressions.xml +++ b/sdk/ai/azure-ai-projects/checkstyle-suppressions.xml @@ -8,4 +8,6 @@ + + From 325c4acb9148beae80ebade1471596947594f249 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Mon, 18 May 2026 17:34:51 -0700 Subject: [PATCH 15/74] add listAgentConversations overload --- .../azure/ai/agents/AgentsAsyncClient.java | 63 +++++++++++++++++++ .../com/azure/ai/agents/AgentsClient.java | 52 +++++++++++++++ 2 files changed, 115 insertions(+) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java index abc42b8a9a4b..8a1a23e51c90 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java @@ -3494,4 +3494,67 @@ public PagedFlux listAgentConversations(Integer limit, PageOrder o pagedResponse.getContinuationToken(), null)); }); } + + /** + * Returns the list of all conversations. + * + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @param agentName Filter by agent name. If provided, only items associated with the specified agent will be + * returned. + * @param agentId Filter by agent ID in the format `name:version`. If provided, only items associated with the + * specified agent ID will be returned. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAgentConversations(Integer limit, PageOrder order, String after, String before, + String agentName, String agentId) { + // Generated convenience method for listAgentConversations + RequestOptions requestOptions = new RequestOptions(); + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + if (agentName != null) { + requestOptions.addQueryParam("agent_name", agentName, false); + } + if (agentId != null) { + requestOptions.addQueryParam("agent_id", agentId, false); + } + PagedFlux pagedFluxResponse = listAgentConversations(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(Conversation.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java index ba9282492108..8eb3bb505d5f 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java @@ -3357,4 +3357,56 @@ public PagedIterable listAgentConversations(Integer limit, PageOrd return serviceClient.listAgentConversations(requestOptions) .mapPage(bodyItemValue -> bodyItemValue.toObject(Conversation.class)); } + + /** + * Returns the list of all conversations. + * + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @param agentName Filter by agent name. If provided, only items associated with the specified agent will be + * returned. + * @param agentId Filter by agent ID in the format `name:version`. If provided, only items associated with the + * specified agent ID will be returned. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listAgentConversations(Integer limit, PageOrder order, String after, + String before, String agentName, String agentId) { + // Generated convenience method for listAgentConversations + RequestOptions requestOptions = new RequestOptions(); + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + if (agentName != null) { + requestOptions.addQueryParam("agent_name", agentName, false); + } + if (agentId != null) { + requestOptions.addQueryParam("agent_id", agentId, false); + } + return serviceClient.listAgentConversations(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(Conversation.class)); + } } From 23106c403d00d7f01b62762c1e28c78965251324 Mon Sep 17 00:00:00 2001 From: Jose Alvarez Date: Tue, 19 May 2026 02:43:03 +0200 Subject: [PATCH 16/74] Tests and Samples for 2.1.0 release (#49167) * Iteration 1 samples matching python complete. Need to validate with hosted agent image * Iteration 2 samples * Tests, WIP: they need recordings * removed ai gen artifact --- .../AgentEndpointAsyncSample.java | 85 ++++++ .../hostedagents/AgentEndpointSample.java | 75 +++++ .../hostedagents/CodeAgentAsyncSample.java | 101 +++++++ .../agents/hostedagents/CodeAgentSample.java | 91 ++++++ .../hostedagents/CodeAgentSampleUtils.java | 139 +++++++++ .../hostedagents/HostedAgentsSampleUtils.java | 269 ++++++++++++++++++ .../hostedagents/SessionFilesAsyncSample.java | 98 +++++++ .../hostedagents/SessionFilesSample.java | 84 ++++++ .../SessionLogStreamAsyncSample.java | 97 +++++++ .../hostedagents/SessionLogStreamSample.java | 83 ++++++ .../hostedagents/SessionsAsyncSample.java | 69 +++++ .../agents/hostedagents/SessionsSample.java | 58 ++++ .../toolboxes/ToolboxSearchToolboxSample.java | 69 +++++ .../toolboxes/ToolboxesAsyncSample.java | 105 +++++++ .../azure/ai/agents/tools/FabricIQAsync.java | 82 ++++++ .../azure/ai/agents/tools/FabricIQSync.java | 76 +++++ .../hostedagents/CodeAgentSamplesTests.java | 130 +++++++++ .../HostedAgentContainerSamplesTests.java | 58 ++++ .../agents/toolboxes/ToolboxSamplesTests.java | 128 +++++++++ .../ai/agents/tools/FabricIQSamplesTests.java | 43 +++ .../DataGenerationJobsAsyncSample.java | 126 ++++++++ .../ai/projects/DataGenerationJobsSample.java | 115 ++++++++ .../azure/ai/projects/ModelsAsyncSample.java | 138 +++++++++ .../com/azure/ai/projects/ModelsSample.java | 126 ++++++++ .../ai/projects/SkillsPackageAsyncSample.java | 95 +++++++ .../ai/projects/SkillsPackageSample.java | 92 ++++++ .../com/azure/ai/projects/SamplesTests.java | 209 ++++++++++++++ 27 files changed, 2841 insertions(+) create mode 100644 sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/AgentEndpointAsyncSample.java create mode 100644 sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/AgentEndpointSample.java create mode 100644 sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentAsyncSample.java create mode 100644 sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSample.java create mode 100644 sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSampleUtils.java create mode 100644 sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/HostedAgentsSampleUtils.java create mode 100644 sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesAsyncSample.java create mode 100644 sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesSample.java create mode 100644 sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionLogStreamAsyncSample.java create mode 100644 sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionLogStreamSample.java create mode 100644 sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionsAsyncSample.java create mode 100644 sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionsSample.java create mode 100644 sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxSearchToolboxSample.java create mode 100644 sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxesAsyncSample.java create mode 100644 sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQAsync.java create mode 100644 sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQSync.java create mode 100644 sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/CodeAgentSamplesTests.java create mode 100644 sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/HostedAgentContainerSamplesTests.java create mode 100644 sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/toolboxes/ToolboxSamplesTests.java create mode 100644 sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTests.java create mode 100644 sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobsAsyncSample.java create mode 100644 sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobsSample.java create mode 100644 sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsAsyncSample.java create mode 100644 sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsSample.java create mode 100644 sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageAsyncSample.java create mode 100644 sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageSample.java create mode 100644 sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/AgentEndpointAsyncSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/AgentEndpointAsyncSample.java new file mode 100644 index 000000000000..29c62aab1167 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/AgentEndpointAsyncSample.java @@ -0,0 +1,85 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.hostedagents; + +import com.azure.ai.agents.AgentsAsyncClient; +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.hostedagents.HostedAgentsSampleUtils.HostedAgentSessionResources; +import com.azure.ai.agents.models.AgentDefinitionOptInKeys; +import com.azure.ai.agents.models.AgentEndpointConfig; +import com.azure.ai.agents.models.AgentEndpointProtocol; +import com.azure.ai.agents.models.FixedRatioVersionSelectionRule; +import com.azure.ai.agents.models.UpdateAgentDetailsOptions; +import com.azure.ai.agents.models.VersionSelector; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import com.openai.client.OpenAIClientAsync; +import com.openai.core.JsonValue; +import com.openai.models.responses.ResponseCreateParams; +import reactor.core.publisher.Mono; + +import java.time.Duration; +import java.util.Collections; +import java.util.concurrent.atomic.AtomicReference; + +/** + * This sample demonstrates configuring a hosted agent endpoint and invoking it using the async OpenAI client. + * + *

Agent endpoints and sessions are currently preview features and only work with hosted agents.

+ * + *

Before running the sample, set these environment variables:

+ *
    + *
  • FOUNDRY_PROJECT_ENDPOINT - The Azure AI Project endpoint.
  • + *
  • FOUNDRY_AGENT_CONTAINER_IMAGE - The hosted-agent container image.
  • + *
+ */ +public class AgentEndpointAsyncSample { + public static void main(String[] args) { + String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); + String image = Configuration.getGlobalConfiguration().get("FOUNDRY_AGENT_CONTAINER_IMAGE"); + String agentName = HostedAgentsSampleUtils.SAMPLE_AGENT_NAME; + + AgentsClientBuilder builder = new AgentsClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(endpoint); + + AgentsAsyncClient agentsAsyncClient = builder.buildAgentsAsyncClient(); + AtomicReference resourcesRef = new AtomicReference<>(); + + Mono workflow = HostedAgentsSampleUtils.createAgentAndSessionAsync(agentsAsyncClient, agentName, image) + .flatMap(resources -> { + resourcesRef.set(resources); + + AgentEndpointConfig endpointConfig = new AgentEndpointConfig() + .setVersionSelector(new VersionSelector().setVersionSelectionRules(Collections.singletonList( + new FixedRatioVersionSelectionRule() + .setAgentVersion(resources.getAgent().getVersion()) + .setTrafficPercentage(100)))) + .setProtocols(Collections.singletonList(AgentEndpointProtocol.RESPONSES)); + + OpenAIClientAsync openAIAsyncClient = builder.buildAgentScopedOpenAIAsyncClient(agentName); + + return agentsAsyncClient.updateAgentDetails(agentName, + new UpdateAgentDetailsOptions().setAgentEndpoint(endpointConfig), + AgentDefinitionOptInKeys.AGENT_ENDPOINT_V1_PREVIEW) + .doOnNext(updated -> System.out.printf("Agent endpoint configured for agent: %s%n", + updated.getName())) + .then(Mono.fromFuture(openAIAsyncClient.responses().create(ResponseCreateParams.builder() + .input("What is the size of France in square miles?") + .putAdditionalBodyProperty("agent_session_id", + JsonValue.from(resources.getSession().getAgentSessionId())) + .build()))) + .doOnNext(HostedAgentsSampleUtils::printResponseOutput) + .then(); + }); + + workflow + .onErrorResume(error -> HostedAgentsSampleUtils.cleanupAsync(agentsAsyncClient, agentName, + resourcesRef.get()).then(Mono.error(error))) + .then(Mono.defer(() -> HostedAgentsSampleUtils.cleanupAsync(agentsAsyncClient, agentName, + resourcesRef.get()))) + .timeout(Duration.ofMinutes(15)) + .block(); + } +} diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/AgentEndpointSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/AgentEndpointSample.java new file mode 100644 index 000000000000..1aa9f6805fb6 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/AgentEndpointSample.java @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.hostedagents; + +import com.azure.ai.agents.AgentsClient; +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.hostedagents.HostedAgentsSampleUtils.HostedAgentSessionResources; +import com.azure.ai.agents.models.AgentDefinitionOptInKeys; +import com.azure.ai.agents.models.AgentEndpointConfig; +import com.azure.ai.agents.models.AgentEndpointProtocol; +import com.azure.ai.agents.models.FixedRatioVersionSelectionRule; +import com.azure.ai.agents.models.UpdateAgentDetailsOptions; +import com.azure.ai.agents.models.VersionSelector; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import com.openai.client.OpenAIClient; +import com.openai.core.JsonValue; +import com.openai.models.responses.Response; +import com.openai.models.responses.ResponseCreateParams; + +import java.util.Collections; + +/** + * This sample demonstrates configuring a hosted agent endpoint and invoking the OpenAI Responses API through it. + * + *

Agent endpoints and sessions are currently preview features and only work with hosted agents.

+ * + *

Before running the sample, set these environment variables:

+ *
    + *
  • FOUNDRY_PROJECT_ENDPOINT - The Azure AI Project endpoint.
  • + *
  • FOUNDRY_AGENT_CONTAINER_IMAGE - The hosted-agent container image.
  • + *
+ */ +public class AgentEndpointSample { + public static void main(String[] args) { + String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); + String image = Configuration.getGlobalConfiguration().get("FOUNDRY_AGENT_CONTAINER_IMAGE"); + String agentName = HostedAgentsSampleUtils.SAMPLE_AGENT_NAME; + + AgentsClientBuilder builder = new AgentsClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(endpoint); + + AgentsClient agentsClient = builder.buildAgentsClient(); + + HostedAgentSessionResources resources = null; + try { + resources = HostedAgentsSampleUtils.createAgentAndSession(agentsClient, agentName, image); + + AgentEndpointConfig endpointConfig = new AgentEndpointConfig() + .setVersionSelector(new VersionSelector().setVersionSelectionRules(Collections.singletonList( + new FixedRatioVersionSelectionRule() + .setAgentVersion(resources.getAgent().getVersion()) + .setTrafficPercentage(100)))) + .setProtocols(Collections.singletonList(AgentEndpointProtocol.RESPONSES)); + + agentsClient.updateAgentDetails(agentName, + new UpdateAgentDetailsOptions().setAgentEndpoint(endpointConfig), + AgentDefinitionOptInKeys.AGENT_ENDPOINT_V1_PREVIEW); + System.out.printf("Agent endpoint configured for agent: %s%n", agentName); + + OpenAIClient openAIClient = builder.buildAgentScopedOpenAIClient(agentName); + Response response = openAIClient.responses().create(ResponseCreateParams.builder() + .input("What is the size of France in square miles?") + .putAdditionalBodyProperty("agent_session_id", + JsonValue.from(resources.getSession().getAgentSessionId())) + .build()); + + HostedAgentsSampleUtils.printResponseOutput(response); + } finally { + HostedAgentsSampleUtils.cleanup(agentsClient, agentName, resources); + } + } +} diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentAsyncSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentAsyncSample.java new file mode 100644 index 000000000000..54f8f046229e --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentAsyncSample.java @@ -0,0 +1,101 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.hostedagents; + +import com.azure.ai.agents.AgentsAsyncClient; +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.models.AgentDefinitionOptInKeys; +import com.azure.ai.agents.models.AgentVersionDetails; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import reactor.core.publisher.Mono; +import reactor.core.scheduler.Schedulers; + +import java.nio.file.Files; +import java.nio.file.Path; +import java.time.Duration; + +/** + * This sample demonstrates creating and downloading a code-based hosted agent using the asynchronous AgentsAsyncClient. + * + *

Code-based hosted agents are a preview feature. Before running, set {@code FOUNDRY_PROJECT_ENDPOINT} to your + * Azure AI Foundry project endpoint.

+ */ +public class CodeAgentAsyncSample { + public static void main(String[] args) { + String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); + String agentName = CodeAgentSampleUtils.SAMPLE_AGENT_NAME; + + AgentsAsyncClient agentsAsyncClient = new AgentsClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(endpoint) + .buildAgentsAsyncClient(); + + Mono workflow = agentsAsyncClient.deleteAgent(agentName) + .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()) + .then(Mono.fromCallable(CodeAgentSampleUtils::createCodeZip).subscribeOn(Schedulers.boundedElastic())) + .flatMap(codeZip -> { + String codeZipSha256 = CodeAgentSampleUtils.sha256(codeZip); + + // BEGIN: com.azure.ai.agents.hostedagents.CodeAgentAsyncSample.createAgentFromCode + + return agentsAsyncClient.createAgentFromCode( + agentName, + codeZipSha256, + CodeAgentSampleUtils.createAgentFromCodeContent(codeZip), + AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW) + .doOnNext(agent -> { + AgentVersionDetails latestVersion = agent.getVersions().getLatest(); + System.out.printf("Created code-based agent: %s%n", agent.getName()); + CodeAgentSampleUtils.printLatestVersion(latestVersion); + }) + + // END: com.azure.ai.agents.hostedagents.CodeAgentAsyncSample.createAgentFromCode + + // BEGIN: com.azure.ai.agents.hostedagents.CodeAgentAsyncSample.downloadAgentCode + + .then(agentsAsyncClient.downloadAgentCode(agentName, + AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW)) + .flatMap(downloadedCode -> writeDownloadedCode(agentName, downloadedCode)) + + // END: com.azure.ai.agents.hostedagents.CodeAgentAsyncSample.downloadAgentCode + + // BEGIN: com.azure.ai.agents.hostedagents.CodeAgentAsyncSample.createAgentVersionFromCode + + .then(agentsAsyncClient.createAgentVersionFromCode( + agentName, + codeZipSha256, + CodeAgentSampleUtils.createAgentVersionFromCodeContent(codeZip), + AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW)) + .doOnNext(newVersion -> { + System.out.printf("Created code-based agent version: %s%n", newVersion.getVersion()); + CodeAgentSampleUtils.printLatestVersion(newVersion); + }) + .then(); + + // END: com.azure.ai.agents.hostedagents.CodeAgentAsyncSample.createAgentVersionFromCode + }); + + workflow + .onErrorResume(error -> agentsAsyncClient.deleteAgent(agentName) + .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()) + .then(Mono.error(error))) + .then(agentsAsyncClient.deleteAgent(agentName) + .doOnSuccess(unused -> System.out.printf("Deleted code-based agent: %s%n", agentName)) + .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty())) + .timeout(Duration.ofMinutes(15)) + .block(); + } + + private static Mono writeDownloadedCode(String agentName, BinaryData downloadedCode) { + return Mono.fromCallable(() -> { + Path downloadPath = Files.createTempFile(agentName + "-", ".zip"); + Files.write(downloadPath, downloadedCode.toBytes()); + System.out.println("Downloaded code package path: " + downloadPath); + return downloadPath; + }).subscribeOn(Schedulers.boundedElastic()); + } +} diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSample.java new file mode 100644 index 000000000000..039784b4c5b1 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSample.java @@ -0,0 +1,91 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.hostedagents; + +import com.azure.ai.agents.AgentsClient; +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.models.AgentDefinitionOptInKeys; +import com.azure.ai.agents.models.AgentDetails; +import com.azure.ai.agents.models.AgentVersionDetails; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; + +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; + +/** + * This sample demonstrates creating and downloading a code-based hosted agent using the synchronous AgentsClient. + * + *

Code-based hosted agents are a preview feature. Before running, set {@code FOUNDRY_PROJECT_ENDPOINT} to your + * Azure AI Foundry project endpoint.

+ */ +public class CodeAgentSample { + public static void main(String[] args) throws IOException { + String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); + String agentName = CodeAgentSampleUtils.SAMPLE_AGENT_NAME; + + AgentsClient agentsClient = new AgentsClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(endpoint) + .buildAgentsClient(); + + try { + agentsClient.deleteAgent(agentName); + } catch (ResourceNotFoundException ignored) { + // The sample agent does not already exist. + } + + try { + // BEGIN: com.azure.ai.agents.hostedagents.CodeAgentSample.createAgentFromCode + + BinaryData codeZip = CodeAgentSampleUtils.createCodeZip(); + String codeZipSha256 = CodeAgentSampleUtils.sha256(codeZip); + + AgentDetails agent = agentsClient.createAgentFromCode( + agentName, + codeZipSha256, + CodeAgentSampleUtils.createAgentFromCodeContent(codeZip), + AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW); + + AgentVersionDetails latestVersion = agent.getVersions().getLatest(); + System.out.printf("Created code-based agent: %s%n", agent.getName()); + CodeAgentSampleUtils.printLatestVersion(latestVersion); + + // END: com.azure.ai.agents.hostedagents.CodeAgentSample.createAgentFromCode + + // BEGIN: com.azure.ai.agents.hostedagents.CodeAgentSample.downloadAgentCode + + BinaryData downloadedCode = agentsClient.downloadAgentCode(agentName, + AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW); + Path downloadPath = Files.createTempFile(agentName + "-", ".zip"); + Files.write(downloadPath, downloadedCode.toBytes()); + System.out.println("Downloaded code package path: " + downloadPath); + + // END: com.azure.ai.agents.hostedagents.CodeAgentSample.downloadAgentCode + + // BEGIN: com.azure.ai.agents.hostedagents.CodeAgentSample.createAgentVersionFromCode + + AgentVersionDetails newVersion = agentsClient.createAgentVersionFromCode( + agentName, + codeZipSha256, + CodeAgentSampleUtils.createAgentVersionFromCodeContent(codeZip), + AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW); + + System.out.printf("Created code-based agent version: %s%n", newVersion.getVersion()); + CodeAgentSampleUtils.printLatestVersion(newVersion); + + // END: com.azure.ai.agents.hostedagents.CodeAgentSample.createAgentVersionFromCode + } finally { + try { + agentsClient.deleteAgent(agentName); + System.out.printf("Deleted code-based agent: %s%n", agentName); + } catch (ResourceNotFoundException ignored) { + // The sample agent may not have been created. + } + } + } +} diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSampleUtils.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSampleUtils.java new file mode 100644 index 000000000000..57b87e72d930 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSampleUtils.java @@ -0,0 +1,139 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.hostedagents; + +import com.azure.ai.agents.models.AgentProtocol; +import com.azure.ai.agents.models.AgentVersionDetails; +import com.azure.ai.agents.models.CodeConfiguration; +import com.azure.ai.agents.models.CodeDependencyResolution; +import com.azure.ai.agents.models.CodeFileDetails; +import com.azure.ai.agents.models.CreateAgentFromCodeContent; +import com.azure.ai.agents.models.CreateAgentVersionFromCodeContent; +import com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata; +import com.azure.ai.agents.models.HostedAgentDefinition; +import com.azure.ai.agents.models.ProtocolVersionRecord; +import com.azure.core.util.BinaryData; + +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.nio.charset.StandardCharsets; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; +import java.util.Arrays; +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; +import java.util.zip.ZipEntry; +import java.util.zip.ZipOutputStream; + +final class CodeAgentSampleUtils { + static final String SAMPLE_AGENT_NAME = "java-code-agent-sample"; + + private CodeAgentSampleUtils() { + } + + static CreateAgentFromCodeContent createAgentFromCodeContent(BinaryData codeZip) { + return new CreateAgentFromCodeContent(createMetadata(), createCodeFileDetails(codeZip)); + } + + static CreateAgentVersionFromCodeContent createAgentVersionFromCodeContent(BinaryData codeZip) { + return new CreateAgentVersionFromCodeContent(createMetadata(), createCodeFileDetails(codeZip)); + } + + static BinaryData createCodeZip() throws IOException { + ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); + try (ZipOutputStream zipOutputStream = new ZipOutputStream(outputStream)) { + addZipEntry(zipOutputStream, "main.py", createMainPy()); + addZipEntry(zipOutputStream, "requirements.txt", createRequirementsTxt()); + } + return BinaryData.fromBytes(outputStream.toByteArray()); + } + + static String sha256(BinaryData data) { + try { + MessageDigest digest = MessageDigest.getInstance("SHA-256"); + byte[] hash = digest.digest(data.toBytes()); + StringBuilder builder = new StringBuilder(hash.length * 2); + for (byte value : hash) { + builder.append(String.format("%02x", value)); + } + return builder.toString(); + } catch (NoSuchAlgorithmException e) { + throw new RuntimeException("SHA-256 is not available.", e); + } + } + + static void printLatestVersion(AgentVersionDetails version) { + System.out.printf("Agent version: %s%n", version.getVersion()); + System.out.printf("Status: %s%n", version.getStatus()); + if (version.getDefinition() instanceof HostedAgentDefinition) { + HostedAgentDefinition definition = (HostedAgentDefinition) version.getDefinition(); + if (definition.getCodeConfiguration() != null) { + System.out.printf("Code content hash: %s%n", definition.getCodeConfiguration().getContentHash()); + } + } + } + + private static CreateAgentVersionFromCodeMetadata createMetadata() { + Map metadata = new HashMap<>(); + metadata.put("sample", "code-agent"); + + return new CreateAgentVersionFromCodeMetadata(createHostedAgentDefinition()) + .setDescription("Code-based hosted agent sample created by the Azure AI Agents Java SDK.") + .setMetadata(metadata); + } + + private static HostedAgentDefinition createHostedAgentDefinition() { + return new HostedAgentDefinition("0.5", "1Gi") + .setCodeConfiguration(new CodeConfiguration( + "python_3_11", + Arrays.asList("python", "main.py"), + CodeDependencyResolution.REMOTE_BUILD)) + .setProtocolVersions(Collections.singletonList( + new ProtocolVersionRecord(AgentProtocol.RESPONSES, "1.0.0"))); + } + + private static CodeFileDetails createCodeFileDetails(BinaryData codeZip) { + return new CodeFileDetails(codeZip) + .setFilename("responses-echo-agent.zip") + .setContentType("application/zip"); + } + + private static void addZipEntry(ZipOutputStream zipOutputStream, String name, String content) throws IOException { + zipOutputStream.putNextEntry(new ZipEntry(name)); + zipOutputStream.write(content.getBytes(StandardCharsets.UTF_8)); + zipOutputStream.closeEntry(); + } + + private static String createMainPy() { + return "import asyncio\n" + + "import logging\n\n" + + "from azure.ai.agentserver.responses import (\n" + + " CreateResponse,\n" + + " ResponseContext,\n" + + " ResponsesAgentServerHost,\n" + + " TextResponse,\n" + + ")\n\n" + + "logging.basicConfig(level=logging.INFO)\n" + + "logger = logging.getLogger(__name__)\n" + + "app = ResponsesAgentServerHost()\n\n" + + "@app.create_handler\n" + + "async def handler(request: CreateResponse, context: ResponseContext, " + + "cancellation_signal: asyncio.Event):\n" + + " input_text = await context.get_input_text()\n" + + " logger.info('Received input: %s', input_text)\n" + + " return TextResponse(context, request, text=f'Echo: {input_text}')\n\n" + + "def main() -> None:\n" + + " app.run()\n\n" + + "if __name__ == '__main__':\n" + + " main()\n"; + } + + private static String createRequirementsTxt() { + return "--index-url https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/\n" + + "azure-ai-agentserver-core==2.0.0a20260410006\n" + + "azure-ai-agentserver-invocations==1.0.0a20260410006\n" + + "azure-ai-agentserver-responses==1.0.0a20260410006\n"; + } +} diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/HostedAgentsSampleUtils.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/HostedAgentsSampleUtils.java new file mode 100644 index 000000000000..81f2613349ea --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/HostedAgentsSampleUtils.java @@ -0,0 +1,269 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.hostedagents; + +import com.azure.ai.agents.AgentsAsyncClient; +import com.azure.ai.agents.AgentsClient; +import com.azure.ai.agents.models.AgentDefinitionOptInKeys; +import com.azure.ai.agents.models.AgentProtocol; +import com.azure.ai.agents.models.AgentSessionResource; +import com.azure.ai.agents.models.AgentVersionDetails; +import com.azure.ai.agents.models.AgentVersionStatus; +import com.azure.ai.agents.models.CreateAgentVersionInput; +import com.azure.ai.agents.models.HostedAgentDefinition; +import com.azure.ai.agents.models.ProtocolVersionRecord; +import com.azure.ai.agents.models.VersionRefIndicator; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpHeaderName; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.util.BinaryData; +import com.openai.models.responses.Response; +import com.openai.models.responses.ResponseOutputItem; +import com.openai.models.responses.ResponseOutputMessage; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; + +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.nio.charset.StandardCharsets; +import java.time.Duration; +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; + +final class HostedAgentsSampleUtils { + static final String SAMPLE_AGENT_NAME = "java-hosted-agent-sample"; + + private static final int MAX_POLL_ATTEMPTS = 60; + private static final Duration POLL_INTERVAL = Duration.ofSeconds(10); + private static final String FOUNDRY_FEATURES_HEADER_VALUE = AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW + + "," + AgentDefinitionOptInKeys.AGENT_ENDPOINT_V1_PREVIEW; + + private HostedAgentsSampleUtils() { + } + + static HostedAgentSessionResources createAgentAndSession(AgentsClient agentsClient, String agentName, + String image) { + AgentVersionDetails agent = createHostedAgentVersion(agentsClient, agentName, image); + waitForAgentVersionActive(agentsClient, agentName, agent.getVersion()); + + AgentSessionResource session = agentsClient.createSession(agentName, new VersionRefIndicator(agent.getVersion())); + System.out.printf("Session created (id: %s, status: %s)%n", session.getAgentSessionId(), session.getStatus()); + + return new HostedAgentSessionResources(agent, session); + } + + static Mono createAgentAndSessionAsync(AgentsAsyncClient agentsAsyncClient, + String agentName, String image) { + return createHostedAgentVersionAsync(agentsAsyncClient, agentName, image) + .flatMap(agent -> waitForAgentVersionActiveAsync(agentsAsyncClient, agentName, agent.getVersion()) + .then(agentsAsyncClient.createSession(agentName, new VersionRefIndicator(agent.getVersion()))) + .map(session -> { + System.out.printf("Session created (id: %s, status: %s)%n", session.getAgentSessionId(), + session.getStatus()); + return new HostedAgentSessionResources(agent, session); + })); + } + + static void cleanup(AgentsClient agentsClient, String agentName, HostedAgentSessionResources resources) { + if (resources == null) { + return; + } + + if (resources.getSession() != null) { + try { + agentsClient.deleteSession(agentName, resources.getSession().getAgentSessionId()); + System.out.printf("Session with id: %s deleted.%n", resources.getSession().getAgentSessionId()); + } catch (ResourceNotFoundException ignored) { + // The sample may have already deleted the session. + } + } + + if (resources.getAgent() != null) { + try { + agentsClient.deleteAgentVersion(agentName, resources.getAgent().getVersion()); + System.out.printf("Agent version %s deleted.%n", resources.getAgent().getVersion()); + } catch (ResourceNotFoundException ignored) { + // The sample may have already deleted the agent version. + } + } + } + + static Mono cleanupAsync(AgentsAsyncClient agentsAsyncClient, String agentName, + HostedAgentSessionResources resources) { + if (resources == null) { + return Mono.empty(); + } + + Mono deleteSession = Mono.empty(); + if (resources.getSession() != null) { + String sessionId = resources.getSession().getAgentSessionId(); + deleteSession = agentsAsyncClient.deleteSession(agentName, sessionId) + .doOnSuccess(unused -> System.out.printf("Session with id: %s deleted.%n", sessionId)) + .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()); + } + + Mono deleteAgentVersion = Mono.empty(); + if (resources.getAgent() != null) { + String version = resources.getAgent().getVersion(); + deleteAgentVersion = agentsAsyncClient.deleteAgentVersion(agentName, version) + .doOnSuccess(unused -> System.out.printf("Agent version %s deleted.%n", version)) + .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()); + } + + return deleteSession.then(deleteAgentVersion); + } + + static void printResponseOutput(Response response) { + for (ResponseOutputItem outputItem : response.output()) { + if (outputItem.message().isPresent()) { + ResponseOutputMessage message = outputItem.message().get(); + message.content().forEach(content -> content.outputText() + .ifPresent(text -> System.out.println("Response output: " + text.text()))); + } + } + } + + static void printSseFrames(BinaryData streamData, int maxLogEvents) throws IOException { + int eventCount = 0; + String eventName = null; + StringBuilder data = new StringBuilder(); + + try (InputStream stream = streamData.toStream(); + BufferedReader reader = new BufferedReader(new InputStreamReader(stream, StandardCharsets.UTF_8))) { + String line; + while (eventCount < maxLogEvents && (line = reader.readLine()) != null) { + if (line.isEmpty()) { + if (eventName != null || data.length() > 0) { + eventCount++; + System.out.println("SSE event: " + eventName); + System.out.println("SSE data: " + data.toString()); + System.out.println(); + } + eventName = null; + data.setLength(0); + } else if (line.startsWith("event: ")) { + eventName = line.substring("event: ".length()); + } else if (line.startsWith("data: ")) { + if (data.length() > 0) { + data.append(System.lineSeparator()); + } + data.append(line.substring("data: ".length())); + } + } + } + } + + private static AgentVersionDetails createHostedAgentVersion(AgentsClient agentsClient, String agentName, + String image) { + CreateAgentVersionInput input = new CreateAgentVersionInput(createHostedAgentDefinition(image)) + .setMetadata(sampleMetadata()) + .setDescription("Hosted agent sample created by the Azure AI Agents Java SDK."); + + AgentVersionDetails agent = agentsClient.createAgentVersionWithResponse(agentName, BinaryData.fromObject(input), + foundryFeaturesRequestOptions()).getValue().toObject(AgentVersionDetails.class); + System.out.printf("Agent created (name: %s, version: %s)%n", agent.getName(), agent.getVersion()); + return agent; + } + + private static Mono createHostedAgentVersionAsync(AgentsAsyncClient agentsAsyncClient, + String agentName, String image) { + CreateAgentVersionInput input = new CreateAgentVersionInput(createHostedAgentDefinition(image)) + .setMetadata(sampleMetadata()) + .setDescription("Hosted agent sample created by the Azure AI Agents Java SDK."); + + return agentsAsyncClient.createAgentVersionWithResponse(agentName, BinaryData.fromObject(input), + foundryFeaturesRequestOptions()) + .map(response -> response.getValue().toObject(AgentVersionDetails.class)) + .doOnNext(agent -> System.out.printf("Agent created (name: %s, version: %s)%n", agent.getName(), + agent.getVersion())); + } + + private static HostedAgentDefinition createHostedAgentDefinition(String image) { + return new HostedAgentDefinition("0.5", "1Gi") + .setImage(image) + .setContainerProtocolVersions(Collections.singletonList( + new ProtocolVersionRecord(AgentProtocol.RESPONSES, "1.0.0"))); + } + + private static void waitForAgentVersionActive(AgentsClient agentsClient, String agentName, String agentVersion) { + for (int attempt = 1; attempt <= MAX_POLL_ATTEMPTS; attempt++) { + sleep(POLL_INTERVAL); + AgentVersionDetails versionDetails = agentsClient.getAgentVersionDetails(agentName, agentVersion); + AgentVersionStatus status = versionDetails.getStatus(); + System.out.printf("Agent version status: %s (attempt %d)%n", status, attempt); + + if (AgentVersionStatus.ACTIVE == status) { + return; + } + if (AgentVersionStatus.FAILED == status) { + throw new RuntimeException("Agent version provisioning failed: " + agentVersion); + } + } + + throw new RuntimeException("Timed out waiting for agent version to become active: " + agentVersion); + } + + private static Mono waitForAgentVersionActiveAsync(AgentsAsyncClient agentsAsyncClient, + String agentName, String agentVersion) { + return Flux.range(1, MAX_POLL_ATTEMPTS) + .delayElements(POLL_INTERVAL) + .concatMap(attempt -> agentsAsyncClient.getAgentVersionDetails(agentName, agentVersion) + .flatMap(versionDetails -> { + AgentVersionStatus status = versionDetails.getStatus(); + System.out.printf("Agent version status: %s (attempt %d)%n", status, attempt); + + if (AgentVersionStatus.ACTIVE == status) { + return Mono.just(versionDetails); + } + if (AgentVersionStatus.FAILED == status) { + return Mono.error(new RuntimeException("Agent version provisioning failed: " + agentVersion)); + } + return Mono.empty(); + })) + .next() + .switchIfEmpty(Mono.error(new RuntimeException( + "Timed out waiting for agent version to become active: " + agentVersion))); + } + + private static RequestOptions foundryFeaturesRequestOptions() { + return new RequestOptions() + .setHeader(HttpHeaderName.fromString("Foundry-Features"), FOUNDRY_FEATURES_HEADER_VALUE); + } + + private static Map sampleMetadata() { + Map metadata = new HashMap<>(); + metadata.put("enableVnextExperience", "true"); + return metadata; + } + + private static void sleep(Duration duration) { + try { + Thread.sleep(duration.toMillis()); + } catch (InterruptedException e) { + Thread.currentThread().interrupt(); + throw new RuntimeException("Interrupted while waiting for hosted agent provisioning.", e); + } + } + + static final class HostedAgentSessionResources { + private final AgentVersionDetails agent; + private final AgentSessionResource session; + + HostedAgentSessionResources(AgentVersionDetails agent, AgentSessionResource session) { + this.agent = agent; + this.session = session; + } + + AgentVersionDetails getAgent() { + return agent; + } + + AgentSessionResource getSession() { + return session; + } + } +} diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesAsyncSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesAsyncSample.java new file mode 100644 index 000000000000..691fa8f4a78a --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesAsyncSample.java @@ -0,0 +1,98 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.hostedagents; + +import com.azure.ai.agents.AgentSessionFilesAsyncClient; +import com.azure.ai.agents.AgentsAsyncClient; +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.hostedagents.HostedAgentsSampleUtils.HostedAgentSessionResources; +import com.azure.ai.agents.models.AgentDefinitionOptInKeys; +import com.azure.ai.agents.models.SessionDirectoryEntry; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import reactor.core.publisher.Mono; + +import java.nio.charset.StandardCharsets; +import java.time.Duration; +import java.util.concurrent.atomic.AtomicReference; + +/** + * This sample demonstrates hosted-agent session file operations using the async client. + * + *

Session files are currently a preview feature and only work with hosted-agent sessions.

+ * + *

Before running the sample, set these environment variables:

+ *
    + *
  • FOUNDRY_PROJECT_ENDPOINT - The Azure AI Project endpoint.
  • + *
  • FOUNDRY_AGENT_CONTAINER_IMAGE - The hosted-agent container image.
  • + *
+ */ +public class SessionFilesAsyncSample { + private static final String REMOTE_FILE_PATH_1 = "/remote/data_file1.txt"; + private static final String REMOTE_FILE_PATH_2 = "/remote/data_file2.txt"; + + public static void main(String[] args) { + String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); + String image = Configuration.getGlobalConfiguration().get("FOUNDRY_AGENT_CONTAINER_IMAGE"); + String agentName = HostedAgentsSampleUtils.SAMPLE_AGENT_NAME; + + AgentsClientBuilder builder = new AgentsClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(endpoint); + + AgentsAsyncClient agentsAsyncClient = builder.buildAgentsAsyncClient(); + AgentSessionFilesAsyncClient sessionFilesAsyncClient = builder.buildAgentSessionFilesAsyncClient(); + + AtomicReference resourcesRef = new AtomicReference<>(); + + Mono workflow = HostedAgentsSampleUtils.createAgentAndSessionAsync(agentsAsyncClient, agentName, image) + .flatMap(resources -> { + resourcesRef.set(resources); + String sessionId = resources.getSession().getAgentSessionId(); + + return sessionFilesAsyncClient.uploadSessionFile(agentName, sessionId, REMOTE_FILE_PATH_1, + BinaryData.fromString("Sample session file 1."), AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW) + .doOnNext(response -> System.out.printf("Uploaded session file: %s%n", response.getPath())) + .then(sessionFilesAsyncClient.uploadSessionFile(agentName, sessionId, REMOTE_FILE_PATH_2, + BinaryData.fromString("Sample session file 2."), + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW)) + .doOnNext(response -> System.out.printf("Uploaded session file: %s%n", response.getPath())) + .then(sessionFilesAsyncClient.getSessionFiles(agentName, sessionId, "/remote", + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW)) + .doOnNext(files -> { + System.out.println("Listing session files for the session at path '/remote'..."); + for (SessionDirectoryEntry entry : files.getEntries()) { + System.out.printf(" - name=%s, size=%d, isDirectory=%s%n", entry.getName(), + entry.getSize(), entry.isDirectory()); + } + }) + .then(sessionFilesAsyncClient.downloadSessionFile(agentName, sessionId, REMOTE_FILE_PATH_1, + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW)) + .doOnNext(downloaded -> { + System.out.printf("Downloading and printing content from '%s'%n", REMOTE_FILE_PATH_1); + String fileContent = new String(downloaded.toBytes(), StandardCharsets.UTF_8); + System.out.printf("Session file content (%s):%n%s%n", REMOTE_FILE_PATH_1, fileContent); + }) + .then(Mono.defer(() -> { + System.out.printf("Deleting session file at path: %s...%n", REMOTE_FILE_PATH_1); + return sessionFilesAsyncClient.deleteSessionFile(agentName, sessionId, REMOTE_FILE_PATH_1, + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, false); + })) + .then(Mono.defer(() -> { + System.out.printf("Deleting session file at path: %s...%n", REMOTE_FILE_PATH_2); + return sessionFilesAsyncClient.deleteSessionFile(agentName, sessionId, REMOTE_FILE_PATH_2, + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, false); + })); + }); + + workflow + .onErrorResume(error -> HostedAgentsSampleUtils.cleanupAsync(agentsAsyncClient, agentName, + resourcesRef.get()).then(Mono.error(error))) + .then(Mono.defer(() -> HostedAgentsSampleUtils.cleanupAsync(agentsAsyncClient, agentName, + resourcesRef.get()))) + .timeout(Duration.ofMinutes(15)) + .block(); + } +} diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesSample.java new file mode 100644 index 000000000000..4258c05f3a0d --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesSample.java @@ -0,0 +1,84 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.hostedagents; + +import com.azure.ai.agents.AgentSessionFilesClient; +import com.azure.ai.agents.AgentsClient; +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.hostedagents.HostedAgentsSampleUtils.HostedAgentSessionResources; +import com.azure.ai.agents.models.AgentDefinitionOptInKeys; +import com.azure.ai.agents.models.SessionDirectoryEntry; +import com.azure.ai.agents.models.SessionDirectoryListResponse; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; + +import java.nio.charset.StandardCharsets; + +/** + * This sample demonstrates hosted-agent session file upload, list, download, and delete operations. + * + *

Session files are currently a preview feature and only work with hosted-agent sessions.

+ * + *

Before running the sample, set these environment variables:

+ *
    + *
  • FOUNDRY_PROJECT_ENDPOINT - The Azure AI Project endpoint.
  • + *
  • FOUNDRY_AGENT_CONTAINER_IMAGE - The hosted-agent container image.
  • + *
+ */ +public class SessionFilesSample { + private static final String REMOTE_FILE_PATH_1 = "/remote/data_file1.txt"; + private static final String REMOTE_FILE_PATH_2 = "/remote/data_file2.txt"; + + public static void main(String[] args) { + String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); + String image = Configuration.getGlobalConfiguration().get("FOUNDRY_AGENT_CONTAINER_IMAGE"); + String agentName = HostedAgentsSampleUtils.SAMPLE_AGENT_NAME; + + AgentsClientBuilder builder = new AgentsClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(endpoint); + + AgentsClient agentsClient = builder.buildAgentsClient(); + AgentSessionFilesClient sessionFilesClient = builder.buildAgentSessionFilesClient(); + + HostedAgentSessionResources resources = null; + try { + resources = HostedAgentsSampleUtils.createAgentAndSession(agentsClient, agentName, image); + String sessionId = resources.getSession().getAgentSessionId(); + + sessionFilesClient.uploadSessionFile(agentName, sessionId, REMOTE_FILE_PATH_1, + BinaryData.fromString("Sample session file 1."), AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW); + System.out.printf("Uploaded session file: %s%n", REMOTE_FILE_PATH_1); + + sessionFilesClient.uploadSessionFile(agentName, sessionId, REMOTE_FILE_PATH_2, + BinaryData.fromString("Sample session file 2."), AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW); + System.out.printf("Uploaded session file: %s%n", REMOTE_FILE_PATH_2); + + System.out.println("Listing session files for the session at path '/remote'..."); + SessionDirectoryListResponse files = sessionFilesClient.getSessionFiles(agentName, sessionId, "/remote", + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW); + for (SessionDirectoryEntry entry : files.getEntries()) { + System.out.printf(" - name=%s, size=%d, isDirectory=%s%n", entry.getName(), entry.getSize(), + entry.isDirectory()); + } + + System.out.printf("Downloading and printing content from '%s'%n", REMOTE_FILE_PATH_1); + BinaryData downloaded = sessionFilesClient.downloadSessionFile(agentName, sessionId, REMOTE_FILE_PATH_1, + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW); + String fileContent = new String(downloaded.toBytes(), StandardCharsets.UTF_8); + System.out.printf("Session file content (%s):%n%s%n", REMOTE_FILE_PATH_1, fileContent); + + System.out.printf("Deleting session file at path: %s...%n", REMOTE_FILE_PATH_1); + sessionFilesClient.deleteSessionFile(agentName, sessionId, REMOTE_FILE_PATH_1, + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, false); + + System.out.printf("Deleting session file at path: %s...%n", REMOTE_FILE_PATH_2); + sessionFilesClient.deleteSessionFile(agentName, sessionId, REMOTE_FILE_PATH_2, + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, false); + } finally { + HostedAgentsSampleUtils.cleanup(agentsClient, agentName, resources); + } + } +} diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionLogStreamAsyncSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionLogStreamAsyncSample.java new file mode 100644 index 000000000000..6b7e07d32913 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionLogStreamAsyncSample.java @@ -0,0 +1,97 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.hostedagents; + +import com.azure.ai.agents.AgentsAsyncClient; +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.hostedagents.HostedAgentsSampleUtils.HostedAgentSessionResources; +import com.azure.ai.agents.models.AgentDefinitionOptInKeys; +import com.azure.ai.agents.models.AgentEndpointConfig; +import com.azure.ai.agents.models.AgentEndpointProtocol; +import com.azure.ai.agents.models.FixedRatioVersionSelectionRule; +import com.azure.ai.agents.models.UpdateAgentDetailsOptions; +import com.azure.ai.agents.models.VersionSelector; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import com.openai.client.OpenAIClientAsync; +import com.openai.core.JsonValue; +import com.openai.models.responses.ResponseCreateParams; +import reactor.core.publisher.Mono; +import reactor.core.scheduler.Schedulers; + +import java.time.Duration; +import java.util.Collections; +import java.util.concurrent.atomic.AtomicReference; + +/** + * This sample demonstrates streaming hosted-agent session logs using async clients. + * + *

Session log streaming is currently a preview feature and only works with hosted-agent sessions.

+ * + *

Before running the sample, set these environment variables:

+ *
    + *
  • FOUNDRY_PROJECT_ENDPOINT - The Azure AI Project endpoint.
  • + *
  • FOUNDRY_AGENT_CONTAINER_IMAGE - The hosted-agent container image.
  • + *
+ */ +public class SessionLogStreamAsyncSample { + public static void main(String[] args) { + String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); + String image = Configuration.getGlobalConfiguration().get("FOUNDRY_AGENT_CONTAINER_IMAGE"); + String agentName = HostedAgentsSampleUtils.SAMPLE_AGENT_NAME; + + AgentsClientBuilder builder = new AgentsClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(endpoint); + + AgentsAsyncClient agentsAsyncClient = builder.buildAgentsAsyncClient(); + AtomicReference resourcesRef = new AtomicReference<>(); + + Mono workflow = HostedAgentsSampleUtils.createAgentAndSessionAsync(agentsAsyncClient, agentName, image) + .flatMap(resources -> { + resourcesRef.set(resources); + + AgentEndpointConfig endpointConfig = new AgentEndpointConfig() + .setVersionSelector(new VersionSelector().setVersionSelectionRules(Collections.singletonList( + new FixedRatioVersionSelectionRule() + .setAgentVersion(resources.getAgent().getVersion()) + .setTrafficPercentage(100)))) + .setProtocols(Collections.singletonList(AgentEndpointProtocol.RESPONSES)); + + OpenAIClientAsync openAIAsyncClient = builder.buildAgentScopedOpenAIAsyncClient(agentName); + + return agentsAsyncClient.updateAgentDetails(agentName, + new UpdateAgentDetailsOptions().setAgentEndpoint(endpointConfig), + AgentDefinitionOptInKeys.AGENT_ENDPOINT_V1_PREVIEW) + .doOnNext(updated -> System.out.printf("Agent endpoint configured for agent: %s%n", + updated.getName())) + .then(Mono.fromFuture(openAIAsyncClient.responses().create(ResponseCreateParams.builder() + .input("Say hello in one short sentence.") + .putAdditionalBodyProperty("agent_session_id", + JsonValue.from(resources.getSession().getAgentSessionId())) + .build()))) + .doOnNext(HostedAgentsSampleUtils::printResponseOutput) + .then(agentsAsyncClient.getSessionLogStreamWithResponse(agentName, resources.getAgent().getVersion(), + resources.getSession().getAgentSessionId(), new RequestOptions())) + .flatMap(response -> Mono.fromRunnable(() -> { + try { + System.out.println("Streaming session logs..."); + HostedAgentsSampleUtils.printSseFrames(response.getValue(), 30); + } catch (Exception e) { + throw new RuntimeException(e); + } + }).subscribeOn(Schedulers.boundedElastic())) + .then(); + }); + + workflow + .onErrorResume(error -> HostedAgentsSampleUtils.cleanupAsync(agentsAsyncClient, agentName, + resourcesRef.get()).then(Mono.error(error))) + .then(Mono.defer(() -> HostedAgentsSampleUtils.cleanupAsync(agentsAsyncClient, agentName, + resourcesRef.get()))) + .timeout(Duration.ofMinutes(15)) + .block(); + } +} diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionLogStreamSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionLogStreamSample.java new file mode 100644 index 000000000000..b21b7891460f --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionLogStreamSample.java @@ -0,0 +1,83 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.hostedagents; + +import com.azure.ai.agents.AgentsClient; +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.hostedagents.HostedAgentsSampleUtils.HostedAgentSessionResources; +import com.azure.ai.agents.models.AgentDefinitionOptInKeys; +import com.azure.ai.agents.models.AgentEndpointConfig; +import com.azure.ai.agents.models.AgentEndpointProtocol; +import com.azure.ai.agents.models.FixedRatioVersionSelectionRule; +import com.azure.ai.agents.models.UpdateAgentDetailsOptions; +import com.azure.ai.agents.models.VersionSelector; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import com.openai.client.OpenAIClient; +import com.openai.core.JsonValue; +import com.openai.models.responses.ResponseCreateParams; + +import java.io.IOException; +import java.util.Collections; + +/** + * This sample demonstrates streaming hosted-agent session logs. + * + *

Session log streaming is currently a preview feature and only works with hosted-agent sessions.

+ * + *

Before running the sample, set these environment variables:

+ *
    + *
  • FOUNDRY_PROJECT_ENDPOINT - The Azure AI Project endpoint.
  • + *
  • FOUNDRY_AGENT_CONTAINER_IMAGE - The hosted-agent container image.
  • + *
+ */ +public class SessionLogStreamSample { + public static void main(String[] args) throws IOException { + String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); + String image = Configuration.getGlobalConfiguration().get("FOUNDRY_AGENT_CONTAINER_IMAGE"); + String agentName = HostedAgentsSampleUtils.SAMPLE_AGENT_NAME; + + AgentsClientBuilder builder = new AgentsClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(endpoint); + + AgentsClient agentsClient = builder.buildAgentsClient(); + + HostedAgentSessionResources resources = null; + try { + resources = HostedAgentsSampleUtils.createAgentAndSession(agentsClient, agentName, image); + + AgentEndpointConfig endpointConfig = new AgentEndpointConfig() + .setVersionSelector(new VersionSelector().setVersionSelectionRules(Collections.singletonList( + new FixedRatioVersionSelectionRule() + .setAgentVersion(resources.getAgent().getVersion()) + .setTrafficPercentage(100)))) + .setProtocols(Collections.singletonList(AgentEndpointProtocol.RESPONSES)); + + agentsClient.updateAgentDetails(agentName, + new UpdateAgentDetailsOptions().setAgentEndpoint(endpointConfig), + AgentDefinitionOptInKeys.AGENT_ENDPOINT_V1_PREVIEW); + System.out.printf("Agent endpoint configured for agent: %s%n", agentName); + + OpenAIClient openAIClient = builder.buildAgentScopedOpenAIClient(agentName); + com.openai.models.responses.Response openAIResponse = openAIClient.responses().create( + ResponseCreateParams.builder() + .input("Say hello in one short sentence.") + .putAdditionalBodyProperty("agent_session_id", + JsonValue.from(resources.getSession().getAgentSessionId())) + .build()); + HostedAgentsSampleUtils.printResponseOutput(openAIResponse); + + System.out.println("Streaming session logs..."); + Response rawStream = agentsClient.getSessionLogStreamWithResponse(agentName, + resources.getAgent().getVersion(), resources.getSession().getAgentSessionId(), new RequestOptions()); + HostedAgentsSampleUtils.printSseFrames(rawStream.getValue(), 30); + } finally { + HostedAgentsSampleUtils.cleanup(agentsClient, agentName, resources); + } + } +} diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionsAsyncSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionsAsyncSample.java new file mode 100644 index 000000000000..ce64b3dd5a23 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionsAsyncSample.java @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.hostedagents; + +import com.azure.ai.agents.AgentsAsyncClient; +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.hostedagents.HostedAgentsSampleUtils.HostedAgentSessionResources; +import com.azure.ai.agents.models.AgentSessionResource; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import reactor.core.publisher.Mono; + +import java.time.Duration; +import java.util.concurrent.atomic.AtomicReference; + +/** + * This sample demonstrates how to create, retrieve, list, and delete hosted-agent sessions using the async client. + * + *

Sessions are currently a preview feature and only work with hosted agents.

+ * + *

Before running the sample, set these environment variables:

+ *
    + *
  • FOUNDRY_PROJECT_ENDPOINT - The Azure AI Project endpoint.
  • + *
  • FOUNDRY_AGENT_CONTAINER_IMAGE - The hosted-agent container image.
  • + *
+ */ +public class SessionsAsyncSample { + public static void main(String[] args) { + String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); + String image = Configuration.getGlobalConfiguration().get("FOUNDRY_AGENT_CONTAINER_IMAGE"); + String agentName = HostedAgentsSampleUtils.SAMPLE_AGENT_NAME; + + AgentsAsyncClient agentsAsyncClient = new AgentsClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(endpoint) + .buildAgentsAsyncClient(); + + AtomicReference resourcesRef = new AtomicReference<>(); + + Mono workflow = HostedAgentsSampleUtils.createAgentAndSessionAsync(agentsAsyncClient, agentName, image) + .flatMap(resources -> { + resourcesRef.set(resources); + AgentSessionResource session = resources.getSession(); + + return agentsAsyncClient.getSession(agentName, session.getAgentSessionId()) + .doOnNext(fetched -> System.out.printf("Retrieved session (id: %s, status: %s)%n", + fetched.getAgentSessionId(), fetched.getStatus())) + .thenMany(agentsAsyncClient.listSessions(agentName) + .doOnSubscribe(unused -> System.out.println("Listing sessions for the agent...")) + .doOnNext(item -> System.out.printf(" - %s (status: %s)%n", item.getAgentSessionId(), + item.getStatus()))) + .then(Mono.defer(() -> { + System.out.printf("Deleting session with id: %s...%n", session.getAgentSessionId()); + return agentsAsyncClient.deleteSession(agentName, session.getAgentSessionId()) + .doOnSuccess(unused -> System.out.printf("Session with id: %s deleted.%n", + session.getAgentSessionId())); + })); + }); + + workflow + .onErrorResume(error -> HostedAgentsSampleUtils.cleanupAsync(agentsAsyncClient, agentName, + resourcesRef.get()).then(Mono.error(error))) + .then(Mono.defer(() -> HostedAgentsSampleUtils.cleanupAsync(agentsAsyncClient, agentName, + resourcesRef.get()))) + .timeout(Duration.ofMinutes(15)) + .block(); + } +} diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionsSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionsSample.java new file mode 100644 index 000000000000..0a76124efac0 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionsSample.java @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.hostedagents; + +import com.azure.ai.agents.AgentsClient; +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.hostedagents.HostedAgentsSampleUtils.HostedAgentSessionResources; +import com.azure.ai.agents.models.AgentSessionResource; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; + +/** + * This sample demonstrates how to create, retrieve, list, and delete hosted-agent sessions. + * + *

Sessions are currently a preview feature and only work with hosted agents.

+ * + *

Before running the sample, set these environment variables:

+ *
    + *
  • FOUNDRY_PROJECT_ENDPOINT - The Azure AI Project endpoint.
  • + *
  • FOUNDRY_AGENT_CONTAINER_IMAGE - The hosted-agent container image.
  • + *
+ */ +public class SessionsSample { + public static void main(String[] args) { + String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); + String image = Configuration.getGlobalConfiguration().get("FOUNDRY_AGENT_CONTAINER_IMAGE"); + String agentName = HostedAgentsSampleUtils.SAMPLE_AGENT_NAME; + + AgentsClient agentsClient = new AgentsClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(endpoint) + .buildAgentsClient(); + + HostedAgentSessionResources resources = null; + try { + resources = HostedAgentsSampleUtils.createAgentAndSession(agentsClient, agentName, image); + AgentSessionResource session = resources.getSession(); + + AgentSessionResource fetched = agentsClient.getSession(agentName, session.getAgentSessionId()); + System.out.printf("Retrieved session (id: %s, status: %s)%n", fetched.getAgentSessionId(), + fetched.getStatus()); + + System.out.println("Listing sessions for the agent..."); + PagedIterable sessions = agentsClient.listSessions(agentName); + for (AgentSessionResource item : sessions) { + System.out.printf(" - %s (status: %s)%n", item.getAgentSessionId(), item.getStatus()); + } + + System.out.printf("Deleting session with id: %s...%n", session.getAgentSessionId()); + agentsClient.deleteSession(agentName, session.getAgentSessionId()); + System.out.printf("Session with id: %s deleted.%n", session.getAgentSessionId()); + } finally { + HostedAgentsSampleUtils.cleanup(agentsClient, agentName, resources); + } + } +} diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxSearchToolboxSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxSearchToolboxSample.java new file mode 100644 index 000000000000..6fc6e1e7128f --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxSearchToolboxSample.java @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.toolboxes; + +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.ToolboxesClient; +import com.azure.ai.agents.models.Tool; +import com.azure.ai.agents.models.ToolboxSearchPreviewTool; +import com.azure.ai.agents.models.ToolboxVersionDetails; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; + +import java.util.Collections; + +/** + * This sample demonstrates creating a toolbox version that includes the Toolbox Search preview tool. + * + *

Toolboxes are a preview feature. Before running, set {@code FOUNDRY_PROJECT_ENDPOINT} to your Azure AI Foundry + * project endpoint.

+ */ +public class ToolboxSearchToolboxSample { + public static void main(String[] args) { + String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); + String toolboxName = "toolbox-search-tool-java"; + + ToolboxesClient toolboxesClient = new AgentsClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(endpoint) + .buildToolboxesClient(); + + try { + toolboxesClient.deleteToolbox(toolboxName); + } catch (ResourceNotFoundException ignored) { + // The sample toolbox does not already exist. + } + + try { + // BEGIN: com.azure.ai.agents.toolboxes.ToolboxSearchToolboxSample.createToolboxSearchToolbox + + ToolboxSearchPreviewTool toolboxSearchTool = new ToolboxSearchPreviewTool() + .setName("search_tools") + .setDescription("Search over available toolbox tools at runtime."); + + ToolboxVersionDetails version = toolboxesClient.createToolboxVersion( + toolboxName, + Collections.singletonList(toolboxSearchTool), + "Toolbox version with a Toolbox Search preview tool.", + null, + null); + + System.out.printf("Created toolbox: %s%n", version.getName()); + System.out.printf("Toolbox version: %s%n", version.getVersion()); + for (Tool tool : version.getTools()) { + System.out.printf("Tool type: %s%n", tool.getType()); + } + + // END: com.azure.ai.agents.toolboxes.ToolboxSearchToolboxSample.createToolboxSearchToolbox + } finally { + try { + toolboxesClient.deleteToolbox(toolboxName); + System.out.printf("Deleted toolbox: %s%n", toolboxName); + } catch (ResourceNotFoundException ignored) { + // The sample toolbox may not have been created. + } + } + } +} diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxesAsyncSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxesAsyncSample.java new file mode 100644 index 000000000000..cf641abf1573 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxesAsyncSample.java @@ -0,0 +1,105 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.toolboxes; + +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.ToolboxesAsyncClient; +import com.azure.ai.agents.models.McpTool; +import com.azure.ai.agents.models.Tool; +import com.azure.ai.agents.models.ToolboxDetails; +import com.azure.ai.agents.models.ToolboxVersionDetails; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import reactor.core.publisher.Mono; + +import java.time.Duration; +import java.util.Collections; +import java.util.List; + +/** + * This sample demonstrates end-to-end asynchronous CRUD operations on toolboxes. + * + *

A toolbox stores reusable tool definitions that can be shared across agents. + * Each call to {@code createToolboxVersion} creates a new immutable version. The + * toolbox's default version can be changed with {@code updateToolbox}.

+ * + *

Before running the sample, set these environment variables:

+ *
    + *
  • FOUNDRY_PROJECT_ENDPOINT - The Azure AI Project endpoint.
  • + *
+ */ +public class ToolboxesAsyncSample { + public static void main(String[] args) { + String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); + String toolboxName = "toolbox-with-mcp-tool-java"; + + ToolboxesAsyncClient toolboxesAsyncClient = new AgentsClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(endpoint) + .buildToolboxesAsyncClient(); + + List toolsWithMcpApprovalNever = Collections.singletonList( + new McpTool("api_specs") + .setServerUrl("https://gitmcp.io/Azure/azure-rest-api-specs") + .setRequireApproval("never")); + + List toolsWithMcpApprovalAlways = Collections.singletonList( + new McpTool("api_specs") + .setServerUrl("https://gitmcp.io/Azure/azure-rest-api-specs") + .setRequireApproval("always")); + + Mono workflow = toolboxesAsyncClient.deleteToolbox(toolboxName) + .doOnSuccess(unused -> System.out.printf("Toolbox `%s` deleted%n", toolboxName)) + .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()) + .then(toolboxesAsyncClient.createToolboxVersion(toolboxName, toolsWithMcpApprovalNever, + "Toolbox version with MCP require_approval set to 'never'.", null, null)) + .doOnNext(created -> System.out.printf( + "Created toolbox: %s with MCP tools requiring approval 'never' in version %s%n", + created.getName(), created.getVersion())) + .then(toolboxesAsyncClient.createToolboxVersion(toolboxName, toolsWithMcpApprovalAlways, + "Toolbox version with MCP require_approval set to 'always'.", null, null)) + .doOnNext(created -> System.out.printf( + "Created toolbox: %s with MCP tools requiring approval 'always' in version %s%n", + created.getName(), created.getVersion())) + .then(toolboxesAsyncClient.updateToolbox(toolboxName, "2")) + .flatMap(updated -> printFetchedDefaultToolboxVersion(toolboxesAsyncClient, updated)) + .then(toolboxesAsyncClient.updateToolbox(toolboxName, "1")) + .flatMap(updated -> printFetchedDefaultToolboxVersion(toolboxesAsyncClient, updated)) + .then(Mono.fromRunnable(() -> System.out.println("Listing toolboxes..."))) + .thenMany(toolboxesAsyncClient.listToolboxes()) + .doOnNext(item -> System.out.printf(" - %s (%s)%n", item.getName(), item.getId())) + .then(toolboxesAsyncClient.deleteToolbox(toolboxName)) + .doOnSuccess(unused -> System.out.println("Toolbox deleted")); + + workflow + .onErrorResume(error -> toolboxesAsyncClient.deleteToolbox(toolboxName) + .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()) + .then(Mono.error(error))) + .timeout(Duration.ofMinutes(5)) + .block(); + } + + private static Mono printFetchedDefaultToolboxVersion( + ToolboxesAsyncClient toolboxesAsyncClient, ToolboxDetails updated) { + System.out.printf("Updated toolbox: %s default version is now %s%n", updated.getName(), + updated.getDefaultVersion()); + + return toolboxesAsyncClient.getToolbox(updated.getName()) + .doOnNext(fetched -> System.out.printf("Retrieved toolbox with default version: %s%n", + fetched.getDefaultVersion())) + .flatMap(fetched -> toolboxesAsyncClient.getToolboxVersion(fetched.getName(), fetched.getDefaultVersion())) + .doOnNext(version -> printMcpRequireApproval(version.getTools())); + } + + private static void printMcpRequireApproval(List tools) { + for (Tool tool : tools) { + if (tool instanceof McpTool) { + McpTool mcpTool = (McpTool) tool; + System.out.printf(" - MCP `%s` require_approval: %s%n", mcpTool.getServerLabel(), + mcpTool.getRequireApprovalAsString()); + } + } + } +} diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQAsync.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQAsync.java new file mode 100644 index 000000000000..5b4c67bc5cb2 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQAsync.java @@ -0,0 +1,82 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.tools; + +import com.azure.ai.agents.AgentsAsyncClient; +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.ResponsesAsyncClient; +import com.azure.ai.agents.models.AgentReference; +import com.azure.ai.agents.models.AzureCreateResponseOptions; +import com.azure.ai.agents.models.AgentVersionDetails; +import com.azure.ai.agents.models.FabricIQPreviewTool; +import com.azure.ai.agents.models.PromptAgentDefinition; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import com.openai.models.responses.ResponseCreateParams; +import reactor.core.publisher.Mono; + +import java.time.Duration; +import java.util.Collections; +import java.util.concurrent.atomic.AtomicReference; + +/** + * This sample demonstrates how to create an agent with the FabricIQ preview tool using async clients. + * + *

Before running the sample, set these environment variables:

+ *
    + *
  • FOUNDRY_PROJECT_ENDPOINT - The Azure AI Project endpoint.
  • + *
  • FOUNDRY_MODEL_NAME - The model deployment name.
  • + *
  • FABRIC_IQ_PROJECT_CONNECTION_ID - The FabricIQ connection ID.
  • + *
+ */ +public class FabricIQAsync { + public static void main(String[] args) { + String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); + String model = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_NAME"); + String fabricIqConnectionId = Configuration.getGlobalConfiguration().get("FABRIC_IQ_PROJECT_CONNECTION_ID"); + + AgentsClientBuilder builder = new AgentsClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(endpoint); + + AgentsAsyncClient agentsAsyncClient = builder.buildAgentsAsyncClient(); + ResponsesAsyncClient responsesAsyncClient = builder.buildResponsesAsyncClient(); + AtomicReference agentRef = new AtomicReference<>(); + + FabricIQPreviewTool fabricIqTool = new FabricIQPreviewTool(fabricIqConnectionId) + .setServerLabel("fabric_iq") + .setRequireApproval("never") + .setName("fabric_iq_lookup") + .setDescription("Use FabricIQ to answer questions grounded in enterprise data."); + + PromptAgentDefinition agentDefinition = new PromptAgentDefinition(model) + .setInstructions("You are a data assistant that can use FabricIQ for grounded enterprise answers.") + .setTools(Collections.singletonList(fabricIqTool)); + + agentsAsyncClient.createAgentVersion("fabric-iq-async-agent", agentDefinition) + .flatMap(agent -> { + agentRef.set(agent); + System.out.printf("Agent created: %s (version %s)%n", agent.getName(), agent.getVersion()); + + AgentReference agentReference = new AgentReference(agent.getName()) + .setVersion(agent.getVersion()); + + return responsesAsyncClient.createAzureResponse( + new AzureCreateResponseOptions().setAgentReference(agentReference), + ResponseCreateParams.builder() + .input("Use FabricIQ to summarize the available enterprise context.")); + }) + .doOnNext(response -> System.out.println("Response: " + response.output())) + .then(Mono.defer(() -> { + AgentVersionDetails agent = agentRef.get(); + if (agent != null) { + return agentsAsyncClient.deleteAgentVersion(agent.getName(), agent.getVersion()) + .doOnSuccess(v -> System.out.println("Agent deleted")); + } + return Mono.empty(); + })) + .timeout(Duration.ofSeconds(300)) + .block(); + } +} diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQSync.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQSync.java new file mode 100644 index 000000000000..34d7272b8c06 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQSync.java @@ -0,0 +1,76 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.tools; + +import com.azure.ai.agents.AgentsClient; +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.ResponsesClient; +import com.azure.ai.agents.models.AgentReference; +import com.azure.ai.agents.models.AzureCreateResponseOptions; +import com.azure.ai.agents.models.AgentVersionDetails; +import com.azure.ai.agents.models.FabricIQPreviewTool; +import com.azure.ai.agents.models.PromptAgentDefinition; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import com.openai.models.responses.Response; +import com.openai.models.responses.ResponseCreateParams; + +import java.util.Collections; + +/** + * This sample demonstrates how to create an agent with the FabricIQ preview tool. + * + *

Before running the sample, set these environment variables:

+ *
    + *
  • FOUNDRY_PROJECT_ENDPOINT - The Azure AI Project endpoint.
  • + *
  • FOUNDRY_MODEL_NAME - The model deployment name.
  • + *
  • FABRIC_IQ_PROJECT_CONNECTION_ID - The FabricIQ connection ID.
  • + *
+ */ +public class FabricIQSync { + public static void main(String[] args) { + String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); + String model = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_NAME"); + String fabricIqConnectionId = Configuration.getGlobalConfiguration().get("FABRIC_IQ_PROJECT_CONNECTION_ID"); + + AgentsClientBuilder builder = new AgentsClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(endpoint); + + AgentsClient agentsClient = builder.buildAgentsClient(); + ResponsesClient responsesClient = builder.buildResponsesClient(); + + // BEGIN: com.azure.ai.agents.define_fabric_iq + + FabricIQPreviewTool fabricIqTool = new FabricIQPreviewTool(fabricIqConnectionId) + .setServerLabel("fabric_iq") + .setRequireApproval("never") + .setName("fabric_iq_lookup") + .setDescription("Use FabricIQ to answer questions grounded in enterprise data."); + + // END: com.azure.ai.agents.define_fabric_iq + + PromptAgentDefinition agentDefinition = new PromptAgentDefinition(model) + .setInstructions("You are a data assistant that can use FabricIQ for grounded enterprise answers.") + .setTools(Collections.singletonList(fabricIqTool)); + + AgentVersionDetails agent = agentsClient.createAgentVersion("fabric-iq-agent", agentDefinition); + System.out.printf("Agent created: %s (version %s)%n", agent.getName(), agent.getVersion()); + + try { + AgentReference agentReference = new AgentReference(agent.getName()) + .setVersion(agent.getVersion()); + + Response response = responsesClient.createAzureResponse( + new AzureCreateResponseOptions().setAgentReference(agentReference), + ResponseCreateParams.builder() + .input("Use FabricIQ to summarize the available enterprise context.")); + + System.out.println("Response: " + response.output()); + } finally { + agentsClient.deleteAgentVersion(agent.getName(), agent.getVersion()); + System.out.println("Agent deleted"); + } + } +} diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/CodeAgentSamplesTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/CodeAgentSamplesTests.java new file mode 100644 index 000000000000..15d043ad3f03 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/CodeAgentSamplesTests.java @@ -0,0 +1,130 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.hostedagents; + +import com.azure.ai.agents.AgentsAsyncClient; +import com.azure.ai.agents.AgentsClient; +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.AgentsServiceVersion; +import com.azure.ai.agents.ClientTestBase; +import com.azure.ai.agents.models.AgentDefinitionOptInKeys; +import com.azure.ai.agents.models.AgentDetails; +import com.azure.ai.agents.models.AgentVersionDetails; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpClient; +import com.azure.core.test.annotation.LiveOnly; +import com.azure.core.util.BinaryData; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.Arguments; +import org.junit.jupiter.params.provider.MethodSource; +import reactor.core.publisher.Mono; +import reactor.test.StepVerifier; + +import java.nio.file.Files; +import java.nio.file.Path; +import java.util.ArrayList; +import java.util.List; +import java.util.stream.Stream; + +import static com.azure.core.test.TestProxyTestBase.getHttpClients; + +public class CodeAgentSamplesTests extends ClientTestBase { + private static final String DISPLAY_NAME_WITH_ARGUMENTS = "{displayName} with [{arguments}]"; + + static Stream getTestParameters() { + List argumentsList = new ArrayList<>(); + getHttpClients().forEach(httpClient -> argumentsList.add(Arguments.of(httpClient, AgentsServiceVersion.V1))); + return argumentsList.stream(); + } + + @LiveOnly + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("getTestParameters") + public void codeAgentSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) throws Exception { + AgentsClient agentsClient = getClientBuilder(httpClient, serviceVersion).buildAgentsClient(); + String agentName = CodeAgentSampleUtils.SAMPLE_AGENT_NAME + "-test"; + + try { + agentsClient.deleteAgent(agentName); + } catch (ResourceNotFoundException ignored) { + // The sample agent does not already exist. + } + + try { + BinaryData codeZip = CodeAgentSampleUtils.createCodeZip(); + String codeZipSha256 = CodeAgentSampleUtils.sha256(codeZip); + + AgentDetails agent = agentsClient.createAgentFromCode(agentName, codeZipSha256, + CodeAgentSampleUtils.createAgentFromCodeContent(codeZip), + AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW); + Assertions.assertNotNull(agent); + Assertions.assertEquals(agentName, agent.getName()); + Assertions.assertNotNull(agent.getVersions()); + Assertions.assertNotNull(agent.getVersions().getLatest()); + + BinaryData downloadedCode + = agentsClient.downloadAgentCode(agentName, AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW); + Assertions.assertNotNull(downloadedCode); + Assertions.assertTrue(downloadedCode.toBytes().length > 0); + + Path downloadPath = Files.createTempFile(agentName + "-", ".zip"); + Files.write(downloadPath, downloadedCode.toBytes()); + Assertions.assertTrue(Files.size(downloadPath) > 0); + + AgentVersionDetails newVersion = agentsClient.createAgentVersionFromCode(agentName, codeZipSha256, + CodeAgentSampleUtils.createAgentVersionFromCodeContent(codeZip), + AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW); + Assertions.assertNotNull(newVersion); + Assertions.assertEquals(agentName, newVersion.getName()); + Assertions.assertNotNull(newVersion.getVersion()); + } finally { + try { + agentsClient.deleteAgent(agentName); + } catch (ResourceNotFoundException ignored) { + // The sample agent may not have been created. + } + } + } + + @LiveOnly + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("getTestParameters") + public void codeAgentAsyncSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) throws Exception { + AgentsClientBuilder builder = getClientBuilder(httpClient, serviceVersion); + AgentsAsyncClient agentsAsyncClient = builder.buildAgentsAsyncClient(); + String agentName = CodeAgentSampleUtils.SAMPLE_AGENT_NAME + "-async-test"; + BinaryData codeZip = CodeAgentSampleUtils.createCodeZip(); + String codeZipSha256 = CodeAgentSampleUtils.sha256(codeZip); + + Mono testFlow = agentsAsyncClient.deleteAgent(agentName) + .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()) + .then(agentsAsyncClient.createAgentFromCode(agentName, codeZipSha256, + CodeAgentSampleUtils.createAgentFromCodeContent(codeZip), + AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW)) + .flatMap(agent -> { + Assertions.assertNotNull(agent); + Assertions.assertEquals(agentName, agent.getName()); + Assertions.assertNotNull(agent.getVersions()); + Assertions.assertNotNull(agent.getVersions().getLatest()); + + return agentsAsyncClient.downloadAgentCode(agentName, AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW); + }) + .flatMap(downloadedCode -> { + Assertions.assertNotNull(downloadedCode); + Assertions.assertTrue(downloadedCode.toBytes().length > 0); + return agentsAsyncClient.createAgentVersionFromCode(agentName, codeZipSha256, + CodeAgentSampleUtils.createAgentVersionFromCodeContent(codeZip), + AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW); + }) + .doOnNext(newVersion -> { + Assertions.assertNotNull(newVersion); + Assertions.assertEquals(agentName, newVersion.getName()); + Assertions.assertNotNull(newVersion.getVersion()); + }) + .then(agentsAsyncClient.deleteAgent(agentName)); + + StepVerifier.create(testFlow).verifyComplete(); + } +} diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/HostedAgentContainerSamplesTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/HostedAgentContainerSamplesTests.java new file mode 100644 index 000000000000..95f7867938aa --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/HostedAgentContainerSamplesTests.java @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.hostedagents; + +import com.azure.ai.agents.AgentsServiceVersion; +import com.azure.ai.agents.ClientTestBase; +import com.azure.core.http.HttpClient; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.Arguments; +import org.junit.jupiter.params.provider.MethodSource; + +import java.util.ArrayList; +import java.util.List; +import java.util.stream.Stream; + +import static com.azure.core.test.TestProxyTestBase.getHttpClients; + +public class HostedAgentContainerSamplesTests extends ClientTestBase { + private static final String DISPLAY_NAME_WITH_ARGUMENTS = "{displayName} with [{arguments}]"; + + static Stream getTestParameters() { + List argumentsList = new ArrayList<>(); + getHttpClients().forEach(httpClient -> argumentsList.add(Arguments.of(httpClient, AgentsServiceVersion.V1))); + return argumentsList.stream(); + } + + @Disabled("Requires FOUNDRY_AGENT_CONTAINER_IMAGE: a prebuilt, pushed hosted-agent container image URI.") + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("getTestParameters") + public void sessionsSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { + Assertions + .fail("Enable after providing FOUNDRY_AGENT_CONTAINER_IMAGE and recording hosted-agent session flow."); + } + + @Disabled("Requires FOUNDRY_AGENT_CONTAINER_IMAGE: a prebuilt, pushed hosted-agent container image URI.") + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("getTestParameters") + public void sessionFilesSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { + Assertions.fail("Enable after providing FOUNDRY_AGENT_CONTAINER_IMAGE and recording session file flow."); + } + + @Disabled("Requires FOUNDRY_AGENT_CONTAINER_IMAGE: a prebuilt, pushed hosted-agent container image URI.") + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("getTestParameters") + public void agentEndpointSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { + Assertions.fail("Enable after providing FOUNDRY_AGENT_CONTAINER_IMAGE and recording agent endpoint flow."); + } + + @Disabled("Requires FOUNDRY_AGENT_CONTAINER_IMAGE: a prebuilt, pushed hosted-agent container image URI.") + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("getTestParameters") + public void sessionLogStreamSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { + Assertions.fail("Enable after providing FOUNDRY_AGENT_CONTAINER_IMAGE and recording session log stream flow."); + } +} diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/toolboxes/ToolboxSamplesTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/toolboxes/ToolboxSamplesTests.java new file mode 100644 index 000000000000..8c769670e420 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/toolboxes/ToolboxSamplesTests.java @@ -0,0 +1,128 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.toolboxes; + +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.AgentsServiceVersion; +import com.azure.ai.agents.ClientTestBase; +import com.azure.ai.agents.ToolboxesAsyncClient; +import com.azure.ai.agents.ToolboxesClient; +import com.azure.ai.agents.models.McpTool; +import com.azure.ai.agents.models.Tool; +import com.azure.ai.agents.models.ToolType; +import com.azure.ai.agents.models.ToolboxSearchPreviewTool; +import com.azure.ai.agents.models.ToolboxVersionDetails; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpClient; +import com.azure.core.test.annotation.LiveOnly; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.Arguments; +import org.junit.jupiter.params.provider.MethodSource; +import reactor.core.publisher.Mono; +import reactor.test.StepVerifier; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.stream.Stream; + +import static com.azure.core.test.TestProxyTestBase.getHttpClients; + +public class ToolboxSamplesTests extends ClientTestBase { + private static final String DISPLAY_NAME_WITH_ARGUMENTS = "{displayName} with [{arguments}]"; + + static Stream getTestParameters() { + List argumentsList = new ArrayList<>(); + getHttpClients().forEach(httpClient -> argumentsList.add(Arguments.of(httpClient, AgentsServiceVersion.V1))); + return argumentsList.stream(); + } + + @LiveOnly + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("getTestParameters") + public void toolboxSearchToolboxSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { + ToolboxesClient toolboxesClient = getClientBuilder(httpClient, serviceVersion).buildToolboxesClient(); + String toolboxName = "toolbox-search-tool-java-test"; + + try { + toolboxesClient.deleteToolbox(toolboxName); + } catch (ResourceNotFoundException ignored) { + // The sample toolbox does not already exist. + } + + try { + ToolboxSearchPreviewTool toolboxSearchTool = new ToolboxSearchPreviewTool().setName("search_tools") + .setDescription("Search over available toolbox tools at runtime."); + + ToolboxVersionDetails version + = toolboxesClient.createToolboxVersion(toolboxName, Collections.singletonList(toolboxSearchTool), + "Toolbox version with a Toolbox Search preview tool.", null, null); + + Assertions.assertNotNull(version); + Assertions.assertEquals(toolboxName, version.getName()); + Assertions.assertFalse(version.getTools().isEmpty()); + Assertions.assertEquals(ToolType.TOOLBOX_SEARCH_PREVIEW, version.getTools().get(0).getType()); + } finally { + try { + toolboxesClient.deleteToolbox(toolboxName); + } catch (ResourceNotFoundException ignored) { + // The sample toolbox may not have been created. + } + } + } + + @LiveOnly + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("getTestParameters") + public void toolboxesAsyncSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { + AgentsClientBuilder builder = getClientBuilder(httpClient, serviceVersion); + ToolboxesAsyncClient toolboxesAsyncClient = builder.buildToolboxesAsyncClient(); + String toolboxName = "toolbox-with-mcp-tool-java-async-test"; + + List toolsWithMcpApprovalNever = Collections + .singletonList(new McpTool("api_specs").setServerUrl("https://gitmcp.io/Azure/azure-rest-api-specs") + .setRequireApproval("never")); + + List toolsWithMcpApprovalAlways = Collections + .singletonList(new McpTool("api_specs").setServerUrl("https://gitmcp.io/Azure/azure-rest-api-specs") + .setRequireApproval("always")); + + Mono testFlow = toolboxesAsyncClient.deleteToolbox(toolboxName) + .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()) + .then(toolboxesAsyncClient.createToolboxVersion(toolboxName, toolsWithMcpApprovalNever, + "Toolbox version with MCP require_approval set to 'never'.", null, null)) + .doOnNext(created -> { + Assertions.assertEquals(toolboxName, created.getName()); + Assertions.assertEquals("1", created.getVersion()); + }) + .then(toolboxesAsyncClient.createToolboxVersion(toolboxName, toolsWithMcpApprovalAlways, + "Toolbox version with MCP require_approval set to 'always'.", null, null)) + .doOnNext(created -> { + Assertions.assertEquals(toolboxName, created.getName()); + Assertions.assertEquals("2", created.getVersion()); + }) + .then(toolboxesAsyncClient.updateToolbox(toolboxName, "2")) + .flatMap(updated -> toolboxesAsyncClient.getToolboxVersion(updated.getName(), updated.getDefaultVersion())) + .doOnNext(version -> assertMcpRequireApproval(version, "always")) + .then(toolboxesAsyncClient.updateToolbox(toolboxName, "1")) + .flatMap(updated -> toolboxesAsyncClient.getToolboxVersion(updated.getName(), updated.getDefaultVersion())) + .doOnNext(version -> assertMcpRequireApproval(version, "never")) + .thenMany(toolboxesAsyncClient.listToolboxes().take(10)) + .filter(toolbox -> toolboxName.equals(toolbox.getName())) + .next() + .doOnNext(toolbox -> Assertions.assertEquals(toolboxName, toolbox.getName())) + .then(toolboxesAsyncClient.deleteToolbox(toolboxName)); + + StepVerifier.create(testFlow).verifyComplete(); + } + + private static void assertMcpRequireApproval(ToolboxVersionDetails version, String expectedApproval) { + Assertions.assertNotNull(version); + Assertions.assertFalse(version.getTools().isEmpty()); + Assertions.assertTrue(version.getTools().get(0) instanceof McpTool); + McpTool mcpTool = (McpTool) version.getTools().get(0); + Assertions.assertEquals(expectedApproval, mcpTool.getRequireApprovalAsString()); + } +} diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTests.java new file mode 100644 index 000000000000..eda638e6feaf --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTests.java @@ -0,0 +1,43 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.tools; + +import com.azure.ai.agents.AgentsServiceVersion; +import com.azure.ai.agents.ClientTestBase; +import com.azure.core.http.HttpClient; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.Arguments; +import org.junit.jupiter.params.provider.MethodSource; + +import java.util.ArrayList; +import java.util.List; +import java.util.stream.Stream; + +import static com.azure.core.test.TestProxyTestBase.getHttpClients; + +public class FabricIQSamplesTests extends ClientTestBase { + private static final String DISPLAY_NAME_WITH_ARGUMENTS = "{displayName} with [{arguments}]"; + + static Stream getTestParameters() { + List argumentsList = new ArrayList<>(); + getHttpClients().forEach(httpClient -> argumentsList.add(Arguments.of(httpClient, AgentsServiceVersion.V1))); + return argumentsList.stream(); + } + + @Disabled("Requires FABRIC_IQ_PROJECT_CONNECTION_ID and FOUNDRY_MODEL_NAME.") + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("getTestParameters") + public void fabricIqSyncSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { + Assertions.fail("Enable after providing FABRIC_IQ_PROJECT_CONNECTION_ID and FOUNDRY_MODEL_NAME."); + } + + @Disabled("Requires FABRIC_IQ_PROJECT_CONNECTION_ID and FOUNDRY_MODEL_NAME.") + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("getTestParameters") + public void fabricIqAsyncSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { + Assertions.fail("Enable after providing FABRIC_IQ_PROJECT_CONNECTION_ID and FOUNDRY_MODEL_NAME."); + } +} diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobsAsyncSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobsAsyncSample.java new file mode 100644 index 000000000000..fe4399a3e915 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobsAsyncSample.java @@ -0,0 +1,126 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.azure.ai.projects; + +import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.projects.models.DataGenerationJob; +import com.azure.ai.projects.models.DataGenerationJobInputs; +import com.azure.ai.projects.models.DataGenerationJobScenario; +import com.azure.ai.projects.models.DataGenerationModelOptions; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; +import com.azure.ai.projects.models.PromptDataGenerationJobSource; +import com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import reactor.core.publisher.Mono; + +import java.time.Duration; +import java.util.Collections; +import java.util.UUID; +import java.util.concurrent.atomic.AtomicBoolean; + +/** + * Sample demonstrating data generation job operations using the asynchronous DataGenerationJobsAsyncClient. + * + *

Data generation jobs are a preview feature. Before running, set the following environment variables:

+ *
    + *
  • {@code FOUNDRY_PROJECT_ENDPOINT} - the Azure AI Foundry project endpoint.
  • + *
  • {@code FOUNDRY_MODEL_NAME} - optional, a model deployment name for creating a generation job.
  • + *
+ */ +public class DataGenerationJobsAsyncSample { + private static final FoundryFeaturesOptInKeys DATA_GENERATION_PREVIEW + = FoundryFeaturesOptInKeys.DATA_GENERATION_JOBS_V1_PREVIEW; + + private static final DataGenerationJobsAsyncClient DATA_GENERATION_JOBS_ASYNC_CLIENT = new AIProjectClientBuilder() + .endpoint(Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT", "endpoint")) + .credential(new DefaultAzureCredentialBuilder().build()) + .buildDataGenerationJobsAsyncClient(); + + public static void main(String[] args) { + listGenerationJobs() + .timeout(Duration.ofMinutes(2)) + .block(); + + // Uncomment to create, retrieve, cancel, and delete a sample job. +// createGetCancelAndDeleteGenerationJob().block(); + } + + public static Mono listGenerationJobs() { + // BEGIN:com.azure.ai.projects.DataGenerationJobsAsyncSample.listGenerationJobs + + AtomicBoolean found = new AtomicBoolean(false); + return DATA_GENERATION_JOBS_ASYNC_CLIENT.listGenerationJobs( + DATA_GENERATION_PREVIEW, 5, PageOrder.DESC, null, null, null, null) + .take(5) + .doOnNext(job -> { + found.set(true); + System.out.printf("Data generation job ID: %s%n", job.getId()); + System.out.printf("Status: %s%n", job.getStatus()); + if (job.getInputs() != null) { + System.out.printf("Input name: %s%n", job.getInputs().getName()); + } + System.out.println("-------------------------------------------------"); + }) + .then(Mono.fromRunnable(() -> { + if (!found.get()) { + System.out.println("No data generation jobs found."); + } + })); + + // END:com.azure.ai.projects.DataGenerationJobsAsyncSample.listGenerationJobs + } + + public static Mono createGetCancelAndDeleteGenerationJob() { + // BEGIN:com.azure.ai.projects.DataGenerationJobsAsyncSample.createGenerationJob + + String model = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_NAME"); + return DATA_GENERATION_JOBS_ASYNC_CLIENT.createGenerationJob( + createSampleDataGenerationJob(model), + DATA_GENERATION_PREVIEW, + UUID.randomUUID().toString() + ).doOnNext(job -> { + System.out.printf("Created data generation job: %s%n", job.getId()); + System.out.printf("Status: %s%n", job.getStatus()); + }) + + // END:com.azure.ai.projects.DataGenerationJobsAsyncSample.createGenerationJob + + // BEGIN:com.azure.ai.projects.DataGenerationJobsAsyncSample.getCancelDeleteGenerationJob + + .flatMap(job -> DATA_GENERATION_JOBS_ASYNC_CLIENT.getGenerationJob(job.getId(), DATA_GENERATION_PREVIEW)) + .doOnNext(fetched -> { + System.out.printf("Fetched data generation job: %s%n", fetched.getId()); + System.out.printf("Status: %s%n", fetched.getStatus()); + }) + .flatMap(fetched -> DATA_GENERATION_JOBS_ASYNC_CLIENT.cancelGenerationJob(fetched.getId(), + DATA_GENERATION_PREVIEW)) + .doOnNext(cancelled -> { + System.out.printf("Cancelled data generation job: %s%n", cancelled.getId()); + System.out.printf("Status: %s%n", cancelled.getStatus()); + }) + .flatMap(cancelled -> DATA_GENERATION_JOBS_ASYNC_CLIENT.deleteGenerationJob(cancelled.getId(), + DATA_GENERATION_PREVIEW) + .doOnSuccess(unused -> System.out.printf("Deleted data generation job: %s%n", cancelled.getId()))); + + // END:com.azure.ai.projects.DataGenerationJobsAsyncSample.getCancelDeleteGenerationJob + } + + private static DataGenerationJob createSampleDataGenerationJob(String model) { + PromptDataGenerationJobSource source = new PromptDataGenerationJobSource( + "Contoso TrailGear sells hiking backpacks and tents. Customer support should answer questions about " + + "warranty coverage, product care, returns, and trail safety in a concise, friendly tone.") + .setDescription("Contoso TrailGear support policy and product guidance."); + + SimpleQnADataGenerationJobOptions options = new SimpleQnADataGenerationJobOptions(1) + .setModelOptions(new DataGenerationModelOptions(model)); + + DataGenerationJobInputs inputs = new DataGenerationJobInputs( + "java-sample-data-generation-job", + Collections.singletonList(source), + options, + DataGenerationJobScenario.EVALUATION); + + return new DataGenerationJob().setInputs(inputs); + } +} diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobsSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobsSample.java new file mode 100644 index 000000000000..bc2db35ba1e3 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobsSample.java @@ -0,0 +1,115 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.azure.ai.projects; + +import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.projects.models.DataGenerationJob; +import com.azure.ai.projects.models.DataGenerationJobInputs; +import com.azure.ai.projects.models.DataGenerationJobScenario; +import com.azure.ai.projects.models.DataGenerationModelOptions; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; +import com.azure.ai.projects.models.PromptDataGenerationJobSource; +import com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; + +import java.util.Collections; +import java.util.UUID; + +/** + * Sample demonstrating data generation job operations using the synchronous DataGenerationJobsClient. + * + *

Data generation jobs are a preview feature. Before running, set the following environment variables:

+ *
    + *
  • {@code FOUNDRY_PROJECT_ENDPOINT} - the Azure AI Foundry project endpoint.
  • + *
  • {@code FOUNDRY_MODEL_NAME} - optional, a model deployment name for creating a generation job.
  • + *
+ */ +public class DataGenerationJobsSample { + private static final FoundryFeaturesOptInKeys DATA_GENERATION_PREVIEW + = FoundryFeaturesOptInKeys.DATA_GENERATION_JOBS_V1_PREVIEW; + + private static final DataGenerationJobsClient DATA_GENERATION_JOBS_CLIENT = new AIProjectClientBuilder() + .endpoint(Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT", "endpoint")) + .credential(new DefaultAzureCredentialBuilder().build()) + .buildDataGenerationJobsClient(); + + public static void main(String[] args) { + listGenerationJobs(); + + // Uncomment to create, retrieve, cancel, and delete a sample job. +// createGetCancelAndDeleteGenerationJob(); + } + + public static void listGenerationJobs() { + // BEGIN:com.azure.ai.projects.DataGenerationJobsSample.listGenerationJobs + + Iterable jobs = DATA_GENERATION_JOBS_CLIENT.listGenerationJobs( + DATA_GENERATION_PREVIEW, 5, PageOrder.DESC, null, null, null, null); + + int count = 0; + for (DataGenerationJob job : jobs) { + count++; + System.out.printf("Data generation job ID: %s%n", job.getId()); + System.out.printf("Status: %s%n", job.getStatus()); + if (job.getInputs() != null) { + System.out.printf("Input name: %s%n", job.getInputs().getName()); + } + System.out.println("-------------------------------------------------"); + } + if (count == 0) { + System.out.println("No data generation jobs found."); + } + + // END:com.azure.ai.projects.DataGenerationJobsSample.listGenerationJobs + } + + public static void createGetCancelAndDeleteGenerationJob() { + // BEGIN:com.azure.ai.projects.DataGenerationJobsSample.createGenerationJob + + String model = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_NAME"); + DataGenerationJob job = DATA_GENERATION_JOBS_CLIENT.createGenerationJob( + createSampleDataGenerationJob(model), + DATA_GENERATION_PREVIEW, + UUID.randomUUID().toString() + ); + + System.out.printf("Created data generation job: %s%n", job.getId()); + System.out.printf("Status: %s%n", job.getStatus()); + + // END:com.azure.ai.projects.DataGenerationJobsSample.createGenerationJob + + // BEGIN:com.azure.ai.projects.DataGenerationJobsSample.getCancelDeleteGenerationJob + + DataGenerationJob fetched = DATA_GENERATION_JOBS_CLIENT.getGenerationJob(job.getId(), DATA_GENERATION_PREVIEW); + System.out.printf("Fetched data generation job: %s%n", fetched.getId()); + System.out.printf("Status: %s%n", fetched.getStatus()); + + DataGenerationJob cancelled = DATA_GENERATION_JOBS_CLIENT.cancelGenerationJob(job.getId(), DATA_GENERATION_PREVIEW); + System.out.printf("Cancelled data generation job: %s%n", cancelled.getId()); + System.out.printf("Status: %s%n", cancelled.getStatus()); + + DATA_GENERATION_JOBS_CLIENT.deleteGenerationJob(job.getId(), DATA_GENERATION_PREVIEW); + System.out.printf("Deleted data generation job: %s%n", job.getId()); + + // END:com.azure.ai.projects.DataGenerationJobsSample.getCancelDeleteGenerationJob + } + + private static DataGenerationJob createSampleDataGenerationJob(String model) { + PromptDataGenerationJobSource source = new PromptDataGenerationJobSource( + "Contoso TrailGear sells hiking backpacks and tents. Customer support should answer questions about " + + "warranty coverage, product care, returns, and trail safety in a concise, friendly tone.") + .setDescription("Contoso TrailGear support policy and product guidance."); + + SimpleQnADataGenerationJobOptions options = new SimpleQnADataGenerationJobOptions(1) + .setModelOptions(new DataGenerationModelOptions(model)); + + DataGenerationJobInputs inputs = new DataGenerationJobInputs( + "java-sample-data-generation-job", + Collections.singletonList(source), + options, + DataGenerationJobScenario.EVALUATION); + + return new DataGenerationJob().setInputs(inputs); + } +} diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsAsyncSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsAsyncSample.java new file mode 100644 index 000000000000..fb35c7be39b2 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsAsyncSample.java @@ -0,0 +1,138 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.azure.ai.projects; + +import com.azure.ai.projects.models.ModelVersion; +import com.azure.ai.projects.models.UpdateModelVersionRequest; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import reactor.core.publisher.Mono; + +import java.time.Duration; +import java.util.HashMap; +import java.util.Map; +import java.util.concurrent.atomic.AtomicBoolean; + +/** + * Sample demonstrating model version operations using the asynchronous ModelsAsyncClient. + * + *

Before running, set {@code FOUNDRY_PROJECT_ENDPOINT} to your Azure AI Foundry project endpoint.

+ */ +public class ModelsAsyncSample { + private static final ModelsAsyncClient MODELS_ASYNC_CLIENT = new AIProjectClientBuilder() + .endpoint(Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT", "endpoint")) + .credential(new DefaultAzureCredentialBuilder().build()) + .buildModelsAsyncClient(); + + public static void main(String[] args) { + listLatestModelVersions() + .timeout(Duration.ofMinutes(2)) + .block(); + + // Uncomment these samples when you have a model asset name/version/blob URI to work with. +// listModelVersions().block(); +// getModelVersion().block(); +// createModelVersionAsync().block(); +// updateModelVersion().block(); +// deleteModelVersion().block(); + } + + public static Mono listLatestModelVersions() { + // BEGIN:com.azure.ai.projects.ModelsAsyncSample.listLatestModelVersions + + AtomicBoolean found = new AtomicBoolean(false); + return MODELS_ASYNC_CLIENT.listLatestModelVersions() + .doOnNext(modelVersion -> { + found.set(true); + System.out.printf("Model name: %s%n", modelVersion.getName()); + System.out.printf("Model version: %s%n", modelVersion.getVersion()); + System.out.printf("Blob URI: %s%n", modelVersion.getBlobUri()); + System.out.println("-------------------------------------------------"); + }) + .then(Mono.fromRunnable(() -> { + if (!found.get()) { + System.out.println("No model versions found."); + } + })); + + // END:com.azure.ai.projects.ModelsAsyncSample.listLatestModelVersions + } + + public static Mono listModelVersions() { + // BEGIN:com.azure.ai.projects.ModelsAsyncSample.listModelVersions + + String modelName = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_NAME"); + return MODELS_ASYNC_CLIENT.listModelVersions(modelName) + .doOnNext(modelVersion -> { + System.out.printf("Model name: %s%n", modelVersion.getName()); + System.out.printf("Model version: %s%n", modelVersion.getVersion()); + System.out.println("-------------------------------------------------"); + }) + .then(); + + // END:com.azure.ai.projects.ModelsAsyncSample.listModelVersions + } + + public static Mono getModelVersion() { + // BEGIN:com.azure.ai.projects.ModelsAsyncSample.getModelVersion + + String modelName = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_NAME"); + String modelVersion = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_VERSION"); + return MODELS_ASYNC_CLIENT.getModelVersion(modelName, modelVersion) + .doOnNext(version -> { + System.out.printf("Model name: %s%n", version.getName()); + System.out.printf("Model version: %s%n", version.getVersion()); + System.out.printf("Description: %s%n", version.getDescription()); + }); + + // END:com.azure.ai.projects.ModelsAsyncSample.getModelVersion + } + + public static Mono createModelVersionAsync() { + // BEGIN:com.azure.ai.projects.ModelsAsyncSample.createModelVersionAsync + + String modelName = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_NAME"); + String modelVersion = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_VERSION"); + String blobUri = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_BLOB_URI"); + + ModelVersion modelVersionDefinition = new ModelVersion(blobUri) + .setDescription("Model version created by the Azure AI Projects Java SDK sample."); + + return MODELS_ASYNC_CLIENT.createModelVersionAsync(modelName, modelVersion, modelVersionDefinition) + .doOnSuccess(unused -> System.out.printf("Started model version creation: %s/%s%n", modelName, + modelVersion)); + + // END:com.azure.ai.projects.ModelsAsyncSample.createModelVersionAsync + } + + public static Mono updateModelVersion() { + // BEGIN:com.azure.ai.projects.ModelsAsyncSample.updateModelVersion + + String modelName = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_NAME"); + String modelVersion = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_VERSION"); + + Map tags = new HashMap<>(); + tags.put("sample", "true"); + + return MODELS_ASYNC_CLIENT.updateModelVersion(modelName, modelVersion, + new UpdateModelVersionRequest() + .setDescription("Updated by the Azure AI Projects Java SDK sample.") + .setTags(tags)) + .doOnNext(updated -> System.out.printf("Updated model version: %s/%s%n", updated.getName(), + updated.getVersion())); + + // END:com.azure.ai.projects.ModelsAsyncSample.updateModelVersion + } + + public static Mono deleteModelVersion() { + // BEGIN:com.azure.ai.projects.ModelsAsyncSample.deleteModelVersion + + String modelName = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_NAME"); + String modelVersion = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_VERSION"); + + return MODELS_ASYNC_CLIENT.deleteModelVersion(modelName, modelVersion) + .doOnSuccess(unused -> System.out.printf("Deleted model version: %s/%s%n", modelName, modelVersion)); + + // END:com.azure.ai.projects.ModelsAsyncSample.deleteModelVersion + } +} diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsSample.java new file mode 100644 index 000000000000..5b0b4b3be636 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsSample.java @@ -0,0 +1,126 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.azure.ai.projects; + +import com.azure.ai.projects.models.ModelVersion; +import com.azure.ai.projects.models.UpdateModelVersionRequest; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; + +import java.util.HashMap; +import java.util.Map; + +/** + * Sample demonstrating model version operations using the synchronous ModelsClient. + * + *

Before running, set {@code FOUNDRY_PROJECT_ENDPOINT} to your Azure AI Foundry project endpoint.

+ */ +public class ModelsSample { + private static final ModelsClient MODELS_CLIENT = new AIProjectClientBuilder() + .endpoint(Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT", "endpoint")) + .credential(new DefaultAzureCredentialBuilder().build()) + .buildModelsClient(); + + public static void main(String[] args) { + listLatestModelVersions(); + + // Uncomment these samples when you have a model asset name/version/blob URI to work with. +// listModelVersions(); +// getModelVersion(); +// createModelVersionAsync(); +// updateModelVersion(); +// deleteModelVersion(); + } + + public static void listLatestModelVersions() { + // BEGIN:com.azure.ai.projects.ModelsSample.listLatestModelVersions + + int count = 0; + for (ModelVersion modelVersion : MODELS_CLIENT.listLatestModelVersions()) { + count++; + System.out.printf("Model name: %s%n", modelVersion.getName()); + System.out.printf("Model version: %s%n", modelVersion.getVersion()); + System.out.printf("Blob URI: %s%n", modelVersion.getBlobUri()); + System.out.println("-------------------------------------------------"); + } + if (count == 0) { + System.out.println("No model versions found."); + } + + // END:com.azure.ai.projects.ModelsSample.listLatestModelVersions + } + + public static void listModelVersions() { + // BEGIN:com.azure.ai.projects.ModelsSample.listModelVersions + + String modelName = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_NAME"); + for (ModelVersion modelVersion : MODELS_CLIENT.listModelVersions(modelName)) { + System.out.printf("Model name: %s%n", modelVersion.getName()); + System.out.printf("Model version: %s%n", modelVersion.getVersion()); + System.out.println("-------------------------------------------------"); + } + + // END:com.azure.ai.projects.ModelsSample.listModelVersions + } + + public static void getModelVersion() { + // BEGIN:com.azure.ai.projects.ModelsSample.getModelVersion + + String modelName = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_NAME"); + String modelVersion = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_VERSION"); + ModelVersion version = MODELS_CLIENT.getModelVersion(modelName, modelVersion); + + System.out.printf("Model name: %s%n", version.getName()); + System.out.printf("Model version: %s%n", version.getVersion()); + System.out.printf("Description: %s%n", version.getDescription()); + + // END:com.azure.ai.projects.ModelsSample.getModelVersion + } + + public static void createModelVersionAsync() { + // BEGIN:com.azure.ai.projects.ModelsSample.createModelVersionAsync + + String modelName = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_NAME"); + String modelVersion = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_VERSION"); + String blobUri = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_BLOB_URI"); + + ModelVersion modelVersionDefinition = new ModelVersion(blobUri) + .setDescription("Model version created by the Azure AI Projects Java SDK sample."); + + MODELS_CLIENT.createModelVersionAsync(modelName, modelVersion, modelVersionDefinition); + System.out.printf("Started model version creation: %s/%s%n", modelName, modelVersion); + + // END:com.azure.ai.projects.ModelsSample.createModelVersionAsync + } + + public static void updateModelVersion() { + // BEGIN:com.azure.ai.projects.ModelsSample.updateModelVersion + + String modelName = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_NAME"); + String modelVersion = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_VERSION"); + + Map tags = new HashMap<>(); + tags.put("sample", "true"); + + ModelVersion updated = MODELS_CLIENT.updateModelVersion(modelName, modelVersion, + new UpdateModelVersionRequest() + .setDescription("Updated by the Azure AI Projects Java SDK sample.") + .setTags(tags)); + + System.out.printf("Updated model version: %s/%s%n", updated.getName(), updated.getVersion()); + + // END:com.azure.ai.projects.ModelsSample.updateModelVersion + } + + public static void deleteModelVersion() { + // BEGIN:com.azure.ai.projects.ModelsSample.deleteModelVersion + + String modelName = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_NAME"); + String modelVersion = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_VERSION"); + + MODELS_CLIENT.deleteModelVersion(modelName, modelVersion); + System.out.printf("Deleted model version: %s/%s%n", modelName, modelVersion); + + // END:com.azure.ai.projects.ModelsSample.deleteModelVersion + } +} diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageAsyncSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageAsyncSample.java new file mode 100644 index 000000000000..c36e0de53a0b --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageAsyncSample.java @@ -0,0 +1,95 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.azure.ai.projects; + +import com.azure.ai.projects.models.SkillDetails; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import reactor.core.publisher.Mono; + +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Path; +import java.time.Duration; +import java.util.concurrent.atomic.AtomicReference; +import java.util.zip.ZipEntry; +import java.util.zip.ZipOutputStream; + +/** + * Sample demonstrating uploading and downloading a skill package using the asynchronous SkillsAsyncClient. + * + *

Skills are a preview feature. Before running, set the following environment variable:

+ *
    + *
  • {@code FOUNDRY_PROJECT_ENDPOINT} - the Azure AI Foundry project endpoint.
  • + *
+ */ +public class SkillsPackageAsyncSample { + private static final String SKILL_NAME = "java-sample-skill-package"; + + private static final SkillsAsyncClient SKILLS_ASYNC_CLIENT = new AIProjectClientBuilder() + .endpoint(Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT", "endpoint")) + .credential(new DefaultAzureCredentialBuilder().build()) + .buildSkillsAsyncClient(); + + public static void main(String[] args) throws IOException { + AtomicReference skillNameRef = new AtomicReference<>(SKILL_NAME); + + Mono workflow = SKILLS_ASYNC_CLIENT.deleteSkill(SKILL_NAME) + .doOnSuccess(unused -> System.out.println("Deleted existing skill: " + SKILL_NAME)) + .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()) + .then(SKILLS_ASYNC_CLIENT.createSkillFromPackage(createSkillPackage())) + .doOnNext(imported -> { + skillNameRef.set(imported.getName()); + System.out.println("Imported skill from package: " + imported.getName() + + " (" + imported.getSkillId() + ") blobPresent=" + imported.isBlobPresent()); + }) + .flatMap(imported -> SKILLS_ASYNC_CLIENT.getSkill(imported.getName())) + .doOnNext(fetched -> System.out.println("Fetched imported skill: " + fetched.getName() + + " (" + fetched.getSkillId() + ") blobPresent=" + fetched.isBlobPresent())) + .flatMap(SkillsPackageAsyncSample::downloadSkillPackage) + .flatMap(fetched -> SKILLS_ASYNC_CLIENT.deleteSkill(fetched.getName()) + .doOnSuccess(unused -> System.out.println("Deleted imported skill: " + fetched.getName()))); + + workflow + .onErrorResume(error -> SKILLS_ASYNC_CLIENT.deleteSkill(skillNameRef.get()) + .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()) + .then(Mono.error(error))) + .timeout(Duration.ofMinutes(2)) + .block(); + } + + private static Mono downloadSkillPackage(SkillDetails fetched) { + return SKILLS_ASYNC_CLIENT.downloadSkill(fetched.getName()) + .map(downloaded -> { + try { + Path downloadPath = Files.createTempFile(fetched.getName() + "-", ".zip"); + Files.write(downloadPath, downloaded.toBytes()); + System.out.println("Downloaded skill package path: " + downloadPath); + return fetched; + } catch (IOException e) { + throw new RuntimeException(e); + } + }); + } + + private static BinaryData createSkillPackage() throws IOException { + String skillMarkdown = "---\n" + + "name: " + SKILL_NAME + "\n" + + "description: Answers product support questions using company policy and product guidance.\n" + + "---\n\n" + + "You help answer product support questions using company policy and product guidance.\n"; + + ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); + try (ZipOutputStream zipOutputStream = new ZipOutputStream(outputStream)) { + zipOutputStream.putNextEntry(new ZipEntry(SKILL_NAME + "/SKILL.md")); + zipOutputStream.write(skillMarkdown.getBytes(StandardCharsets.UTF_8)); + zipOutputStream.closeEntry(); + } + + return BinaryData.fromBytes(outputStream.toByteArray()); + } +} diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageSample.java new file mode 100644 index 000000000000..f4705c083e6a --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageSample.java @@ -0,0 +1,92 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.azure.ai.projects; + +import com.azure.ai.projects.models.SkillDetails; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; + +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Path; +import java.util.zip.ZipEntry; +import java.util.zip.ZipOutputStream; + +/** + * Sample demonstrating uploading and downloading a skill package using the synchronous SkillsClient. + * + *

Skills are a preview feature. Before running, set the following environment variable:

+ *
    + *
  • {@code FOUNDRY_PROJECT_ENDPOINT} - the Azure AI Foundry project endpoint.
  • + *
+ */ +public class SkillsPackageSample { + private static final String SKILL_NAME = "java-sample-skill-package"; + + private static final SkillsClient SKILLS_CLIENT = new AIProjectClientBuilder() + .endpoint(Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT", "endpoint")) + .credential(new DefaultAzureCredentialBuilder().build()) + .buildSkillsClient(); + + public static void main(String[] args) throws IOException { + try { + SKILLS_CLIENT.deleteSkill(SKILL_NAME); + System.out.println("Deleted existing skill: " + SKILL_NAME); + } catch (ResourceNotFoundException ignored) { + // The sample skill does not already exist. + } + + SkillDetails imported = null; + try { + // BEGIN:com.azure.ai.projects.SkillsPackageSample.createSkillFromPackage + + imported = SKILLS_CLIENT.createSkillFromPackage(createSkillPackage()); + System.out.println("Imported skill from package: " + imported.getName() + + " (" + imported.getSkillId() + ") blobPresent=" + imported.isBlobPresent()); + + // END:com.azure.ai.projects.SkillsPackageSample.createSkillFromPackage + + // BEGIN:com.azure.ai.projects.SkillsPackageSample.downloadSkill + + SkillDetails fetched = SKILLS_CLIENT.getSkill(imported.getName()); + System.out.println("Fetched imported skill: " + fetched.getName() + + " (" + fetched.getSkillId() + ") blobPresent=" + fetched.isBlobPresent()); + + BinaryData downloaded = SKILLS_CLIENT.downloadSkill(fetched.getName()); + Path downloadPath = Files.createTempFile(fetched.getName() + "-", ".zip"); + Files.write(downloadPath, downloaded.toBytes()); + System.out.println("Downloaded skill package path: " + downloadPath); + + // END:com.azure.ai.projects.SkillsPackageSample.downloadSkill + } finally { + String skillName = imported == null ? SKILL_NAME : imported.getName(); + try { + SKILLS_CLIENT.deleteSkill(skillName); + System.out.println("Deleted imported skill: " + skillName); + } catch (ResourceNotFoundException ignored) { + // The skill may not have been created. + } + } + } + + private static BinaryData createSkillPackage() throws IOException { + String skillMarkdown = "---\n" + + "name: " + SKILL_NAME + "\n" + + "description: Answers product support questions using company policy and product guidance.\n" + + "---\n\n" + + "You help answer product support questions using company policy and product guidance.\n"; + + ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); + try (ZipOutputStream zipOutputStream = new ZipOutputStream(outputStream)) { + zipOutputStream.putNextEntry(new ZipEntry(SKILL_NAME + "/SKILL.md")); + zipOutputStream.write(skillMarkdown.getBytes(StandardCharsets.UTF_8)); + zipOutputStream.closeEntry(); + } + + return BinaryData.fromBytes(outputStream.toByteArray()); + } +} diff --git a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java new file mode 100644 index 000000000000..25da419c09db --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java @@ -0,0 +1,209 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.azure.ai.projects; + +import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.projects.models.DataGenerationJob; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; +import com.azure.ai.projects.models.ModelVersion; +import com.azure.ai.projects.models.SkillDetails; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpClient; +import com.azure.core.test.annotation.LiveOnly; +import com.azure.core.util.BinaryData; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; +import reactor.test.StepVerifier; + +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Path; +import java.util.concurrent.atomic.AtomicBoolean; +import java.util.zip.ZipEntry; +import java.util.zip.ZipOutputStream; + +import static com.azure.ai.projects.TestUtils.DISPLAY_NAME_WITH_ARGUMENTS; + +public class SamplesTests extends ClientTestBase { + private static final String SAMPLE_SKILL_NAME = "java-sample-skill-package-test"; + private static final FoundryFeaturesOptInKeys DATA_GENERATION_PREVIEW + = FoundryFeaturesOptInKeys.DATA_GENERATION_JOBS_V1_PREVIEW; + + @LiveOnly + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void skillsPackageSample(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) throws IOException { + SkillsClient skillsClient = getClientBuilder(httpClient, serviceVersion).buildSkillsClient(); + + try { + skillsClient.deleteSkill(SAMPLE_SKILL_NAME); + } catch (ResourceNotFoundException ignored) { + // The sample skill does not already exist. + } + + SkillDetails imported = null; + try { + imported = skillsClient.createSkillFromPackage(createSkillPackage()); + Assertions.assertNotNull(imported); + Assertions.assertEquals(SAMPLE_SKILL_NAME, imported.getName()); + Assertions.assertTrue(imported.isBlobPresent()); + + SkillDetails fetched = skillsClient.getSkill(imported.getName()); + Assertions.assertNotNull(fetched); + Assertions.assertEquals(imported.getName(), fetched.getName()); + + BinaryData downloaded = skillsClient.downloadSkill(fetched.getName()); + Assertions.assertNotNull(downloaded); + Assertions.assertTrue(downloaded.toBytes().length > 0); + + Path downloadPath = Files.createTempFile(fetched.getName() + "-", ".zip"); + Files.write(downloadPath, downloaded.toBytes()); + Assertions.assertTrue(Files.size(downloadPath) > 0); + } finally { + String skillName = imported == null ? SAMPLE_SKILL_NAME : imported.getName(); + try { + skillsClient.deleteSkill(skillName); + } catch (ResourceNotFoundException ignored) { + // The skill may not have been created. + } + } + } + + @LiveOnly + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void skillsPackageAsyncSample(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) + throws IOException { + SkillsAsyncClient skillsAsyncClient = getClientBuilder(httpClient, serviceVersion).buildSkillsAsyncClient(); + + StepVerifier.create(skillsAsyncClient.deleteSkill(SAMPLE_SKILL_NAME) + .onErrorResume(ResourceNotFoundException.class, ignored -> reactor.core.publisher.Mono.empty()) + .then(skillsAsyncClient.createSkillFromPackage(createSkillPackage())) + .flatMap(imported -> { + Assertions.assertNotNull(imported); + Assertions.assertEquals(SAMPLE_SKILL_NAME, imported.getName()); + Assertions.assertTrue(imported.isBlobPresent()); + + return skillsAsyncClient.getSkill(imported.getName()).doOnNext(fetched -> { + Assertions.assertEquals(imported.getName(), fetched.getName()); + Assertions.assertTrue(fetched.isBlobPresent()); + }).then(skillsAsyncClient.downloadSkill(imported.getName())).doOnNext(downloaded -> { + Assertions.assertNotNull(downloaded); + Assertions.assertTrue(downloaded.toBytes().length > 0); + }).then(skillsAsyncClient.deleteSkill(imported.getName())); + })).verifyComplete(); + } + + @LiveOnly + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void dataGenerationJobsListSample(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) { + DataGenerationJobsClient dataGenerationJobsClient + = getClientBuilder(httpClient, serviceVersion).buildDataGenerationJobsClient(); + + Iterable jobs = dataGenerationJobsClient.listGenerationJobs(DATA_GENERATION_PREVIEW, 5, + PageOrder.DESC, null, null, null, null); + Assertions.assertNotNull(jobs); + + int count = 0; + for (DataGenerationJob job : jobs) { + Assertions.assertNotNull(job); + Assertions.assertNotNull(job.getId()); + count++; + if (count >= 5) { + break; + } + } + } + + @LiveOnly + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void dataGenerationJobsListAsyncSample(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) { + DataGenerationJobsAsyncClient dataGenerationJobsAsyncClient + = getClientBuilder(httpClient, serviceVersion).buildDataGenerationJobsAsyncClient(); + + StepVerifier.create(dataGenerationJobsAsyncClient + .listGenerationJobs(DATA_GENERATION_PREVIEW, 5, PageOrder.DESC, null, null, null, null) + .take(5) + .doOnNext(job -> { + Assertions.assertNotNull(job); + Assertions.assertNotNull(job.getId()); + }) + .then()).verifyComplete(); + } + + @LiveOnly + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void modelsListLatestSample(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) { + ModelsClient modelsClient = getClientBuilder(httpClient, serviceVersion).buildModelsClient(); + + Iterable modelVersions = modelsClient.listLatestModelVersions(); + Assertions.assertNotNull(modelVersions); + + int count = 0; + for (ModelVersion modelVersion : modelVersions) { + Assertions.assertNotNull(modelVersion); + Assertions.assertNotNull(modelVersion.getName()); + Assertions.assertNotNull(modelVersion.getVersion()); + count++; + if (count >= 5) { + break; + } + } + } + + @LiveOnly + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void modelsListLatestAsyncSample(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) { + ModelsAsyncClient modelsAsyncClient = getClientBuilder(httpClient, serviceVersion).buildModelsAsyncClient(); + + AtomicBoolean sawModel = new AtomicBoolean(false); + StepVerifier.create(modelsAsyncClient.listLatestModelVersions().take(5).doOnNext(modelVersion -> { + sawModel.set(true); + Assertions.assertNotNull(modelVersion); + Assertions.assertNotNull(modelVersion.getName()); + Assertions.assertNotNull(modelVersion.getVersion()); + }).then()).verifyComplete(); + // Empty model lists are valid for projects that have no model assets. + Assertions.assertNotNull(sawModel); + } + + @Disabled("Requires FOUNDRY_MODEL_NAME and creates a long-running preview data generation job.") + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void dataGenerationCreateGetCancelDeleteSample(HttpClient httpClient, + AIProjectsServiceVersion serviceVersion) { + Assertions.fail( + "Enable after providing FOUNDRY_MODEL_NAME and deciding whether to record this long-running preview flow."); + } + + @Disabled("Requires FOUNDRY_MODEL_ASSET_NAME, FOUNDRY_MODEL_ASSET_VERSION, and FOUNDRY_MODEL_BLOB_URI.") + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void modelVersionCreateGetUpdateDeleteSample(HttpClient httpClient, + AIProjectsServiceVersion serviceVersion) { + Assertions.fail("Enable after providing model asset environment variables."); + } + + private static BinaryData createSkillPackage() throws IOException { + String skillMarkdown = "---\n" + "name: " + SAMPLE_SKILL_NAME + "\n" + + "description: Answers product support questions using company policy and product guidance.\n" + "---\n\n" + + "You help answer product support questions using company policy and product guidance.\n"; + + ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); + try (ZipOutputStream zipOutputStream = new ZipOutputStream(outputStream)) { + zipOutputStream.putNextEntry(new ZipEntry(SAMPLE_SKILL_NAME + "/SKILL.md")); + zipOutputStream.write(skillMarkdown.getBytes(StandardCharsets.UTF_8)); + zipOutputStream.closeEntry(); + } + + return BinaryData.fromBytes(outputStream.toByteArray()); + } +} From e84ca8312d0569c2ecd49f6f1ee63270b4f3af57 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Mon, 18 May 2026 18:14:21 -0700 Subject: [PATCH 17/74] update samples and tests --- .../agents/hostedagents/CodeAgentAsyncSample.java | 2 +- .../ai/agents/hostedagents/CodeAgentSample.java | 2 +- .../hostedagents/SessionFilesAsyncSample.java | 13 +++++++------ .../ai/agents/hostedagents/SessionFilesSample.java | 14 ++++++++------ .../agents/hostedagents/CodeAgentSamplesTests.java | 5 +++-- 5 files changed, 20 insertions(+), 16 deletions(-) diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentAsyncSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentAsyncSample.java index 54f8f046229e..ad53e802de6e 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentAsyncSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentAsyncSample.java @@ -58,7 +58,7 @@ public static void main(String[] args) { // BEGIN: com.azure.ai.agents.hostedagents.CodeAgentAsyncSample.downloadAgentCode .then(agentsAsyncClient.downloadAgentCode(agentName, - AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW)) + AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW, null)) .flatMap(downloadedCode -> writeDownloadedCode(agentName, downloadedCode)) // END: com.azure.ai.agents.hostedagents.CodeAgentAsyncSample.downloadAgentCode diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSample.java index 039784b4c5b1..ac2d4eacc6a1 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSample.java @@ -60,7 +60,7 @@ public static void main(String[] args) throws IOException { // BEGIN: com.azure.ai.agents.hostedagents.CodeAgentSample.downloadAgentCode BinaryData downloadedCode = agentsClient.downloadAgentCode(agentName, - AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW); + AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW, null); Path downloadPath = Files.createTempFile(agentName + "-", ".zip"); Files.write(downloadPath, downloadedCode.toBytes()); System.out.println("Downloaded code package path: " + downloadPath); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesAsyncSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesAsyncSample.java index 691fa8f4a78a..d6b26bf64600 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesAsyncSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesAsyncSample.java @@ -53,14 +53,15 @@ public static void main(String[] args) { String sessionId = resources.getSession().getAgentSessionId(); return sessionFilesAsyncClient.uploadSessionFile(agentName, sessionId, REMOTE_FILE_PATH_1, - BinaryData.fromString("Sample session file 1."), AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW) + BinaryData.fromString("Sample session file 1."), + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null) .doOnNext(response -> System.out.printf("Uploaded session file: %s%n", response.getPath())) .then(sessionFilesAsyncClient.uploadSessionFile(agentName, sessionId, REMOTE_FILE_PATH_2, BinaryData.fromString("Sample session file 2."), - AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW)) + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null)) .doOnNext(response -> System.out.printf("Uploaded session file: %s%n", response.getPath())) .then(sessionFilesAsyncClient.getSessionFiles(agentName, sessionId, "/remote", - AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW)) + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null)) .doOnNext(files -> { System.out.println("Listing session files for the session at path '/remote'..."); for (SessionDirectoryEntry entry : files.getEntries()) { @@ -69,7 +70,7 @@ public static void main(String[] args) { } }) .then(sessionFilesAsyncClient.downloadSessionFile(agentName, sessionId, REMOTE_FILE_PATH_1, - AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW)) + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null)) .doOnNext(downloaded -> { System.out.printf("Downloading and printing content from '%s'%n", REMOTE_FILE_PATH_1); String fileContent = new String(downloaded.toBytes(), StandardCharsets.UTF_8); @@ -78,12 +79,12 @@ public static void main(String[] args) { .then(Mono.defer(() -> { System.out.printf("Deleting session file at path: %s...%n", REMOTE_FILE_PATH_1); return sessionFilesAsyncClient.deleteSessionFile(agentName, sessionId, REMOTE_FILE_PATH_1, - AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, false); + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, false, null); })) .then(Mono.defer(() -> { System.out.printf("Deleting session file at path: %s...%n", REMOTE_FILE_PATH_2); return sessionFilesAsyncClient.deleteSessionFile(agentName, sessionId, REMOTE_FILE_PATH_2, - AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, false); + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, false, null); })); }); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesSample.java index 4258c05f3a0d..f4d0cf1f21b4 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesSample.java @@ -49,16 +49,18 @@ public static void main(String[] args) { String sessionId = resources.getSession().getAgentSessionId(); sessionFilesClient.uploadSessionFile(agentName, sessionId, REMOTE_FILE_PATH_1, - BinaryData.fromString("Sample session file 1."), AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW); + BinaryData.fromString("Sample session file 1."), AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, + null); System.out.printf("Uploaded session file: %s%n", REMOTE_FILE_PATH_1); sessionFilesClient.uploadSessionFile(agentName, sessionId, REMOTE_FILE_PATH_2, - BinaryData.fromString("Sample session file 2."), AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW); + BinaryData.fromString("Sample session file 2."), AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, + null); System.out.printf("Uploaded session file: %s%n", REMOTE_FILE_PATH_2); System.out.println("Listing session files for the session at path '/remote'..."); SessionDirectoryListResponse files = sessionFilesClient.getSessionFiles(agentName, sessionId, "/remote", - AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW); + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null); for (SessionDirectoryEntry entry : files.getEntries()) { System.out.printf(" - name=%s, size=%d, isDirectory=%s%n", entry.getName(), entry.getSize(), entry.isDirectory()); @@ -66,17 +68,17 @@ public static void main(String[] args) { System.out.printf("Downloading and printing content from '%s'%n", REMOTE_FILE_PATH_1); BinaryData downloaded = sessionFilesClient.downloadSessionFile(agentName, sessionId, REMOTE_FILE_PATH_1, - AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW); + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null); String fileContent = new String(downloaded.toBytes(), StandardCharsets.UTF_8); System.out.printf("Session file content (%s):%n%s%n", REMOTE_FILE_PATH_1, fileContent); System.out.printf("Deleting session file at path: %s...%n", REMOTE_FILE_PATH_1); sessionFilesClient.deleteSessionFile(agentName, sessionId, REMOTE_FILE_PATH_1, - AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, false); + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, false, null); System.out.printf("Deleting session file at path: %s...%n", REMOTE_FILE_PATH_2); sessionFilesClient.deleteSessionFile(agentName, sessionId, REMOTE_FILE_PATH_2, - AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, false); + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, false, null); } finally { HostedAgentsSampleUtils.cleanup(agentsClient, agentName, resources); } diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/CodeAgentSamplesTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/CodeAgentSamplesTests.java index 15d043ad3f03..9591947c42fb 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/CodeAgentSamplesTests.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/CodeAgentSamplesTests.java @@ -65,7 +65,7 @@ public void codeAgentSample(HttpClient httpClient, AgentsServiceVersion serviceV Assertions.assertNotNull(agent.getVersions().getLatest()); BinaryData downloadedCode - = agentsClient.downloadAgentCode(agentName, AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW); + = agentsClient.downloadAgentCode(agentName, AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW, null); Assertions.assertNotNull(downloadedCode); Assertions.assertTrue(downloadedCode.toBytes().length > 0); @@ -109,7 +109,8 @@ public void codeAgentAsyncSample(HttpClient httpClient, AgentsServiceVersion ser Assertions.assertNotNull(agent.getVersions()); Assertions.assertNotNull(agent.getVersions().getLatest()); - return agentsAsyncClient.downloadAgentCode(agentName, AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW); + return agentsAsyncClient.downloadAgentCode(agentName, AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW, + null); }) .flatMap(downloadedCode -> { Assertions.assertNotNull(downloadedCode); From d173b3a10e69ea989fbb1214f841aad8006bd5f7 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Mon, 18 May 2026 18:16:56 -0700 Subject: [PATCH 18/74] getSessionFiles rename --- .../agents/AgentSessionFilesAsyncClient.java | 160 +++++++++--------- .../ai/agents/AgentSessionFilesClient.java | 156 ++++++++--------- .../implementation/AgentSessionFilesImpl.java | 12 +- .../META-INF/azure-ai-agents_metadata.json | 2 +- sdk/ai/azure-ai-agents/tsp-location.yaml | 2 +- 5 files changed, 166 insertions(+), 166 deletions(-) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java index d0b5e273f3ae..914050f5df16 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java @@ -248,57 +248,6 @@ public Mono deleteSessionFile(String agentName, String agentSessionId, Str return deleteSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono); } - /** - * List files and directories at a given path in the session sandbox. - * Returns only the immediate children of the specified directory (non-recursive). - *

Header Parameters

- * - * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", - * "ExternalAgents=V1Preview".
x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope - * endpoint-scoped data (responses, conversations, sessions) to a specific end user.
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     path: String (Required)
-     *     entries (Required): [
-     *          (Required){
-     *             name: String (Required)
-     *             size: long (Required)
-     *             is_directory: boolean (Required)
-     *             modified_time: long (Required)
-     *         }
-     *     ]
-     * }
-     * }
-     * 
- * - * @param agentName The name of the agent. - * @param agentSessionId The session ID. - * @param path The directory path to list, relative to the session home directory. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response from listing a directory in a session sandbox along with {@link Response} on successful - * completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listSessionFilesWithResponse(String agentName, String agentSessionId, String path, - RequestOptions requestOptions) { - return this.serviceClient.listSessionFilesWithResponseAsync(agentName, agentSessionId, path, requestOptions); - } - /** * Upload a file to the session sandbox via binary stream. * Maximum file size is 50 MB. Uploads exceeding this limit return 413 Payload Too Large. @@ -371,14 +320,15 @@ public Mono downloadSessionFile(String agentName, String agentSessio } /** - * List files and directories at a given path in the session sandbox. - * Returns only the immediate children of the specified directory (non-recursive). + * Delete a file or directory from the session sandbox. + * If `recursive` is false (default) and the target is a non-empty directory, the API returns 409 Conflict. * * @param agentName The name of the agent. * @param agentSessionId The session ID. - * @param path The directory path to list, relative to the session home directory. + * @param path The file or directory path to delete, relative to the session home directory. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. + * @param recursive Whether to recursively delete directory contents. Defaults to false. * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, * conversations, sessions) to a specific end user. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -387,58 +337,86 @@ public Mono downloadSessionFile(String agentName, String agentSessio * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response from listing a directory in a session sandbox on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listSessionFiles(String agentName, String agentSessionId, String path, - AgentDefinitionOptInKeys foundryFeatures, String userIsolationKey) { - // Generated convenience method for listSessionFilesWithResponse + public Mono deleteSessionFile(String agentName, String agentSessionId, String path, + AgentDefinitionOptInKeys foundryFeatures, Boolean recursive, String userIsolationKey) { + // Generated convenience method for deleteSessionFileWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } + if (recursive != null) { + requestOptions.addQueryParam("recursive", String.valueOf(recursive), false); + } if (userIsolationKey != null) { requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); } - return listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(SessionDirectoryListResponse.class)); + return deleteSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono); } /** * List files and directories at a given path in the session sandbox. * Returns only the immediate children of the specified directory (non-recursive). + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview".
x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     path: String (Required)
+     *     entries (Required): [
+     *          (Required){
+     *             name: String (Required)
+     *             size: long (Required)
+     *             is_directory: boolean (Required)
+     *             modified_time: long (Required)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
* * @param agentName The name of the agent. * @param agentSessionId The session ID. * @param path The directory path to list, relative to the session home directory. - * @throws IllegalArgumentException thrown if parameters fail the validation. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response from listing a directory in a session sandbox on successful completion of {@link Mono}. + * @return response from listing a directory in a session sandbox along with {@link Response} on successful + * completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listSessionFiles(String agentName, String agentSessionId, String path) { - // Generated convenience method for listSessionFilesWithResponse - RequestOptions requestOptions = new RequestOptions(); - return listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(SessionDirectoryListResponse.class)); + public Mono> getSessionFilesWithResponse(String agentName, String agentSessionId, String path, + RequestOptions requestOptions) { + return this.serviceClient.getSessionFilesWithResponseAsync(agentName, agentSessionId, path, requestOptions); } /** - * Delete a file or directory from the session sandbox. - * If `recursive` is false (default) and the target is a non-empty directory, the API returns 409 Conflict. + * List files and directories at a given path in the session sandbox. + * Returns only the immediate children of the specified directory (non-recursive). * * @param agentName The name of the agent. * @param agentSessionId The session ID. - * @param path The file or directory path to delete, relative to the session home directory. + * @param path The directory path to list, relative to the session home directory. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. - * @param recursive Whether to recursively delete directory contents. Defaults to false. * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, * conversations, sessions) to a specific end user. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -447,23 +425,45 @@ public Mono listSessionFiles(String agentName, Str * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return response from listing a directory in a session sandbox on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteSessionFile(String agentName, String agentSessionId, String path, - AgentDefinitionOptInKeys foundryFeatures, Boolean recursive, String userIsolationKey) { - // Generated convenience method for deleteSessionFileWithResponse + public Mono getSessionFiles(String agentName, String agentSessionId, String path, + AgentDefinitionOptInKeys foundryFeatures, String userIsolationKey) { + // Generated convenience method for getSessionFilesWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - if (recursive != null) { - requestOptions.addQueryParam("recursive", String.valueOf(recursive), false); - } if (userIsolationKey != null) { requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); } - return deleteSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono); + return getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SessionDirectoryListResponse.class)); + } + + /** + * List files and directories at a given path in the session sandbox. + * Returns only the immediate children of the specified directory (non-recursive). + * + * @param agentName The name of the agent. + * @param agentSessionId The session ID. + * @param path The directory path to list, relative to the session home directory. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from listing a directory in a session sandbox on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSessionFiles(String agentName, String agentSessionId, String path) { + // Generated convenience method for getSessionFilesWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SessionDirectoryListResponse.class)); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java index 55ecdbc32b37..8b34604c805e 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java @@ -242,56 +242,6 @@ public void deleteSessionFile(String agentName, String agentSessionId, String pa deleteSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).getValue(); } - /** - * List files and directories at a given path in the session sandbox. - * Returns only the immediate children of the specified directory (non-recursive). - *

Header Parameters

- * - * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", - * "ExternalAgents=V1Preview".
x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope - * endpoint-scoped data (responses, conversations, sessions) to a specific end user.
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     path: String (Required)
-     *     entries (Required): [
-     *          (Required){
-     *             name: String (Required)
-     *             size: long (Required)
-     *             is_directory: boolean (Required)
-     *             modified_time: long (Required)
-     *         }
-     *     ]
-     * }
-     * }
-     * 
- * - * @param agentName The name of the agent. - * @param agentSessionId The session ID. - * @param path The directory path to list, relative to the session home directory. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response from listing a directory in a session sandbox along with {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response listSessionFilesWithResponse(String agentName, String agentSessionId, String path, - RequestOptions requestOptions) { - return this.serviceClient.listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions); - } - /** * Upload a file to the session sandbox via binary stream. * Maximum file size is 50 MB. Uploads exceeding this limit return 413 Payload Too Large. @@ -362,14 +312,15 @@ public BinaryData downloadSessionFile(String agentName, String agentSessionId, S } /** - * List files and directories at a given path in the session sandbox. - * Returns only the immediate children of the specified directory (non-recursive). + * Delete a file or directory from the session sandbox. + * If `recursive` is false (default) and the target is a non-empty directory, the API returns 409 Conflict. * * @param agentName The name of the agent. * @param agentSessionId The session ID. - * @param path The directory path to list, relative to the session home directory. + * @param path The file or directory path to delete, relative to the session home directory. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. + * @param recursive Whether to recursively delete directory contents. Defaults to false. * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, * conversations, sessions) to a specific end user. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -378,58 +329,84 @@ public BinaryData downloadSessionFile(String agentName, String agentSessionId, S * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response from listing a directory in a session sandbox. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SessionDirectoryListResponse listSessionFiles(String agentName, String agentSessionId, String path, - AgentDefinitionOptInKeys foundryFeatures, String userIsolationKey) { - // Generated convenience method for listSessionFilesWithResponse + public void deleteSessionFile(String agentName, String agentSessionId, String path, + AgentDefinitionOptInKeys foundryFeatures, Boolean recursive, String userIsolationKey) { + // Generated convenience method for deleteSessionFileWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } + if (recursive != null) { + requestOptions.addQueryParam("recursive", String.valueOf(recursive), false); + } if (userIsolationKey != null) { requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); } - return listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).getValue() - .toObject(SessionDirectoryListResponse.class); + deleteSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).getValue(); } /** * List files and directories at a given path in the session sandbox. * Returns only the immediate children of the specified directory (non-recursive). + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview".
x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     path: String (Required)
+     *     entries (Required): [
+     *          (Required){
+     *             name: String (Required)
+     *             size: long (Required)
+     *             is_directory: boolean (Required)
+     *             modified_time: long (Required)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
* * @param agentName The name of the agent. * @param agentSessionId The session ID. * @param path The directory path to list, relative to the session home directory. - * @throws IllegalArgumentException thrown if parameters fail the validation. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response from listing a directory in a session sandbox. + * @return response from listing a directory in a session sandbox along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SessionDirectoryListResponse listSessionFiles(String agentName, String agentSessionId, String path) { - // Generated convenience method for listSessionFilesWithResponse - RequestOptions requestOptions = new RequestOptions(); - return listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).getValue() - .toObject(SessionDirectoryListResponse.class); + public Response getSessionFilesWithResponse(String agentName, String agentSessionId, String path, + RequestOptions requestOptions) { + return this.serviceClient.getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions); } /** - * Delete a file or directory from the session sandbox. - * If `recursive` is false (default) and the target is a non-empty directory, the API returns 409 Conflict. + * List files and directories at a given path in the session sandbox. + * Returns only the immediate children of the specified directory (non-recursive). * * @param agentName The name of the agent. * @param agentSessionId The session ID. - * @param path The file or directory path to delete, relative to the session home directory. + * @param path The directory path to list, relative to the session home directory. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. - * @param recursive Whether to recursively delete directory contents. Defaults to false. * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, * conversations, sessions) to a specific end user. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -438,22 +415,45 @@ public SessionDirectoryListResponse listSessionFiles(String agentName, String ag * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from listing a directory in a session sandbox. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteSessionFile(String agentName, String agentSessionId, String path, - AgentDefinitionOptInKeys foundryFeatures, Boolean recursive, String userIsolationKey) { - // Generated convenience method for deleteSessionFileWithResponse + public SessionDirectoryListResponse getSessionFiles(String agentName, String agentSessionId, String path, + AgentDefinitionOptInKeys foundryFeatures, String userIsolationKey) { + // Generated convenience method for getSessionFilesWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - if (recursive != null) { - requestOptions.addQueryParam("recursive", String.valueOf(recursive), false); - } if (userIsolationKey != null) { requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); } - deleteSessionFileWithResponse(agentName, agentSessionId, path, requestOptions).getValue(); + return getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).getValue() + .toObject(SessionDirectoryListResponse.class); + } + + /** + * List files and directories at a given path in the session sandbox. + * Returns only the immediate children of the specified directory (non-recursive). + * + * @param agentName The name of the agent. + * @param agentSessionId The session ID. + * @param path The directory path to list, relative to the session home directory. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from listing a directory in a session sandbox. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public SessionDirectoryListResponse getSessionFiles(String agentName, String agentSessionId, String path) { + // Generated convenience method for getSessionFilesWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).getValue() + .toObject(SessionDirectoryListResponse.class); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java index c47c00fe7f31..f2b4471abae5 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java @@ -124,7 +124,7 @@ Response downloadSessionFileSync(@HostParam("endpoint") String endpo @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> listSessionFiles(@HostParam("endpoint") String endpoint, + Mono> getSessionFiles(@HostParam("endpoint") String endpoint, @PathParam("agent_name") String agentName, @PathParam("agent_session_id") String agentSessionId, @QueryParam("path") String path, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -135,7 +135,7 @@ Mono> listSessionFiles(@HostParam("endpoint") String endpoi @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response listSessionFilesSync(@HostParam("endpoint") String endpoint, + Response getSessionFilesSync(@HostParam("endpoint") String endpoint, @PathParam("agent_name") String agentName, @PathParam("agent_session_id") String agentSessionId, @QueryParam("path") String path, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -398,10 +398,10 @@ public Response downloadSessionFileWithResponse(String agentName, St * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listSessionFilesWithResponseAsync(String agentName, String agentSessionId, + public Mono> getSessionFilesWithResponseAsync(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listSessionFiles(this.client.getEndpoint(), agentName, + return FluxUtil.withContext(context -> service.getSessionFiles(this.client.getEndpoint(), agentName, agentSessionId, path, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } @@ -449,10 +449,10 @@ public Mono> listSessionFilesWithResponseAsync(String agent * @return response from listing a directory in a session sandbox along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response listSessionFilesWithResponse(String agentName, String agentSessionId, String path, + public Response getSessionFilesWithResponse(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { final String accept = "application/json"; - return service.listSessionFilesSync(this.client.getEndpoint(), agentName, agentSessionId, path, + return service.getSessionFilesSync(this.client.getEndpoint(), agentName, agentSessionId, path, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } diff --git a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json index 92bf7d8d6534..1ebeb2165f8f 100644 --- a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json +++ b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.listSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.Annotation":"OpenAI.Annotation","com.azure.ai.agents.implementation.models.AnnotationType":"OpenAI.AnnotationType","com.azure.ai.agents.implementation.models.ApplyPatchCallOutputStatusParam":"OpenAI.ApplyPatchCallOutputStatusParam","com.azure.ai.agents.implementation.models.ApplyPatchCallStatusParam":"OpenAI.ApplyPatchCallStatusParam","com.azure.ai.agents.implementation.models.ApplyPatchCreateFileOperationParam":"OpenAI.ApplyPatchCreateFileOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchDeleteFileOperationParam":"OpenAI.ApplyPatchDeleteFileOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchOperationParam":"OpenAI.ApplyPatchOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchOperationParamType":"OpenAI.ApplyPatchOperationParamType","com.azure.ai.agents.implementation.models.ApplyPatchUpdateFileOperationParam":"OpenAI.ApplyPatchUpdateFileOperationParam","com.azure.ai.agents.implementation.models.ClickButtonType":"OpenAI.ClickButtonType","com.azure.ai.agents.implementation.models.ClickParam":"OpenAI.ClickParam","com.azure.ai.agents.implementation.models.CodeInterpreterOutputImage":"OpenAI.CodeInterpreterOutputImage","com.azure.ai.agents.implementation.models.CodeInterpreterOutputLogs":"OpenAI.CodeInterpreterOutputLogs","com.azure.ai.agents.implementation.models.ComputerAction":"OpenAI.ComputerAction","com.azure.ai.agents.implementation.models.ComputerActionType":"OpenAI.ComputerActionType","com.azure.ai.agents.implementation.models.ComputerCallSafetyCheckParam":"OpenAI.ComputerCallSafetyCheckParam","com.azure.ai.agents.implementation.models.ComputerScreenshotImage":"OpenAI.ComputerScreenshotImage","com.azure.ai.agents.implementation.models.ContainerFileCitationBody":"OpenAI.ContainerFileCitationBody","com.azure.ai.agents.implementation.models.CoordParam":"OpenAI.CoordParam","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.DoubleClickAction":"OpenAI.DoubleClickAction","com.azure.ai.agents.implementation.models.DragParam":"OpenAI.DragParam","com.azure.ai.agents.implementation.models.EasyInputMessage":"OpenAI.EasyInputMessage","com.azure.ai.agents.implementation.models.EasyInputMessageRole":"OpenAI.EasyInputMessage.role.anonymous","com.azure.ai.agents.implementation.models.EasyInputMessageStatus":"OpenAI.EasyInputMessage.status.anonymous","com.azure.ai.agents.implementation.models.FileCitationBody":"OpenAI.FileCitationBody","com.azure.ai.agents.implementation.models.FilePath":"OpenAI.FilePath","com.azure.ai.agents.implementation.models.FileSearchToolCallResults":"OpenAI.FileSearchToolCallResults","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutput":"OpenAI.FunctionAndCustomToolCallOutput","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputFileContent":"OpenAI.FunctionAndCustomToolCallOutputInputFileContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputImageContent":"OpenAI.FunctionAndCustomToolCallOutputInputImageContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputTextContent":"OpenAI.FunctionAndCustomToolCallOutputInputTextContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputType":"OpenAI.FunctionAndCustomToolCallOutputType","com.azure.ai.agents.implementation.models.FunctionCallItemStatus":"OpenAI.FunctionCallItemStatus","com.azure.ai.agents.implementation.models.FunctionShellActionParam":"OpenAI.FunctionShellActionParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironment":"OpenAI.FunctionShellCallItemParamEnvironment","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentContainerReferenceParam":"OpenAI.FunctionShellCallItemParamEnvironmentContainerReferenceParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentLocalEnvironmentParam":"OpenAI.FunctionShellCallItemParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentType":"OpenAI.FunctionShellCallItemParamEnvironmentType","com.azure.ai.agents.implementation.models.FunctionShellCallItemStatus":"OpenAI.FunctionShellCallItemStatus","com.azure.ai.agents.implementation.models.FunctionShellCallOutputContentParam":"OpenAI.FunctionShellCallOutputContentParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputExitOutcomeParam":"OpenAI.FunctionShellCallOutputExitOutcomeParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputOutcomeParam":"OpenAI.FunctionShellCallOutputOutcomeParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputOutcomeParamType":"OpenAI.FunctionShellCallOutputOutcomeParamType","com.azure.ai.agents.implementation.models.FunctionShellCallOutputTimeoutOutcomeParam":"OpenAI.FunctionShellCallOutputTimeoutOutcomeParam","com.azure.ai.agents.implementation.models.ImageDetail":"OpenAI.ImageDetail","com.azure.ai.agents.implementation.models.ImageDetailLevel":"OpenAI.DetailEnum","com.azure.ai.agents.implementation.models.InputContent":"OpenAI.InputContent","com.azure.ai.agents.implementation.models.InputContentInputFileContent":"OpenAI.InputContentInputFileContent","com.azure.ai.agents.implementation.models.InputContentInputImageContent":"OpenAI.InputContentInputImageContent","com.azure.ai.agents.implementation.models.InputContentInputTextContent":"OpenAI.InputContentInputTextContent","com.azure.ai.agents.implementation.models.InputContentType":"OpenAI.InputContentType","com.azure.ai.agents.implementation.models.InputFileContentParam":"OpenAI.InputFileContentParam","com.azure.ai.agents.implementation.models.InputImageContentParamAutoParam":"OpenAI.InputImageContentParamAutoParam","com.azure.ai.agents.implementation.models.InputItem":"OpenAI.InputItem","com.azure.ai.agents.implementation.models.InputItemApplyPatchToolCallItemParam":"OpenAI.InputItemApplyPatchToolCallItemParam","com.azure.ai.agents.implementation.models.InputItemApplyPatchToolCallOutputItemParam":"OpenAI.InputItemApplyPatchToolCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemCodeInterpreterToolCall":"OpenAI.InputItemCodeInterpreterToolCall","com.azure.ai.agents.implementation.models.InputItemCodeInterpreterToolCallStatus":"OpenAI.InputItemCodeInterpreterToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemCompactionSummaryItemParam":"OpenAI.InputItemCompactionSummaryItemParam","com.azure.ai.agents.implementation.models.InputItemComputerCallOutputItemParam":"OpenAI.InputItemComputerCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemComputerToolCall":"OpenAI.InputItemComputerToolCall","com.azure.ai.agents.implementation.models.InputItemComputerToolCallStatus":"OpenAI.InputItemComputerToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemCustomToolCall":"OpenAI.InputItemCustomToolCall","com.azure.ai.agents.implementation.models.InputItemCustomToolCallOutput":"OpenAI.InputItemCustomToolCallOutput","com.azure.ai.agents.implementation.models.InputItemFileSearchToolCall":"OpenAI.InputItemFileSearchToolCall","com.azure.ai.agents.implementation.models.InputItemFileSearchToolCallStatus":"OpenAI.InputItemFileSearchToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemFunctionCallOutputItemParam":"OpenAI.InputItemFunctionCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionShellCallItemParam":"OpenAI.InputItemFunctionShellCallItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionShellCallOutputItemParam":"OpenAI.InputItemFunctionShellCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionToolCall":"OpenAI.InputItemFunctionToolCall","com.azure.ai.agents.implementation.models.InputItemFunctionToolCallStatus":"OpenAI.InputItemFunctionToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemImageGenToolCall":"OpenAI.InputItemImageGenToolCall","com.azure.ai.agents.implementation.models.InputItemImageGenToolCallStatus":"OpenAI.InputItemImageGenToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCall":"OpenAI.InputItemLocalShellToolCall","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallOutput":"OpenAI.InputItemLocalShellToolCallOutput","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallOutputStatus":"OpenAI.InputItemLocalShellToolCallOutput.status.anonymous","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallStatus":"OpenAI.InputItemLocalShellToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemMcpApprovalRequest":"OpenAI.InputItemMcpApprovalRequest","com.azure.ai.agents.implementation.models.InputItemMcpApprovalResponse":"OpenAI.InputItemMcpApprovalResponse","com.azure.ai.agents.implementation.models.InputItemMcpListTools":"OpenAI.InputItemMcpListTools","com.azure.ai.agents.implementation.models.InputItemMcpToolCall":"OpenAI.InputItemMcpToolCall","com.azure.ai.agents.implementation.models.InputItemOutputMessage":"OpenAI.InputItemOutputMessage","com.azure.ai.agents.implementation.models.InputItemOutputMessageStatus":"OpenAI.InputItemOutputMessage.status.anonymous","com.azure.ai.agents.implementation.models.InputItemReasoningItem":"OpenAI.InputItemReasoningItem","com.azure.ai.agents.implementation.models.InputItemReasoningItemStatus":"OpenAI.InputItemReasoningItem.status.anonymous","com.azure.ai.agents.implementation.models.InputItemType":"OpenAI.InputItemType","com.azure.ai.agents.implementation.models.InputItemWebSearchToolCall":"OpenAI.InputItemWebSearchToolCall","com.azure.ai.agents.implementation.models.InputItemWebSearchToolCallStatus":"OpenAI.InputItemWebSearchToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputTextContentParam":"OpenAI.InputTextContentParam","com.azure.ai.agents.implementation.models.ItemReferenceParam":"OpenAI.ItemReferenceParam","com.azure.ai.agents.implementation.models.KeyPressAction":"OpenAI.KeyPressAction","com.azure.ai.agents.implementation.models.LocalShellExecAction":"OpenAI.LocalShellExecAction","com.azure.ai.agents.implementation.models.LogProb":"OpenAI.LogProb","com.azure.ai.agents.implementation.models.McpListToolsTool":"OpenAI.MCPListToolsTool","com.azure.ai.agents.implementation.models.McpListToolsToolAnnotations":"OpenAI.MCPListToolsToolAnnotations","com.azure.ai.agents.implementation.models.McpListToolsToolInputSchema":"OpenAI.MCPListToolsToolInputSchema","com.azure.ai.agents.implementation.models.McpToolCallStatus":"OpenAI.MCPToolCallStatus","com.azure.ai.agents.implementation.models.MessageContent":"OpenAI.MessageContent","com.azure.ai.agents.implementation.models.MessageContentType":"OpenAI.MessageContentType","com.azure.ai.agents.implementation.models.MoveParam":"OpenAI.MoveParam","com.azure.ai.agents.implementation.models.OutputMessageContent":"OpenAI.OutputMessageContent","com.azure.ai.agents.implementation.models.OutputMessageContentOutputTextContent":"OpenAI.OutputMessageContentOutputTextContent","com.azure.ai.agents.implementation.models.OutputMessageContentRefusalContent":"OpenAI.OutputMessageContentRefusalContent","com.azure.ai.agents.implementation.models.OutputMessageContentType":"OpenAI.OutputMessageContentType","com.azure.ai.agents.implementation.models.ReasoningTextContent":"OpenAI.ReasoningTextContent","com.azure.ai.agents.implementation.models.ScreenshotParam":"OpenAI.ScreenshotParam","com.azure.ai.agents.implementation.models.ScrollParam":"OpenAI.ScrollParam","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SummaryTextContent":"OpenAI.SummaryTextContent","com.azure.ai.agents.implementation.models.TopLogProb":"OpenAI.TopLogProb","com.azure.ai.agents.implementation.models.TypeParam":"OpenAI.TypeParam","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.implementation.models.UrlCitationBody":"OpenAI.UrlCitationBody","com.azure.ai.agents.implementation.models.VectorStoreFileAttributes":"OpenAI.VectorStoreFileAttributes","com.azure.ai.agents.implementation.models.WaitParam":"OpenAI.WaitParam","com.azure.ai.agents.implementation.models.WebSearchActionFind":"OpenAI.WebSearchActionFind","com.azure.ai.agents.implementation.models.WebSearchActionOpenPage":"OpenAI.WebSearchActionOpenPage","com.azure.ai.agents.implementation.models.WebSearchActionSearch":"OpenAI.WebSearchActionSearch","com.azure.ai.agents.implementation.models.WebSearchActionSearchSources":"OpenAI.WebSearchActionSearchSources","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/Annotation.java","src/main/java/com/azure/ai/agents/implementation/models/AnnotationType.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallOutputStatusParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallStatusParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCreateFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchDeleteFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParamType.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchUpdateFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ClickButtonType.java","src/main/java/com/azure/ai/agents/implementation/models/ClickParam.java","src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputImage.java","src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputLogs.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerAction.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerActionType.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerCallSafetyCheckParam.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerScreenshotImage.java","src/main/java/com/azure/ai/agents/implementation/models/ContainerFileCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/CoordParam.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/DoubleClickAction.java","src/main/java/com/azure/ai/agents/implementation/models/DragParam.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessage.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageRole.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FileCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/FilePath.java","src/main/java/com/azure/ai/agents/implementation/models/FileSearchToolCallResults.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputFileContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputImageContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionCallItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellActionParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironment.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentContainerReferenceParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentLocalEnvironmentParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputExitOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParamType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputTimeoutOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/ImageDetail.java","src/main/java/com/azure/ai/agents/implementation/models/ImageDetailLevel.java","src/main/java/com/azure/ai/agents/implementation/models/InputContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputFileContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputImageContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentType.java","src/main/java/com/azure/ai/agents/implementation/models/InputFileContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputImageContentParamAutoParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItem.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCompactionSummaryItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutputStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalRequest.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalResponse.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpListTools.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessage.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessageStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItem.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemType.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputTextContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/ItemReferenceParam.java","src/main/java/com/azure/ai/agents/implementation/models/KeyPressAction.java","src/main/java/com/azure/ai/agents/implementation/models/LocalShellExecAction.java","src/main/java/com/azure/ai/agents/implementation/models/LogProb.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsTool.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolAnnotations.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolInputSchema.java","src/main/java/com/azure/ai/agents/implementation/models/McpToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/MessageContent.java","src/main/java/com/azure/ai/agents/implementation/models/MessageContentType.java","src/main/java/com/azure/ai/agents/implementation/models/MoveParam.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentOutputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentRefusalContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentType.java","src/main/java/com/azure/ai/agents/implementation/models/ReasoningTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/ScreenshotParam.java","src/main/java/com/azure/ai/agents/implementation/models/ScrollParam.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SummaryTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/TopLogProb.java","src/main/java/com/azure/ai/agents/implementation/models/TypeParam.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UrlCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/VectorStoreFileAttributes.java","src/main/java/com/azure/ai/agents/implementation/models/WaitParam.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionFind.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionOpenPage.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearch.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearchSources.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"a1b29a0440b9","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.Annotation":"OpenAI.Annotation","com.azure.ai.agents.implementation.models.AnnotationType":"OpenAI.AnnotationType","com.azure.ai.agents.implementation.models.ApplyPatchCallOutputStatusParam":"OpenAI.ApplyPatchCallOutputStatusParam","com.azure.ai.agents.implementation.models.ApplyPatchCallStatusParam":"OpenAI.ApplyPatchCallStatusParam","com.azure.ai.agents.implementation.models.ApplyPatchCreateFileOperationParam":"OpenAI.ApplyPatchCreateFileOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchDeleteFileOperationParam":"OpenAI.ApplyPatchDeleteFileOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchOperationParam":"OpenAI.ApplyPatchOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchOperationParamType":"OpenAI.ApplyPatchOperationParamType","com.azure.ai.agents.implementation.models.ApplyPatchUpdateFileOperationParam":"OpenAI.ApplyPatchUpdateFileOperationParam","com.azure.ai.agents.implementation.models.ClickButtonType":"OpenAI.ClickButtonType","com.azure.ai.agents.implementation.models.ClickParam":"OpenAI.ClickParam","com.azure.ai.agents.implementation.models.CodeInterpreterOutputImage":"OpenAI.CodeInterpreterOutputImage","com.azure.ai.agents.implementation.models.CodeInterpreterOutputLogs":"OpenAI.CodeInterpreterOutputLogs","com.azure.ai.agents.implementation.models.ComputerAction":"OpenAI.ComputerAction","com.azure.ai.agents.implementation.models.ComputerActionType":"OpenAI.ComputerActionType","com.azure.ai.agents.implementation.models.ComputerCallSafetyCheckParam":"OpenAI.ComputerCallSafetyCheckParam","com.azure.ai.agents.implementation.models.ComputerScreenshotImage":"OpenAI.ComputerScreenshotImage","com.azure.ai.agents.implementation.models.ContainerFileCitationBody":"OpenAI.ContainerFileCitationBody","com.azure.ai.agents.implementation.models.CoordParam":"OpenAI.CoordParam","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.DoubleClickAction":"OpenAI.DoubleClickAction","com.azure.ai.agents.implementation.models.DragParam":"OpenAI.DragParam","com.azure.ai.agents.implementation.models.EasyInputMessage":"OpenAI.EasyInputMessage","com.azure.ai.agents.implementation.models.EasyInputMessageRole":"OpenAI.EasyInputMessage.role.anonymous","com.azure.ai.agents.implementation.models.EasyInputMessageStatus":"OpenAI.EasyInputMessage.status.anonymous","com.azure.ai.agents.implementation.models.FileCitationBody":"OpenAI.FileCitationBody","com.azure.ai.agents.implementation.models.FilePath":"OpenAI.FilePath","com.azure.ai.agents.implementation.models.FileSearchToolCallResults":"OpenAI.FileSearchToolCallResults","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutput":"OpenAI.FunctionAndCustomToolCallOutput","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputFileContent":"OpenAI.FunctionAndCustomToolCallOutputInputFileContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputImageContent":"OpenAI.FunctionAndCustomToolCallOutputInputImageContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputTextContent":"OpenAI.FunctionAndCustomToolCallOutputInputTextContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputType":"OpenAI.FunctionAndCustomToolCallOutputType","com.azure.ai.agents.implementation.models.FunctionCallItemStatus":"OpenAI.FunctionCallItemStatus","com.azure.ai.agents.implementation.models.FunctionShellActionParam":"OpenAI.FunctionShellActionParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironment":"OpenAI.FunctionShellCallItemParamEnvironment","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentContainerReferenceParam":"OpenAI.FunctionShellCallItemParamEnvironmentContainerReferenceParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentLocalEnvironmentParam":"OpenAI.FunctionShellCallItemParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentType":"OpenAI.FunctionShellCallItemParamEnvironmentType","com.azure.ai.agents.implementation.models.FunctionShellCallItemStatus":"OpenAI.FunctionShellCallItemStatus","com.azure.ai.agents.implementation.models.FunctionShellCallOutputContentParam":"OpenAI.FunctionShellCallOutputContentParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputExitOutcomeParam":"OpenAI.FunctionShellCallOutputExitOutcomeParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputOutcomeParam":"OpenAI.FunctionShellCallOutputOutcomeParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputOutcomeParamType":"OpenAI.FunctionShellCallOutputOutcomeParamType","com.azure.ai.agents.implementation.models.FunctionShellCallOutputTimeoutOutcomeParam":"OpenAI.FunctionShellCallOutputTimeoutOutcomeParam","com.azure.ai.agents.implementation.models.ImageDetail":"OpenAI.ImageDetail","com.azure.ai.agents.implementation.models.ImageDetailLevel":"OpenAI.DetailEnum","com.azure.ai.agents.implementation.models.InputContent":"OpenAI.InputContent","com.azure.ai.agents.implementation.models.InputContentInputFileContent":"OpenAI.InputContentInputFileContent","com.azure.ai.agents.implementation.models.InputContentInputImageContent":"OpenAI.InputContentInputImageContent","com.azure.ai.agents.implementation.models.InputContentInputTextContent":"OpenAI.InputContentInputTextContent","com.azure.ai.agents.implementation.models.InputContentType":"OpenAI.InputContentType","com.azure.ai.agents.implementation.models.InputFileContentParam":"OpenAI.InputFileContentParam","com.azure.ai.agents.implementation.models.InputImageContentParamAutoParam":"OpenAI.InputImageContentParamAutoParam","com.azure.ai.agents.implementation.models.InputItem":"OpenAI.InputItem","com.azure.ai.agents.implementation.models.InputItemApplyPatchToolCallItemParam":"OpenAI.InputItemApplyPatchToolCallItemParam","com.azure.ai.agents.implementation.models.InputItemApplyPatchToolCallOutputItemParam":"OpenAI.InputItemApplyPatchToolCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemCodeInterpreterToolCall":"OpenAI.InputItemCodeInterpreterToolCall","com.azure.ai.agents.implementation.models.InputItemCodeInterpreterToolCallStatus":"OpenAI.InputItemCodeInterpreterToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemCompactionSummaryItemParam":"OpenAI.InputItemCompactionSummaryItemParam","com.azure.ai.agents.implementation.models.InputItemComputerCallOutputItemParam":"OpenAI.InputItemComputerCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemComputerToolCall":"OpenAI.InputItemComputerToolCall","com.azure.ai.agents.implementation.models.InputItemComputerToolCallStatus":"OpenAI.InputItemComputerToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemCustomToolCall":"OpenAI.InputItemCustomToolCall","com.azure.ai.agents.implementation.models.InputItemCustomToolCallOutput":"OpenAI.InputItemCustomToolCallOutput","com.azure.ai.agents.implementation.models.InputItemFileSearchToolCall":"OpenAI.InputItemFileSearchToolCall","com.azure.ai.agents.implementation.models.InputItemFileSearchToolCallStatus":"OpenAI.InputItemFileSearchToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemFunctionCallOutputItemParam":"OpenAI.InputItemFunctionCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionShellCallItemParam":"OpenAI.InputItemFunctionShellCallItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionShellCallOutputItemParam":"OpenAI.InputItemFunctionShellCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionToolCall":"OpenAI.InputItemFunctionToolCall","com.azure.ai.agents.implementation.models.InputItemFunctionToolCallStatus":"OpenAI.InputItemFunctionToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemImageGenToolCall":"OpenAI.InputItemImageGenToolCall","com.azure.ai.agents.implementation.models.InputItemImageGenToolCallStatus":"OpenAI.InputItemImageGenToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCall":"OpenAI.InputItemLocalShellToolCall","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallOutput":"OpenAI.InputItemLocalShellToolCallOutput","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallOutputStatus":"OpenAI.InputItemLocalShellToolCallOutput.status.anonymous","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallStatus":"OpenAI.InputItemLocalShellToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemMcpApprovalRequest":"OpenAI.InputItemMcpApprovalRequest","com.azure.ai.agents.implementation.models.InputItemMcpApprovalResponse":"OpenAI.InputItemMcpApprovalResponse","com.azure.ai.agents.implementation.models.InputItemMcpListTools":"OpenAI.InputItemMcpListTools","com.azure.ai.agents.implementation.models.InputItemMcpToolCall":"OpenAI.InputItemMcpToolCall","com.azure.ai.agents.implementation.models.InputItemOutputMessage":"OpenAI.InputItemOutputMessage","com.azure.ai.agents.implementation.models.InputItemOutputMessageStatus":"OpenAI.InputItemOutputMessage.status.anonymous","com.azure.ai.agents.implementation.models.InputItemReasoningItem":"OpenAI.InputItemReasoningItem","com.azure.ai.agents.implementation.models.InputItemReasoningItemStatus":"OpenAI.InputItemReasoningItem.status.anonymous","com.azure.ai.agents.implementation.models.InputItemType":"OpenAI.InputItemType","com.azure.ai.agents.implementation.models.InputItemWebSearchToolCall":"OpenAI.InputItemWebSearchToolCall","com.azure.ai.agents.implementation.models.InputItemWebSearchToolCallStatus":"OpenAI.InputItemWebSearchToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputTextContentParam":"OpenAI.InputTextContentParam","com.azure.ai.agents.implementation.models.ItemReferenceParam":"OpenAI.ItemReferenceParam","com.azure.ai.agents.implementation.models.KeyPressAction":"OpenAI.KeyPressAction","com.azure.ai.agents.implementation.models.LocalShellExecAction":"OpenAI.LocalShellExecAction","com.azure.ai.agents.implementation.models.LogProb":"OpenAI.LogProb","com.azure.ai.agents.implementation.models.McpListToolsTool":"OpenAI.MCPListToolsTool","com.azure.ai.agents.implementation.models.McpListToolsToolAnnotations":"OpenAI.MCPListToolsToolAnnotations","com.azure.ai.agents.implementation.models.McpListToolsToolInputSchema":"OpenAI.MCPListToolsToolInputSchema","com.azure.ai.agents.implementation.models.McpToolCallStatus":"OpenAI.MCPToolCallStatus","com.azure.ai.agents.implementation.models.MessageContent":"OpenAI.MessageContent","com.azure.ai.agents.implementation.models.MessageContentType":"OpenAI.MessageContentType","com.azure.ai.agents.implementation.models.MoveParam":"OpenAI.MoveParam","com.azure.ai.agents.implementation.models.OutputMessageContent":"OpenAI.OutputMessageContent","com.azure.ai.agents.implementation.models.OutputMessageContentOutputTextContent":"OpenAI.OutputMessageContentOutputTextContent","com.azure.ai.agents.implementation.models.OutputMessageContentRefusalContent":"OpenAI.OutputMessageContentRefusalContent","com.azure.ai.agents.implementation.models.OutputMessageContentType":"OpenAI.OutputMessageContentType","com.azure.ai.agents.implementation.models.ReasoningTextContent":"OpenAI.ReasoningTextContent","com.azure.ai.agents.implementation.models.ScreenshotParam":"OpenAI.ScreenshotParam","com.azure.ai.agents.implementation.models.ScrollParam":"OpenAI.ScrollParam","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SummaryTextContent":"OpenAI.SummaryTextContent","com.azure.ai.agents.implementation.models.TopLogProb":"OpenAI.TopLogProb","com.azure.ai.agents.implementation.models.TypeParam":"OpenAI.TypeParam","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.implementation.models.UrlCitationBody":"OpenAI.UrlCitationBody","com.azure.ai.agents.implementation.models.VectorStoreFileAttributes":"OpenAI.VectorStoreFileAttributes","com.azure.ai.agents.implementation.models.WaitParam":"OpenAI.WaitParam","com.azure.ai.agents.implementation.models.WebSearchActionFind":"OpenAI.WebSearchActionFind","com.azure.ai.agents.implementation.models.WebSearchActionOpenPage":"OpenAI.WebSearchActionOpenPage","com.azure.ai.agents.implementation.models.WebSearchActionSearch":"OpenAI.WebSearchActionSearch","com.azure.ai.agents.implementation.models.WebSearchActionSearchSources":"OpenAI.WebSearchActionSearchSources","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/Annotation.java","src/main/java/com/azure/ai/agents/implementation/models/AnnotationType.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallOutputStatusParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallStatusParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCreateFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchDeleteFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParamType.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchUpdateFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ClickButtonType.java","src/main/java/com/azure/ai/agents/implementation/models/ClickParam.java","src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputImage.java","src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputLogs.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerAction.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerActionType.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerCallSafetyCheckParam.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerScreenshotImage.java","src/main/java/com/azure/ai/agents/implementation/models/ContainerFileCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/CoordParam.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/DoubleClickAction.java","src/main/java/com/azure/ai/agents/implementation/models/DragParam.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessage.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageRole.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FileCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/FilePath.java","src/main/java/com/azure/ai/agents/implementation/models/FileSearchToolCallResults.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputFileContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputImageContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionCallItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellActionParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironment.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentContainerReferenceParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentLocalEnvironmentParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputExitOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParamType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputTimeoutOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/ImageDetail.java","src/main/java/com/azure/ai/agents/implementation/models/ImageDetailLevel.java","src/main/java/com/azure/ai/agents/implementation/models/InputContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputFileContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputImageContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentType.java","src/main/java/com/azure/ai/agents/implementation/models/InputFileContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputImageContentParamAutoParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItem.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCompactionSummaryItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutputStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalRequest.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalResponse.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpListTools.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessage.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessageStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItem.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemType.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputTextContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/ItemReferenceParam.java","src/main/java/com/azure/ai/agents/implementation/models/KeyPressAction.java","src/main/java/com/azure/ai/agents/implementation/models/LocalShellExecAction.java","src/main/java/com/azure/ai/agents/implementation/models/LogProb.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsTool.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolAnnotations.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolInputSchema.java","src/main/java/com/azure/ai/agents/implementation/models/McpToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/MessageContent.java","src/main/java/com/azure/ai/agents/implementation/models/MessageContentType.java","src/main/java/com/azure/ai/agents/implementation/models/MoveParam.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentOutputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentRefusalContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentType.java","src/main/java/com/azure/ai/agents/implementation/models/ReasoningTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/ScreenshotParam.java","src/main/java/com/azure/ai/agents/implementation/models/ScrollParam.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SummaryTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/TopLogProb.java","src/main/java/com/azure/ai/agents/implementation/models/TypeParam.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UrlCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/VectorStoreFileAttributes.java","src/main/java/com/azure/ai/agents/implementation/models/WaitParam.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionFind.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionOpenPage.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearch.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearchSources.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index 21694a80e2e6..bce17ba503d8 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: 76ab5dc55ed6845c0920c75d5cb6e494208b7d23 +commit: f36afb8972025ddf47c119c91cda5a9c686126e9 repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents From fdd06d1b0a0b52a914533d7015bb57765de66ad8 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Mon, 18 May 2026 18:27:15 -0700 Subject: [PATCH 19/74] fix async sample --- .../java/com/azure/ai/projects/ModelsAsyncSample.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsAsyncSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsAsyncSample.java index fb35c7be39b2..f6bd566fe6d0 100644 --- a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsAsyncSample.java +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsAsyncSample.java @@ -99,8 +99,9 @@ public static Mono createModelVersionAsync() { .setDescription("Model version created by the Azure AI Projects Java SDK sample."); return MODELS_ASYNC_CLIENT.createModelVersionAsync(modelName, modelVersion, modelVersionDefinition) - .doOnSuccess(unused -> System.out.printf("Started model version creation: %s/%s%n", modelName, - modelVersion)); + .doOnSuccess(response -> System.out.printf("Started model version creation: %s/%s%n", modelName, + modelVersion)) + .then(); // END:com.azure.ai.projects.ModelsAsyncSample.createModelVersionAsync } From ab49517ffbc52807c1c7acf9b431bf48711d89ac Mon Sep 17 00:00:00 2001 From: Kaylie <50653231+kaylieee@users.noreply.github.com> Date: Wed, 20 May 2026 23:31:49 -0700 Subject: [PATCH 20/74] Move evaluator generation ops (#49238) --- .../ai/projects/AIProjectClientBuilder.java | 22 - .../DataGenerationJobsAsyncClient.java | 20 +- .../ai/projects/DataGenerationJobsClient.java | 20 +- .../projects/EvaluationRulesAsyncClient.java | 4 +- .../ai/projects/EvaluationRulesClient.java | 4 +- .../EvaluatorGenerationJobsAsyncClient.java | 992 ---------- .../EvaluatorGenerationJobsClient.java | 955 --------- .../ai/projects/EvaluatorsAsyncClient.java | 954 ++++++++- .../azure/ai/projects/EvaluatorsClient.java | 921 ++++++++- .../ai/projects/InsightsAsyncClient.java | 12 +- .../com/azure/ai/projects/InsightsClient.java | 12 +- .../ai/projects/RoutinesAsyncClient.java | 32 +- .../com/azure/ai/projects/RoutinesClient.java | 32 +- .../implementation/AIProjectClientImpl.java | 15 - .../DataGenerationJobsImpl.java | 48 +- .../implementation/EvaluationRulesImpl.java | 8 +- .../EvaluatorGenerationJobsImpl.java | 1761 ----------------- .../implementation/EvaluatorsImpl.java | 1672 +++++++++++++++- .../projects/implementation/InsightsImpl.java | 40 +- .../projects/implementation/RoutinesImpl.java | 80 +- .../projects/models/AzureAIAgentTarget.java | 20 +- .../projects/models/CodeInterpreterTool.java | 20 +- .../ai/projects/models/ComparisonFilter.java | 28 +- .../ai/projects/models/CompoundFilter.java | 24 +- .../models/ComputerUsePreviewTool.java | 28 +- .../ContainerNetworkPolicyAllowlistParam.java | 20 +- ...ntainerNetworkPolicyDomainSecretParam.java | 28 +- .../models/CustomGrammarFormatParam.java | 24 +- .../ai/projects/models/CustomToolParam.java | 20 +- .../azure/ai/projects/models/Dimension.java | 57 +- .../ai/projects/models/FileSearchTool.java | 20 +- .../models/FoundryFeaturesOptInKeys.java | 5 - ...ramEnvironmentContainerReferenceParam.java | 20 +- .../ai/projects/models/FunctionTool.java | 28 +- .../projects/models/HybridSearchOptions.java | 24 +- .../ai/projects/models/InlineSkillParam.java | 28 +- .../models/InlineSkillSourceParam.java | 20 +- .../ai/projects/models/LocalSkillParam.java | 28 +- .../com/azure/ai/projects/models/MCPTool.java | 20 +- .../RubricBasedEvaluatorDefinition.java | 6 +- .../projects/models/SkillReferenceParam.java | 20 +- .../META-INF/azure-ai-projects_metadata.json | 2 +- sdk/ai/azure-ai-projects/tsp-location.yaml | 2 +- 43 files changed, 3930 insertions(+), 4166 deletions(-) delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java index 7d21c6fa5a68..289459572f6d 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java @@ -60,7 +60,6 @@ EvaluationRulesClient.class, EvaluationTaxonomiesClient.class, EvaluatorsClient.class, - EvaluatorGenerationJobsClient.class, InsightsClient.class, SchedulesClient.class, RoutinesClient.class, @@ -75,7 +74,6 @@ EvaluationRulesAsyncClient.class, EvaluationTaxonomiesAsyncClient.class, EvaluatorsAsyncClient.class, - EvaluatorGenerationJobsAsyncClient.class, InsightsAsyncClient.class, SchedulesAsyncClient.class, RoutinesAsyncClient.class, @@ -677,16 +675,6 @@ public ModelsClient buildModelsClient() { return new ModelsClient(buildInnerClient().getModels()); } - /** - * Builds an instance of EvaluatorGenerationJobsAsyncClient class. - * - * @return an instance of EvaluatorGenerationJobsAsyncClient. - */ - @Generated - public EvaluatorGenerationJobsAsyncClient buildEvaluatorGenerationJobsAsyncClient() { - return new EvaluatorGenerationJobsAsyncClient(buildInnerClient().getEvaluatorGenerationJobs()); - } - /** * Builds an instance of RoutinesAsyncClient class. * @@ -707,16 +695,6 @@ public DataGenerationJobsAsyncClient buildDataGenerationJobsAsyncClient() { return new DataGenerationJobsAsyncClient(buildInnerClient().getDataGenerationJobs()); } - /** - * Builds an instance of EvaluatorGenerationJobsClient class. - * - * @return an instance of EvaluatorGenerationJobsClient. - */ - @Generated - public EvaluatorGenerationJobsClient buildEvaluatorGenerationJobsClient() { - return new EvaluatorGenerationJobsClient(buildInnerClient().getEvaluatorGenerationJobs()); - } - /** * Builds an instance of RoutinesClient class. * diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java index 50dab1634778..413c86636add 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java @@ -61,8 +61,8 @@ public final class DataGenerationJobsAsyncClient { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -183,8 +183,8 @@ public Mono> getGenerationJobWithResponse(String jobId, Req * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -275,8 +275,8 @@ public PagedFlux listGenerationJobs(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * Operation-IdStringNoClient-generated unique ID for idempotent retries. When * absent, the server creates the job unconditionally. * @@ -438,8 +438,8 @@ public Mono> createGenerationJobWithResponse(BinaryData job * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -533,8 +533,8 @@ public Mono> cancelGenerationJobWithResponse(String jobId, * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java index 7840fac2689c..d27057c09662 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java @@ -56,8 +56,8 @@ public final class DataGenerationJobsClient { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -177,8 +177,8 @@ public Response getGenerationJobWithResponse(String jobId, RequestOp * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -269,8 +269,8 @@ public PagedIterable listGenerationJobs(RequestOptions requestOption * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * Operation-IdStringNoClient-generated unique ID for idempotent retries. When * absent, the server creates the job unconditionally. * @@ -432,8 +432,8 @@ public Response createGenerationJobWithResponse(BinaryData job, Requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -527,8 +527,8 @@ public Response cancelGenerationJobWithResponse(String jobId, Reques * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java index 8cced7de37f4..4966585afb82 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java @@ -111,8 +111,8 @@ public Mono> deleteEvaluationRuleWithResponse(String id, RequestO * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java index 9be8ad6e1445..828b6957105a 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java @@ -105,8 +105,8 @@ public Response deleteEvaluationRuleWithResponse(String id, RequestOptions * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java deleted file mode 100644 index b6c13a7852e8..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java +++ /dev/null @@ -1,992 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects; - -import com.azure.ai.agents.models.PageOrder; -import com.azure.ai.projects.implementation.EvaluatorGenerationJobsImpl; -import com.azure.ai.projects.models.EvaluatorCategory; -import com.azure.ai.projects.models.EvaluatorGenerationJob; -import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceClient; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.exception.ClientAuthenticationException; -import com.azure.core.exception.HttpResponseException; -import com.azure.core.exception.ResourceModifiedException; -import com.azure.core.exception.ResourceNotFoundException; -import com.azure.core.http.HttpHeaderName; -import com.azure.core.http.rest.PagedFlux; -import com.azure.core.http.rest.PagedResponse; -import com.azure.core.http.rest.PagedResponseBase; -import com.azure.core.http.rest.RequestOptions; -import com.azure.core.http.rest.Response; -import com.azure.core.util.BinaryData; -import com.azure.core.util.FluxUtil; -import java.util.stream.Collectors; -import reactor.core.publisher.Flux; -import reactor.core.publisher.Mono; - -/** - * Initializes a new instance of the asynchronous AIProjectClient type. - */ -@ServiceClient(builder = AIProjectClientBuilder.class, isAsync = true) -public final class EvaluatorGenerationJobsAsyncClient { - - @Generated - private final EvaluatorGenerationJobsImpl serviceClient; - - /** - * Initializes an instance of EvaluatorGenerationJobsAsyncClient class. - * - * @param serviceClient the service client implementation. - */ - @Generated - EvaluatorGenerationJobsAsyncClient(EvaluatorGenerationJobsImpl serviceClient) { - this.serviceClient = serviceClient; - } - - /** - * Creates an evaluator generation job. - * - * Creates an evaluator generation job. The service generates rubric-based evaluator - * definitions from the provided source materials asynchronously. - *

Header Parameters

- * - * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When - * absent, the server creates the job unconditionally.
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param job The job to create. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials along with {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { - return this.serviceClient.createGenerationJobWithResponseAsync(job, requestOptions); - } - - /** - * Get info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID along with {@link Response} on successful completion of - * {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return this.serviceClient.getGenerationJobWithResponseAsync(jobId, requestOptions); - } - - /** - * Returns a list of evaluator generation jobs. - *

Query Parameters

- * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: - * "quality", "safety", "agents".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listGenerationJobs(RequestOptions requestOptions) { - return this.serviceClient.listGenerationJobsAsync(requestOptions); - } - - /** - * Cancels an evaluator generation job. - * - * Cancels an evaluator generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job to cancel. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials along with {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return this.serviceClient.cancelGenerationJobWithResponseAsync(jobId, requestOptions); - } - - /** - * Deletes an evaluator generation job by its ID. Deletes the job record only; - * the generated evaluator (if any) is preserved. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - * - * @param jobId The ID of the job to delete. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return this.serviceClient.deleteGenerationJobWithResponseAsync(jobId, requestOptions); - } - - /** - * Creates an evaluator generation job. - * - * Creates an evaluator generation job. The service generates rubric-based evaluator - * definitions from the provided source materials asynchronously. - * - * @param job The job to create. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job - * unconditionally. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createGenerationJob(EvaluatorGenerationJob job, - FoundryFeaturesOptInKeys foundryFeatures, String operationId) { - // Generated convenience method for createGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (operationId != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); - } - return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); - } - - /** - * Creates an evaluator generation job. - * - * Creates an evaluator generation job. The service generates rubric-based evaluator - * definitions from the provided source materials asynchronously. - * - * @param job The job to create. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createGenerationJob(EvaluatorGenerationJob job) { - // Generated convenience method for createGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); - } - - /** - * Get info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - * - * @param jobId The ID of the job. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for getGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return getGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); - } - - /** - * Get info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - * - * @param jobId The ID of the job. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getGenerationJob(String jobId) { - // Generated convenience method for getGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return getGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); - } - - /** - * Returns a list of evaluator generation jobs. - * - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the - * default is 20. - * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` - * for descending order. - * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list. - * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list. - * @param category Filter evaluator generation jobs by category. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, - PageOrder order, String after, String before, EvaluatorCategory category) { - // Generated convenience method for listGenerationJobs - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (limit != null) { - requestOptions.addQueryParam("limit", String.valueOf(limit), false); - } - if (order != null) { - requestOptions.addQueryParam("order", order.toString(), false); - } - if (after != null) { - requestOptions.addQueryParam("after", after, false); - } - if (before != null) { - requestOptions.addQueryParam("before", before, false); - } - if (category != null) { - requestOptions.addQueryParam("category", category.toString(), false); - } - PagedFlux pagedFluxResponse = listGenerationJobs(requestOptions); - return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { - Flux> flux = (continuationTokenParam == null) - ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationTokenParam).take(1); - return flux - .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), - pagedResponse.getStatusCode(), pagedResponse.getHeaders(), - pagedResponse.getValue() - .stream() - .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)) - .collect(Collectors.toList()), - pagedResponse.getContinuationToken(), null)); - }); - } - - /** - * Returns a list of evaluator generation jobs. - * - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listGenerationJobs() { - // Generated convenience method for listGenerationJobs - RequestOptions requestOptions = new RequestOptions(); - PagedFlux pagedFluxResponse = listGenerationJobs(requestOptions); - return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { - Flux> flux = (continuationTokenParam == null) - ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationTokenParam).take(1); - return flux - .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), - pagedResponse.getStatusCode(), pagedResponse.getHeaders(), - pagedResponse.getValue() - .stream() - .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)) - .collect(Collectors.toList()), - pagedResponse.getContinuationToken(), null)); - }); - } - - /** - * Cancels an evaluator generation job. - * - * Cancels an evaluator generation job by its ID. - * - * @param jobId The ID of the job to cancel. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono cancelGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for cancelGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return cancelGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); - } - - /** - * Cancels an evaluator generation job. - * - * Cancels an evaluator generation job by its ID. - * - * @param jobId The ID of the job to cancel. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono cancelGenerationJob(String jobId) { - // Generated convenience method for cancelGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return cancelGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); - } - - /** - * Deletes an evaluator generation job by its ID. Deletes the job record only; - * the generated evaluator (if any) is preserved. - * - * @param jobId The ID of the job to delete. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for deleteGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return deleteGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); - } - - /** - * Deletes an evaluator generation job by its ID. Deletes the job record only; - * the generated evaluator (if any) is preserved. - * - * @param jobId The ID of the job to delete. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteGenerationJob(String jobId) { - // Generated convenience method for deleteGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return deleteGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java deleted file mode 100644 index 984681ad3e92..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java +++ /dev/null @@ -1,955 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects; - -import com.azure.ai.agents.models.PageOrder; -import com.azure.ai.projects.implementation.EvaluatorGenerationJobsImpl; -import com.azure.ai.projects.models.EvaluatorCategory; -import com.azure.ai.projects.models.EvaluatorGenerationJob; -import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceClient; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.exception.ClientAuthenticationException; -import com.azure.core.exception.HttpResponseException; -import com.azure.core.exception.ResourceModifiedException; -import com.azure.core.exception.ResourceNotFoundException; -import com.azure.core.http.HttpHeaderName; -import com.azure.core.http.rest.PagedIterable; -import com.azure.core.http.rest.RequestOptions; -import com.azure.core.http.rest.Response; -import com.azure.core.util.BinaryData; - -/** - * Initializes a new instance of the synchronous AIProjectClient type. - */ -@ServiceClient(builder = AIProjectClientBuilder.class) -public final class EvaluatorGenerationJobsClient { - - @Generated - private final EvaluatorGenerationJobsImpl serviceClient; - - /** - * Initializes an instance of EvaluatorGenerationJobsClient class. - * - * @param serviceClient the service client implementation. - */ - @Generated - EvaluatorGenerationJobsClient(EvaluatorGenerationJobsImpl serviceClient) { - this.serviceClient = serviceClient; - } - - /** - * Creates an evaluator generation job. - * - * Creates an evaluator generation job. The service generates rubric-based evaluator - * definitions from the provided source materials asynchronously. - *

Header Parameters

- * - * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When - * absent, the server creates the job unconditionally.
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param job The job to create. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials along with {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { - return this.serviceClient.createGenerationJobWithResponse(job, requestOptions); - } - - /** - * Get info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID along with {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return this.serviceClient.getGenerationJobWithResponse(jobId, requestOptions); - } - - /** - * Returns a list of evaluator generation jobs. - *

Query Parameters

- * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: - * "quality", "safety", "agents".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listGenerationJobs(RequestOptions requestOptions) { - return this.serviceClient.listGenerationJobs(requestOptions); - } - - /** - * Cancels an evaluator generation job. - * - * Cancels an evaluator generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job to cancel. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials along with {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return this.serviceClient.cancelGenerationJobWithResponse(jobId, requestOptions); - } - - /** - * Deletes an evaluator generation job by its ID. Deletes the job record only; - * the generated evaluator (if any) is preserved. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - * - * @param jobId The ID of the job to delete. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return this.serviceClient.deleteGenerationJobWithResponse(jobId, requestOptions); - } - - /** - * Creates an evaluator generation job. - * - * Creates an evaluator generation job. The service generates rubric-based evaluator - * definitions from the provided source materials asynchronously. - * - * @param job The job to create. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job - * unconditionally. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public EvaluatorGenerationJob createGenerationJob(EvaluatorGenerationJob job, - FoundryFeaturesOptInKeys foundryFeatures, String operationId) { - // Generated convenience method for createGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (operationId != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); - } - return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue() - .toObject(EvaluatorGenerationJob.class); - } - - /** - * Creates an evaluator generation job. - * - * Creates an evaluator generation job. The service generates rubric-based evaluator - * definitions from the provided source materials asynchronously. - * - * @param job The job to create. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public EvaluatorGenerationJob createGenerationJob(EvaluatorGenerationJob job) { - // Generated convenience method for createGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return createGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue() - .toObject(EvaluatorGenerationJob.class); - } - - /** - * Get info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - * - * @param jobId The ID of the job. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public EvaluatorGenerationJob getGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for getGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return getGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(EvaluatorGenerationJob.class); - } - - /** - * Get info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - * - * @param jobId The ID of the job. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public EvaluatorGenerationJob getGenerationJob(String jobId) { - // Generated convenience method for getGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return getGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(EvaluatorGenerationJob.class); - } - - /** - * Returns a list of evaluator generation jobs. - * - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the - * default is 20. - * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` - * for descending order. - * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list. - * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list. - * @param category Filter evaluator generation jobs by category. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, - Integer limit, PageOrder order, String after, String before, EvaluatorCategory category) { - // Generated convenience method for listGenerationJobs - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (limit != null) { - requestOptions.addQueryParam("limit", String.valueOf(limit), false); - } - if (order != null) { - requestOptions.addQueryParam("order", order.toString(), false); - } - if (after != null) { - requestOptions.addQueryParam("after", after, false); - } - if (before != null) { - requestOptions.addQueryParam("before", before, false); - } - if (category != null) { - requestOptions.addQueryParam("category", category.toString(), false); - } - return serviceClient.listGenerationJobs(requestOptions) - .mapPage(bodyItemValue -> bodyItemValue.toObject(EvaluatorGenerationJob.class)); - } - - /** - * Returns a list of evaluator generation jobs. - * - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listGenerationJobs() { - // Generated convenience method for listGenerationJobs - RequestOptions requestOptions = new RequestOptions(); - return serviceClient.listGenerationJobs(requestOptions) - .mapPage(bodyItemValue -> bodyItemValue.toObject(EvaluatorGenerationJob.class)); - } - - /** - * Cancels an evaluator generation job. - * - * Cancels an evaluator generation job by its ID. - * - * @param jobId The ID of the job to cancel. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public EvaluatorGenerationJob cancelGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for cancelGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return cancelGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(EvaluatorGenerationJob.class); - } - - /** - * Cancels an evaluator generation job. - * - * Cancels an evaluator generation job by its ID. - * - * @param jobId The ID of the job to cancel. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public EvaluatorGenerationJob cancelGenerationJob(String jobId) { - // Generated convenience method for cancelGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - return cancelGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(EvaluatorGenerationJob.class); - } - - /** - * Deletes an evaluator generation job by its ID. Deletes the job record only; - * the generated evaluator (if any) is preserved. - * - * @param jobId The ID of the job to delete. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for deleteGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - deleteGenerationJobWithResponse(jobId, requestOptions).getValue(); - } - - /** - * Deletes an evaluator generation job by its ID. Deletes the job record only; - * the generated evaluator (if any) is preserved. - * - * @param jobId The ID of the job to delete. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteGenerationJob(String jobId) { - // Generated convenience method for deleteGenerationJobWithResponse - RequestOptions requestOptions = new RequestOptions(); - deleteGenerationJobWithResponse(jobId, requestOptions).getValue(); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java index fb3601fcefff..44db27a91418 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java @@ -3,9 +3,11 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.ai.projects; +import com.azure.ai.agents.models.PageOrder; import com.azure.ai.projects.implementation.EvaluatorsImpl; import com.azure.ai.projects.models.DatasetCredential; import com.azure.ai.projects.models.EvaluatorCredentialRequest; +import com.azure.ai.projects.models.EvaluatorGenerationJob; import com.azure.ai.projects.models.EvaluatorVersion; import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; import com.azure.ai.projects.models.ListVersionsRequestType; @@ -809,8 +811,8 @@ public Mono updateEvaluatorVersion(String name, String version * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -873,8 +875,8 @@ public Mono> startPendingUploadWithResponse(String name, St * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -1033,4 +1035,948 @@ public Mono getCredentials(String name, String version, .flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(DatasetCredential.class)); } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createEvaluatorGenerationJobWithResponse(BinaryData job, + RequestOptions requestOptions) { + return this.serviceClient.createEvaluatorGenerationJobWithResponseAsync(job, requestOptions); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getEvaluatorGenerationJobWithResponse(String jobId, + RequestOptions requestOptions) { + return this.serviceClient.getEvaluatorGenerationJobWithResponseAsync(jobId, requestOptions); + } + + /** + * Returns a list of evaluator generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listEvaluatorGenerationJobs(RequestOptions requestOptions) { + return this.serviceClient.listEvaluatorGenerationJobsAsync(requestOptions); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cancelEvaluatorGenerationJobWithResponse(String jobId, + RequestOptions requestOptions) { + return this.serviceClient.cancelEvaluatorGenerationJobWithResponseAsync(jobId, requestOptions); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteEvaluatorGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.deleteEvaluatorGenerationJobWithResponseAsync(jobId, requestOptions); + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + * + * @param job The job to create. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job + * unconditionally. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createEvaluatorGenerationJob(EvaluatorGenerationJob job, + FoundryFeaturesOptInKeys foundryFeatures, String operationId) { + // Generated convenience method for createEvaluatorGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (operationId != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); + } + return createEvaluatorGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + * + * @param job The job to create. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createEvaluatorGenerationJob(EvaluatorGenerationJob job) { + // Generated convenience method for createEvaluatorGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createEvaluatorGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + * + * @param jobId The ID of the job. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getEvaluatorGenerationJob(String jobId, + FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getEvaluatorGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getEvaluatorGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + * + * @param jobId The ID of the job. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getEvaluatorGenerationJob(String jobId) { + // Generated convenience method for getEvaluatorGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getEvaluatorGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Returns a list of evaluator generation jobs. + * + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listEvaluatorGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, + Integer limit, PageOrder order, String after, String before) { + // Generated convenience method for listEvaluatorGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + PagedFlux pagedFluxResponse = listEvaluatorGenerationJobs(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux + .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Returns a list of evaluator generation jobs. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listEvaluatorGenerationJobs() { + // Generated convenience method for listEvaluatorGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + PagedFlux pagedFluxResponse = listEvaluatorGenerationJobs(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux + .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cancelEvaluatorGenerationJob(String jobId, + FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for cancelEvaluatorGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return cancelEvaluatorGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cancelEvaluatorGenerationJob(String jobId) { + // Generated convenience method for cancelEvaluatorGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cancelEvaluatorGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + * + * @param jobId The ID of the job to delete. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteEvaluatorGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for deleteEvaluatorGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return deleteEvaluatorGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + * + * @param jobId The ID of the job to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteEvaluatorGenerationJob(String jobId) { + // Generated convenience method for deleteEvaluatorGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return deleteEvaluatorGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java index 319c85549242..b6455191950b 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java @@ -3,9 +3,11 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.ai.projects; +import com.azure.ai.agents.models.PageOrder; import com.azure.ai.projects.implementation.EvaluatorsImpl; import com.azure.ai.projects.models.DatasetCredential; import com.azure.ai.projects.models.EvaluatorCredentialRequest; +import com.azure.ai.projects.models.EvaluatorGenerationJob; import com.azure.ai.projects.models.EvaluatorVersion; import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; import com.azure.ai.projects.models.ListVersionsRequestType; @@ -755,8 +757,8 @@ public EvaluatorVersion updateEvaluatorVersion(String name, String version, Eval * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -817,8 +819,8 @@ public Response startPendingUploadWithResponse(String name, String v * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -972,4 +974,915 @@ public DatasetCredential getCredentials(String name, String version, EvaluatorCr .getValue() .toObject(DatasetCredential.class); } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createEvaluatorGenerationJobWithResponse(BinaryData job, + RequestOptions requestOptions) { + return this.serviceClient.createEvaluatorGenerationJobWithResponse(job, requestOptions); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getEvaluatorGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.getEvaluatorGenerationJobWithResponse(jobId, requestOptions); + } + + /** + * Returns a list of evaluator generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listEvaluatorGenerationJobs(RequestOptions requestOptions) { + return this.serviceClient.listEvaluatorGenerationJobs(requestOptions); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cancelEvaluatorGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.cancelEvaluatorGenerationJobWithResponse(jobId, requestOptions); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteEvaluatorGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.deleteEvaluatorGenerationJobWithResponse(jobId, requestOptions); + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + * + * @param job The job to create. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job + * unconditionally. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public EvaluatorGenerationJob createEvaluatorGenerationJob(EvaluatorGenerationJob job, + FoundryFeaturesOptInKeys foundryFeatures, String operationId) { + // Generated convenience method for createEvaluatorGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (operationId != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); + } + return createEvaluatorGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue() + .toObject(EvaluatorGenerationJob.class); + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + * + * @param job The job to create. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public EvaluatorGenerationJob createEvaluatorGenerationJob(EvaluatorGenerationJob job) { + // Generated convenience method for createEvaluatorGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createEvaluatorGenerationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue() + .toObject(EvaluatorGenerationJob.class); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + * + * @param jobId The ID of the job. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public EvaluatorGenerationJob getEvaluatorGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getEvaluatorGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getEvaluatorGenerationJobWithResponse(jobId, requestOptions).getValue() + .toObject(EvaluatorGenerationJob.class); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + * + * @param jobId The ID of the job. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public EvaluatorGenerationJob getEvaluatorGenerationJob(String jobId) { + // Generated convenience method for getEvaluatorGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getEvaluatorGenerationJobWithResponse(jobId, requestOptions).getValue() + .toObject(EvaluatorGenerationJob.class); + } + + /** + * Returns a list of evaluator generation jobs. + * + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listEvaluatorGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, + Integer limit, PageOrder order, String after, String before) { + // Generated convenience method for listEvaluatorGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + return serviceClient.listEvaluatorGenerationJobs(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Returns a list of evaluator generation jobs. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listEvaluatorGenerationJobs() { + // Generated convenience method for listEvaluatorGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + return serviceClient.listEvaluatorGenerationJobs(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(EvaluatorGenerationJob.class)); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public EvaluatorGenerationJob cancelEvaluatorGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for cancelEvaluatorGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return cancelEvaluatorGenerationJobWithResponse(jobId, requestOptions).getValue() + .toObject(EvaluatorGenerationJob.class); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + * + * @param jobId The ID of the job to cancel. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public EvaluatorGenerationJob cancelEvaluatorGenerationJob(String jobId) { + // Generated convenience method for cancelEvaluatorGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cancelEvaluatorGenerationJobWithResponse(jobId, requestOptions).getValue() + .toObject(EvaluatorGenerationJob.class); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + * + * @param jobId The ID of the job to delete. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteEvaluatorGenerationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for deleteEvaluatorGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + deleteEvaluatorGenerationJobWithResponse(jobId, requestOptions).getValue(); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + * + * @param jobId The ID of the job to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteEvaluatorGenerationJob(String jobId) { + // Generated convenience method for deleteEvaluatorGenerationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + deleteEvaluatorGenerationJobWithResponse(jobId, requestOptions).getValue(); + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java index b13854e1452f..10e6ba27a93c 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java @@ -55,8 +55,8 @@ public final class InsightsAsyncClient { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -138,8 +138,8 @@ public Mono> generateInsightWithResponse(BinaryData insight * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -200,8 +200,8 @@ public Mono> getInsightWithResponse(String id, RequestOptio * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java index 970636a976f9..5aed4cf313c6 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java @@ -49,8 +49,8 @@ public final class InsightsClient { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -131,8 +131,8 @@ public Response generateInsightWithResponse(BinaryData insight, Requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -193,8 +193,8 @@ public Response getInsightWithResponse(String id, RequestOptions req * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java index 16859d35089e..c3e898c944e6 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java @@ -63,8 +63,8 @@ public final class RoutinesAsyncClient { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -135,8 +135,8 @@ public Mono> createOrUpdateRoutineWithResponse(String routi * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -185,8 +185,8 @@ public Mono> getRoutineWithResponse(String routineName, Req * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -235,8 +235,8 @@ public Mono> enableRoutineWithResponse(String routineName, * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -305,8 +305,8 @@ public Mono> disableRoutineWithResponse(String routineName, * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -353,8 +353,8 @@ public PagedFlux listRoutines(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -403,8 +403,8 @@ public Mono> deleteRoutineWithResponse(String routineName, Reques * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -465,8 +465,8 @@ public PagedFlux listRoutineRuns(String routineName, RequestOptions * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java index 1690b0d7d4e7..7f5bab26d066 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java @@ -57,8 +57,8 @@ public final class RoutinesClient { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -128,8 +128,8 @@ public Response createOrUpdateRoutineWithResponse(String routineName * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -177,8 +177,8 @@ public Response getRoutineWithResponse(String routineName, RequestOp * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -226,8 +226,8 @@ public Response enableRoutineWithResponse(String routineName, Reques * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -295,8 +295,8 @@ public Response disableRoutineWithResponse(String routineName, Reque * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -343,8 +343,8 @@ public PagedIterable listRoutines(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -393,8 +393,8 @@ public Response deleteRoutineWithResponse(String routineName, RequestOptio * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -455,8 +455,8 @@ public PagedIterable listRoutineRuns(String routineName, RequestOpti * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java index 9340100e02f1..53e9e888daba 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java @@ -206,20 +206,6 @@ public EvaluatorsImpl getEvaluators() { return this.evaluators; } - /** - * The EvaluatorGenerationJobsImpl object to access its operations. - */ - private final EvaluatorGenerationJobsImpl evaluatorGenerationJobs; - - /** - * Gets the EvaluatorGenerationJobsImpl object to access its operations. - * - * @return the EvaluatorGenerationJobsImpl object. - */ - public EvaluatorGenerationJobsImpl getEvaluatorGenerationJobs() { - return this.evaluatorGenerationJobs; - } - /** * The InsightsImpl object to access its operations. */ @@ -347,7 +333,6 @@ public AIProjectClientImpl(HttpPipeline httpPipeline, SerializerAdapter serializ this.evaluationRules = new EvaluationRulesImpl(this); this.evaluationTaxonomies = new EvaluationTaxonomiesImpl(this); this.evaluators = new EvaluatorsImpl(this); - this.evaluatorGenerationJobs = new EvaluatorGenerationJobsImpl(this); this.insights = new InsightsImpl(this); this.schedules = new SchedulesImpl(this); this.routines = new RoutinesImpl(this); diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java index 8c2a9d33c712..2c85017e5ef1 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java @@ -192,8 +192,8 @@ Response deleteGenerationJobSync(@HostParam("endpoint") String endpoint, @ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -291,8 +291,8 @@ public Mono> getGenerationJobWithResponseAsync(String jobId * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -413,8 +413,8 @@ public Response getGenerationJobWithResponse(String jobId, RequestOp * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -536,8 +536,8 @@ private Mono> listGenerationJobsSinglePageAsync(Reques * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -653,8 +653,8 @@ public PagedFlux listGenerationJobsAsync(RequestOptions requestOptio * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -774,8 +774,8 @@ private PagedResponse listGenerationJobsSinglePage(RequestOptions re * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -865,8 +865,8 @@ public PagedIterable listGenerationJobs(RequestOptions requestOption * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * Operation-IdStringNoClient-generated unique ID for idempotent retries. When * absent, the server creates the job unconditionally. * @@ -1029,8 +1029,8 @@ public Mono> createGenerationJobWithResponseAsync(BinaryDat * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * Operation-IdStringNoClient-generated unique ID for idempotent retries. When * absent, the server creates the job unconditionally. * @@ -1194,8 +1194,8 @@ public Response createGenerationJobWithResponse(BinaryData job, Requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1291,8 +1291,8 @@ public Mono> cancelGenerationJobWithResponseAsync(String jo * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1387,8 +1387,8 @@ public Response cancelGenerationJobWithResponse(String jobId, Reques * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -1417,8 +1417,8 @@ public Mono> deleteGenerationJobWithResponseAsync(String jobId, R * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java index ee85841e9314..c70d0bcfcc83 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java @@ -305,8 +305,8 @@ public Response deleteEvaluationRuleWithResponse(String id, RequestOptions * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -383,8 +383,8 @@ public Mono> createOrUpdateEvaluationRuleWithResponseAsync( * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java deleted file mode 100644 index 30a62cd314f2..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java +++ /dev/null @@ -1,1761 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.implementation; - -import com.azure.ai.projects.AIProjectsServiceVersion; -import com.azure.core.annotation.BodyParam; -import com.azure.core.annotation.Delete; -import com.azure.core.annotation.ExpectedResponses; -import com.azure.core.annotation.Get; -import com.azure.core.annotation.HeaderParam; -import com.azure.core.annotation.Host; -import com.azure.core.annotation.HostParam; -import com.azure.core.annotation.PathParam; -import com.azure.core.annotation.Post; -import com.azure.core.annotation.QueryParam; -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceInterface; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.annotation.UnexpectedResponseExceptionType; -import com.azure.core.exception.ClientAuthenticationException; -import com.azure.core.exception.HttpResponseException; -import com.azure.core.exception.ResourceModifiedException; -import com.azure.core.exception.ResourceNotFoundException; -import com.azure.core.http.rest.PagedFlux; -import com.azure.core.http.rest.PagedIterable; -import com.azure.core.http.rest.PagedResponse; -import com.azure.core.http.rest.PagedResponseBase; -import com.azure.core.http.rest.RequestOptions; -import com.azure.core.http.rest.Response; -import com.azure.core.http.rest.RestProxy; -import com.azure.core.util.BinaryData; -import com.azure.core.util.Context; -import com.azure.core.util.FluxUtil; -import java.util.List; -import java.util.Map; -import java.util.stream.Collectors; -import reactor.core.publisher.Mono; - -/** - * An instance of this class provides access to all the operations defined in EvaluatorGenerationJobs. - */ -public final class EvaluatorGenerationJobsImpl { - /** - * The proxy service used to perform REST calls. - */ - private final EvaluatorGenerationJobsService service; - - /** - * The service client containing this operation class. - */ - private final AIProjectClientImpl client; - - /** - * Initializes an instance of EvaluatorGenerationJobsImpl. - * - * @param client the instance of the service client containing this operation class. - */ - EvaluatorGenerationJobsImpl(AIProjectClientImpl client) { - this.service = RestProxy.create(EvaluatorGenerationJobsService.class, client.getHttpPipeline(), - client.getSerializerAdapter()); - this.client = client; - } - - /** - * Gets Service version. - * - * @return the serviceVersion value. - */ - public AIProjectsServiceVersion getServiceVersion() { - return client.getServiceVersion(); - } - - /** - * The interface defining all the services for AIProjectClientEvaluatorGenerationJobs to be used by the proxy - * service to perform REST calls. - */ - @Host("{endpoint}") - @ServiceInterface(name = "AIProjectClientEvaluatorGenerationJobs") - public interface EvaluatorGenerationJobsService { - @Post("/evaluator_generation_jobs") - @ExpectedResponses({ 201 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> createGenerationJob(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, - RequestOptions requestOptions, Context context); - - @Post("/evaluator_generation_jobs") - @ExpectedResponses({ 201 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response createGenerationJobSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, - RequestOptions requestOptions, Context context); - - @Get("/evaluator_generation_jobs/{jobId}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getGenerationJob(@HostParam("endpoint") String endpoint, - @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - - @Get("/evaluator_generation_jobs/{jobId}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getGenerationJobSync(@HostParam("endpoint") String endpoint, - @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - - @Get("/evaluator_generation_jobs") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> listGenerationJobs(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); - - @Get("/evaluator_generation_jobs") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response listGenerationJobsSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); - - @Post("/evaluator_generation_jobs/{jobId}:cancel") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> cancelGenerationJob(@HostParam("endpoint") String endpoint, - @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - - @Post("/evaluator_generation_jobs/{jobId}:cancel") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response cancelGenerationJobSync(@HostParam("endpoint") String endpoint, - @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - - @Delete("/evaluator_generation_jobs/{jobId}") - @ExpectedResponses({ 204 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> deleteGenerationJob(@HostParam("endpoint") String endpoint, - @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, - RequestOptions requestOptions, Context context); - - @Delete("/evaluator_generation_jobs/{jobId}") - @ExpectedResponses({ 204 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response deleteGenerationJobSync(@HostParam("endpoint") String endpoint, @PathParam("jobId") String jobId, - @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); - } - - /** - * Creates an evaluator generation job. - * - * Creates an evaluator generation job. The service generates rubric-based evaluator - * definitions from the provided source materials asynchronously. - *

Header Parameters

- * - * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When - * absent, the server creates the job unconditionally.
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param job The job to create. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createGenerationJobWithResponseAsync(BinaryData job, - RequestOptions requestOptions) { - final String contentType = "application/json"; - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.createGenerationJob(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), contentType, accept, job, requestOptions, context)); - } - - /** - * Creates an evaluator generation job. - * - * Creates an evaluator generation job. The service generates rubric-based evaluator - * definitions from the provided source materials asynchronously. - *

Header Parameters

- * - * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When - * absent, the server creates the job unconditionally.
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param job The job to create. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response createGenerationJobWithResponse(BinaryData job, RequestOptions requestOptions) { - final String contentType = "application/json"; - final String accept = "application/json"; - return service.createGenerationJobSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - contentType, accept, job, requestOptions, Context.NONE); - } - - /** - * Get info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getGenerationJobWithResponseAsync(String jobId, RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getGenerationJob(this.client.getEndpoint(), jobId, - this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); - } - - /** - * Get info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return info about an evaluator generation job. - * - * Gets the details of an evaluator generation job by its ID along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.getGenerationJobSync(this.client.getEndpoint(), jobId, - this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); - } - - /** - * Returns a list of evaluator generation jobs. - *

Query Parameters

- * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: - * "quality", "safety", "agents".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items along with {@link PagedResponse} on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listGenerationJobsSinglePageAsync(RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listGenerationJobs(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "data"), null, null)); - } - - /** - * Returns a list of evaluator generation jobs. - *

Query Parameters

- * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: - * "quality", "safety", "agents".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listGenerationJobsAsync(RequestOptions requestOptions) { - return new PagedFlux<>(() -> listGenerationJobsSinglePageAsync(requestOptions)); - } - - /** - * Returns a list of evaluator generation jobs. - *

Query Parameters

- * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: - * "quality", "safety", "agents".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items along with {@link PagedResponse}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listGenerationJobsSinglePage(RequestOptions requestOptions) { - final String accept = "application/json"; - Response res = service.listGenerationJobsSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); - return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "data"), null, null); - } - - /** - * Returns a list of evaluator generation jobs. - *

Query Parameters

- * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
categoryStringNoFilter evaluator generation jobs by category. Allowed values: - * "quality", "safety", "agents".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listGenerationJobs(RequestOptions requestOptions) { - return new PagedIterable<>(() -> listGenerationJobsSinglePage(requestOptions)); - } - - /** - * Cancels an evaluator generation job. - * - * Cancels an evaluator generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job to cancel. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> cancelGenerationJobWithResponseAsync(String jobId, - RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.cancelGenerationJob(this.client.getEndpoint(), jobId, - this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); - } - - /** - * Cancels an evaluator generation job. - * - * Cancels an evaluator generation job by its ID. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         sources (Required): [
-     *              (Required){
-     *                 type: String(prompt/agent/traces/dataset) (Required)
-     *             }
-     *         ]
-     *         model: String (Required)
-     *         evaluator_name: String (Required)
-     *         evaluator_display_name: String (Optional)
-     *         evaluator_description: String (Optional)
-     *     }
-     *     result (Optional): {
-     *         display_name: String (Optional)
-     *         metadata (Optional): {
-     *             String: String (Required)
-     *         }
-     *         evaluator_type: String(builtin/custom) (Required)
-     *         categories (Required): [
-     *             String(quality/safety/agents) (Required)
-     *         ]
-     *         definition (Required): {
-     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
-     *             init_parameters (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             data_schema (Optional): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             metrics (Optional): {
-     *                 String (Required): {
-     *                     type: String(ordinal/continuous/boolean) (Optional)
-     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
-     *                     min_value: Double (Optional)
-     *                     max_value: Double (Optional)
-     *                     threshold: Double (Optional)
-     *                     is_primary: Boolean (Optional)
-     *                 }
-     *             }
-     *         }
-     *         generation_artifacts (Optional): {
-     *             dataset (Required): {
-     *                 name: String (Required)
-     *                 version: String (Required)
-     *             }
-     *             kinds (Required): [
-     *                 String (Required)
-     *             ]
-     *         }
-     *         created_by: String (Required)
-     *         created_at: OffsetDateTime (Required)
-     *         modified_at: OffsetDateTime (Required)
-     *         id: String (Optional)
-     *         name: String (Required)
-     *         version: String (Required)
-     *         description: String (Optional)
-     *         tags (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     finished_at: Long (Optional)
-     *     usage (Optional): {
-     *         input_tokens: long (Required)
-     *         output_tokens: long (Required)
-     *         total_tokens: long (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param jobId The ID of the job to cancel. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions - * from source materials along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response cancelGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.cancelGenerationJobSync(this.client.getEndpoint(), jobId, - this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); - } - - /** - * Deletes an evaluator generation job by its ID. Deletes the job record only; - * the generated evaluator (if any) is preserved. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - * - * @param jobId The ID of the job to delete. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteGenerationJobWithResponseAsync(String jobId, RequestOptions requestOptions) { - return FluxUtil.withContext(context -> service.deleteGenerationJob(this.client.getEndpoint(), jobId, - this.client.getServiceVersion().getVersion(), requestOptions, context)); - } - - /** - * Deletes an evaluator generation job by its ID. Deletes the job record only; - * the generated evaluator (if any) is preserved. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - * - * @param jobId The ID of the job to delete. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { - return service.deleteGenerationJobSync(this.client.getEndpoint(), jobId, - this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); - } - - private List getValues(BinaryData binaryData, String path) { - try { - Map obj = binaryData.toObject(Map.class); - List values = (List) obj.get(path); - return values.stream().map(BinaryData::fromObject).collect(Collectors.toList()); - } catch (RuntimeException e) { - return null; - } - } - - private String getNextLink(BinaryData binaryData, String path) { - try { - Map obj = binaryData.toObject(Map.class); - return (String) obj.get(path); - } catch (RuntimeException e) { - return null; - } - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java index f1faf109ed1e..4a77e4b81369 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java @@ -262,6 +262,108 @@ Response getCredentialsSync(@HostParam("endpoint") String endpoint, @BodyParam("application/json") BinaryData credentialRequest, RequestOptions requestOptions, Context context); + @Post("/evaluator_generation_jobs") + @ExpectedResponses({ 201 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> createEvaluatorGenerationJob(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, + RequestOptions requestOptions, Context context); + + @Post("/evaluator_generation_jobs") + @ExpectedResponses({ 201 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response createEvaluatorGenerationJobSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, + RequestOptions requestOptions, Context context); + + @Get("/evaluator_generation_jobs/{jobId}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getEvaluatorGenerationJob(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/evaluator_generation_jobs/{jobId}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getEvaluatorGenerationJobSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/evaluator_generation_jobs") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> listEvaluatorGenerationJobs(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/evaluator_generation_jobs") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response listEvaluatorGenerationJobsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Post("/evaluator_generation_jobs/{jobId}:cancel") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> cancelEvaluatorGenerationJob(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Post("/evaluator_generation_jobs/{jobId}:cancel") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response cancelEvaluatorGenerationJobSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Delete("/evaluator_generation_jobs/{jobId}") + @ExpectedResponses({ 204 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> deleteEvaluatorGenerationJob(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + RequestOptions requestOptions, Context context); + + @Delete("/evaluator_generation_jobs/{jobId}") + @ExpectedResponses({ 204 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response deleteEvaluatorGenerationJobSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + RequestOptions requestOptions, Context context); + @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @@ -1719,8 +1821,8 @@ public Response updateEvaluatorVersionWithResponse(String name, Stri * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -1785,8 +1887,8 @@ public Mono> startPendingUploadWithResponseAsync(String nam * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -1850,8 +1952,8 @@ public Response startPendingUploadWithResponse(String name, String v * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -1911,8 +2013,8 @@ public Mono> getCredentialsWithResponseAsync(String name, S * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -1963,6 +2065,1560 @@ public Response getCredentialsWithResponse(String name, String versi Context.NONE); } + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createEvaluatorGenerationJobWithResponseAsync(BinaryData job, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.createEvaluatorGenerationJob(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), contentType, accept, job, requestOptions, context)); + } + + /** + * Creates an evaluator generation job. + * + * Creates an evaluator generation job. The service generates rubric-based evaluator + * definitions from the provided source materials asynchronously. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createEvaluatorGenerationJobWithResponse(BinaryData job, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.createEvaluatorGenerationJobSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), contentType, accept, job, requestOptions, Context.NONE); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getEvaluatorGenerationJobWithResponseAsync(String jobId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getEvaluatorGenerationJob(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Get info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about an evaluator generation job. + * + * Gets the details of an evaluator generation job by its ID along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getEvaluatorGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getEvaluatorGenerationJobSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Returns a list of evaluator generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listEvaluatorGenerationJobsSinglePageAsync(RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listEvaluatorGenerationJobs(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null)); + } + + /** + * Returns a list of evaluator generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listEvaluatorGenerationJobsAsync(RequestOptions requestOptions) { + return new PagedFlux<>(() -> listEvaluatorGenerationJobsSinglePageAsync(requestOptions)); + } + + /** + * Returns a list of evaluator generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listEvaluatorGenerationJobsSinglePage(RequestOptions requestOptions) { + final String accept = "application/json"; + Response res = service.listEvaluatorGenerationJobsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null); + } + + /** + * Returns a list of evaluator generation jobs. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listEvaluatorGenerationJobs(RequestOptions requestOptions) { + return new PagedIterable<>(() -> listEvaluatorGenerationJobsSinglePage(requestOptions)); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cancelEvaluatorGenerationJobWithResponseAsync(String jobId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.cancelEvaluatorGenerationJob(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Cancels an evaluator generation job. + * + * Cancels an evaluator generation job by its ID. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         sources (Required): [
+     *              (Required){
+     *                 type: String(prompt/agent/traces/dataset) (Required)
+     *             }
+     *         ]
+     *         model: String (Required)
+     *         evaluator_name: String (Required)
+     *         evaluator_display_name: String (Optional)
+     *         evaluator_description: String (Optional)
+     *     }
+     *     result (Optional): {
+     *         display_name: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         evaluator_type: String(builtin/custom) (Required)
+     *         categories (Required): [
+     *             String(quality/safety/agents) (Required)
+     *         ]
+     *         definition (Required): {
+     *             type: String(prompt/code/prompt_and_code/service/openai_graders/rubric) (Required)
+     *             init_parameters (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             data_schema (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             metrics (Optional): {
+     *                 String (Required): {
+     *                     type: String(ordinal/continuous/boolean) (Optional)
+     *                     desirable_direction: String(increase/decrease/neutral) (Optional)
+     *                     min_value: Double (Optional)
+     *                     max_value: Double (Optional)
+     *                     threshold: Double (Optional)
+     *                     is_primary: Boolean (Optional)
+     *                 }
+     *             }
+     *         }
+     *         generation_artifacts (Optional): {
+     *             dataset (Required): {
+     *                 name: String (Required)
+     *                 version: String (Required)
+     *             }
+     *             kinds (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *         created_by: String (Required)
+     *         created_at: OffsetDateTime (Required)
+     *         modified_at: OffsetDateTime (Required)
+     *         id: String (Optional)
+     *         name: String (Required)
+     *         version: String (Required)
+     *         description: String (Optional)
+     *         tags (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     finished_at: Long (Optional)
+     *     usage (Optional): {
+     *         input_tokens: long (Required)
+     *         output_tokens: long (Required)
+     *         total_tokens: long (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions + * from source materials along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cancelEvaluatorGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.cancelEvaluatorGenerationJobSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteEvaluatorGenerationJobWithResponseAsync(String jobId, + RequestOptions requestOptions) { + return FluxUtil.withContext(context -> service.deleteEvaluatorGenerationJob(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), requestOptions, context)); + } + + /** + * Deletes an evaluator generation job by its ID. Deletes the job record only; + * the generated evaluator (if any) is preserved. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteEvaluatorGenerationJobWithResponse(String jobId, RequestOptions requestOptions) { + return service.deleteEvaluatorGenerationJobSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); + } + /** * Get the next page of items. *

Response Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java index 2c32171b387c..b460cdc7a5f8 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java @@ -173,8 +173,8 @@ Response listInsightsNextSync(@PathParam(value = "nextLink", encoded * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -265,8 +265,8 @@ public Mono> generateInsightWithResponseAsync(BinaryData in * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -363,8 +363,8 @@ public Response generateInsightWithResponse(BinaryData insight, Requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -421,8 +421,8 @@ public Mono> getInsightWithResponseAsync(String id, Request * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -484,8 +484,8 @@ public Response getInsightWithResponse(String id, RequestOptions req * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -550,8 +550,8 @@ private Mono> listInsightsSinglePageAsync(RequestOptio * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -614,8 +614,8 @@ public PagedFlux listInsightsAsync(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -678,8 +678,8 @@ private PagedResponse listInsightsSinglePage(RequestOptions requestO * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -729,8 +729,8 @@ public PagedIterable listInsights(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -783,8 +783,8 @@ private Mono> listInsightsNextSinglePageAsync(String n * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java index 5a89c4dead65..9e2ae1ba947b 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java @@ -257,8 +257,8 @@ Response dispatchRoutineAsyncSync(@HostParam("endpoint") String endp * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -331,8 +331,8 @@ public Mono> createOrUpdateRoutineWithResponseAsync(String * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -404,8 +404,8 @@ public Response createOrUpdateRoutineWithResponse(String routineName * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -455,8 +455,8 @@ public Mono> getRoutineWithResponseAsync(String routineName * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -505,8 +505,8 @@ public Response getRoutineWithResponse(String routineName, RequestOp * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -557,8 +557,8 @@ public Mono> enableRoutineWithResponseAsync(String routineN * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -607,8 +607,8 @@ public Response enableRoutineWithResponse(String routineName, Reques * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -659,8 +659,8 @@ public Mono> disableRoutineWithResponseAsync(String routine * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -729,8 +729,8 @@ public Response disableRoutineWithResponse(String routineName, Reque * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -802,8 +802,8 @@ private Mono> listRoutinesSinglePageAsync(RequestOptio * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -869,8 +869,8 @@ public PagedFlux listRoutinesAsync(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -940,8 +940,8 @@ private PagedResponse listRoutinesSinglePage(RequestOptions requestO * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -987,8 +987,8 @@ public PagedIterable listRoutines(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -1015,8 +1015,8 @@ public Mono> deleteRoutineWithResponseAsync(String routineName, R * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -1065,8 +1065,8 @@ public Response deleteRoutineWithResponse(String routineName, RequestOptio * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1155,8 +1155,8 @@ private Mono> listRoutineRunsSinglePageAsync(String ro * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1238,8 +1238,8 @@ public PagedFlux listRoutineRunsAsync(String routineName, RequestOpt * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1325,8 +1325,8 @@ private PagedResponse listRoutineRunsSinglePage(String routineName, * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1386,8 +1386,8 @@ public PagedIterable listRoutineRuns(String routineName, RequestOpti * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -1443,8 +1443,8 @@ public Mono> dispatchRoutineAsyncWithResponseAsync(String r * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java index 78310ea17f1f..495cb4265031 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java @@ -41,16 +41,6 @@ public final class AzureAIAgentTarget extends Target { @Generated private List toolDescriptions; - /** - * Creates an instance of AzureAIAgentTarget class. - * - * @param name the name value to set. - */ - @Generated - public AzureAIAgentTarget(String name) { - this.name = name; - } - /** * Get the type property: The type of target. * @@ -204,4 +194,14 @@ public AzureAIAgentTarget setTools(List tools) { this.tools = tools; return this; } + + /** + * Creates an instance of AzureAIAgentTarget class. + * + * @param name the name value to set. + */ + @Generated + public AzureAIAgentTarget(String name) { + this.name = name; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java index 9eaf3d6dbfd1..27bd475d0c81 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java @@ -33,16 +33,6 @@ public final class CodeInterpreterTool extends Tool { @Generated private final BinaryData container; - /** - * Creates an instance of CodeInterpreterTool class. - * - * @param container the container value to set. - */ - @Generated - public CodeInterpreterTool(BinaryData container) { - this.container = container; - } - /** * Get the type property: The type property. * @@ -109,4 +99,14 @@ public static CodeInterpreterTool fromJson(JsonReader jsonReader) throws IOExcep return deserializedCodeInterpreterTool; }); } + + /** + * Creates an instance of CodeInterpreterTool class. + * + * @param container the container value to set. + */ + @Generated + public CodeInterpreterTool(BinaryData container) { + this.container = container; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComparisonFilter.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComparisonFilter.java index 4e0d7f769197..9c980c1e04ec 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComparisonFilter.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComparisonFilter.java @@ -46,20 +46,6 @@ public final class ComparisonFilter implements JsonSerializable { @Generated private final List filters; - /** - * Creates an instance of CompoundFilter class. - * - * @param type the type value to set. - * @param filters the filters value to set. - */ - @Generated - public CompoundFilter(FileSearchToolFiltersType1 type, List filters) { - this.type = type; - this.filters = filters; - } - /** * Get the type property: Type of operation: `and` or `or`. * @@ -112,4 +100,16 @@ public static CompoundFilter fromJson(JsonReader jsonReader) throws IOException return new CompoundFilter(type, filters); }); } + + /** + * Creates an instance of CompoundFilter class. + * + * @param type the type value to set. + * @param filters the filters value to set. + */ + @Generated + public CompoundFilter(FileSearchToolFiltersType1 type, List filters) { + this.type = type; + this.filters = filters; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java index 7000573b8557..54f87d6bf1d3 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java @@ -43,20 +43,6 @@ public final class ComputerUsePreviewTool extends Tool { @Generated private final int displayHeight; - /** - * Creates an instance of ComputerUsePreviewTool class. - * - * @param environment the environment value to set. - * @param displayWidth the displayWidth value to set. - * @param displayHeight the displayHeight value to set. - */ - @Generated - public ComputerUsePreviewTool(ComputerEnvironment environment, int displayWidth, int displayHeight) { - this.environment = environment; - this.displayWidth = displayWidth; - this.displayHeight = displayHeight; - } - /** * Get the type property: The type property. * @@ -149,4 +135,18 @@ public static ComputerUsePreviewTool fromJson(JsonReader jsonReader) throws IOEx return deserializedComputerUsePreviewTool; }); } + + /** + * Creates an instance of ComputerUsePreviewTool class. + * + * @param environment the environment value to set. + * @param displayWidth the displayWidth value to set. + * @param displayHeight the displayHeight value to set. + */ + @Generated + public ComputerUsePreviewTool(ComputerEnvironment environment, int displayWidth, int displayHeight) { + this.environment = environment; + this.displayWidth = displayWidth; + this.displayHeight = displayHeight; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java index 4bd68f2ac82a..d0a6ed62c71a 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java @@ -35,16 +35,6 @@ public final class ContainerNetworkPolicyAllowlistParam extends ContainerNetwork @Generated private List domainSecrets; - /** - * Creates an instance of ContainerNetworkPolicyAllowlistParam class. - * - * @param allowedDomains the allowedDomains value to set. - */ - @Generated - public ContainerNetworkPolicyAllowlistParam(List allowedDomains) { - this.allowedDomains = allowedDomains; - } - /** * Get the type property: The type property. * @@ -140,4 +130,14 @@ public static ContainerNetworkPolicyAllowlistParam fromJson(JsonReader jsonReade return deserializedContainerNetworkPolicyAllowlistParam; }); } + + /** + * Creates an instance of ContainerNetworkPolicyAllowlistParam class. + * + * @param allowedDomains the allowedDomains value to set. + */ + @Generated + public ContainerNetworkPolicyAllowlistParam(List allowedDomains) { + this.allowedDomains = allowedDomains; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java index 9343314449ae..26ac70a53b24 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java @@ -36,20 +36,6 @@ public final class ContainerNetworkPolicyDomainSecretParam @Generated private final String value; - /** - * Creates an instance of ContainerNetworkPolicyDomainSecretParam class. - * - * @param domain the domain value to set. - * @param name the name value to set. - * @param value the value value to set. - */ - @Generated - public ContainerNetworkPolicyDomainSecretParam(String domain, String name, String value) { - this.domain = domain; - this.name = name; - this.value = value; - } - /** * Get the domain property: The domain associated with the secret. * @@ -124,4 +110,18 @@ public static ContainerNetworkPolicyDomainSecretParam fromJson(JsonReader jsonRe return new ContainerNetworkPolicyDomainSecretParam(domain, name, value); }); } + + /** + * Creates an instance of ContainerNetworkPolicyDomainSecretParam class. + * + * @param domain the domain value to set. + * @param name the name value to set. + * @param value the value value to set. + */ + @Generated + public ContainerNetworkPolicyDomainSecretParam(String domain, String name, String value) { + this.domain = domain; + this.name = name; + this.value = value; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java index 47b4e48bf7ee..e5566e1fffa9 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java @@ -36,18 +36,6 @@ public final class CustomGrammarFormatParam extends CustomToolParamFormat { @Generated private final String definition; - /** - * Creates an instance of CustomGrammarFormatParam class. - * - * @param syntax the syntax value to set. - * @param definition the definition value to set. - */ - @Generated - public CustomGrammarFormatParam(GrammarSyntax1 syntax, String definition) { - this.syntax = syntax; - this.definition = definition; - } - /** * Get the type property: The type property. * @@ -126,4 +114,16 @@ public static CustomGrammarFormatParam fromJson(JsonReader jsonReader) throws IO return deserializedCustomGrammarFormatParam; }); } + + /** + * Creates an instance of CustomGrammarFormatParam class. + * + * @param syntax the syntax value to set. + * @param definition the definition value to set. + */ + @Generated + public CustomGrammarFormatParam(GrammarSyntax1 syntax, String definition) { + this.syntax = syntax; + this.definition = definition; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParam.java index 70154531359b..ad7f69815c64 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParam.java @@ -43,16 +43,6 @@ public final class CustomToolParam extends Tool { @Generated private CustomToolParamFormat format; - /** - * Creates an instance of CustomToolParam class. - * - * @param name the name value to set. - */ - @Generated - public CustomToolParam(String name) { - this.name = name; - } - /** * Get the type property: The type property. * @@ -170,4 +160,14 @@ public static CustomToolParam fromJson(JsonReader jsonReader) throws IOException return deserializedCustomToolParam; }); } + + /** + * Creates an instance of CustomToolParam class. + * + * @param name the name value to set. + */ + @Generated + public CustomToolParam(String name) { + this.name = name; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Dimension.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Dimension.java index 555d0c1c1fbd..0d6e9e9bb179 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Dimension.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Dimension.java @@ -17,14 +17,6 @@ @Fluent public final class Dimension implements JsonSerializable { - /* - * Stable identifier for this dimension (snake_case, e.g., `correct_resolution`). Required. Provided by the user - * when manually creating a rubric evaluator or during human-in-the-loop review of a generated set; the generation - * pipeline produces an initial value the user can edit. Editable when saving new versions. - */ - @Generated - private final String dimensionId; - /* * What this dimension measures (e.g., 'Correctly identifies the user's reservation intent and pursues the * appropriate workflow'). @@ -50,30 +42,17 @@ public final class Dimension implements JsonSerializable { /** * Creates an instance of Dimension class. * - * @param dimensionId the dimensionId value to set. + * @param id the id value to set. * @param description the description value to set. * @param weight the weight value to set. */ @Generated - public Dimension(String dimensionId, String description, int weight) { - this.dimensionId = dimensionId; + public Dimension(String id, String description, int weight) { + this.id = id; this.description = description; this.weight = weight; } - /** - * Get the dimensionId property: Stable identifier for this dimension (snake_case, e.g., `correct_resolution`). - * Required. Provided by the user when manually creating a rubric evaluator or during human-in-the-loop review of a - * generated set; the generation pipeline produces an initial value the user can edit. Editable when saving new - * versions. - * - * @return the dimensionId value. - */ - @Generated - public String getDimensionId() { - return this.dimensionId; - } - /** * Get the description property: What this dimension measures (e.g., 'Correctly identifies the user's reservation * intent and pursues the appropriate workflow'). @@ -129,7 +108,7 @@ public Dimension setAlwaysApplicable(Boolean alwaysApplicable) { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("dimension_id", this.dimensionId); + jsonWriter.writeStringField("id", this.id); jsonWriter.writeStringField("description", this.description); jsonWriter.writeIntField("weight", this.weight); jsonWriter.writeBooleanField("always_applicable", this.alwaysApplicable); @@ -148,15 +127,15 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { @Generated public static Dimension fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - String dimensionId = null; + String id = null; String description = null; int weight = 0; Boolean alwaysApplicable = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("dimension_id".equals(fieldName)) { - dimensionId = reader.getString(); + if ("id".equals(fieldName)) { + id = reader.getString(); } else if ("description".equals(fieldName)) { description = reader.getString(); } else if ("weight".equals(fieldName)) { @@ -167,9 +146,29 @@ public static Dimension fromJson(JsonReader jsonReader) throws IOException { reader.skipChildren(); } } - Dimension deserializedDimension = new Dimension(dimensionId, description, weight); + Dimension deserializedDimension = new Dimension(id, description, weight); deserializedDimension.alwaysApplicable = alwaysApplicable; return deserializedDimension; }); } + + /* + * Stable identifier for this dimension (snake_case, e.g., `correct_resolution`). Required. Provided by the user + * when manually creating a rubric evaluator or during human-in-the-loop review of a generated set; the generation + * pipeline produces an initial value the user can edit. Editable when saving new versions. + */ + @Generated + private final String id; + + /** + * Get the id property: Stable identifier for this dimension (snake_case, e.g., `correct_resolution`). Required. + * Provided by the user when manually creating a rubric evaluator or during human-in-the-loop review of a generated + * set; the generation pipeline produces an initial value the user can edit. Editable when saving new versions. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchTool.java index b475991b717a..424bb1beaa95 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchTool.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchTool.java @@ -51,16 +51,6 @@ public final class FileSearchTool extends Tool { @Generated private BinaryData filters; - /** - * Creates an instance of FileSearchTool class. - * - * @param vectorStoreIds the vectorStoreIds value to set. - */ - @Generated - public FileSearchTool(List vectorStoreIds) { - this.vectorStoreIds = vectorStoreIds; - } - /** * Get the type property: The type property. * @@ -211,4 +201,14 @@ public static FileSearchTool fromJson(JsonReader jsonReader) throws IOException return deserializedFileSearchTool; }); } + + /** + * Creates an instance of FileSearchTool class. + * + * @param vectorStoreIds the vectorStoreIds value to set. + */ + @Generated + public FileSearchTool(List vectorStoreIds) { + this.vectorStoreIds = vectorStoreIds; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java index 78b225e0fa57..af36ffc5542f 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java @@ -38,11 +38,6 @@ public enum FoundryFeaturesOptInKeys { */ ROUTINES_V1_PREVIEW("Routines=V1Preview"), - /** - * Enum value Toolboxes=V1Preview. - */ - TOOLBOXES_V1_PREVIEW("Toolboxes=V1Preview"), - /** * Enum value Skills=V1Preview. */ diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java index b86a4c686f30..f2ee6a58dbce 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java @@ -28,16 +28,6 @@ public final class FunctionShellToolParamEnvironmentContainerReferenceParam exte @Generated private final String containerId; - /** - * Creates an instance of FunctionShellToolParamEnvironmentContainerReferenceParam class. - * - * @param containerId the containerId value to set. - */ - @Generated - public FunctionShellToolParamEnvironmentContainerReferenceParam(String containerId) { - this.containerId = containerId; - } - /** * Get the type property: The type property. * @@ -104,4 +94,14 @@ public static FunctionShellToolParamEnvironmentContainerReferenceParam fromJson( return deserializedFunctionShellToolParamEnvironmentContainerReferenceParam; }); } + + /** + * Creates an instance of FunctionShellToolParamEnvironmentContainerReferenceParam class. + * + * @param containerId the containerId value to set. + */ + @Generated + public FunctionShellToolParamEnvironmentContainerReferenceParam(String containerId) { + this.containerId = containerId; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionTool.java index 073029986eda..e4e4b828bb22 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionTool.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionTool.java @@ -51,20 +51,6 @@ public final class FunctionTool extends Tool { @Generated private final Boolean strict; - /** - * Creates an instance of FunctionTool class. - * - * @param name the name value to set. - * @param parameters the parameters value to set. - * @param strict the strict value to set. - */ - @Generated - public FunctionTool(String name, Map parameters, Boolean strict) { - this.name = name; - this.parameters = parameters; - this.strict = strict; - } - /** * Get the type property: The type property. * @@ -190,4 +176,18 @@ public static FunctionTool fromJson(JsonReader jsonReader) throws IOException { return deserializedFunctionTool; }); } + + /** + * Creates an instance of FunctionTool class. + * + * @param name the name value to set. + * @param parameters the parameters value to set. + * @param strict the strict value to set. + */ + @Generated + public FunctionTool(String name, Map parameters, Boolean strict) { + this.name = name; + this.parameters = parameters; + this.strict = strict; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java index c87287e11198..327206fb20c2 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java @@ -29,18 +29,6 @@ public final class HybridSearchOptions implements JsonSerializable @Generated private final String path; - /** - * Creates an instance of LocalSkillParam class. - * - * @param name the name value to set. - * @param description the description value to set. - * @param path the path value to set. - */ - @Generated - public LocalSkillParam(String name, String description, String path) { - this.name = name; - this.description = description; - this.path = path; - } - /** * Get the name property: The name of the skill. * @@ -123,4 +109,18 @@ public static LocalSkillParam fromJson(JsonReader jsonReader) throws IOException return new LocalSkillParam(name, description, path); }); } + + /** + * Creates an instance of LocalSkillParam class. + * + * @param name the name value to set. + * @param description the description value to set. + * @param path the path value to set. + */ + @Generated + public LocalSkillParam(String name, String description, String path) { + this.name = name; + this.description = description; + this.path = path; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPTool.java index be19c3ff931e..1cdbe58d7611 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPTool.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPTool.java @@ -89,16 +89,6 @@ public final class MCPTool extends Tool { @Generated private BinaryData requireApproval; - /** - * Creates an instance of MCPTool class. - * - * @param serverLabel the serverLabel value to set. - */ - @Generated - public MCPTool(String serverLabel) { - this.serverLabel = serverLabel; - } - /** * Get the type property: The type property. * @@ -387,4 +377,14 @@ public static MCPTool fromJson(JsonReader jsonReader) throws IOException { return deserializedMCPTool; }); } + + /** + * Creates an instance of MCPTool class. + * + * @param serverLabel the serverLabel value to set. + */ + @Generated + public MCPTool(String serverLabel) { + this.serverLabel = serverLabel; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java index 044e20d7c793..34b69051a41f 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java @@ -28,7 +28,7 @@ public final class RubricBasedEvaluatorDefinition extends EvaluatorDefinition { /* * The set of dimensions — the scoring blueprint used by the LLM judge. Quality evaluators include a non-editable - * residual dimension with dimension_id 'general_quality' (always_applicable: true); safety evaluators include + * residual dimension with id 'general_quality' (always_applicable: true); safety evaluators include * 'general_policy_compliance'. Both use the same Dimension structure. */ @Generated @@ -66,8 +66,8 @@ public EvaluatorDefinitionType getType() { /** * Get the dimensions property: The set of dimensions — the scoring blueprint used by the LLM judge. Quality - * evaluators include a non-editable residual dimension with dimension_id 'general_quality' (always_applicable: - * true); safety evaluators include 'general_policy_compliance'. Both use the same Dimension structure. + * evaluators include a non-editable residual dimension with id 'general_quality' (always_applicable: true); safety + * evaluators include 'general_policy_compliance'. Both use the same Dimension structure. * * @return the dimensions value. */ diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java index 60f9a9434085..cf4252c1a50d 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java @@ -34,16 +34,6 @@ public final class SkillReferenceParam extends ContainerSkill { @Generated private String version; - /** - * Creates an instance of SkillReferenceParam class. - * - * @param skillId the skillId value to set. - */ - @Generated - public SkillReferenceParam(String skillId) { - this.skillId = skillId; - } - /** * Get the type property: The type property. * @@ -134,4 +124,14 @@ public static SkillReferenceParam fromJson(JsonReader jsonReader) throws IOExcep return deserializedSkillReferenceParam; }); } + + /** + * Creates an instance of SkillReferenceParam class. + * + * @param skillId the skillId value to set. + */ + @Generated + public SkillReferenceParam(String skillId) { + this.skillId = skillId; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json index e9edb08634f3..0f3fc4696605 100644 --- a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json +++ b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient":"Azure.AI.Projects.EvaluatorGenerationJobs","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorGenerationJobsClient":"Azure.AI.Projects.EvaluatorGenerationJobs","com.azure.ai.projects.EvaluatorGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillRequest":"Azure.AI.Projects.createSkill.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ApplyPatchToolParam":"OpenAI.ApplyPatchToolParam","com.azure.ai.projects.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AutoCodeInterpreterToolParam":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.projects.models.ComparisonFilter":"OpenAI.ComparisonFilter","com.azure.ai.projects.models.CompoundFilter":"OpenAI.CompoundFilter","com.azure.ai.projects.models.ComputerEnvironment":"OpenAI.ComputerEnvironment","com.azure.ai.projects.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContainerAutoParam":"OpenAI.ContainerAutoParam","com.azure.ai.projects.models.ContainerMemoryLimit":"OpenAI.ContainerMemoryLimit","com.azure.ai.projects.models.ContainerNetworkPolicyAllowlistParam":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.projects.models.ContainerNetworkPolicyDisabledParam":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.projects.models.ContainerNetworkPolicyDomainSecretParam":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.projects.models.ContainerNetworkPolicyParam":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.projects.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.projects.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.projects.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.CustomGrammarFormatParam":"OpenAI.CustomGrammarFormatParam","com.azure.ai.projects.models.CustomTextFormatParam":"OpenAI.CustomTextFormatParam","com.azure.ai.projects.models.CustomToolParam":"OpenAI.CustomToolParam","com.azure.ai.projects.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.projects.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetDataGenerationJobSource":"Azure.AI.Projects.DatasetDataGenerationJobSource","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.projects.models.FileSearchToolFiltersType":"OpenAI.FileSearchTool.filters.type.anonymous","com.azure.ai.projects.models.FileSearchToolFiltersType1":"OpenAI.FileSearchTool.filters.type.anonymous","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.FunctionShellToolParam":"OpenAI.FunctionShellToolParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentContainerReferenceParam":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentLocalEnvironmentParam":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.projects.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.projects.models.GitHubIssueOpenedRoutineTrigger":"Azure.AI.Projects.GitHubIssueOpenedRoutineTrigger","com.azure.ai.projects.models.GrammarSyntax1":"OpenAI.GrammarSyntax1","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.projects.models.ImageGenActionEnum":"OpenAI.ImageGenActionEnum","com.azure.ai.projects.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.projects.models.ImageGenToolBackground":"OpenAI.ImageGenTool.background.anonymous","com.azure.ai.projects.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.projects.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.projects.models.ImageGenToolModeration":"OpenAI.ImageGenTool.moderation.anonymous","com.azure.ai.projects.models.ImageGenToolOutputFormat":"OpenAI.ImageGenTool.output_format.anonymous","com.azure.ai.projects.models.ImageGenToolQuality":"OpenAI.ImageGenTool.quality.anonymous","com.azure.ai.projects.models.ImageGenToolSize":"OpenAI.ImageGenTool.size.anonymous","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.InlineSkillParam":"OpenAI.InlineSkillParam","com.azure.ai.projects.models.InlineSkillSourceParam":"OpenAI.InlineSkillSourceParam","com.azure.ai.projects.models.InputFidelity":"OpenAI.InputFidelity","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LocalShellToolParam":"OpenAI.LocalShellToolParam","com.azure.ai.projects.models.LocalSkillParam":"OpenAI.LocalSkillParam","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.MCPTool":"OpenAI.MCPTool","com.azure.ai.projects.models.MCPToolConnectorId":"OpenAI.MCPTool.connector_id.anonymous","com.azure.ai.projects.models.MCPToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.projects.models.MCPToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RankerVersionType":"OpenAI.RankerVersionType","com.azure.ai.projects.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunDiagnostics":"Azure.AI.Projects.RoutineRunDiagnostics","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SearchContextSize":"OpenAI.SearchContextSize","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.SkillDetails":"Azure.AI.Projects.SkillObject","com.azure.ai.projects.models.SkillReferenceParam":"OpenAI.SkillReferenceParam","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.Tool":"OpenAI.Tool","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolType":"OpenAI.ToolType","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.projects.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.projects.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.projects.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.projects.models.WebSearchToolSearchContextSize":"OpenAI.WebSearchTool.search_context_size.anonymous","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorGenerationJobsClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java","src/main/java/com/azure/ai/projects/models/ApproximateLocation.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/projects/models/ComparisonFilter.java","src/main/java/com/azure/ai/projects/models/CompoundFilter.java","src/main/java/com/azure/ai/projects/models/ComputerEnvironment.java","src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java","src/main/java/com/azure/ai/projects/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/projects/models/ContainerSkill.java","src/main/java/com/azure/ai/projects/models/ContainerSkillType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java","src/main/java/com/azure/ai/projects/models/CustomTextFormatParam.java","src/main/java/com/azure/ai/projects/models/CustomToolParam.java","src/main/java/com/azure/ai/projects/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FileSearchTool.java","src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType.java","src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType1.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/projects/models/FunctionTool.java","src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GrammarSyntax1.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java","src/main/java/com/azure/ai/projects/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/projects/models/ImageGenTool.java","src/main/java/com/azure/ai/projects/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/projects/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java","src/main/java/com/azure/ai/projects/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/projects/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/projects/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/projects/models/ImageGenToolSize.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/InlineSkillParam.java","src/main/java/com/azure/ai/projects/models/InlineSkillSourceParam.java","src/main/java/com/azure/ai/projects/models/InputFidelity.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java","src/main/java/com/azure/ai/projects/models/LocalSkillParam.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/MCPTool.java","src/main/java/com/azure/ai/projects/models/MCPToolConnectorId.java","src/main/java/com/azure/ai/projects/models/MCPToolFilter.java","src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RankerVersionType.java","src/main/java/com/azure/ai/projects/models/RankingOptions.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SearchContextSize.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/SkillDetails.java","src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/Tool.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolType.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/projects/models/WebSearchTool.java","src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/projects/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"78c171c00382","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillRequest":"Azure.AI.Projects.createSkill.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ApplyPatchToolParam":"OpenAI.ApplyPatchToolParam","com.azure.ai.projects.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AutoCodeInterpreterToolParam":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.projects.models.ComparisonFilter":"OpenAI.ComparisonFilter","com.azure.ai.projects.models.CompoundFilter":"OpenAI.CompoundFilter","com.azure.ai.projects.models.ComputerEnvironment":"OpenAI.ComputerEnvironment","com.azure.ai.projects.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContainerAutoParam":"OpenAI.ContainerAutoParam","com.azure.ai.projects.models.ContainerMemoryLimit":"OpenAI.ContainerMemoryLimit","com.azure.ai.projects.models.ContainerNetworkPolicyAllowlistParam":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.projects.models.ContainerNetworkPolicyDisabledParam":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.projects.models.ContainerNetworkPolicyDomainSecretParam":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.projects.models.ContainerNetworkPolicyParam":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.projects.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.projects.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.projects.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.CustomGrammarFormatParam":"OpenAI.CustomGrammarFormatParam","com.azure.ai.projects.models.CustomTextFormatParam":"OpenAI.CustomTextFormatParam","com.azure.ai.projects.models.CustomToolParam":"OpenAI.CustomToolParam","com.azure.ai.projects.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.projects.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetDataGenerationJobSource":"Azure.AI.Projects.DatasetDataGenerationJobSource","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.projects.models.FileSearchToolFiltersType":"OpenAI.FileSearchTool.filters.type.anonymous","com.azure.ai.projects.models.FileSearchToolFiltersType1":"OpenAI.FileSearchTool.filters.type.anonymous","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.FunctionShellToolParam":"OpenAI.FunctionShellToolParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentContainerReferenceParam":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentLocalEnvironmentParam":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.projects.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.projects.models.GitHubIssueOpenedRoutineTrigger":"Azure.AI.Projects.GitHubIssueOpenedRoutineTrigger","com.azure.ai.projects.models.GrammarSyntax1":"OpenAI.GrammarSyntax1","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.projects.models.ImageGenActionEnum":"OpenAI.ImageGenActionEnum","com.azure.ai.projects.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.projects.models.ImageGenToolBackground":"OpenAI.ImageGenTool.background.anonymous","com.azure.ai.projects.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.projects.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.projects.models.ImageGenToolModeration":"OpenAI.ImageGenTool.moderation.anonymous","com.azure.ai.projects.models.ImageGenToolOutputFormat":"OpenAI.ImageGenTool.output_format.anonymous","com.azure.ai.projects.models.ImageGenToolQuality":"OpenAI.ImageGenTool.quality.anonymous","com.azure.ai.projects.models.ImageGenToolSize":"OpenAI.ImageGenTool.size.anonymous","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.InlineSkillParam":"OpenAI.InlineSkillParam","com.azure.ai.projects.models.InlineSkillSourceParam":"OpenAI.InlineSkillSourceParam","com.azure.ai.projects.models.InputFidelity":"OpenAI.InputFidelity","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LocalShellToolParam":"OpenAI.LocalShellToolParam","com.azure.ai.projects.models.LocalSkillParam":"OpenAI.LocalSkillParam","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.MCPTool":"OpenAI.MCPTool","com.azure.ai.projects.models.MCPToolConnectorId":"OpenAI.MCPTool.connector_id.anonymous","com.azure.ai.projects.models.MCPToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.projects.models.MCPToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RankerVersionType":"OpenAI.RankerVersionType","com.azure.ai.projects.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunDiagnostics":"Azure.AI.Projects.RoutineRunDiagnostics","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SearchContextSize":"OpenAI.SearchContextSize","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.SkillDetails":"Azure.AI.Projects.SkillObject","com.azure.ai.projects.models.SkillReferenceParam":"OpenAI.SkillReferenceParam","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.Tool":"OpenAI.Tool","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolType":"OpenAI.ToolType","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.projects.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.projects.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.projects.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.projects.models.WebSearchToolSearchContextSize":"OpenAI.WebSearchTool.search_context_size.anonymous","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java","src/main/java/com/azure/ai/projects/models/ApproximateLocation.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/projects/models/ComparisonFilter.java","src/main/java/com/azure/ai/projects/models/CompoundFilter.java","src/main/java/com/azure/ai/projects/models/ComputerEnvironment.java","src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java","src/main/java/com/azure/ai/projects/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/projects/models/ContainerSkill.java","src/main/java/com/azure/ai/projects/models/ContainerSkillType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java","src/main/java/com/azure/ai/projects/models/CustomTextFormatParam.java","src/main/java/com/azure/ai/projects/models/CustomToolParam.java","src/main/java/com/azure/ai/projects/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FileSearchTool.java","src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType.java","src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType1.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/projects/models/FunctionTool.java","src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GrammarSyntax1.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java","src/main/java/com/azure/ai/projects/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/projects/models/ImageGenTool.java","src/main/java/com/azure/ai/projects/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/projects/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java","src/main/java/com/azure/ai/projects/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/projects/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/projects/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/projects/models/ImageGenToolSize.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/InlineSkillParam.java","src/main/java/com/azure/ai/projects/models/InlineSkillSourceParam.java","src/main/java/com/azure/ai/projects/models/InputFidelity.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java","src/main/java/com/azure/ai/projects/models/LocalSkillParam.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/MCPTool.java","src/main/java/com/azure/ai/projects/models/MCPToolConnectorId.java","src/main/java/com/azure/ai/projects/models/MCPToolFilter.java","src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RankerVersionType.java","src/main/java/com/azure/ai/projects/models/RankingOptions.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SearchContextSize.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/SkillDetails.java","src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/Tool.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolType.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/projects/models/WebSearchTool.java","src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/projects/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml b/sdk/ai/azure-ai-projects/tsp-location.yaml index 23ff98bba91e..e1a6cc0862d0 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: 76ab5dc55ed6845c0920c75d5cb6e494208b7d23 +commit: 1e8c4c9ff13811e42d00b897a36b19fa4c95bc4c repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From 1f1f676b2ddcab8b0512349721aaff2c3e9ae6b1 Mon Sep 17 00:00:00 2001 From: Kaylie <50653231+kaylieee@users.noreply.github.com> Date: Thu, 21 May 2026 11:24:21 -0700 Subject: [PATCH 21/74] Emit agent optimizations (#49240) * emit agent optimizations * update tsp location, spacing --- .../agents/AgentSessionFilesAsyncClient.java | 8 +- .../ai/agents/AgentSessionFilesClient.java | 8 +- .../azure/ai/agents/AgentsAsyncClient.java | 1950 +++++++++- .../com/azure/ai/agents/AgentsClient.java | 1914 +++++++++- .../ai/agents/MemoryStoresAsyncClient.java | 229 +- .../azure/ai/agents/MemoryStoresClient.java | 200 +- .../implementation/AgentSessionFilesImpl.java | 16 +- .../ai/agents/implementation/AgentsImpl.java | 3392 ++++++++++++++++- .../implementation/JsonMergePatchHelper.java | 18 + .../implementation/MemoryStoresImpl.java | 132 +- .../agents/implementation/ToolboxesImpl.java | 134 +- .../models/CreateAgentFromCodeContent.java | 4 +- .../InputItemComputerCallOutputItemParam.java | 1 + .../models/InputItemComputerToolCall.java | 2 + .../models/InputItemFileSearchToolCall.java | 1 + .../models/InputItemLocalShellToolCall.java | 1 + .../models/InputItemMcpListTools.java | 1 + .../models/InputItemMcpToolCall.java | 1 + .../models/InputItemOutputMessage.java | 1 + .../models/InputItemReasoningItem.java | 2 + .../models/ListMemoriesRequest.java | 82 + .../ai/agents/models/A2APreviewTool.java | 39 + .../azure/ai/agents/models/A2AToolCall.java | 165 + .../ai/agents/models/A2AToolCallOutput.java | 181 + .../models/AgentDefinitionOptInKeys.java | 5 - ...gentsPagedResultOptimizationCandidate.java | 151 + .../ai/agents/models/AzureAISearchTool.java | 40 + .../agents/models/AzureAISearchToolCall.java | 143 + .../models/AzureAISearchToolCallOutput.java | 160 + .../ai/agents/models/AzureFunctionTool.java | 44 +- .../agents/models/AzureFunctionToolCall.java | 165 + .../models/AzureFunctionToolCallOutput.java | 182 + .../models/BingCustomSearchPreviewTool.java | 40 + .../models/BingCustomSearchToolCall.java | 143 + .../BingCustomSearchToolCallOutput.java | 160 + .../ai/agents/models/BingGroundingTool.java | 40 + .../agents/models/BingGroundingToolCall.java | 143 + .../models/BingGroundingToolCallOutput.java | 160 + .../models/BrowserAutomationPreviewTool.java | 40 + .../models/BrowserAutomationToolCall.java | 143 + .../BrowserAutomationToolCallOutput.java | 160 + .../agents/models/CandidateDeployConfig.java | 138 + .../ai/agents/models/CandidateResults.java | 105 + .../models/CaptureStructuredOutputsTool.java | 40 + .../agents/models/ChatSummaryMemoryItem.java | 2 +- .../ai/agents/models/CodeInterpreterTool.java | 39 + .../azure/ai/agents/models/DatasetItem.java | 297 ++ .../azure/ai/agents/models/DatasetRef.java | 116 + .../agents/models/DeleteMemoryResponse.java | 54 +- .../models/EntraAuthorizationScheme.java | 50 +- .../models/EntraIsolationKeySource.java | 98 + .../models/EvalRunOutputItemResult.java | 451 +++ .../models/EvalRunOutputItemResultStatus.java | 63 + .../ai/agents/models/EvaluationCriterion.java | 104 + .../models/FabricDataAgentToolCall.java | 143 + .../models/FabricDataAgentToolCallOutput.java | 160 + .../ai/agents/models/FabricIQPreviewTool.java | 40 + .../ai/agents/models/FileSearchTool.java | 40 + .../models/FoundryFeaturesOptInKeys.java | 5 - .../models/FunctionShellToolParameter.java | 39 + .../models/HeaderIsolationKeySource.java | 98 + .../azure/ai/agents/models/ImageGenTool.java | 39 + .../ai/agents/models/IsolationKeySource.java | 152 + .../agents/models/IsolationKeySourceKind.java | 57 + .../com/azure/ai/agents/models/JobStatus.java | 75 + .../ai/agents/models/ListMemoriesOptions.java | 224 ++ .../models/LocalShellToolParameter.java | 39 + .../com/azure/ai/agents/models/McpTool.java | 39 + .../agents/models/MemoryCommandToolCall.java | 144 + .../models/MemoryCommandToolCallOutput.java | 121 + .../azure/ai/agents/models/MemoryItem.java | 2 +- .../models/MemorySearchPreviewTool.java | 40 + .../agents/models/MemorySearchToolCall.java | 134 + .../agents/models/MemoryStoreObjectType.java | 4 +- .../models/MicrosoftFabricPreviewTool.java | 40 + .../azure/ai/agents/models/OpenApiTool.java | 44 +- .../ai/agents/models/OpenApiToolCall.java | 165 + .../agents/models/OpenApiToolCallOutput.java | 181 + .../models/OptimizationAgentDefinition.java | 222 ++ .../agents/models/OptimizationAgentSkill.java | 116 + .../agents/models/OptimizationCandidate.java | 420 ++ .../ai/agents/models/OptimizationJob.java | 224 ++ .../agents/models/OptimizationJobInputs.java | 290 ++ .../models/OptimizationJobProgress.java | 200 + .../agents/models/OptimizationJobResult.java | 241 ++ .../ai/agents/models/OptimizationMode.java | 51 + .../ai/agents/models/OptimizationOptions.java | 487 +++ .../agents/models/OptimizationStrategy.java | 63 + .../agents/models/OptimizationTaskResult.java | 301 ++ .../agents/models/ProceduralMemoryItem.java | 2 +- .../models/SharepointGroundingToolCall.java | 143 + .../SharepointGroundingToolCallOutput.java | 160 + .../agents/models/SharepointPreviewTool.java | 40 + .../ai/agents/models/ToolCallStatus.java | 66 + .../azure/ai/agents/models/ToolConfig.java | 129 + .../models/ToolboxSearchPreviewTool.java | 39 + .../agents/models/UserProfileMemoryItem.java | 2 +- .../azure/ai/agents/models/WebSearchTool.java | 39 + .../ai/agents/models/WorkIqPreviewTool.java | 40 + .../META-INF/azure-ai-agents_metadata.json | 2 +- .../models/DatasetItemSerializationTests.java | 318 ++ sdk/ai/azure-ai-agents/tsp-location.yaml | 5 +- 102 files changed, 17100 insertions(+), 483 deletions(-) rename sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/{ => implementation}/models/CreateAgentFromCodeContent.java (90%) create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/A2AToolCall.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateResults.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetItem.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetRef.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResult.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResultStatus.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvaluationCriterion.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/IsolationKeySource.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/JobStatus.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationAgentSkill.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJob.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationMode.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationOptions.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationStrategy.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolCallStatus.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolConfig.java create mode 100644 sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/DatasetItemSerializationTests.java diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java index 914050f5df16..bd37e227f252 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java @@ -50,7 +50,7 @@ public final class AgentSessionFilesAsyncClient { * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope * endpoint-scoped data (responses, conversations, sessions) to a specific end user. @@ -103,7 +103,7 @@ public Mono> uploadSessionFileWithResponse(String agentName * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope * endpoint-scoped data (responses, conversations, sessions) to a specific end user. @@ -151,7 +151,7 @@ public Mono> downloadSessionFileWithResponse(String agentNa * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope * endpoint-scoped data (responses, conversations, sessions) to a specific end user. @@ -366,7 +366,7 @@ public Mono deleteSessionFile(String agentName, String agentSessionId, Str * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope * endpoint-scoped data (responses, conversations, sessions) to a specific end user. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java index 8b34604c805e..0cd20fc25531 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java @@ -48,7 +48,7 @@ public final class AgentSessionFilesClient { * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope * endpoint-scoped data (responses, conversations, sessions) to a specific end user. @@ -100,7 +100,7 @@ public Response uploadSessionFileWithResponse(String agentName, Stri * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope * endpoint-scoped data (responses, conversations, sessions) to a specific end user. @@ -148,7 +148,7 @@ public Response downloadSessionFileWithResponse(String agentName, St * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope * endpoint-scoped data (responses, conversations, sessions) to a specific end user. @@ -357,7 +357,7 @@ public void deleteSessionFile(String agentName, String agentSessionId, String pa * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope * endpoint-scoped data (responses, conversations, sessions) to a specific end user. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java index c02ba4266e53..ce827638e1e3 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java @@ -7,6 +7,7 @@ import com.azure.ai.agents.implementation.JsonMergePatchHelper; import com.azure.ai.agents.implementation.MultipartFormDataHelper; import com.azure.ai.agents.implementation.SessionLogStreamHelper; +import com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent; import com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest; import com.azure.ai.agents.implementation.models.CreateAgentOptions; import com.azure.ai.agents.implementation.models.CreateAgentRequest; @@ -22,9 +23,16 @@ import com.azure.ai.agents.models.AgentKind; import com.azure.ai.agents.models.AgentSessionResource; import com.azure.ai.agents.models.AgentVersionDetails; +import com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate; +import com.azure.ai.agents.models.CandidateDeployConfig; +import com.azure.ai.agents.models.CandidateResults; import com.azure.ai.agents.models.CreateAgentFromCodeContent; import com.azure.ai.agents.models.CreateAgentVersionFromCodeContent; import com.azure.ai.agents.models.CreateAgentVersionInput; +import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; +import com.azure.ai.agents.models.JobStatus; +import com.azure.ai.agents.models.OptimizationCandidate; +import com.azure.ai.agents.models.OptimizationJob; import com.azure.ai.agents.models.PageOrder; import com.azure.ai.agents.models.SessionLogEvent; import com.azure.ai.agents.models.UpdateAgentDetailsOptions; @@ -164,7 +172,7 @@ public Mono> getAgentWithResponse(String agentName, Request * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -483,7 +491,7 @@ public Mono createAgentVersion(String agentName, AgentDefin * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -647,7 +655,7 @@ Mono> createAgentWithResponse(BinaryData createAgentRequest * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -1847,7 +1855,7 @@ Mono> internalDeleteAgentVersionWithResponse(String agentNa * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -1913,7 +1921,7 @@ public Mono> getSessionWithResponse(String agentName, Strin * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -2282,7 +2290,7 @@ public Flux getSessionLogStream(String agentName, String agentV * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -2326,7 +2334,7 @@ public Mono> getSessionLogStreamWithResponse(String agentNa * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -2622,7 +2630,7 @@ public Mono updateAgentDetails(String agentName, UpdateAgentDetail * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -2739,7 +2747,7 @@ Mono> createAgentFromCodeWithResponse(String agentName, Str * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -2854,7 +2862,7 @@ Mono> updateAgentFromCodeWithResponse(String agentName, Str * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -2940,7 +2948,7 @@ Mono> createAgentVersionFromCodeWithResponse(String agentNa * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -2976,7 +2984,7 @@ public Mono> downloadAgentCodeWithResponse(String agentName * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -3036,7 +3044,7 @@ public Mono> createSessionWithResponse(String agentName, Bi * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -3082,8 +3090,8 @@ public Mono> deleteSessionWithResponse(String agentName, String s */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createAgentFromCode(String agentName, String codeZipSha256, - CreateAgentFromCodeContent content, AgentDefinitionOptInKeys foundryFeatures) { + Mono createAgentFromCode(String agentName, String codeZipSha256, CreateAgentFromCodeContent content, + AgentDefinitionOptInKeys foundryFeatures) { // Generated convenience method for createAgentFromCodeWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { @@ -3122,8 +3130,7 @@ public Mono createAgentFromCode(String agentName, String codeZipSh */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createAgentFromCode(String agentName, String codeZipSha256, - CreateAgentFromCodeContent content) { + Mono createAgentFromCode(String agentName, String codeZipSha256, CreateAgentFromCodeContent content) { // Generated convenience method for createAgentFromCodeWithResponse RequestOptions requestOptions = new RequestOptions(); return createAgentFromCodeWithResponse(agentName, codeZipSha256, @@ -3593,4 +3600,1913 @@ public PagedFlux listAgentConversations(Integer limit, PageOrder o pagedResponse.getContinuationToken(), null)); }); } + + /** + * Creates an agent optimization job. + * + * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills) to maximize evaluation scores along with {@link Response} on successful completion + * of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createOptimizationJobWithResponse(BinaryData job, RequestOptions requestOptions) { + return this.serviceClient.createOptimizationJobWithResponseAsync(job, requestOptions); + } + + /** + * Get info about an agent optimization job. + * + * Get an optimization job by id. Emits `Retry-After` while the job is non-terminal. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about an agent optimization job. + * + * Get an optimization job by id along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getOptimizationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.getOptimizationJobWithResponseAsync(jobId, requestOptions); + } + + /** + * Returns a list of agent optimization jobs. + * + * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
statusStringNoFilter to jobs in this lifecycle state. Allowed values: + * "queued", "in_progress", "succeeded", "failed", "cancelled".
agent_nameStringNoFilter to jobs targeting this agent name.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listOptimizationJobs(RequestOptions requestOptions) { + return this.serviceClient.listOptimizationJobsAsync(requestOptions); + } + + /** + * Cancels an agent optimization job. + * + * Request cancellation. Idempotent on terminal states. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills) to maximize evaluation scores along with {@link Response} on successful completion + * of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cancelOptimizationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.cancelOptimizationJobWithResponseAsync(jobId, requestOptions); + } + + /** + * Deletes an agent optimization job. + * + * Delete the job and its candidate artifacts. Cancels first if non-terminal. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteOptimizationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.deleteOptimizationJobWithResponseAsync(jobId, requestOptions); + } + + /** + * Returns a list of candidates for an optimization job. + * + * List candidates produced by a job. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     data (Required): [
+     *          (Required){
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): {
+     *                 agent_name: String (Required)
+     *                 agent_version: String (Optional)
+     *                 model: String (Optional)
+     *                 system_prompt: String (Optional)
+     *                 skills (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         description: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *     ]
+     *     first_id: String (Optional)
+     *     last_id: String (Optional)
+     *     has_more: boolean (Required)
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> listOptimizationCandidatesWithResponse(String jobId, + RequestOptions requestOptions) { + return this.serviceClient.listOptimizationCandidatesWithResponseAsync(jobId, requestOptions); + } + + /** + * Get a candidate by id. + * + * Get a single candidate manifest and aggregated evaluation summary. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     candidate_id: String (Optional)
+     *     name: String (Required)
+     *     config (Required): {
+     *         agent_name: String (Required)
+     *         agent_version: String (Optional)
+     *         model: String (Optional)
+     *         system_prompt: String (Optional)
+     *         skills (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *     }
+     *     mutations (Required): {
+     *         String: BinaryData (Required)
+     *     }
+     *     rationale: String (Required)
+     *     avg_score: double (Required)
+     *     avg_tokens: double (Required)
+     *     pass_rate: double (Required)
+     *     task_scores (Required): [
+     *          (Required){
+     *             task_name: String (Required)
+     *             query: String (Optional)
+     *             scores (Required): {
+     *                 String: double (Required)
+     *             }
+     *             composite_score: double (Required)
+     *             tokens: int (Required)
+     *             duration_seconds: double (Required)
+     *             passed: boolean (Required)
+     *             error_message: String (Optional)
+     *             rationales (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             response: String (Optional)
+     *             run_id: String (Optional)
+     *         }
+     *     ]
+     *     is_pareto_optimal: boolean (Required)
+     *     sample_avg_score: Double (Optional)
+     *     sample_size: Integer (Optional)
+     *     evaluation_type: String (Optional)
+     *     strategy: String(instruction/model/skill) (Optional)
+     *     eval_id: String (Optional)
+     *     eval_run_id: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a candidate by id. + * + * Get a single candidate manifest and aggregated evaluation summary along with {@link Response} on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getOptimizationCandidateWithResponse(String jobId, String candidateId, + RequestOptions requestOptions) { + return this.serviceClient.getOptimizationCandidateWithResponseAsync(jobId, candidateId, requestOptions); + } + + /** + * Get candidate deploy config. + * + * Get the candidate's deploy config JSON. Used to compose `agents.create_version(...)` from a candidate. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     instructions: String (Optional)
+     *     model: String (Optional)
+     *     temperature: Double (Optional)
+     *     skills (Optional): [
+     *          (Optional){
+     *             name: String (Required)
+     *             description: String (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return candidate deploy config. + * + * Get the candidate's deploy config JSON along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getOptimizationCandidateConfigWithResponse(String jobId, String candidateId, + RequestOptions requestOptions) { + return this.serviceClient.getOptimizationCandidateConfigWithResponseAsync(jobId, candidateId, requestOptions); + } + + /** + * Get candidate evaluation results. + * + * Get full per-task evaluation results for a candidate. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     candidate_id: String (Required)
+     *     results (Required): [
+     *          (Required){
+     *             task_name: String (Required)
+     *             query: String (Optional)
+     *             scores (Required): {
+     *                 String: double (Required)
+     *             }
+     *             composite_score: double (Required)
+     *             tokens: int (Required)
+     *             duration_seconds: double (Required)
+     *             passed: boolean (Required)
+     *             error_message: String (Optional)
+     *             rationales (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             response: String (Optional)
+     *             run_id: String (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return candidate evaluation results. + * + * Get full per-task evaluation results for a candidate along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getOptimizationCandidateResultsWithResponse(String jobId, String candidateId, + RequestOptions requestOptions) { + return this.serviceClient.getOptimizationCandidateResultsWithResponseAsync(jobId, candidateId, requestOptions); + } + + /** + * Creates an agent optimization job. + * + * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry. + * + * @param job The job to create. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job + * unconditionally. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills) to maximize evaluation scores on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createOptimizationJob(OptimizationJob job, FoundryFeaturesOptInKeys foundryFeatures, + String operationId) { + // Generated convenience method for createOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (operationId != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); + } + return createOptimizationJobWithResponse(BinaryData.fromObject(job), requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(OptimizationJob.class)); + } + + /** + * Creates an agent optimization job. + * + * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry. + * + * @param job The job to create. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills) to maximize evaluation scores on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createOptimizationJob(OptimizationJob job) { + // Generated convenience method for createOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createOptimizationJobWithResponse(BinaryData.fromObject(job), requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(OptimizationJob.class)); + } + + /** + * Get info about an agent optimization job. + * + * Get an optimization job by id. Emits `Retry-After` while the job is non-terminal. + * + * @param jobId The ID of the job. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about an agent optimization job. + * + * Get an optimization job by id on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getOptimizationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getOptimizationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(OptimizationJob.class)); + } + + /** + * Get info about an agent optimization job. + * + * Get an optimization job by id. Emits `Retry-After` while the job is non-terminal. + * + * @param jobId The ID of the job. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about an agent optimization job. + * + * Get an optimization job by id on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getOptimizationJob(String jobId) { + // Generated convenience method for getOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getOptimizationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(OptimizationJob.class)); + } + + /** + * Returns a list of agent optimization jobs. + * + * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters. + * + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @param status Filter to jobs in this lifecycle state. + * @param agentName Filter to jobs targeting this agent name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listOptimizationJobs(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, + PageOrder order, String after, String before, JobStatus status, String agentName) { + // Generated convenience method for listOptimizationJobs + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + if (status != null) { + requestOptions.addQueryParam("status", status.toString(), false); + } + if (agentName != null) { + requestOptions.addQueryParam("agent_name", agentName, false); + } + PagedFlux pagedFluxResponse = listOptimizationJobs(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(OptimizationJob.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Returns a list of agent optimization jobs. + * + * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listOptimizationJobs() { + // Generated convenience method for listOptimizationJobs + RequestOptions requestOptions = new RequestOptions(); + PagedFlux pagedFluxResponse = listOptimizationJobs(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(OptimizationJob.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Cancels an agent optimization job. + * + * Request cancellation. Idempotent on terminal states. + * + * @param jobId The ID of the job to cancel. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills) to maximize evaluation scores on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cancelOptimizationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for cancelOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return cancelOptimizationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(OptimizationJob.class)); + } + + /** + * Cancels an agent optimization job. + * + * Request cancellation. Idempotent on terminal states. + * + * @param jobId The ID of the job to cancel. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills) to maximize evaluation scores on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cancelOptimizationJob(String jobId) { + // Generated convenience method for cancelOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cancelOptimizationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(OptimizationJob.class)); + } + + /** + * Deletes an agent optimization job. + * + * Delete the job and its candidate artifacts. Cancels first if non-terminal. + * + * @param jobId The ID of the job to delete. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteOptimizationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for deleteOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return deleteOptimizationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Deletes an agent optimization job. + * + * Delete the job and its candidate artifacts. Cancels first if non-terminal. + * + * @param jobId The ID of the job to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteOptimizationJob(String jobId) { + // Generated convenience method for deleteOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return deleteOptimizationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Returns a list of candidates for an optimization job. + * + * List candidates produced by a job. + * + * @param jobId The optimization job id. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono listOptimizationCandidates(String jobId, + FoundryFeaturesOptInKeys foundryFeatures, Integer limit, PageOrder order, String after, String before) { + // Generated convenience method for listOptimizationCandidatesWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + return listOptimizationCandidatesWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(AgentsPagedResultOptimizationCandidate.class)); + } + + /** + * Returns a list of candidates for an optimization job. + * + * List candidates produced by a job. + * + * @param jobId The optimization job id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono listOptimizationCandidates(String jobId) { + // Generated convenience method for listOptimizationCandidatesWithResponse + RequestOptions requestOptions = new RequestOptions(); + return listOptimizationCandidatesWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(AgentsPagedResultOptimizationCandidate.class)); + } + + /** + * Get a candidate by id. + * + * Get a single candidate manifest and aggregated evaluation summary. + * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a candidate by id. + * + * Get a single candidate manifest and aggregated evaluation summary on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getOptimizationCandidate(String jobId, String candidateId, + FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getOptimizationCandidateWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getOptimizationCandidateWithResponse(jobId, candidateId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(OptimizationCandidate.class)); + } + + /** + * Get a candidate by id. + * + * Get a single candidate manifest and aggregated evaluation summary. + * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a candidate by id. + * + * Get a single candidate manifest and aggregated evaluation summary on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getOptimizationCandidate(String jobId, String candidateId) { + // Generated convenience method for getOptimizationCandidateWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getOptimizationCandidateWithResponse(jobId, candidateId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(OptimizationCandidate.class)); + } + + /** + * Get candidate deploy config. + * + * Get the candidate's deploy config JSON. Used to compose `agents.create_version(...)` from a candidate. + * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return candidate deploy config. + * + * Get the candidate's deploy config JSON on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getOptimizationCandidateConfig(String jobId, String candidateId, + FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getOptimizationCandidateConfigWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getOptimizationCandidateConfigWithResponse(jobId, candidateId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(CandidateDeployConfig.class)); + } + + /** + * Get candidate deploy config. + * + * Get the candidate's deploy config JSON. Used to compose `agents.create_version(...)` from a candidate. + * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return candidate deploy config. + * + * Get the candidate's deploy config JSON on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getOptimizationCandidateConfig(String jobId, String candidateId) { + // Generated convenience method for getOptimizationCandidateConfigWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getOptimizationCandidateConfigWithResponse(jobId, candidateId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(CandidateDeployConfig.class)); + } + + /** + * Get candidate evaluation results. + * + * Get full per-task evaluation results for a candidate. + * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return candidate evaluation results. + * + * Get full per-task evaluation results for a candidate on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getOptimizationCandidateResults(String jobId, String candidateId, + FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getOptimizationCandidateResultsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getOptimizationCandidateResultsWithResponse(jobId, candidateId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(CandidateResults.class)); + } + + /** + * Get candidate evaluation results. + * + * Get full per-task evaluation results for a candidate. + * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return candidate evaluation results. + * + * Get full per-task evaluation results for a candidate on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getOptimizationCandidateResults(String jobId, String candidateId) { + // Generated convenience method for getOptimizationCandidateResultsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getOptimizationCandidateResultsWithResponse(jobId, candidateId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(CandidateResults.class)); + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java index ecf2c7fee2f1..e6788a407c72 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java @@ -7,6 +7,7 @@ import com.azure.ai.agents.implementation.JsonMergePatchHelper; import com.azure.ai.agents.implementation.MultipartFormDataHelper; import com.azure.ai.agents.implementation.SessionLogStreamHelper; +import com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent; import com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest; import com.azure.ai.agents.implementation.models.CreateAgentOptions; import com.azure.ai.agents.implementation.models.CreateAgentRequest; @@ -22,9 +23,16 @@ import com.azure.ai.agents.models.AgentKind; import com.azure.ai.agents.models.AgentSessionResource; import com.azure.ai.agents.models.AgentVersionDetails; +import com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate; +import com.azure.ai.agents.models.CandidateDeployConfig; +import com.azure.ai.agents.models.CandidateResults; import com.azure.ai.agents.models.CreateAgentFromCodeContent; import com.azure.ai.agents.models.CreateAgentVersionFromCodeContent; import com.azure.ai.agents.models.CreateAgentVersionInput; +import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; +import com.azure.ai.agents.models.JobStatus; +import com.azure.ai.agents.models.OptimizationCandidate; +import com.azure.ai.agents.models.OptimizationJob; import com.azure.ai.agents.models.PageOrder; import com.azure.ai.agents.models.SessionLogEvent; import com.azure.ai.agents.models.UpdateAgentDetailsOptions; @@ -159,7 +167,7 @@ public Response getAgentWithResponse(String agentName, RequestOption * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -451,7 +459,7 @@ public AgentVersionDetails createAgentVersion(String agentName, AgentDefinition * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -615,7 +623,7 @@ Response createAgentWithResponse(BinaryData createAgentRequest, Requ * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -1770,7 +1778,7 @@ Response internalDeleteAgentVersionWithResponse(String agentName, St * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -1836,7 +1844,7 @@ public Response getSessionWithResponse(String agentName, String sess * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -2177,7 +2185,7 @@ public IterableStream getSessionLogStream(String agentName, Str * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -2220,7 +2228,7 @@ public Response getSessionLogStreamWithResponse(String agentName, St * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -2511,7 +2519,7 @@ public AgentDetails updateAgentDetails(String agentName, UpdateAgentDetailsOptio * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -2627,7 +2635,7 @@ Response createAgentFromCodeWithResponse(String agentName, String co * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -2741,7 +2749,7 @@ Response updateAgentFromCodeWithResponse(String agentName, String co * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -2827,7 +2835,7 @@ Response createAgentVersionFromCodeWithResponse(String agentName, St * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -2863,7 +2871,7 @@ public Response downloadAgentCodeWithResponse(String agentName, Requ * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -2923,7 +2931,7 @@ public Response createSessionWithResponse(String agentName, BinaryDa * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -2968,7 +2976,7 @@ public Response deleteSessionWithResponse(String agentName, String session */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public AgentDetails createAgentFromCode(String agentName, String codeZipSha256, CreateAgentFromCodeContent content, + AgentDetails createAgentFromCode(String agentName, String codeZipSha256, CreateAgentFromCodeContent content, AgentDefinitionOptInKeys foundryFeatures) { // Generated convenience method for createAgentFromCodeWithResponse RequestOptions requestOptions = new RequestOptions(); @@ -3007,8 +3015,7 @@ public AgentDetails createAgentFromCode(String agentName, String codeZipSha256, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public AgentDetails createAgentFromCode(String agentName, String codeZipSha256, - CreateAgentFromCodeContent content) { + AgentDetails createAgentFromCode(String agentName, String codeZipSha256, CreateAgentFromCodeContent content) { // Generated convenience method for createAgentFromCodeWithResponse RequestOptions requestOptions = new RequestOptions(); return createAgentFromCodeWithResponse(agentName, codeZipSha256, @@ -3447,4 +3454,1879 @@ public PagedIterable listAgentConversations(Integer limit, PageOrd return serviceClient.listAgentConversations(requestOptions) .mapPage(bodyItemValue -> bodyItemValue.toObject(Conversation.class)); } + + /** + * Creates an agent optimization job. + * + * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills) to maximize evaluation scores along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createOptimizationJobWithResponse(BinaryData job, RequestOptions requestOptions) { + return this.serviceClient.createOptimizationJobWithResponse(job, requestOptions); + } + + /** + * Get info about an agent optimization job. + * + * Get an optimization job by id. Emits `Retry-After` while the job is non-terminal. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about an agent optimization job. + * + * Get an optimization job by id along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getOptimizationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.getOptimizationJobWithResponse(jobId, requestOptions); + } + + /** + * Returns a list of agent optimization jobs. + * + * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
statusStringNoFilter to jobs in this lifecycle state. Allowed values: + * "queued", "in_progress", "succeeded", "failed", "cancelled".
agent_nameStringNoFilter to jobs targeting this agent name.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listOptimizationJobs(RequestOptions requestOptions) { + return this.serviceClient.listOptimizationJobs(requestOptions); + } + + /** + * Cancels an agent optimization job. + * + * Request cancellation. Idempotent on terminal states. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills) to maximize evaluation scores along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cancelOptimizationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.cancelOptimizationJobWithResponse(jobId, requestOptions); + } + + /** + * Deletes an agent optimization job. + * + * Delete the job and its candidate artifacts. Cancels first if non-terminal. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteOptimizationJobWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.deleteOptimizationJobWithResponse(jobId, requestOptions); + } + + /** + * Returns a list of candidates for an optimization job. + * + * List candidates produced by a job. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     data (Required): [
+     *          (Required){
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): {
+     *                 agent_name: String (Required)
+     *                 agent_version: String (Optional)
+     *                 model: String (Optional)
+     *                 system_prompt: String (Optional)
+     *                 skills (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         description: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *     ]
+     *     first_id: String (Optional)
+     *     last_id: String (Optional)
+     *     has_more: boolean (Required)
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response listOptimizationCandidatesWithResponse(String jobId, RequestOptions requestOptions) { + return this.serviceClient.listOptimizationCandidatesWithResponse(jobId, requestOptions); + } + + /** + * Get a candidate by id. + * + * Get a single candidate manifest and aggregated evaluation summary. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     candidate_id: String (Optional)
+     *     name: String (Required)
+     *     config (Required): {
+     *         agent_name: String (Required)
+     *         agent_version: String (Optional)
+     *         model: String (Optional)
+     *         system_prompt: String (Optional)
+     *         skills (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *     }
+     *     mutations (Required): {
+     *         String: BinaryData (Required)
+     *     }
+     *     rationale: String (Required)
+     *     avg_score: double (Required)
+     *     avg_tokens: double (Required)
+     *     pass_rate: double (Required)
+     *     task_scores (Required): [
+     *          (Required){
+     *             task_name: String (Required)
+     *             query: String (Optional)
+     *             scores (Required): {
+     *                 String: double (Required)
+     *             }
+     *             composite_score: double (Required)
+     *             tokens: int (Required)
+     *             duration_seconds: double (Required)
+     *             passed: boolean (Required)
+     *             error_message: String (Optional)
+     *             rationales (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             response: String (Optional)
+     *             run_id: String (Optional)
+     *         }
+     *     ]
+     *     is_pareto_optimal: boolean (Required)
+     *     sample_avg_score: Double (Optional)
+     *     sample_size: Integer (Optional)
+     *     evaluation_type: String (Optional)
+     *     strategy: String(instruction/model/skill) (Optional)
+     *     eval_id: String (Optional)
+     *     eval_run_id: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a candidate by id. + * + * Get a single candidate manifest and aggregated evaluation summary along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getOptimizationCandidateWithResponse(String jobId, String candidateId, + RequestOptions requestOptions) { + return this.serviceClient.getOptimizationCandidateWithResponse(jobId, candidateId, requestOptions); + } + + /** + * Get candidate deploy config. + * + * Get the candidate's deploy config JSON. Used to compose `agents.create_version(...)` from a candidate. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     instructions: String (Optional)
+     *     model: String (Optional)
+     *     temperature: Double (Optional)
+     *     skills (Optional): [
+     *          (Optional){
+     *             name: String (Required)
+     *             description: String (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return candidate deploy config. + * + * Get the candidate's deploy config JSON along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getOptimizationCandidateConfigWithResponse(String jobId, String candidateId, + RequestOptions requestOptions) { + return this.serviceClient.getOptimizationCandidateConfigWithResponse(jobId, candidateId, requestOptions); + } + + /** + * Get candidate evaluation results. + * + * Get full per-task evaluation results for a candidate. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     candidate_id: String (Required)
+     *     results (Required): [
+     *          (Required){
+     *             task_name: String (Required)
+     *             query: String (Optional)
+     *             scores (Required): {
+     *                 String: double (Required)
+     *             }
+     *             composite_score: double (Required)
+     *             tokens: int (Required)
+     *             duration_seconds: double (Required)
+     *             passed: boolean (Required)
+     *             error_message: String (Optional)
+     *             rationales (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             response: String (Optional)
+     *             run_id: String (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return candidate evaluation results. + * + * Get full per-task evaluation results for a candidate along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getOptimizationCandidateResultsWithResponse(String jobId, String candidateId, + RequestOptions requestOptions) { + return this.serviceClient.getOptimizationCandidateResultsWithResponse(jobId, candidateId, requestOptions); + } + + /** + * Creates an agent optimization job. + * + * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry. + * + * @param job The job to create. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job + * unconditionally. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills) to maximize evaluation scores. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public OptimizationJob createOptimizationJob(OptimizationJob job, FoundryFeaturesOptInKeys foundryFeatures, + String operationId) { + // Generated convenience method for createOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (operationId != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); + } + return createOptimizationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue() + .toObject(OptimizationJob.class); + } + + /** + * Creates an agent optimization job. + * + * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry. + * + * @param job The job to create. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills) to maximize evaluation scores. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public OptimizationJob createOptimizationJob(OptimizationJob job) { + // Generated convenience method for createOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createOptimizationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue() + .toObject(OptimizationJob.class); + } + + /** + * Get info about an agent optimization job. + * + * Get an optimization job by id. Emits `Retry-After` while the job is non-terminal. + * + * @param jobId The ID of the job. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about an agent optimization job. + * + * Get an optimization job by id. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public OptimizationJob getOptimizationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getOptimizationJobWithResponse(jobId, requestOptions).getValue().toObject(OptimizationJob.class); + } + + /** + * Get info about an agent optimization job. + * + * Get an optimization job by id. Emits `Retry-After` while the job is non-terminal. + * + * @param jobId The ID of the job. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return info about an agent optimization job. + * + * Get an optimization job by id. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public OptimizationJob getOptimizationJob(String jobId) { + // Generated convenience method for getOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getOptimizationJobWithResponse(jobId, requestOptions).getValue().toObject(OptimizationJob.class); + } + + /** + * Returns a list of agent optimization jobs. + * + * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters. + * + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @param status Filter to jobs in this lifecycle state. + * @param agentName Filter to jobs targeting this agent name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listOptimizationJobs(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, + PageOrder order, String after, String before, JobStatus status, String agentName) { + // Generated convenience method for listOptimizationJobs + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + if (status != null) { + requestOptions.addQueryParam("status", status.toString(), false); + } + if (agentName != null) { + requestOptions.addQueryParam("agent_name", agentName, false); + } + return serviceClient.listOptimizationJobs(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(OptimizationJob.class)); + } + + /** + * Returns a list of agent optimization jobs. + * + * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listOptimizationJobs() { + // Generated convenience method for listOptimizationJobs + RequestOptions requestOptions = new RequestOptions(); + return serviceClient.listOptimizationJobs(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(OptimizationJob.class)); + } + + /** + * Cancels an agent optimization job. + * + * Request cancellation. Idempotent on terminal states. + * + * @param jobId The ID of the job to cancel. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills) to maximize evaluation scores. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public OptimizationJob cancelOptimizationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for cancelOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return cancelOptimizationJobWithResponse(jobId, requestOptions).getValue().toObject(OptimizationJob.class); + } + + /** + * Cancels an agent optimization job. + * + * Request cancellation. Idempotent on terminal states. + * + * @param jobId The ID of the job to cancel. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills) to maximize evaluation scores. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public OptimizationJob cancelOptimizationJob(String jobId) { + // Generated convenience method for cancelOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cancelOptimizationJobWithResponse(jobId, requestOptions).getValue().toObject(OptimizationJob.class); + } + + /** + * Deletes an agent optimization job. + * + * Delete the job and its candidate artifacts. Cancels first if non-terminal. + * + * @param jobId The ID of the job to delete. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteOptimizationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for deleteOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + deleteOptimizationJobWithResponse(jobId, requestOptions).getValue(); + } + + /** + * Deletes an agent optimization job. + * + * Delete the job and its candidate artifacts. Cancels first if non-terminal. + * + * @param jobId The ID of the job to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteOptimizationJob(String jobId) { + // Generated convenience method for deleteOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + deleteOptimizationJobWithResponse(jobId, requestOptions).getValue(); + } + + /** + * Returns a list of candidates for an optimization job. + * + * List candidates produced by a job. + * + * @param jobId The optimization job id. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public AgentsPagedResultOptimizationCandidate listOptimizationCandidates(String jobId, + FoundryFeaturesOptInKeys foundryFeatures, Integer limit, PageOrder order, String after, String before) { + // Generated convenience method for listOptimizationCandidatesWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + return listOptimizationCandidatesWithResponse(jobId, requestOptions).getValue() + .toObject(AgentsPagedResultOptimizationCandidate.class); + } + + /** + * Returns a list of candidates for an optimization job. + * + * List candidates produced by a job. + * + * @param jobId The optimization job id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public AgentsPagedResultOptimizationCandidate listOptimizationCandidates(String jobId) { + // Generated convenience method for listOptimizationCandidatesWithResponse + RequestOptions requestOptions = new RequestOptions(); + return listOptimizationCandidatesWithResponse(jobId, requestOptions).getValue() + .toObject(AgentsPagedResultOptimizationCandidate.class); + } + + /** + * Get a candidate by id. + * + * Get a single candidate manifest and aggregated evaluation summary. + * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a candidate by id. + * + * Get a single candidate manifest and aggregated evaluation summary. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public OptimizationCandidate getOptimizationCandidate(String jobId, String candidateId, + FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getOptimizationCandidateWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getOptimizationCandidateWithResponse(jobId, candidateId, requestOptions).getValue() + .toObject(OptimizationCandidate.class); + } + + /** + * Get a candidate by id. + * + * Get a single candidate manifest and aggregated evaluation summary. + * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a candidate by id. + * + * Get a single candidate manifest and aggregated evaluation summary. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public OptimizationCandidate getOptimizationCandidate(String jobId, String candidateId) { + // Generated convenience method for getOptimizationCandidateWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getOptimizationCandidateWithResponse(jobId, candidateId, requestOptions).getValue() + .toObject(OptimizationCandidate.class); + } + + /** + * Get candidate deploy config. + * + * Get the candidate's deploy config JSON. Used to compose `agents.create_version(...)` from a candidate. + * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return candidate deploy config. + * + * Get the candidate's deploy config JSON. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public CandidateDeployConfig getOptimizationCandidateConfig(String jobId, String candidateId, + FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getOptimizationCandidateConfigWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getOptimizationCandidateConfigWithResponse(jobId, candidateId, requestOptions).getValue() + .toObject(CandidateDeployConfig.class); + } + + /** + * Get candidate deploy config. + * + * Get the candidate's deploy config JSON. Used to compose `agents.create_version(...)` from a candidate. + * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return candidate deploy config. + * + * Get the candidate's deploy config JSON. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public CandidateDeployConfig getOptimizationCandidateConfig(String jobId, String candidateId) { + // Generated convenience method for getOptimizationCandidateConfigWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getOptimizationCandidateConfigWithResponse(jobId, candidateId, requestOptions).getValue() + .toObject(CandidateDeployConfig.class); + } + + /** + * Get candidate evaluation results. + * + * Get full per-task evaluation results for a candidate. + * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return candidate evaluation results. + * + * Get full per-task evaluation results for a candidate. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public CandidateResults getOptimizationCandidateResults(String jobId, String candidateId, + FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getOptimizationCandidateResultsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getOptimizationCandidateResultsWithResponse(jobId, candidateId, requestOptions).getValue() + .toObject(CandidateResults.class); + } + + /** + * Get candidate evaluation results. + * + * Get full per-task evaluation results for a candidate. + * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return candidate evaluation results. + * + * Get full per-task evaluation results for a candidate. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public CandidateResults getOptimizationCandidateResults(String jobId, String candidateId) { + // Generated convenience method for getOptimizationCandidateResultsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getOptimizationCandidateResultsWithResponse(jobId, candidateId, requestOptions).getValue() + .toObject(CandidateResults.class); + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java index 05da5c45e959..f9de3714e4f4 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java @@ -8,11 +8,13 @@ import com.azure.ai.agents.implementation.models.CreateMemoryRequest; import com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest; import com.azure.ai.agents.implementation.models.InputItem; +import com.azure.ai.agents.implementation.models.ListMemoriesRequest; import com.azure.ai.agents.implementation.models.SearchMemoriesRequest; import com.azure.ai.agents.implementation.models.UpdateMemoriesRequest; import com.azure.ai.agents.implementation.models.UpdateMemoryRequest; import com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest; import com.azure.ai.agents.models.DeleteMemoryResponse; +import com.azure.ai.agents.models.ListMemoriesOptions; import com.azure.ai.agents.models.MemoryItem; import com.azure.ai.agents.models.MemoryItemKind; import com.azure.ai.agents.models.MemorySearchOptions; @@ -90,7 +92,7 @@ public final class MemoryStoresAsyncClient { *
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -142,7 +144,7 @@ public Mono> createMemoryStoreWithResponse(BinaryData creat
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -182,7 +184,7 @@ public Mono> updateMemoryStoreWithResponse(String name, Bin
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -240,7 +242,7 @@ public Mono> getMemoryStoreWithResponse(String name, Reques
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -1023,7 +1025,7 @@ public PollerFlux b
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     name: String (Required)
      *     deleted: boolean (Required)
      * }
@@ -1061,7 +1063,7 @@ Mono> internalDeleteMemoryStoreWithResponse(String name, Re
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     name: String (Required)
      *     scope: String (Required)
      *     deleted: boolean (Required)
@@ -1208,56 +1210,6 @@ public Mono> getMemoryWithResponse(String name, String memo
         return this.serviceClient.getMemoryWithResponseAsync(name, memoryId, requestOptions);
     }
 
-    /**
-     * List all memory items in a memory store.
-     * 

Query Parameters

- * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     kind: String(user_profile/chat_summary/procedural) (Required)
-     *     memory_id: String (Required)
-     *     updated_at: long (Required)
-     *     scope: String (Required)
-     *     content: String (Required)
-     * }
-     * }
-     * 
- * - * @param name The name of the memory store. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listMemories(String name, RequestOptions requestOptions) { - return this.serviceClient.listMemoriesAsync(name, requestOptions); - } - /** * Delete a memory item from a memory store. *

Response Body Schema

@@ -1265,8 +1217,7 @@ public PagedFlux listMemories(String name, RequestOptions requestOpt *
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
-     *     name: String (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     memory_id: String (Required)
      *     deleted: boolean (Required)
      * }
@@ -1367,64 +1318,95 @@ public Mono getMemory(String name, String memoryId) {
     }
 
     /**
-     * List all memory items in a memory store.
+     * Delete a memory item from a memory store.
      *
      * @param name The name of the memory store.
-     * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the
-     * default is 20.
-     * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`
-     * for descending order.
-     * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list.
-     * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
-     * subsequent call can include after=obj_foo in order to fetch the next page of the list.
-     * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list.
-     * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
-     * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+     * @param memoryId The ID of the memory item to delete.
      * @throws IllegalArgumentException thrown if parameters fail the validation.
      * @throws HttpResponseException thrown if the request is rejected by server.
      * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
      * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
      * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
      * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return the response data for a requested list of items as paginated response with {@link PagedFlux}.
+     * @return response for deleting a memory item from a memory store on successful completion of {@link Mono}.
      */
     @Generated
-    @ServiceMethod(returns = ReturnType.COLLECTION)
-    public PagedFlux listMemories(String name, Integer limit, PageOrder order, String after,
-        String before) {
-        // Generated convenience method for listMemories
+    @ServiceMethod(returns = ReturnType.SINGLE)
+    public Mono deleteMemory(String name, String memoryId) {
+        // Generated convenience method for deleteMemoryWithResponse
         RequestOptions requestOptions = new RequestOptions();
-        if (limit != null) {
-            requestOptions.addQueryParam("limit", String.valueOf(limit), false);
-        }
-        if (order != null) {
-            requestOptions.addQueryParam("order", order.toString(), false);
-        }
-        if (after != null) {
-            requestOptions.addQueryParam("after", after, false);
-        }
-        if (before != null) {
-            requestOptions.addQueryParam("before", before, false);
-        }
-        PagedFlux pagedFluxResponse = listMemories(name, requestOptions);
-        return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> {
-            Flux> flux = (continuationTokenParam == null)
-                ? pagedFluxResponse.byPage().take(1)
-                : pagedFluxResponse.byPage(continuationTokenParam).take(1);
-            return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(),
-                pagedResponse.getStatusCode(), pagedResponse.getHeaders(),
-                pagedResponse.getValue()
-                    .stream()
-                    .map(protocolMethodData -> protocolMethodData.toObject(MemoryItem.class))
-                    .collect(Collectors.toList()),
-                pagedResponse.getContinuationToken(), null));
-        });
+        return deleteMemoryWithResponse(name, memoryId, requestOptions).flatMap(FluxUtil::toMono)
+            .map(protocolMethodData -> protocolMethodData.toObject(DeleteMemoryResponse.class));
     }
 
     /**
      * List all memory items in a memory store.
+     * 

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
kindStringNoThe kind of the memory item. Allowed values: "user_profile", + * "chat_summary", "procedural".
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     scope: String (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
* * @param name The name of the memory store. + * @param listMemoriesRequest The listMemoriesRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listMemories(String name, BinaryData listMemoriesRequest, + RequestOptions requestOptions) { + return this.serviceClient.listMemoriesAsync(name, listMemoriesRequest, requestOptions); + } + + /** + * List all memory items in a memory store. + * + * @param options Options for listMemories API. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1435,10 +1417,33 @@ public PagedFlux listMemories(String name, Integer limit, PageOrder */ @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listMemories(String name) { + public PagedFlux listMemories(ListMemoriesOptions options) { // Generated convenience method for listMemories RequestOptions requestOptions = new RequestOptions(); - PagedFlux pagedFluxResponse = listMemories(name, requestOptions); + String name = options.getName(); + MemoryItemKind kind = options.getKind(); + Integer limit = options.getLimit(); + PageOrder order = options.getOrder(); + String after = options.getAfter(); + String before = options.getBefore(); + ListMemoriesRequest listMemoriesRequestObj = new ListMemoriesRequest(options.getScope()); + BinaryData listMemoriesRequest = BinaryData.fromObject(listMemoriesRequestObj); + if (kind != null) { + requestOptions.addQueryParam("kind", kind.toString(), false); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + PagedFlux pagedFluxResponse = listMemories(name, listMemoriesRequest, requestOptions); return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) @@ -1452,26 +1457,4 @@ public PagedFlux listMemories(String name) { pagedResponse.getContinuationToken(), null)); }); } - - /** - * Delete a memory item from a memory store. - * - * @param name The name of the memory store. - * @param memoryId The ID of the memory item to delete. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for deleting a memory item from a memory store on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteMemory(String name, String memoryId) { - // Generated convenience method for deleteMemoryWithResponse - RequestOptions requestOptions = new RequestOptions(); - return deleteMemoryWithResponse(name, memoryId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(DeleteMemoryResponse.class)); - } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresClient.java index 517fefe8c40e..2360080e6a05 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresClient.java @@ -8,11 +8,13 @@ import com.azure.ai.agents.implementation.models.CreateMemoryRequest; import com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest; import com.azure.ai.agents.implementation.models.InputItem; +import com.azure.ai.agents.implementation.models.ListMemoriesRequest; import com.azure.ai.agents.implementation.models.SearchMemoriesRequest; import com.azure.ai.agents.implementation.models.UpdateMemoriesRequest; import com.azure.ai.agents.implementation.models.UpdateMemoryRequest; import com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest; import com.azure.ai.agents.models.DeleteMemoryResponse; +import com.azure.ai.agents.models.ListMemoriesOptions; import com.azure.ai.agents.models.MemoryItem; import com.azure.ai.agents.models.MemoryItemKind; import com.azure.ai.agents.models.MemorySearchOptions; @@ -84,7 +86,7 @@ public final class MemoryStoresClient { *
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -135,7 +137,7 @@ public Response createMemoryStoreWithResponse(BinaryData createMemor
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -174,7 +176,7 @@ public Response updateMemoryStoreWithResponse(String name, BinaryDat
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -231,7 +233,7 @@ public Response getMemoryStoreWithResponse(String name, RequestOptio
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -988,7 +990,7 @@ public SyncPoller b
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     name: String (Required)
      *     deleted: boolean (Required)
      * }
@@ -1026,7 +1028,7 @@ Response internalDeleteMemoryStoreWithResponse(String name, RequestO
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     name: String (Required)
      *     scope: String (Required)
      *     deleted: boolean (Required)
@@ -1171,56 +1173,6 @@ public Response getMemoryWithResponse(String name, String memoryId,
         return this.serviceClient.getMemoryWithResponse(name, memoryId, requestOptions);
     }
 
-    /**
-     * List all memory items in a memory store.
-     * 

Query Parameters

- * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     kind: String(user_profile/chat_summary/procedural) (Required)
-     *     memory_id: String (Required)
-     *     updated_at: long (Required)
-     *     scope: String (Required)
-     *     content: String (Required)
-     * }
-     * }
-     * 
- * - * @param name The name of the memory store. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listMemories(String name, RequestOptions requestOptions) { - return this.serviceClient.listMemories(name, requestOptions); - } - /** * Delete a memory item from a memory store. *

Response Body Schema

@@ -1228,8 +1180,7 @@ public PagedIterable listMemories(String name, RequestOptions reques *
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
-     *     name: String (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     memory_id: String (Required)
      *     deleted: boolean (Required)
      * }
@@ -1324,88 +1275,131 @@ public MemoryItem getMemory(String name, String memoryId) {
     }
 
     /**
-     * List all memory items in a memory store.
+     * Delete a memory item from a memory store.
      *
      * @param name The name of the memory store.
-     * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the
-     * default is 20.
-     * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`
-     * for descending order.
-     * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list.
-     * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
-     * subsequent call can include after=obj_foo in order to fetch the next page of the list.
-     * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list.
-     * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
-     * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+     * @param memoryId The ID of the memory item to delete.
      * @throws IllegalArgumentException thrown if parameters fail the validation.
      * @throws HttpResponseException thrown if the request is rejected by server.
      * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
      * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
      * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
      * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return the response data for a requested list of items as paginated response with {@link PagedIterable}.
+     * @return response for deleting a memory item from a memory store.
      */
     @Generated
-    @ServiceMethod(returns = ReturnType.COLLECTION)
-    public PagedIterable listMemories(String name, Integer limit, PageOrder order, String after,
-        String before) {
-        // Generated convenience method for listMemories
+    @ServiceMethod(returns = ReturnType.SINGLE)
+    public DeleteMemoryResponse deleteMemory(String name, String memoryId) {
+        // Generated convenience method for deleteMemoryWithResponse
         RequestOptions requestOptions = new RequestOptions();
-        if (limit != null) {
-            requestOptions.addQueryParam("limit", String.valueOf(limit), false);
-        }
-        if (order != null) {
-            requestOptions.addQueryParam("order", order.toString(), false);
-        }
-        if (after != null) {
-            requestOptions.addQueryParam("after", after, false);
-        }
-        if (before != null) {
-            requestOptions.addQueryParam("before", before, false);
-        }
-        return serviceClient.listMemories(name, requestOptions)
-            .mapPage(bodyItemValue -> bodyItemValue.toObject(MemoryItem.class));
+        return deleteMemoryWithResponse(name, memoryId, requestOptions).getValue().toObject(DeleteMemoryResponse.class);
     }
 
     /**
      * List all memory items in a memory store.
+     * 

Query Parameters

+ * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
kindStringNoThe kind of the memory item. Allowed values: "user_profile", + * "chat_summary", "procedural".
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     scope: String (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     kind: String(user_profile/chat_summary/procedural) (Required)
+     *     memory_id: String (Required)
+     *     updated_at: long (Required)
+     *     scope: String (Required)
+     *     content: String (Required)
+     * }
+     * }
+     * 
* * @param name The name of the memory store. - * @throws IllegalArgumentException thrown if parameters fail the validation. + * @param listMemoriesRequest The listMemoriesRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. */ @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listMemories(String name) { - // Generated convenience method for listMemories - RequestOptions requestOptions = new RequestOptions(); - return serviceClient.listMemories(name, requestOptions) - .mapPage(bodyItemValue -> bodyItemValue.toObject(MemoryItem.class)); + public PagedIterable listMemories(String name, BinaryData listMemoriesRequest, + RequestOptions requestOptions) { + return this.serviceClient.listMemories(name, listMemoriesRequest, requestOptions); } /** - * Delete a memory item from a memory store. + * List all memory items in a memory store. * - * @param name The name of the memory store. - * @param memoryId The ID of the memory item to delete. + * @param options Options for listMemories API. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for deleting a memory item from a memory store. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. */ @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public DeleteMemoryResponse deleteMemory(String name, String memoryId) { - // Generated convenience method for deleteMemoryWithResponse + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listMemories(ListMemoriesOptions options) { + // Generated convenience method for listMemories RequestOptions requestOptions = new RequestOptions(); - return deleteMemoryWithResponse(name, memoryId, requestOptions).getValue().toObject(DeleteMemoryResponse.class); + String name = options.getName(); + MemoryItemKind kind = options.getKind(); + Integer limit = options.getLimit(); + PageOrder order = options.getOrder(); + String after = options.getAfter(); + String before = options.getBefore(); + ListMemoriesRequest listMemoriesRequestObj = new ListMemoriesRequest(options.getScope()); + BinaryData listMemoriesRequest = BinaryData.fromObject(listMemoriesRequestObj); + if (kind != null) { + requestOptions.addQueryParam("kind", kind.toString(), false); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + return serviceClient.listMemories(name, listMemoriesRequest, requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(MemoryItem.class)); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java index f2b4471abae5..5f5a83f90927 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java @@ -172,7 +172,7 @@ Response deleteSessionFileSync(@HostParam("endpoint") String endpoint, * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope * endpoint-scoped data (responses, conversations, sessions) to a specific end user. @@ -228,7 +228,7 @@ public Mono> uploadSessionFileWithResponseAsync(String agen * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope * endpoint-scoped data (responses, conversations, sessions) to a specific end user. @@ -281,7 +281,7 @@ public Response uploadSessionFileWithResponse(String agentName, Stri * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope * endpoint-scoped data (responses, conversations, sessions) to a specific end user. @@ -321,7 +321,7 @@ public Mono> downloadSessionFileWithResponseAsync(String ag * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope * endpoint-scoped data (responses, conversations, sessions) to a specific end user. @@ -362,7 +362,7 @@ public Response downloadSessionFileWithResponse(String agentName, St * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope * endpoint-scoped data (responses, conversations, sessions) to a specific end user. @@ -414,7 +414,7 @@ public Mono> getSessionFilesWithResponseAsync(String agentN * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope * endpoint-scoped data (responses, conversations, sessions) to a specific end user. @@ -473,7 +473,7 @@ public Response getSessionFilesWithResponse(String agentName, String * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope * endpoint-scoped data (responses, conversations, sessions) to a specific end user. @@ -514,7 +514,7 @@ public Mono> deleteSessionFileWithResponseAsync(String agentName, * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope * endpoint-scoped data (responses, conversations, sessions) to a specific end user. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java index bb4c34d55a13..ea904e393b65 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java @@ -575,6 +575,194 @@ Response getSessionLogStreamSync(@HostParam("endpoint") String endpo @PathParam("session_id") String sessionId, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @Post("/agent_optimization_jobs") + @ExpectedResponses({ 201 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> createOptimizationJob(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, + RequestOptions requestOptions, Context context); + + @Post("/agent_optimization_jobs") + @ExpectedResponses({ 201 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response createOptimizationJobSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, + RequestOptions requestOptions, Context context); + + @Get("/agent_optimization_jobs/{jobId}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getOptimizationJob(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/agent_optimization_jobs/{jobId}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getOptimizationJobSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/agent_optimization_jobs") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> listOptimizationJobs(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/agent_optimization_jobs") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response listOptimizationJobsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Post("/agent_optimization_jobs/{jobId}:cancel") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> cancelOptimizationJob(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Post("/agent_optimization_jobs/{jobId}:cancel") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response cancelOptimizationJobSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Delete("/agent_optimization_jobs/{jobId}") + @ExpectedResponses({ 204 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> deleteOptimizationJob(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + RequestOptions requestOptions, Context context); + + @Delete("/agent_optimization_jobs/{jobId}") + @ExpectedResponses({ 204 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response deleteOptimizationJobSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + RequestOptions requestOptions, Context context); + + @Get("/agent_optimization_jobs/{jobId}/candidates") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> listOptimizationCandidates(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/agent_optimization_jobs/{jobId}/candidates") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response listOptimizationCandidatesSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/agent_optimization_jobs/{jobId}/candidates/{candidateId}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getOptimizationCandidate(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @PathParam("candidateId") String candidateId, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/agent_optimization_jobs/{jobId}/candidates/{candidateId}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getOptimizationCandidateSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @PathParam("candidateId") String candidateId, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/agent_optimization_jobs/{jobId}/candidates/{candidateId}/config") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getOptimizationCandidateConfig(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @PathParam("candidateId") String candidateId, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/agent_optimization_jobs/{jobId}/candidates/{candidateId}/config") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getOptimizationCandidateConfigSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @PathParam("candidateId") String candidateId, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/agent_optimization_jobs/{jobId}/candidates/{candidateId}/results") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getOptimizationCandidateResults(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @PathParam("candidateId") String candidateId, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/agent_optimization_jobs/{jobId}/candidates/{candidateId}/results") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getOptimizationCandidateResultsSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @PathParam("candidateId") String candidateId, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + @Get("/openai/v1/conversations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @@ -794,7 +982,7 @@ public Response getAgentWithResponse(String agentName, RequestOption * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -961,7 +1149,7 @@ public Mono> createAgentWithResponseAsync(BinaryData create * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -1131,7 +1319,7 @@ public Response createAgentWithResponse(BinaryData createAgentReques * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -1249,7 +1437,7 @@ public Mono> createAgentFromCodeWithResponseAsync(String ag * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -1362,7 +1550,7 @@ public Response createAgentFromCodeWithResponse(String agentName, St * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -1495,7 +1683,7 @@ public Mono> updateAgentWithResponseAsync(String agentName, * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -1631,7 +1819,7 @@ public Response updateAgentWithResponse(String agentName, BinaryData * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -1750,7 +1938,7 @@ public Mono> updateAgentFromCodeWithResponseAsync(String ag * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -2885,7 +3073,7 @@ public PagedIterable listAgents(RequestOptions requestOptions) { * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -2975,7 +3163,7 @@ public Mono> createAgentVersionWithResponseAsync(String age * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -3694,7 +3882,7 @@ public PagedIterable listAgentVersions(String agentName, RequestOpti * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -3848,7 +4036,7 @@ public Mono> updateAgentDetailsWithResponseAsync(String age * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -4002,7 +4190,7 @@ public Response updateAgentDetailsWithResponse(String agentName, Bin * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -4072,7 +4260,7 @@ public Mono> createAgentVersionFromCodeWithResponseAsync(St * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -4157,7 +4345,7 @@ public Response createAgentVersionFromCodeWithResponse(String agentN * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -4209,7 +4397,7 @@ public Mono> downloadAgentCodeWithResponseAsync(String agen * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -4246,7 +4434,7 @@ public Response downloadAgentCodeWithResponse(String agentName, Requ * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -4310,7 +4498,7 @@ public Mono> createSessionWithResponseAsync(String agentNam * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -4372,7 +4560,7 @@ public Response createSessionWithResponse(String agentName, BinaryDa * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -4419,7 +4607,7 @@ public Mono> getSessionWithResponseAsync(String agentName, * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -4467,7 +4655,7 @@ public Response getSessionWithResponse(String agentName, String sess * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -4497,7 +4685,7 @@ public Mono> deleteSessionWithResponseAsync(String agentName, Str * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -4545,7 +4733,7 @@ public Response deleteSessionWithResponse(String agentName, String session * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -4614,7 +4802,7 @@ private Mono> listSessionsSinglePageAsync(String agent * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -4676,7 +4864,7 @@ public PagedFlux listSessionsAsync(String agentName, RequestOptions * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -4742,7 +4930,7 @@ private PagedResponse listSessionsSinglePage(String agentName, Reque * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -4810,7 +4998,7 @@ public PagedIterable listSessions(String agentName, RequestOptions r * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -4880,7 +5068,7 @@ public Mono> getSessionLogStreamWithResponseAsync(String ag * NameTypeRequiredDescription * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", - * "WorkflowAgents=V1Preview", "ContainerAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} @@ -4916,6 +5104,3154 @@ public Response getSessionLogStreamWithResponse(String agentName, St this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } + /** + * Creates an agent optimization job. + * + * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills) to maximize evaluation scores along with {@link Response} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createOptimizationJobWithResponseAsync(BinaryData job, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.createOptimizationJob(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), contentType, accept, job, requestOptions, context)); + } + + /** + * Creates an agent optimization job. + * + * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry. + *

Header Parameters

+ * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
Operation-IdStringNoClient-generated unique ID for idempotent retries. When + * absent, the server creates the job unconditionally.
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param job The job to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills) to maximize evaluation scores along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createOptimizationJobWithResponse(BinaryData job, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.createOptimizationJobSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), contentType, accept, job, requestOptions, Context.NONE); + } + + /** + * Get info about an agent optimization job. + * + * Get an optimization job by id. Emits `Retry-After` while the job is non-terminal. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about an agent optimization job. + * + * Get an optimization job by id along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getOptimizationJobWithResponseAsync(String jobId, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getOptimizationJob(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Get info about an agent optimization job. + * + * Get an optimization job by id. Emits `Retry-After` while the job is non-terminal. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return info about an agent optimization job. + * + * Get an optimization job by id along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getOptimizationJobWithResponse(String jobId, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getOptimizationJobSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Returns a list of agent optimization jobs. + * + * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
statusStringNoFilter to jobs in this lifecycle state. Allowed values: + * "queued", "in_progress", "succeeded", "failed", "cancelled".
agent_nameStringNoFilter to jobs targeting this agent name.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listOptimizationJobsSinglePageAsync(RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listOptimizationJobs(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null)); + } + + /** + * Returns a list of agent optimization jobs. + * + * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
statusStringNoFilter to jobs in this lifecycle state. Allowed values: + * "queued", "in_progress", "succeeded", "failed", "cancelled".
agent_nameStringNoFilter to jobs targeting this agent name.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listOptimizationJobsAsync(RequestOptions requestOptions) { + return new PagedFlux<>(() -> listOptimizationJobsSinglePageAsync(requestOptions)); + } + + /** + * Returns a list of agent optimization jobs. + * + * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
statusStringNoFilter to jobs in this lifecycle state. Allowed values: + * "queued", "in_progress", "succeeded", "failed", "cancelled".
agent_nameStringNoFilter to jobs targeting this agent name.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listOptimizationJobsSinglePage(RequestOptions requestOptions) { + final String accept = "application/json"; + Response res = service.listOptimizationJobsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null); + } + + /** + * Returns a list of agent optimization jobs. + * + * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
statusStringNoFilter to jobs in this lifecycle state. Allowed values: + * "queued", "in_progress", "succeeded", "failed", "cancelled".
agent_nameStringNoFilter to jobs targeting this agent name.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listOptimizationJobs(RequestOptions requestOptions) { + return new PagedIterable<>(() -> listOptimizationJobsSinglePage(requestOptions)); + } + + /** + * Cancels an agent optimization job. + * + * Request cancellation. Idempotent on terminal states. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills) to maximize evaluation scores along with {@link Response} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cancelOptimizationJobWithResponseAsync(String jobId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.cancelOptimizationJob(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Cancels an agent optimization job. + * + * Request cancellation. Idempotent on terminal states. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agent_name: String (Required)
+     *             agent_version: String (Optional)
+     *             model: String (Optional)
+     *             system_prompt: String (Optional)
+     *             skills (Optional): [
+     *                  (Optional){
+     *                     name: String (Required)
+     *                     description: String (Optional)
+     *                 }
+     *             ]
+     *         }
+     *         dataset (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 query: String (Required)
+     *                 ground_truth: String (Optional)
+     *                 criteria (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         instruction: String (Required)
+     *                     }
+     *                 ]
+     *                 eval_results (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         type: String (Optional)
+     *                         score: double (Required)
+     *                         passed: boolean (Required)
+     *                         sample (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                         status: String(completed/errored/skipped) (Optional)
+     *                         metric: String (Optional)
+     *                         label: String (Optional)
+     *                         threshold: Double (Optional)
+     *                         reason: String (Optional)
+     *                         properties (Optional): {
+     *                             String: String (Required)
+     *                         }
+     *                          (Optional): {
+     *                             String: BinaryData (Required)
+     *                         }
+     *                     }
+     *                 ]
+     *                 response_items (Optional): [
+     *                     BinaryData (Optional)
+     *                 ]
+     *             }
+     *         ]
+     *         train_dataset_reference (Optional): {
+     *             name: String (Required)
+     *             version: String (Optional)
+     *         }
+     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         criteria (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         options (Optional): {
+     *             strategies (Optional): [
+     *                 String(instruction/model/skill) (Optional)
+     *             ]
+     *             budget: Integer (Optional)
+     *             max_iterations: Integer (Optional)
+     *             tasks_per_iteration: Integer (Optional)
+     *             max_reflection_tasks: Integer (Optional)
+     *             min_improvement: Double (Optional)
+     *             pass_threshold: Double (Optional)
+     *             improvement_threshold: Double (Optional)
+     *             mode: String(optimize) (Optional)
+     *             eval_model: String (Optional)
+     *             reflection_model: String (Optional)
+     *             task_timeout_seconds: Long (Optional)
+     *             keep_versions: Boolean (Optional)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): (recursive schema, see config above)
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *         best (Optional): (recursive schema, see best above)
+     *         candidates (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         pareto_frontier (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         validation_score (Optional): (recursive schema, see validation_score above)
+     *         options (Optional): (recursive schema, see options above)
+     *         sample_size: Integer (Optional)
+     *         warnings (Optional): [
+     *             String (Optional)
+     *         ]
+     *         all_strategies_failed: Boolean (Optional)
+     *     }
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     created_at: long (Required)
+     *     updated_at: Long (Optional)
+     *     progress (Optional): {
+     *         current_strategy: String(instruction/model/skill) (Required)
+     *         current_iteration: int (Required)
+     *         tasks_completed: int (Required)
+     *         tasks_total: int (Required)
+     *         best_score: double (Required)
+     *         elapsed_seconds: double (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param jobId The ID of the job to cancel. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills) to maximize evaluation scores along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cancelOptimizationJobWithResponse(String jobId, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.cancelOptimizationJobSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Deletes an agent optimization job. + * + * Delete the job and its candidate artifacts. Cancels first if non-terminal. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteOptimizationJobWithResponseAsync(String jobId, RequestOptions requestOptions) { + return FluxUtil.withContext(context -> service.deleteOptimizationJob(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), requestOptions, context)); + } + + /** + * Deletes an agent optimization job. + * + * Delete the job and its candidate artifacts. Cancels first if non-terminal. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param jobId The ID of the job to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteOptimizationJobWithResponse(String jobId, RequestOptions requestOptions) { + return service.deleteOptimizationJobSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); + } + + /** + * Returns a list of candidates for an optimization job. + * + * List candidates produced by a job. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     data (Required): [
+     *          (Required){
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): {
+     *                 agent_name: String (Required)
+     *                 agent_version: String (Optional)
+     *                 model: String (Optional)
+     *                 system_prompt: String (Optional)
+     *                 skills (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         description: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *     ]
+     *     first_id: String (Optional)
+     *     last_id: String (Optional)
+     *     has_more: boolean (Required)
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> listOptimizationCandidatesWithResponseAsync(String jobId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.listOptimizationCandidates(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Returns a list of candidates for an optimization job. + * + * List candidates produced by a job. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     data (Required): [
+     *          (Required){
+     *             candidate_id: String (Optional)
+     *             name: String (Required)
+     *             config (Required): {
+     *                 agent_name: String (Required)
+     *                 agent_version: String (Optional)
+     *                 model: String (Optional)
+     *                 system_prompt: String (Optional)
+     *                 skills (Optional): [
+     *                      (Optional){
+     *                         name: String (Required)
+     *                         description: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *             mutations (Required): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             rationale: String (Required)
+     *             avg_score: double (Required)
+     *             avg_tokens: double (Required)
+     *             pass_rate: double (Required)
+     *             task_scores (Required): [
+     *                  (Required){
+     *                     task_name: String (Required)
+     *                     query: String (Optional)
+     *                     scores (Required): {
+     *                         String: double (Required)
+     *                     }
+     *                     composite_score: double (Required)
+     *                     tokens: int (Required)
+     *                     duration_seconds: double (Required)
+     *                     passed: boolean (Required)
+     *                     error_message: String (Optional)
+     *                     rationales (Optional): {
+     *                         String: String (Required)
+     *                     }
+     *                     response: String (Optional)
+     *                     run_id: String (Optional)
+     *                 }
+     *             ]
+     *             is_pareto_optimal: boolean (Required)
+     *             sample_avg_score: Double (Optional)
+     *             sample_size: Integer (Optional)
+     *             evaluation_type: String (Optional)
+     *             strategy: String(instruction/model/skill) (Optional)
+     *             eval_id: String (Optional)
+     *             eval_run_id: String (Optional)
+     *         }
+     *     ]
+     *     first_id: String (Optional)
+     *     last_id: String (Optional)
+     *     has_more: boolean (Required)
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response listOptimizationCandidatesWithResponse(String jobId, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.listOptimizationCandidatesSync(this.client.getEndpoint(), jobId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Get a candidate by id. + * + * Get a single candidate manifest and aggregated evaluation summary. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     candidate_id: String (Optional)
+     *     name: String (Required)
+     *     config (Required): {
+     *         agent_name: String (Required)
+     *         agent_version: String (Optional)
+     *         model: String (Optional)
+     *         system_prompt: String (Optional)
+     *         skills (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *     }
+     *     mutations (Required): {
+     *         String: BinaryData (Required)
+     *     }
+     *     rationale: String (Required)
+     *     avg_score: double (Required)
+     *     avg_tokens: double (Required)
+     *     pass_rate: double (Required)
+     *     task_scores (Required): [
+     *          (Required){
+     *             task_name: String (Required)
+     *             query: String (Optional)
+     *             scores (Required): {
+     *                 String: double (Required)
+     *             }
+     *             composite_score: double (Required)
+     *             tokens: int (Required)
+     *             duration_seconds: double (Required)
+     *             passed: boolean (Required)
+     *             error_message: String (Optional)
+     *             rationales (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             response: String (Optional)
+     *             run_id: String (Optional)
+     *         }
+     *     ]
+     *     is_pareto_optimal: boolean (Required)
+     *     sample_avg_score: Double (Optional)
+     *     sample_size: Integer (Optional)
+     *     evaluation_type: String (Optional)
+     *     strategy: String(instruction/model/skill) (Optional)
+     *     eval_id: String (Optional)
+     *     eval_run_id: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a candidate by id. + * + * Get a single candidate manifest and aggregated evaluation summary along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getOptimizationCandidateWithResponseAsync(String jobId, String candidateId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getOptimizationCandidate(this.client.getEndpoint(), jobId, + candidateId, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Get a candidate by id. + * + * Get a single candidate manifest and aggregated evaluation summary. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     candidate_id: String (Optional)
+     *     name: String (Required)
+     *     config (Required): {
+     *         agent_name: String (Required)
+     *         agent_version: String (Optional)
+     *         model: String (Optional)
+     *         system_prompt: String (Optional)
+     *         skills (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 description: String (Optional)
+     *             }
+     *         ]
+     *     }
+     *     mutations (Required): {
+     *         String: BinaryData (Required)
+     *     }
+     *     rationale: String (Required)
+     *     avg_score: double (Required)
+     *     avg_tokens: double (Required)
+     *     pass_rate: double (Required)
+     *     task_scores (Required): [
+     *          (Required){
+     *             task_name: String (Required)
+     *             query: String (Optional)
+     *             scores (Required): {
+     *                 String: double (Required)
+     *             }
+     *             composite_score: double (Required)
+     *             tokens: int (Required)
+     *             duration_seconds: double (Required)
+     *             passed: boolean (Required)
+     *             error_message: String (Optional)
+     *             rationales (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             response: String (Optional)
+     *             run_id: String (Optional)
+     *         }
+     *     ]
+     *     is_pareto_optimal: boolean (Required)
+     *     sample_avg_score: Double (Optional)
+     *     sample_size: Integer (Optional)
+     *     evaluation_type: String (Optional)
+     *     strategy: String(instruction/model/skill) (Optional)
+     *     eval_id: String (Optional)
+     *     eval_run_id: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a candidate by id. + * + * Get a single candidate manifest and aggregated evaluation summary along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getOptimizationCandidateWithResponse(String jobId, String candidateId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getOptimizationCandidateSync(this.client.getEndpoint(), jobId, candidateId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Get candidate deploy config. + * + * Get the candidate's deploy config JSON. Used to compose `agents.create_version(...)` from a candidate. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     instructions: String (Optional)
+     *     model: String (Optional)
+     *     temperature: Double (Optional)
+     *     skills (Optional): [
+     *          (Optional){
+     *             name: String (Required)
+     *             description: String (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return candidate deploy config. + * + * Get the candidate's deploy config JSON along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getOptimizationCandidateConfigWithResponseAsync(String jobId, String candidateId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getOptimizationCandidateConfig(this.client.getEndpoint(), jobId, + candidateId, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Get candidate deploy config. + * + * Get the candidate's deploy config JSON. Used to compose `agents.create_version(...)` from a candidate. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     instructions: String (Optional)
+     *     model: String (Optional)
+     *     temperature: Double (Optional)
+     *     skills (Optional): [
+     *          (Optional){
+     *             name: String (Required)
+     *             description: String (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return candidate deploy config. + * + * Get the candidate's deploy config JSON along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getOptimizationCandidateConfigWithResponse(String jobId, String candidateId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getOptimizationCandidateConfigSync(this.client.getEndpoint(), jobId, candidateId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Get candidate evaluation results. + * + * Get full per-task evaluation results for a candidate. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     candidate_id: String (Required)
+     *     results (Required): [
+     *          (Required){
+     *             task_name: String (Required)
+     *             query: String (Optional)
+     *             scores (Required): {
+     *                 String: double (Required)
+     *             }
+     *             composite_score: double (Required)
+     *             tokens: int (Required)
+     *             duration_seconds: double (Required)
+     *             passed: boolean (Required)
+     *             error_message: String (Optional)
+     *             rationales (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             response: String (Optional)
+     *             run_id: String (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return candidate evaluation results. + * + * Get full per-task evaluation results for a candidate along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getOptimizationCandidateResultsWithResponseAsync(String jobId, String candidateId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getOptimizationCandidateResults(this.client.getEndpoint(), jobId, + candidateId, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Get candidate evaluation results. + * + * Get full per-task evaluation results for a candidate. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     candidate_id: String (Required)
+     *     results (Required): [
+     *          (Required){
+     *             task_name: String (Required)
+     *             query: String (Optional)
+     *             scores (Required): {
+     *                 String: double (Required)
+     *             }
+     *             composite_score: double (Required)
+     *             tokens: int (Required)
+     *             duration_seconds: double (Required)
+     *             passed: boolean (Required)
+     *             error_message: String (Optional)
+     *             rationales (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             response: String (Optional)
+     *             run_id: String (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return candidate evaluation results. + * + * Get full per-task evaluation results for a candidate along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getOptimizationCandidateResultsWithResponse(String jobId, String candidateId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getOptimizationCandidateResultsSync(this.client.getEndpoint(), jobId, candidateId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + /** * Returns the list of all conversations. *

Query Parameters

diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java index bf06989b1404..3a94b150ab01 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java @@ -8,6 +8,7 @@ import com.azure.ai.agents.models.AgentCardSkill; import com.azure.ai.agents.models.AgentEndpointAuthorizationScheme; import com.azure.ai.agents.models.AgentEndpointConfig; +import com.azure.ai.agents.models.IsolationKeySource; import com.azure.ai.agents.models.UpdateAgentDetailsOptions; import com.azure.ai.agents.models.VersionSelectionRule; import com.azure.ai.agents.models.VersionSelector; @@ -85,6 +86,23 @@ public static AgentEndpointAuthorizationSchemeAccessor getAgentEndpointAuthoriza return agentEndpointAuthorizationSchemeAccessor; } + private static IsolationKeySourceAccessor isolationKeySourceAccessor; + + public interface IsolationKeySourceAccessor { + IsolationKeySource prepareModelForJsonMergePatch(IsolationKeySource isolationKeySource, + boolean jsonMergePatchEnabled); + + boolean isJsonMergePatch(IsolationKeySource isolationKeySource); + } + + public static void setIsolationKeySourceAccessor(IsolationKeySourceAccessor accessor) { + isolationKeySourceAccessor = accessor; + } + + public static IsolationKeySourceAccessor getIsolationKeySourceAccessor() { + return isolationKeySourceAccessor; + } + private static AgentCardAccessor agentCardAccessor; public interface AgentCardAccessor { diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java index c5a699a6c31c..4e00ba916631 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java @@ -292,7 +292,7 @@ Response internalDeleteScopeSync(@HostParam("endpoint") String endpo @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData deleteScopeRequest, RequestOptions requestOptions, Context context); - @Post("/memory_stores/{name}/memories") + @Post("/memory_stores/{name}/items") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @@ -304,7 +304,7 @@ Mono> createMemory(@HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData createMemoryRequest, RequestOptions requestOptions, Context context); - @Post("/memory_stores/{name}/memories") + @Post("/memory_stores/{name}/items") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @@ -316,7 +316,7 @@ Response createMemorySync(@HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData createMemoryRequest, RequestOptions requestOptions, Context context); - @Post("/memory_stores/{name}/memories/{memory_id}") + @Post("/memory_stores/{name}/items/{memory_id}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @@ -329,7 +329,7 @@ Mono> updateMemory(@HostParam("endpoint") String endpoint, @BodyParam("application/json") BinaryData updateMemoryRequest, RequestOptions requestOptions, Context context); - @Post("/memory_stores/{name}/memories/{memory_id}") + @Post("/memory_stores/{name}/items/{memory_id}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @@ -342,7 +342,7 @@ Response updateMemorySync(@HostParam("endpoint") String endpoint, @BodyParam("application/json") BinaryData updateMemoryRequest, RequestOptions requestOptions, Context context); - @Get("/memory_stores/{name}/memories/{memory_id}") + @Get("/memory_stores/{name}/items/{memory_id}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @@ -353,7 +353,7 @@ Mono> getMemory(@HostParam("endpoint") String endpoint, @PathParam("memory_id") String memoryId, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/memory_stores/{name}/memories/{memory_id}") + @Get("/memory_stores/{name}/items/{memory_id}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @@ -364,7 +364,7 @@ Response getMemorySync(@HostParam("endpoint") String endpoint, @PathParam("memory_id") String memoryId, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/memory_stores/{name}/memories") + @Post("/memory_stores/{name}/items:list") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @@ -373,9 +373,10 @@ Response getMemorySync(@HostParam("endpoint") String endpoint, Mono> listMemories(@HostParam("endpoint") String endpoint, @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + @BodyParam("application/json") BinaryData listMemoriesRequest, RequestOptions requestOptions, + Context context); - @Get("/memory_stores/{name}/memories") + @Post("/memory_stores/{name}/items:list") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @@ -384,9 +385,10 @@ Mono> listMemories(@HostParam("endpoint") String endpoint, Response listMemoriesSync(@HostParam("endpoint") String endpoint, @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + @BodyParam("application/json") BinaryData listMemoriesRequest, RequestOptions requestOptions, + Context context); - @Delete("/memory_stores/{name}/memories/{memory_id}") + @Delete("/memory_stores/{name}/items/{memory_id}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @@ -397,7 +399,7 @@ Mono> deleteMemory(@HostParam("endpoint") String endpoint, @PathParam("memory_id") String memoryId, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Delete("/memory_stores/{name}/memories/{memory_id}") + @Delete("/memory_stores/{name}/items/{memory_id}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @@ -433,7 +435,7 @@ Response deleteMemorySync(@HostParam("endpoint") String endpoint, *
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -493,7 +495,7 @@ public Mono> createMemoryStoreWithResponseAsync(BinaryData
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -548,7 +550,7 @@ public Response createMemoryStoreWithResponse(BinaryData createMemor
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -605,7 +607,7 @@ public Mono> updateMemoryStoreWithResponseAsync(String name
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -648,7 +650,7 @@ public Response updateMemoryStoreWithResponse(String name, BinaryDat
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -688,7 +690,7 @@ public Mono> getMemoryStoreWithResponseAsync(String name, R
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -747,7 +749,7 @@ public Response getMemoryStoreWithResponse(String name, RequestOptio
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -809,7 +811,7 @@ private Mono> listMemoryStoresSinglePageAsync(RequestO
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -864,7 +866,7 @@ public PagedFlux listMemoryStoresAsync(RequestOptions requestOptions
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -924,7 +926,7 @@ private PagedResponse listMemoryStoresSinglePage(RequestOptions requ
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     id: String (Required)
      *     created_at: long (Required)
      *     updated_at: long (Required)
@@ -959,7 +961,7 @@ public PagedIterable listMemoryStores(RequestOptions requestOptions)
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     name: String (Required)
      *     deleted: boolean (Required)
      * }
@@ -990,7 +992,7 @@ public Mono> internalDeleteMemoryStoreWithResponseAsync(Str
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     name: String (Required)
      *     deleted: boolean (Required)
      * }
@@ -1900,7 +1902,7 @@ public Response getUpdateResultWithResponse(String name, String upda
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     name: String (Required)
      *     scope: String (Required)
      *     deleted: boolean (Required)
@@ -1946,7 +1948,7 @@ public Mono> internalDeleteScopeWithResponseAsync(String na
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     name: String (Required)
      *     scope: String (Required)
      *     deleted: boolean (Required)
@@ -2243,6 +2245,8 @@ public Response getMemoryWithResponse(String name, String memoryId,
      * 
      * 
      * 
+     * 
      * 
@@ -2259,6 +2263,16 @@ public Response getMemoryWithResponse(String name, String memoryId,
      * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
      * 
Query Parameters
NameTypeRequiredDescription
kindStringNoThe kind of the memory item. Allowed values: "user_profile", + * "chat_summary", "procedural".
limitIntegerNoA limit on the number of objects to be returned. Limit can range * between 1 and 100, and the * default is 20.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     scope: String (Required)
+     * }
+     * }
+     * 
+ * *

Response Body Schema

* *
@@ -2274,6 +2288,7 @@ public Response getMemoryWithResponse(String name, String memoryId,
      * 
* * @param name The name of the memory store. + * @param listMemoriesRequest The listMemoriesRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -2283,12 +2298,13 @@ public Response getMemoryWithResponse(String name, String memoryId, * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listMemoriesSinglePageAsync(String name, RequestOptions requestOptions) { + private Mono> listMemoriesSinglePageAsync(String name, BinaryData listMemoriesRequest, + RequestOptions requestOptions) { final String foundryFeatures = "MemoryStores=V1Preview"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listMemories(this.client.getEndpoint(), foundryFeatures, name, - this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) + this.client.getServiceVersion().getVersion(), accept, listMemoriesRequest, requestOptions, context)) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "data"), null, null)); } @@ -2299,6 +2315,8 @@ private Mono> listMemoriesSinglePageAsync(String name, * * * + * * @@ -2315,6 +2333,16 @@ private Mono> listMemoriesSinglePageAsync(String name, * subsequent call can include before=obj_foo in order to fetch the previous page of the list. *
Query Parameters
NameTypeRequiredDescription
kindStringNoThe kind of the memory item. Allowed values: "user_profile", + * "chat_summary", "procedural".
limitIntegerNoA limit on the number of objects to be returned. Limit can range * between 1 and 100, and the * default is 20.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     scope: String (Required)
+     * }
+     * }
+     * 
+ * *

Response Body Schema

* *
@@ -2330,6 +2358,7 @@ private Mono> listMemoriesSinglePageAsync(String name,
      * 
* * @param name The name of the memory store. + * @param listMemoriesRequest The listMemoriesRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -2338,8 +2367,9 @@ private Mono> listMemoriesSinglePageAsync(String name, * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listMemoriesAsync(String name, RequestOptions requestOptions) { - return new PagedFlux<>(() -> listMemoriesSinglePageAsync(name, requestOptions)); + public PagedFlux listMemoriesAsync(String name, BinaryData listMemoriesRequest, + RequestOptions requestOptions) { + return new PagedFlux<>(() -> listMemoriesSinglePageAsync(name, listMemoriesRequest, requestOptions)); } /** @@ -2348,6 +2378,8 @@ public PagedFlux listMemoriesAsync(String name, RequestOptions reque * * * + * * @@ -2364,6 +2396,16 @@ public PagedFlux listMemoriesAsync(String name, RequestOptions reque * subsequent call can include before=obj_foo in order to fetch the previous page of the list. *
Query Parameters
NameTypeRequiredDescription
kindStringNoThe kind of the memory item. Allowed values: "user_profile", + * "chat_summary", "procedural".
limitIntegerNoA limit on the number of objects to be returned. Limit can range * between 1 and 100, and the * default is 20.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     scope: String (Required)
+     * }
+     * }
+     * 
+ * *

Response Body Schema

* *
@@ -2379,6 +2421,7 @@ public PagedFlux listMemoriesAsync(String name, RequestOptions reque
      * 
* * @param name The name of the memory store. + * @param listMemoriesRequest The listMemoriesRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -2387,11 +2430,12 @@ public PagedFlux listMemoriesAsync(String name, RequestOptions reque * @return the response data for a requested list of items along with {@link PagedResponse}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listMemoriesSinglePage(String name, RequestOptions requestOptions) { + private PagedResponse listMemoriesSinglePage(String name, BinaryData listMemoriesRequest, + RequestOptions requestOptions) { final String foundryFeatures = "MemoryStores=V1Preview"; final String accept = "application/json"; Response res = service.listMemoriesSync(this.client.getEndpoint(), foundryFeatures, name, - this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + this.client.getServiceVersion().getVersion(), accept, listMemoriesRequest, requestOptions, Context.NONE); return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "data"), null, null); } @@ -2402,6 +2446,8 @@ private PagedResponse listMemoriesSinglePage(String name, RequestOpt * * * + * * @@ -2418,6 +2464,16 @@ private PagedResponse listMemoriesSinglePage(String name, RequestOpt * subsequent call can include before=obj_foo in order to fetch the previous page of the list. *
Query Parameters
NameTypeRequiredDescription
kindStringNoThe kind of the memory item. Allowed values: "user_profile", + * "chat_summary", "procedural".
limitIntegerNoA limit on the number of objects to be returned. Limit can range * between 1 and 100, and the * default is 20.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     scope: String (Required)
+     * }
+     * }
+     * 
+ * *

Response Body Schema

* *
@@ -2433,6 +2489,7 @@ private PagedResponse listMemoriesSinglePage(String name, RequestOpt
      * 
* * @param name The name of the memory store. + * @param listMemoriesRequest The listMemoriesRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -2441,8 +2498,9 @@ private PagedResponse listMemoriesSinglePage(String name, RequestOpt * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listMemories(String name, RequestOptions requestOptions) { - return new PagedIterable<>(() -> listMemoriesSinglePage(name, requestOptions)); + public PagedIterable listMemories(String name, BinaryData listMemoriesRequest, + RequestOptions requestOptions) { + return new PagedIterable<>(() -> listMemoriesSinglePage(name, listMemoriesRequest, requestOptions)); } /** @@ -2452,8 +2510,7 @@ public PagedIterable listMemories(String name, RequestOptions reques *
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
-     *     name: String (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     memory_id: String (Required)
      *     deleted: boolean (Required)
      * }
@@ -2486,8 +2543,7 @@ public Mono> deleteMemoryWithResponseAsync(String name, Str
      * 
      * {@code
      * {
-     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory.deleted) (Required)
-     *     name: String (Required)
+     *     object: String(memory_store/memory_store.deleted/memory_store.scope.deleted/memory_store.item.deleted) (Required)
      *     memory_id: String (Required)
      *     deleted: boolean (Required)
      * }
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java
index 2aadd4baf19f..a7d3b12a0eca 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java
@@ -87,10 +87,10 @@ public interface ToolboxesService {
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> createToolboxVersion(@HostParam("endpoint") String endpoint,
-            @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
-            @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData createToolboxVersionRequest,
-            RequestOptions requestOptions, Context context);
+            @PathParam("name") String name, @QueryParam("api-version") String apiVersion,
+            @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+            @BodyParam("application/json") BinaryData createToolboxVersionRequest, RequestOptions requestOptions,
+            Context context);
 
         @Post("/toolboxes/{name}/versions")
         @ExpectedResponses({ 200 })
@@ -99,10 +99,10 @@ Mono> createToolboxVersion(@HostParam("endpoint") String en
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response createToolboxVersionSync(@HostParam("endpoint") String endpoint,
-            @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
-            @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData createToolboxVersionRequest,
-            RequestOptions requestOptions, Context context);
+            @PathParam("name") String name, @QueryParam("api-version") String apiVersion,
+            @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+            @BodyParam("application/json") BinaryData createToolboxVersionRequest, RequestOptions requestOptions,
+            Context context);
 
         @Get("/toolboxes/{name}")
         @ExpectedResponses({ 200 })
@@ -111,8 +111,8 @@ Response createToolboxVersionSync(@HostParam("endpoint") String endp
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> getToolbox(@HostParam("endpoint") String endpoint, @PathParam("name") String name,
-            @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
+            RequestOptions requestOptions, Context context);
 
         @Get("/toolboxes/{name}")
         @ExpectedResponses({ 200 })
@@ -121,8 +121,8 @@ Mono> getToolbox(@HostParam("endpoint") String endpoint, @P
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response getToolboxSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name,
-            @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
+            RequestOptions requestOptions, Context context);
 
         @Get("/toolboxes")
         @ExpectedResponses({ 200 })
@@ -131,8 +131,8 @@ Response getToolboxSync(@HostParam("endpoint") String endpoint, @Pat
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> listToolboxes(@HostParam("endpoint") String endpoint,
-            @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
+            RequestOptions requestOptions, Context context);
 
         @Get("/toolboxes")
         @ExpectedResponses({ 200 })
@@ -141,8 +141,8 @@ Mono> listToolboxes(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response listToolboxesSync(@HostParam("endpoint") String endpoint,
-            @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
+            RequestOptions requestOptions, Context context);
 
         @Get("/toolboxes/{name}/versions")
         @ExpectedResponses({ 200 })
@@ -151,9 +151,8 @@ Response listToolboxesSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> listToolboxVersions(@HostParam("endpoint") String endpoint,
-            @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
+            @PathParam("name") String name, @QueryParam("api-version") String apiVersion,
+            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
 
         @Get("/toolboxes/{name}/versions")
         @ExpectedResponses({ 200 })
@@ -162,9 +161,8 @@ Mono> listToolboxVersions(@HostParam("endpoint") String end
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response listToolboxVersionsSync(@HostParam("endpoint") String endpoint,
-            @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
+            @PathParam("name") String name, @QueryParam("api-version") String apiVersion,
+            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
 
         @Get("/toolboxes/{name}/versions/{version}")
         @ExpectedResponses({ 200 })
@@ -174,8 +172,8 @@ Response listToolboxVersionsSync(@HostParam("endpoint") String endpo
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> getToolboxVersion(@HostParam("endpoint") String endpoint,
             @PathParam("name") String name, @PathParam("version") String version,
-            @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
+            RequestOptions requestOptions, Context context);
 
         @Get("/toolboxes/{name}/versions/{version}")
         @ExpectedResponses({ 200 })
@@ -185,8 +183,8 @@ Mono> getToolboxVersion(@HostParam("endpoint") String endpo
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response getToolboxVersionSync(@HostParam("endpoint") String endpoint,
             @PathParam("name") String name, @PathParam("version") String version,
-            @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
+            RequestOptions requestOptions, Context context);
 
         @Patch("/toolboxes/{name}")
         @ExpectedResponses({ 200 })
@@ -195,10 +193,9 @@ Response getToolboxVersionSync(@HostParam("endpoint") String endpoin
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> updateToolbox(@HostParam("endpoint") String endpoint, @PathParam("name") String name,
-            @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion,
-            @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
-            @BodyParam("application/json") BinaryData updateToolboxRequest, RequestOptions requestOptions,
-            Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
+            @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData updateToolboxRequest,
+            RequestOptions requestOptions, Context context);
 
         @Patch("/toolboxes/{name}")
         @ExpectedResponses({ 200 })
@@ -207,10 +204,9 @@ Mono> updateToolbox(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response updateToolboxSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name,
-            @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion,
-            @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
-            @BodyParam("application/json") BinaryData updateToolboxRequest, RequestOptions requestOptions,
-            Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
+            @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData updateToolboxRequest,
+            RequestOptions requestOptions, Context context);
 
         @Delete("/toolboxes/{name}")
         @ExpectedResponses({ 204 })
@@ -219,8 +215,7 @@ Response updateToolboxSync(@HostParam("endpoint") String endpoint, @
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> deleteToolbox(@HostParam("endpoint") String endpoint, @PathParam("name") String name,
-            @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context);
 
         @Delete("/toolboxes/{name}")
         @ExpectedResponses({ 204 })
@@ -229,8 +224,7 @@ Mono> deleteToolbox(@HostParam("endpoint") String endpoint, @Path
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response deleteToolboxSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name,
-            @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context);
 
         @Delete("/toolboxes/{name}/versions/{version}")
         @ExpectedResponses({ 204 })
@@ -240,8 +234,7 @@ Response deleteToolboxSync(@HostParam("endpoint") String endpoint, @PathPa
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> deleteToolboxVersion(@HostParam("endpoint") String endpoint,
             @PathParam("name") String name, @PathParam("version") String version,
-            @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context);
 
         @Delete("/toolboxes/{name}/versions/{version}")
         @ExpectedResponses({ 204 })
@@ -250,8 +243,8 @@ Mono> deleteToolboxVersion(@HostParam("endpoint") String endpoint
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response deleteToolboxVersionSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name,
-            @PathParam("version") String version, @HeaderParam("Foundry-Features") String foundryFeatures,
-            @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context);
+            @PathParam("version") String version, @QueryParam("api-version") String apiVersion,
+            RequestOptions requestOptions, Context context);
     }
 
     /**
@@ -318,12 +311,11 @@ Response deleteToolboxVersionSync(@HostParam("endpoint") String endpoint,
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> createToolboxVersionWithResponseAsync(String name,
         BinaryData createToolboxVersionRequest, RequestOptions requestOptions) {
-        final String foundryFeatures = "Toolboxes=V1Preview";
         final String contentType = "application/json";
         final String accept = "application/json";
         return FluxUtil.withContext(context -> service.createToolboxVersion(this.client.getEndpoint(), name,
-            foundryFeatures, this.client.getServiceVersion().getVersion(), contentType, accept,
-            createToolboxVersionRequest, requestOptions, context));
+            this.client.getServiceVersion().getVersion(), contentType, accept, createToolboxVersionRequest,
+            requestOptions, context));
     }
 
     /**
@@ -390,10 +382,9 @@ public Mono> createToolboxVersionWithResponseAsync(String n
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response createToolboxVersionWithResponse(String name, BinaryData createToolboxVersionRequest,
         RequestOptions requestOptions) {
-        final String foundryFeatures = "Toolboxes=V1Preview";
         final String contentType = "application/json";
         final String accept = "application/json";
-        return service.createToolboxVersionSync(this.client.getEndpoint(), name, foundryFeatures,
+        return service.createToolboxVersionSync(this.client.getEndpoint(), name,
             this.client.getServiceVersion().getVersion(), contentType, accept, createToolboxVersionRequest,
             requestOptions, Context.NONE);
     }
@@ -423,9 +414,8 @@ public Response createToolboxVersionWithResponse(String name, Binary
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> getToolboxWithResponseAsync(String name, RequestOptions requestOptions) {
-        final String foundryFeatures = "Toolboxes=V1Preview";
         final String accept = "application/json";
-        return FluxUtil.withContext(context -> service.getToolbox(this.client.getEndpoint(), name, foundryFeatures,
+        return FluxUtil.withContext(context -> service.getToolbox(this.client.getEndpoint(), name,
             this.client.getServiceVersion().getVersion(), accept, requestOptions, context));
     }
 
@@ -453,10 +443,9 @@ public Mono> getToolboxWithResponseAsync(String name, Reque
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response getToolboxWithResponse(String name, RequestOptions requestOptions) {
-        final String foundryFeatures = "Toolboxes=V1Preview";
         final String accept = "application/json";
-        return service.getToolboxSync(this.client.getEndpoint(), name, foundryFeatures,
-            this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE);
+        return service.getToolboxSync(this.client.getEndpoint(), name, this.client.getServiceVersion().getVersion(),
+            accept, requestOptions, Context.NONE);
     }
 
     /**
@@ -503,10 +492,9 @@ public Response getToolboxWithResponse(String name, RequestOptions r
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     private Mono> listToolboxesSinglePageAsync(RequestOptions requestOptions) {
-        final String foundryFeatures = "Toolboxes=V1Preview";
         final String accept = "application/json";
         return FluxUtil
-            .withContext(context -> service.listToolboxes(this.client.getEndpoint(), foundryFeatures,
+            .withContext(context -> service.listToolboxes(this.client.getEndpoint(),
                 this.client.getServiceVersion().getVersion(), accept, requestOptions, context))
             .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
                 getValues(res.getValue(), "data"), null, null));
@@ -601,9 +589,8 @@ public PagedFlux listToolboxesAsync(RequestOptions requestOptions) {
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     private PagedResponse listToolboxesSinglePage(RequestOptions requestOptions) {
-        final String foundryFeatures = "Toolboxes=V1Preview";
         final String accept = "application/json";
-        Response res = service.listToolboxesSync(this.client.getEndpoint(), foundryFeatures,
+        Response res = service.listToolboxesSync(this.client.getEndpoint(),
             this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE);
         return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
             getValues(res.getValue(), "data"), null, null);
@@ -716,10 +703,9 @@ public PagedIterable listToolboxes(RequestOptions requestOptions) {
     @ServiceMethod(returns = ReturnType.SINGLE)
     private Mono> listToolboxVersionsSinglePageAsync(String name,
         RequestOptions requestOptions) {
-        final String foundryFeatures = "Toolboxes=V1Preview";
         final String accept = "application/json";
         return FluxUtil
-            .withContext(context -> service.listToolboxVersions(this.client.getEndpoint(), name, foundryFeatures,
+            .withContext(context -> service.listToolboxVersions(this.client.getEndpoint(), name,
                 this.client.getServiceVersion().getVersion(), accept, requestOptions, context))
             .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
                 getValues(res.getValue(), "data"), null, null));
@@ -846,9 +832,8 @@ public PagedFlux listToolboxVersionsAsync(String name, RequestOption
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     private PagedResponse listToolboxVersionsSinglePage(String name, RequestOptions requestOptions) {
-        final String foundryFeatures = "Toolboxes=V1Preview";
         final String accept = "application/json";
-        Response res = service.listToolboxVersionsSync(this.client.getEndpoint(), name, foundryFeatures,
+        Response res = service.listToolboxVersionsSync(this.client.getEndpoint(), name,
             this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE);
         return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
             getValues(res.getValue(), "data"), null, null);
@@ -957,10 +942,9 @@ public PagedIterable listToolboxVersions(String name, RequestOptions
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> getToolboxVersionWithResponseAsync(String name, String version,
         RequestOptions requestOptions) {
-        final String foundryFeatures = "Toolboxes=V1Preview";
         final String accept = "application/json";
         return FluxUtil.withContext(context -> service.getToolboxVersion(this.client.getEndpoint(), name, version,
-            foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context));
+            this.client.getServiceVersion().getVersion(), accept, requestOptions, context));
     }
 
     /**
@@ -1004,9 +988,8 @@ public Mono> getToolboxVersionWithResponseAsync(String name
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response getToolboxVersionWithResponse(String name, String version,
         RequestOptions requestOptions) {
-        final String foundryFeatures = "Toolboxes=V1Preview";
         final String accept = "application/json";
-        return service.getToolboxVersionSync(this.client.getEndpoint(), name, version, foundryFeatures,
+        return service.getToolboxVersionSync(this.client.getEndpoint(), name, version,
             this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE);
     }
 
@@ -1047,10 +1030,9 @@ public Response getToolboxVersionWithResponse(String name, String ve
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> updateToolboxWithResponseAsync(String name, BinaryData updateToolboxRequest,
         RequestOptions requestOptions) {
-        final String foundryFeatures = "Toolboxes=V1Preview";
         final String contentType = "application/json";
         final String accept = "application/json";
-        return FluxUtil.withContext(context -> service.updateToolbox(this.client.getEndpoint(), name, foundryFeatures,
+        return FluxUtil.withContext(context -> service.updateToolbox(this.client.getEndpoint(), name,
             this.client.getServiceVersion().getVersion(), contentType, accept, updateToolboxRequest, requestOptions,
             context));
     }
@@ -1091,12 +1073,10 @@ public Mono> updateToolboxWithResponseAsync(String name, Bi
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response updateToolboxWithResponse(String name, BinaryData updateToolboxRequest,
         RequestOptions requestOptions) {
-        final String foundryFeatures = "Toolboxes=V1Preview";
         final String contentType = "application/json";
         final String accept = "application/json";
-        return service.updateToolboxSync(this.client.getEndpoint(), name, foundryFeatures,
-            this.client.getServiceVersion().getVersion(), contentType, accept, updateToolboxRequest, requestOptions,
-            Context.NONE);
+        return service.updateToolboxSync(this.client.getEndpoint(), name, this.client.getServiceVersion().getVersion(),
+            contentType, accept, updateToolboxRequest, requestOptions, Context.NONE);
     }
 
     /**
@@ -1112,8 +1092,7 @@ public Response updateToolboxWithResponse(String name, BinaryData up
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> deleteToolboxWithResponseAsync(String name, RequestOptions requestOptions) {
-        final String foundryFeatures = "Toolboxes=V1Preview";
-        return FluxUtil.withContext(context -> service.deleteToolbox(this.client.getEndpoint(), name, foundryFeatures,
+        return FluxUtil.withContext(context -> service.deleteToolbox(this.client.getEndpoint(), name,
             this.client.getServiceVersion().getVersion(), requestOptions, context));
     }
 
@@ -1130,9 +1109,8 @@ public Mono> deleteToolboxWithResponseAsync(String name, RequestO
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response deleteToolboxWithResponse(String name, RequestOptions requestOptions) {
-        final String foundryFeatures = "Toolboxes=V1Preview";
-        return service.deleteToolboxSync(this.client.getEndpoint(), name, foundryFeatures,
-            this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE);
+        return service.deleteToolboxSync(this.client.getEndpoint(), name, this.client.getServiceVersion().getVersion(),
+            requestOptions, Context.NONE);
     }
 
     /**
@@ -1150,9 +1128,8 @@ public Response deleteToolboxWithResponse(String name, RequestOptions requ
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> deleteToolboxVersionWithResponseAsync(String name, String version,
         RequestOptions requestOptions) {
-        final String foundryFeatures = "Toolboxes=V1Preview";
         return FluxUtil.withContext(context -> service.deleteToolboxVersion(this.client.getEndpoint(), name, version,
-            foundryFeatures, this.client.getServiceVersion().getVersion(), requestOptions, context));
+            this.client.getServiceVersion().getVersion(), requestOptions, context));
     }
 
     /**
@@ -1169,8 +1146,7 @@ public Mono> deleteToolboxVersionWithResponseAsync(String name, S
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response deleteToolboxVersionWithResponse(String name, String version, RequestOptions requestOptions) {
-        final String foundryFeatures = "Toolboxes=V1Preview";
-        return service.deleteToolboxVersionSync(this.client.getEndpoint(), name, version, foundryFeatures,
+        return service.deleteToolboxVersionSync(this.client.getEndpoint(), name, version,
             this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE);
     }
 
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CreateAgentFromCodeContent.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java
similarity index 90%
rename from sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CreateAgentFromCodeContent.java
rename to sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java
index 4fffc66720d6..15a9e5a1f8f0 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CreateAgentFromCodeContent.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java
@@ -1,8 +1,10 @@
 // Copyright (c) Microsoft Corporation. All rights reserved.
 // Licensed under the MIT License.
 // Code generated by Microsoft (R) TypeSpec Code Generator.
-package com.azure.ai.agents.models;
+package com.azure.ai.agents.implementation.models;
 
+import com.azure.ai.agents.models.CodeFileDetails;
+import com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata;
 import com.azure.core.annotation.Generated;
 import com.azure.core.annotation.Immutable;
 
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerCallOutputItemParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerCallOutputItemParam.java
index 5f6e7cf0de01..6bb8fc7a0eb6 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerCallOutputItemParam.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerCallOutputItemParam.java
@@ -3,6 +3,7 @@
 // Code generated by Microsoft (R) TypeSpec Code Generator.
 package com.azure.ai.agents.implementation.models;
 
+import com.azure.ai.agents.models.ComputerCallSafetyCheckParam;
 import com.azure.core.annotation.Fluent;
 import com.azure.core.annotation.Generated;
 import com.azure.json.JsonReader;
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCall.java
index f25ef0f0c52a..25f62d6bc110 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCall.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCall.java
@@ -3,6 +3,8 @@
 // Code generated by Microsoft (R) TypeSpec Code Generator.
 package com.azure.ai.agents.implementation.models;
 
+import com.azure.ai.agents.models.ComputerAction;
+import com.azure.ai.agents.models.ComputerCallSafetyCheckParam;
 import com.azure.core.annotation.Generated;
 import com.azure.core.annotation.Immutable;
 import com.azure.json.JsonReader;
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCall.java
index 86ad8d7e2caf..2fdf74296c0b 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCall.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCall.java
@@ -3,6 +3,7 @@
 // Code generated by Microsoft (R) TypeSpec Code Generator.
 package com.azure.ai.agents.implementation.models;
 
+import com.azure.ai.agents.models.FileSearchToolCallResults;
 import com.azure.core.annotation.Fluent;
 import com.azure.core.annotation.Generated;
 import com.azure.json.JsonReader;
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCall.java
index c961549f300f..1a36ed3b7877 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCall.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCall.java
@@ -3,6 +3,7 @@
 // Code generated by Microsoft (R) TypeSpec Code Generator.
 package com.azure.ai.agents.implementation.models;
 
+import com.azure.ai.agents.models.LocalShellExecAction;
 import com.azure.core.annotation.Generated;
 import com.azure.core.annotation.Immutable;
 import com.azure.json.JsonReader;
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpListTools.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpListTools.java
index 366dcd914a8b..d2ad8e60f642 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpListTools.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpListTools.java
@@ -3,6 +3,7 @@
 // Code generated by Microsoft (R) TypeSpec Code Generator.
 package com.azure.ai.agents.implementation.models;
 
+import com.azure.ai.agents.models.McpListToolsTool;
 import com.azure.core.annotation.Fluent;
 import com.azure.core.annotation.Generated;
 import com.azure.json.JsonReader;
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpToolCall.java
index 059b900ba04b..739ef9bb5d32 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpToolCall.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpToolCall.java
@@ -3,6 +3,7 @@
 // Code generated by Microsoft (R) TypeSpec Code Generator.
 package com.azure.ai.agents.implementation.models;
 
+import com.azure.ai.agents.models.McpToolCallStatus;
 import com.azure.core.annotation.Fluent;
 import com.azure.core.annotation.Generated;
 import com.azure.core.util.BinaryData;
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessage.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessage.java
index 3aec2b1264a7..39be7a75366e 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessage.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessage.java
@@ -3,6 +3,7 @@
 // Code generated by Microsoft (R) TypeSpec Code Generator.
 package com.azure.ai.agents.implementation.models;
 
+import com.azure.ai.agents.models.OutputMessageContent;
 import com.azure.core.annotation.Generated;
 import com.azure.core.annotation.Immutable;
 import com.azure.json.JsonReader;
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItem.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItem.java
index 25e76b52cd6d..9cfd82f0fe8c 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItem.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItem.java
@@ -3,6 +3,8 @@
 // Code generated by Microsoft (R) TypeSpec Code Generator.
 package com.azure.ai.agents.implementation.models;
 
+import com.azure.ai.agents.models.ReasoningTextContent;
+import com.azure.ai.agents.models.SummaryTextContent;
 import com.azure.core.annotation.Fluent;
 import com.azure.core.annotation.Generated;
 import com.azure.json.JsonReader;
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java
new file mode 100644
index 000000000000..be3004d57111
--- /dev/null
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java
@@ -0,0 +1,82 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+package com.azure.ai.agents.implementation.models;
+
+import com.azure.core.annotation.Generated;
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * The ListMemoriesRequest model.
+ */
+@Immutable
+public final class ListMemoriesRequest implements JsonSerializable {
+
+    /*
+     * The namespace that logically groups and isolates memories, such as a user ID.
+     */
+    @Generated
+    private final String scope;
+
+    /**
+     * Creates an instance of ListMemoriesRequest class.
+     *
+     * @param scope the scope value to set.
+     */
+    @Generated
+    public ListMemoriesRequest(String scope) {
+        this.scope = scope;
+    }
+
+    /**
+     * Get the scope property: The namespace that logically groups and isolates memories, such as a user ID.
+     *
+     * @return the scope value.
+     */
+    @Generated
+    public String getScope() {
+        return this.scope;
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Generated
+    @Override
+    public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+        jsonWriter.writeStartObject();
+        jsonWriter.writeStringField("scope", this.scope);
+        return jsonWriter.writeEndObject();
+    }
+
+    /**
+     * Reads an instance of ListMemoriesRequest from the JsonReader.
+     *
+     * @param jsonReader The JsonReader being read.
+     * @return An instance of ListMemoriesRequest if the JsonReader was pointing to an instance of it, or null if it was
+     * pointing to JSON null.
+     * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+     * @throws IOException If an error occurs while reading the ListMemoriesRequest.
+     */
+    @Generated
+    public static ListMemoriesRequest fromJson(JsonReader jsonReader) throws IOException {
+        return jsonReader.readObject(reader -> {
+            String scope = null;
+            while (reader.nextToken() != JsonToken.END_OBJECT) {
+                String fieldName = reader.getFieldName();
+                reader.nextToken();
+                if ("scope".equals(fieldName)) {
+                    scope = reader.getString();
+                } else {
+                    reader.skipChildren();
+                }
+            }
+            return new ListMemoriesRequest(scope);
+        });
+    }
+}
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/A2APreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/A2APreviewTool.java
index 50c05d9d3073..3b1e254c3641 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/A2APreviewTool.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/A2APreviewTool.java
@@ -9,6 +9,7 @@
 import com.azure.json.JsonToken;
 import com.azure.json.JsonWriter;
 import java.io.IOException;
+import java.util.Map;
 
 /**
  * An agent implementing the A2A protocol.
@@ -140,6 +141,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
         jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString());
         jsonWriter.writeStringField("name", this.name);
         jsonWriter.writeStringField("description", this.description);
+        jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element));
         jsonWriter.writeStringField("base_url", this.baseUrl);
         jsonWriter.writeStringField("agent_card_path", this.agentCardPath);
         jsonWriter.writeStringField("project_connection_id", this.projectConnectionId);
@@ -167,6 +169,9 @@ public static A2APreviewTool fromJson(JsonReader jsonReader) throws IOException
                     deserializedA2APreviewTool.name = reader.getString();
                 } else if ("description".equals(fieldName)) {
                     deserializedA2APreviewTool.description = reader.getString();
+                } else if ("tool_configs".equals(fieldName)) {
+                    Map toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1));
+                    deserializedA2APreviewTool.toolConfigs = toolConfigs;
                 } else if ("base_url".equals(fieldName)) {
                     deserializedA2APreviewTool.baseUrl = reader.getString();
                 } else if ("agent_card_path".equals(fieldName)) {
@@ -236,4 +241,38 @@ public A2APreviewTool setDescription(String description) {
         this.description = description;
         return this;
     }
+
+    /*
+     * Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     */
+    @Generated
+    private Map toolConfigs;
+
+    /**
+     * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     *
+     * @return the toolConfigs value.
+     */
+    @Generated
+    public Map getToolConfigs() {
+        return this.toolConfigs;
+    }
+
+    /**
+     * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     *
+     * @param toolConfigs the toolConfigs value to set.
+     * @return the A2APreviewTool object itself.
+     */
+    @Generated
+    public A2APreviewTool setToolConfigs(Map toolConfigs) {
+        this.toolConfigs = toolConfigs;
+        return this;
+    }
 }
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/A2AToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/A2AToolCall.java
new file mode 100644
index 000000000000..5a49fbba0373
--- /dev/null
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/A2AToolCall.java
@@ -0,0 +1,165 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+package com.azure.ai.agents.models;
+
+import com.azure.core.annotation.Generated;
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * An A2A (Agent-to-Agent) tool call.
+ */
+@Immutable
+public final class A2AToolCall implements JsonSerializable {
+
+    /*
+     * The type property.
+     */
+    @Generated
+    private final String type = "a2a_preview_call";
+
+    /*
+     * The unique ID of the tool call generated by the model.
+     */
+    @Generated
+    private final String callId;
+
+    /*
+     * The name of the A2A agent card being called.
+     */
+    @Generated
+    private final String name;
+
+    /*
+     * A JSON string of the arguments to pass to the tool.
+     */
+    @Generated
+    private final String arguments;
+
+    /*
+     * The status of the tool call.
+     */
+    @Generated
+    private final ToolCallStatus status;
+
+    /**
+     * Creates an instance of A2AToolCall class.
+     *
+     * @param callId the callId value to set.
+     * @param name the name value to set.
+     * @param arguments the arguments value to set.
+     * @param status the status value to set.
+     */
+    @Generated
+    public A2AToolCall(String callId, String name, String arguments, ToolCallStatus status) {
+        this.callId = callId;
+        this.name = name;
+        this.arguments = arguments;
+        this.status = status;
+    }
+
+    /**
+     * Get the type property: The type property.
+     *
+     * @return the type value.
+     */
+    @Generated
+    public String getType() {
+        return this.type;
+    }
+
+    /**
+     * Get the callId property: The unique ID of the tool call generated by the model.
+     *
+     * @return the callId value.
+     */
+    @Generated
+    public String getCallId() {
+        return this.callId;
+    }
+
+    /**
+     * Get the name property: The name of the A2A agent card being called.
+     *
+     * @return the name value.
+     */
+    @Generated
+    public String getName() {
+        return this.name;
+    }
+
+    /**
+     * Get the arguments property: A JSON string of the arguments to pass to the tool.
+     *
+     * @return the arguments value.
+     */
+    @Generated
+    public String getArguments() {
+        return this.arguments;
+    }
+
+    /**
+     * Get the status property: The status of the tool call.
+     *
+     * @return the status value.
+     */
+    @Generated
+    public ToolCallStatus getStatus() {
+        return this.status;
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Generated
+    @Override
+    public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+        jsonWriter.writeStartObject();
+        jsonWriter.writeStringField("type", this.type);
+        jsonWriter.writeStringField("call_id", this.callId);
+        jsonWriter.writeStringField("name", this.name);
+        jsonWriter.writeStringField("arguments", this.arguments);
+        jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString());
+        return jsonWriter.writeEndObject();
+    }
+
+    /**
+     * Reads an instance of A2AToolCall from the JsonReader.
+     *
+     * @param jsonReader The JsonReader being read.
+     * @return An instance of A2AToolCall if the JsonReader was pointing to an instance of it, or null if it was
+     * pointing to JSON null.
+     * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+     * @throws IOException If an error occurs while reading the A2AToolCall.
+     */
+    @Generated
+    public static A2AToolCall fromJson(JsonReader jsonReader) throws IOException {
+        return jsonReader.readObject(reader -> {
+            String callId = null;
+            String name = null;
+            String arguments = null;
+            ToolCallStatus status = null;
+            while (reader.nextToken() != JsonToken.END_OBJECT) {
+                String fieldName = reader.getFieldName();
+                reader.nextToken();
+                if ("call_id".equals(fieldName)) {
+                    callId = reader.getString();
+                } else if ("name".equals(fieldName)) {
+                    name = reader.getString();
+                } else if ("arguments".equals(fieldName)) {
+                    arguments = reader.getString();
+                } else if ("status".equals(fieldName)) {
+                    status = ToolCallStatus.fromString(reader.getString());
+                } else {
+                    reader.skipChildren();
+                }
+            }
+            return new A2AToolCall(callId, name, arguments, status);
+        });
+    }
+}
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java
new file mode 100644
index 000000000000..5c7c8e518553
--- /dev/null
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java
@@ -0,0 +1,181 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+package com.azure.ai.agents.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Generated;
+import com.azure.core.util.BinaryData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * The output of an A2A (Agent-to-Agent) tool call.
+ */
+@Fluent
+public final class A2AToolCallOutput implements JsonSerializable {
+
+    /*
+     * The type property.
+     */
+    @Generated
+    private final String type = "a2a_preview_call_output";
+
+    /*
+     * The unique ID of the tool call generated by the model.
+     */
+    @Generated
+    private final String callId;
+
+    /*
+     * The name of the A2A agent card that was called.
+     */
+    @Generated
+    private final String name;
+
+    /*
+     * The output from the A2A tool call.
+     */
+    @Generated
+    private BinaryData output;
+
+    /*
+     * The status of the tool call.
+     */
+    @Generated
+    private final ToolCallStatus status;
+
+    /**
+     * Creates an instance of A2AToolCallOutput class.
+     *
+     * @param callId the callId value to set.
+     * @param name the name value to set.
+     * @param status the status value to set.
+     */
+    @Generated
+    public A2AToolCallOutput(String callId, String name, ToolCallStatus status) {
+        this.callId = callId;
+        this.name = name;
+        this.status = status;
+    }
+
+    /**
+     * Get the type property: The type property.
+     *
+     * @return the type value.
+     */
+    @Generated
+    public String getType() {
+        return this.type;
+    }
+
+    /**
+     * Get the callId property: The unique ID of the tool call generated by the model.
+     *
+     * @return the callId value.
+     */
+    @Generated
+    public String getCallId() {
+        return this.callId;
+    }
+
+    /**
+     * Get the name property: The name of the A2A agent card that was called.
+     *
+     * @return the name value.
+     */
+    @Generated
+    public String getName() {
+        return this.name;
+    }
+
+    /**
+     * Get the output property: The output from the A2A tool call.
+     *
+     * @return the output value.
+     */
+    @Generated
+    public BinaryData getOutput() {
+        return this.output;
+    }
+
+    /**
+     * Set the output property: The output from the A2A tool call.
+     *
+     * @param output the output value to set.
+     * @return the A2AToolCallOutput object itself.
+     */
+    @Generated
+    public A2AToolCallOutput setOutput(BinaryData output) {
+        this.output = output;
+        return this;
+    }
+
+    /**
+     * Get the status property: The status of the tool call.
+     *
+     * @return the status value.
+     */
+    @Generated
+    public ToolCallStatus getStatus() {
+        return this.status;
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Generated
+    @Override
+    public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+        jsonWriter.writeStartObject();
+        jsonWriter.writeStringField("type", this.type);
+        jsonWriter.writeStringField("call_id", this.callId);
+        jsonWriter.writeStringField("name", this.name);
+        jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString());
+        if (this.output != null) {
+            jsonWriter.writeFieldName("output");
+            this.output.writeTo(jsonWriter);
+        }
+        return jsonWriter.writeEndObject();
+    }
+
+    /**
+     * Reads an instance of A2AToolCallOutput from the JsonReader.
+     *
+     * @param jsonReader The JsonReader being read.
+     * @return An instance of A2AToolCallOutput if the JsonReader was pointing to an instance of it, or null if it was
+     * pointing to JSON null.
+     * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+     * @throws IOException If an error occurs while reading the A2AToolCallOutput.
+     */
+    @Generated
+    public static A2AToolCallOutput fromJson(JsonReader jsonReader) throws IOException {
+        return jsonReader.readObject(reader -> {
+            String callId = null;
+            String name = null;
+            ToolCallStatus status = null;
+            BinaryData output = null;
+            while (reader.nextToken() != JsonToken.END_OBJECT) {
+                String fieldName = reader.getFieldName();
+                reader.nextToken();
+                if ("call_id".equals(fieldName)) {
+                    callId = reader.getString();
+                } else if ("name".equals(fieldName)) {
+                    name = reader.getString();
+                } else if ("status".equals(fieldName)) {
+                    status = ToolCallStatus.fromString(reader.getString());
+                } else if ("output".equals(fieldName)) {
+                    output = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()));
+                } else {
+                    reader.skipChildren();
+                }
+            }
+            A2AToolCallOutput deserializedA2AToolCallOutput = new A2AToolCallOutput(callId, name, status);
+            deserializedA2AToolCallOutput.output = output;
+            return deserializedA2AToolCallOutput;
+        });
+    }
+}
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java
index edfd286bddfe..e1e833c6a9b1 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java
@@ -18,11 +18,6 @@ public enum AgentDefinitionOptInKeys {
      */
     WORKFLOW_AGENTS_V1_PREVIEW("WorkflowAgents=V1Preview"),
 
-    /**
-     * Enum value ContainerAgents=V1Preview.
-     */
-    CONTAINER_AGENTS_V1_PREVIEW("ContainerAgents=V1Preview"),
-
     /**
      * Enum value AgentEndpoints=V1Preview.
      */
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java
new file mode 100644
index 000000000000..49a00ef3c107
--- /dev/null
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java
@@ -0,0 +1,151 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+package com.azure.ai.agents.models;
+
+import com.azure.core.annotation.Generated;
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * The response data for a requested list of items.
+ */
+@Immutable
+public final class AgentsPagedResultOptimizationCandidate
+    implements JsonSerializable {
+
+    /*
+     * The requested list of items.
+     */
+    @Generated
+    private final List data;
+
+    /*
+     * The first ID represented in this list.
+     */
+    @Generated
+    private String firstId;
+
+    /*
+     * The last ID represented in this list.
+     */
+    @Generated
+    private String lastId;
+
+    /*
+     * A value indicating whether there are additional values available not captured in this list.
+     */
+    @Generated
+    private final boolean hasMore;
+
+    /**
+     * Creates an instance of AgentsPagedResultOptimizationCandidate class.
+     *
+     * @param data the data value to set.
+     * @param hasMore the hasMore value to set.
+     */
+    @Generated
+    private AgentsPagedResultOptimizationCandidate(List data, boolean hasMore) {
+        this.data = data;
+        this.hasMore = hasMore;
+    }
+
+    /**
+     * Get the data property: The requested list of items.
+     *
+     * @return the data value.
+     */
+    @Generated
+    public List getData() {
+        return this.data;
+    }
+
+    /**
+     * Get the firstId property: The first ID represented in this list.
+     *
+     * @return the firstId value.
+     */
+    @Generated
+    public String getFirstId() {
+        return this.firstId;
+    }
+
+    /**
+     * Get the lastId property: The last ID represented in this list.
+     *
+     * @return the lastId value.
+     */
+    @Generated
+    public String getLastId() {
+        return this.lastId;
+    }
+
+    /**
+     * Get the hasMore property: A value indicating whether there are additional values available not captured in this
+     * list.
+     *
+     * @return the hasMore value.
+     */
+    @Generated
+    public boolean isHasMore() {
+        return this.hasMore;
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Generated
+    @Override
+    public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+        jsonWriter.writeStartObject();
+        jsonWriter.writeArrayField("data", this.data, (writer, element) -> writer.writeJson(element));
+        jsonWriter.writeBooleanField("has_more", this.hasMore);
+        jsonWriter.writeStringField("first_id", this.firstId);
+        jsonWriter.writeStringField("last_id", this.lastId);
+        return jsonWriter.writeEndObject();
+    }
+
+    /**
+     * Reads an instance of AgentsPagedResultOptimizationCandidate from the JsonReader.
+     *
+     * @param jsonReader The JsonReader being read.
+     * @return An instance of AgentsPagedResultOptimizationCandidate if the JsonReader was pointing to an instance of
+     * it, or null if it was pointing to JSON null.
+     * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+     * @throws IOException If an error occurs while reading the AgentsPagedResultOptimizationCandidate.
+     */
+    @Generated
+    public static AgentsPagedResultOptimizationCandidate fromJson(JsonReader jsonReader) throws IOException {
+        return jsonReader.readObject(reader -> {
+            List data = null;
+            boolean hasMore = false;
+            String firstId = null;
+            String lastId = null;
+            while (reader.nextToken() != JsonToken.END_OBJECT) {
+                String fieldName = reader.getFieldName();
+                reader.nextToken();
+                if ("data".equals(fieldName)) {
+                    data = reader.readArray(reader1 -> OptimizationCandidate.fromJson(reader1));
+                } else if ("has_more".equals(fieldName)) {
+                    hasMore = reader.getBoolean();
+                } else if ("first_id".equals(fieldName)) {
+                    firstId = reader.getString();
+                } else if ("last_id".equals(fieldName)) {
+                    lastId = reader.getString();
+                } else {
+                    reader.skipChildren();
+                }
+            }
+            AgentsPagedResultOptimizationCandidate deserializedAgentsPagedResultOptimizationCandidate
+                = new AgentsPagedResultOptimizationCandidate(data, hasMore);
+            deserializedAgentsPagedResultOptimizationCandidate.firstId = firstId;
+            deserializedAgentsPagedResultOptimizationCandidate.lastId = lastId;
+            return deserializedAgentsPagedResultOptimizationCandidate;
+        });
+    }
+}
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java
index e7612b469dcf..a08b058e32a0 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java
@@ -9,6 +9,7 @@
 import com.azure.json.JsonToken;
 import com.azure.json.JsonWriter;
 import java.io.IOException;
+import java.util.Map;
 
 /**
  * The input definition information for an Azure AI search tool as used to configure an agent.
@@ -70,6 +71,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
         jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString());
         jsonWriter.writeStringField("name", this.name);
         jsonWriter.writeStringField("description", this.description);
+        jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element));
         return jsonWriter.writeEndObject();
     }
 
@@ -89,6 +91,7 @@ public static AzureAISearchTool fromJson(JsonReader jsonReader) throws IOExcepti
             ToolType type = ToolType.AZURE_AI_SEARCH;
             String name = null;
             String description = null;
+            Map toolConfigs = null;
             while (reader.nextToken() != JsonToken.END_OBJECT) {
                 String fieldName = reader.getFieldName();
                 reader.nextToken();
@@ -100,6 +103,8 @@ public static AzureAISearchTool fromJson(JsonReader jsonReader) throws IOExcepti
                     name = reader.getString();
                 } else if ("description".equals(fieldName)) {
                     description = reader.getString();
+                } else if ("tool_configs".equals(fieldName)) {
+                    toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1));
                 } else {
                     reader.skipChildren();
                 }
@@ -108,6 +113,7 @@ public static AzureAISearchTool fromJson(JsonReader jsonReader) throws IOExcepti
             deserializedAzureAISearchTool.type = type;
             deserializedAzureAISearchTool.name = name;
             deserializedAzureAISearchTool.description = description;
+            deserializedAzureAISearchTool.toolConfigs = toolConfigs;
             return deserializedAzureAISearchTool;
         });
     }
@@ -167,4 +173,38 @@ public AzureAISearchTool setDescription(String description) {
         this.description = description;
         return this;
     }
+
+    /*
+     * Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     */
+    @Generated
+    private Map toolConfigs;
+
+    /**
+     * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     *
+     * @return the toolConfigs value.
+     */
+    @Generated
+    public Map getToolConfigs() {
+        return this.toolConfigs;
+    }
+
+    /**
+     * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     *
+     * @param toolConfigs the toolConfigs value to set.
+     * @return the AzureAISearchTool object itself.
+     */
+    @Generated
+    public AzureAISearchTool setToolConfigs(Map toolConfigs) {
+        this.toolConfigs = toolConfigs;
+        return this;
+    }
 }
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java
new file mode 100644
index 000000000000..9e983363e7a8
--- /dev/null
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java
@@ -0,0 +1,143 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+package com.azure.ai.agents.models;
+
+import com.azure.core.annotation.Generated;
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * An Azure AI Search tool call.
+ */
+@Immutable
+public final class AzureAISearchToolCall implements JsonSerializable {
+
+    /*
+     * The type property.
+     */
+    @Generated
+    private final String type = "azure_ai_search_call";
+
+    /*
+     * The unique ID of the tool call generated by the model.
+     */
+    @Generated
+    private final String callId;
+
+    /*
+     * A JSON string of the arguments to pass to the tool.
+     */
+    @Generated
+    private final String arguments;
+
+    /*
+     * The status of the tool call.
+     */
+    @Generated
+    private final ToolCallStatus status;
+
+    /**
+     * Creates an instance of AzureAISearchToolCall class.
+     *
+     * @param callId the callId value to set.
+     * @param arguments the arguments value to set.
+     * @param status the status value to set.
+     */
+    @Generated
+    public AzureAISearchToolCall(String callId, String arguments, ToolCallStatus status) {
+        this.callId = callId;
+        this.arguments = arguments;
+        this.status = status;
+    }
+
+    /**
+     * Get the type property: The type property.
+     *
+     * @return the type value.
+     */
+    @Generated
+    public String getType() {
+        return this.type;
+    }
+
+    /**
+     * Get the callId property: The unique ID of the tool call generated by the model.
+     *
+     * @return the callId value.
+     */
+    @Generated
+    public String getCallId() {
+        return this.callId;
+    }
+
+    /**
+     * Get the arguments property: A JSON string of the arguments to pass to the tool.
+     *
+     * @return the arguments value.
+     */
+    @Generated
+    public String getArguments() {
+        return this.arguments;
+    }
+
+    /**
+     * Get the status property: The status of the tool call.
+     *
+     * @return the status value.
+     */
+    @Generated
+    public ToolCallStatus getStatus() {
+        return this.status;
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Generated
+    @Override
+    public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+        jsonWriter.writeStartObject();
+        jsonWriter.writeStringField("type", this.type);
+        jsonWriter.writeStringField("call_id", this.callId);
+        jsonWriter.writeStringField("arguments", this.arguments);
+        jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString());
+        return jsonWriter.writeEndObject();
+    }
+
+    /**
+     * Reads an instance of AzureAISearchToolCall from the JsonReader.
+     *
+     * @param jsonReader The JsonReader being read.
+     * @return An instance of AzureAISearchToolCall if the JsonReader was pointing to an instance of it, or null if it
+     * was pointing to JSON null.
+     * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+     * @throws IOException If an error occurs while reading the AzureAISearchToolCall.
+     */
+    @Generated
+    public static AzureAISearchToolCall fromJson(JsonReader jsonReader) throws IOException {
+        return jsonReader.readObject(reader -> {
+            String callId = null;
+            String arguments = null;
+            ToolCallStatus status = null;
+            while (reader.nextToken() != JsonToken.END_OBJECT) {
+                String fieldName = reader.getFieldName();
+                reader.nextToken();
+                if ("call_id".equals(fieldName)) {
+                    callId = reader.getString();
+                } else if ("arguments".equals(fieldName)) {
+                    arguments = reader.getString();
+                } else if ("status".equals(fieldName)) {
+                    status = ToolCallStatus.fromString(reader.getString());
+                } else {
+                    reader.skipChildren();
+                }
+            }
+            return new AzureAISearchToolCall(callId, arguments, status);
+        });
+    }
+}
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java
new file mode 100644
index 000000000000..2f23000e2dd1
--- /dev/null
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java
@@ -0,0 +1,160 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+package com.azure.ai.agents.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Generated;
+import com.azure.core.util.BinaryData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * The output of an Azure AI Search tool call.
+ */
+@Fluent
+public final class AzureAISearchToolCallOutput implements JsonSerializable {
+
+    /*
+     * The type property.
+     */
+    @Generated
+    private final String type = "azure_ai_search_call_output";
+
+    /*
+     * The unique ID of the tool call generated by the model.
+     */
+    @Generated
+    private final String callId;
+
+    /*
+     * The output from the Azure AI Search tool call.
+     */
+    @Generated
+    private BinaryData output;
+
+    /*
+     * The status of the tool call.
+     */
+    @Generated
+    private final ToolCallStatus status;
+
+    /**
+     * Creates an instance of AzureAISearchToolCallOutput class.
+     *
+     * @param callId the callId value to set.
+     * @param status the status value to set.
+     */
+    @Generated
+    public AzureAISearchToolCallOutput(String callId, ToolCallStatus status) {
+        this.callId = callId;
+        this.status = status;
+    }
+
+    /**
+     * Get the type property: The type property.
+     *
+     * @return the type value.
+     */
+    @Generated
+    public String getType() {
+        return this.type;
+    }
+
+    /**
+     * Get the callId property: The unique ID of the tool call generated by the model.
+     *
+     * @return the callId value.
+     */
+    @Generated
+    public String getCallId() {
+        return this.callId;
+    }
+
+    /**
+     * Get the output property: The output from the Azure AI Search tool call.
+     *
+     * @return the output value.
+     */
+    @Generated
+    public BinaryData getOutput() {
+        return this.output;
+    }
+
+    /**
+     * Set the output property: The output from the Azure AI Search tool call.
+     *
+     * @param output the output value to set.
+     * @return the AzureAISearchToolCallOutput object itself.
+     */
+    @Generated
+    public AzureAISearchToolCallOutput setOutput(BinaryData output) {
+        this.output = output;
+        return this;
+    }
+
+    /**
+     * Get the status property: The status of the tool call.
+     *
+     * @return the status value.
+     */
+    @Generated
+    public ToolCallStatus getStatus() {
+        return this.status;
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Generated
+    @Override
+    public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+        jsonWriter.writeStartObject();
+        jsonWriter.writeStringField("type", this.type);
+        jsonWriter.writeStringField("call_id", this.callId);
+        jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString());
+        if (this.output != null) {
+            jsonWriter.writeFieldName("output");
+            this.output.writeTo(jsonWriter);
+        }
+        return jsonWriter.writeEndObject();
+    }
+
+    /**
+     * Reads an instance of AzureAISearchToolCallOutput from the JsonReader.
+     *
+     * @param jsonReader The JsonReader being read.
+     * @return An instance of AzureAISearchToolCallOutput if the JsonReader was pointing to an instance of it, or null
+     * if it was pointing to JSON null.
+     * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+     * @throws IOException If an error occurs while reading the AzureAISearchToolCallOutput.
+     */
+    @Generated
+    public static AzureAISearchToolCallOutput fromJson(JsonReader jsonReader) throws IOException {
+        return jsonReader.readObject(reader -> {
+            String callId = null;
+            ToolCallStatus status = null;
+            BinaryData output = null;
+            while (reader.nextToken() != JsonToken.END_OBJECT) {
+                String fieldName = reader.getFieldName();
+                reader.nextToken();
+                if ("call_id".equals(fieldName)) {
+                    callId = reader.getString();
+                } else if ("status".equals(fieldName)) {
+                    status = ToolCallStatus.fromString(reader.getString());
+                } else if ("output".equals(fieldName)) {
+                    output = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()));
+                } else {
+                    reader.skipChildren();
+                }
+            }
+            AzureAISearchToolCallOutput deserializedAzureAISearchToolCallOutput
+                = new AzureAISearchToolCallOutput(callId, status);
+            deserializedAzureAISearchToolCallOutput.output = output;
+            return deserializedAzureAISearchToolCallOutput;
+        });
+    }
+}
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java
index 30b2d0f8b489..3998a25db323 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java
@@ -3,17 +3,18 @@
 // Code generated by Microsoft (R) TypeSpec Code Generator.
 package com.azure.ai.agents.models;
 
+import com.azure.core.annotation.Fluent;
 import com.azure.core.annotation.Generated;
-import com.azure.core.annotation.Immutable;
 import com.azure.json.JsonReader;
 import com.azure.json.JsonToken;
 import com.azure.json.JsonWriter;
 import java.io.IOException;
+import java.util.Map;
 
 /**
  * The input definition information for an Azure Function Tool, as used to configure an Agent.
  */
-@Immutable
+@Fluent
 public final class AzureFunctionTool extends Tool {
 
     /*
@@ -68,6 +69,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
         jsonWriter.writeStartObject();
         jsonWriter.writeJsonField("azure_function", this.azureFunction);
         jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString());
+        jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element));
         return jsonWriter.writeEndObject();
     }
 
@@ -85,6 +87,7 @@ public static AzureFunctionTool fromJson(JsonReader jsonReader) throws IOExcepti
         return jsonReader.readObject(reader -> {
             AzureFunctionDefinition azureFunction = null;
             ToolType type = ToolType.AZURE_FUNCTION;
+            Map toolConfigs = null;
             while (reader.nextToken() != JsonToken.END_OBJECT) {
                 String fieldName = reader.getFieldName();
                 reader.nextToken();
@@ -92,13 +95,50 @@ public static AzureFunctionTool fromJson(JsonReader jsonReader) throws IOExcepti
                     azureFunction = AzureFunctionDefinition.fromJson(reader);
                 } else if ("type".equals(fieldName)) {
                     type = ToolType.fromString(reader.getString());
+                } else if ("tool_configs".equals(fieldName)) {
+                    toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1));
                 } else {
                     reader.skipChildren();
                 }
             }
             AzureFunctionTool deserializedAzureFunctionTool = new AzureFunctionTool(azureFunction);
             deserializedAzureFunctionTool.type = type;
+            deserializedAzureFunctionTool.toolConfigs = toolConfigs;
             return deserializedAzureFunctionTool;
         });
     }
+
+    /*
+     * Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     */
+    @Generated
+    private Map toolConfigs;
+
+    /**
+     * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     *
+     * @return the toolConfigs value.
+     */
+    @Generated
+    public Map getToolConfigs() {
+        return this.toolConfigs;
+    }
+
+    /**
+     * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     *
+     * @param toolConfigs the toolConfigs value to set.
+     * @return the AzureFunctionTool object itself.
+     */
+    @Generated
+    public AzureFunctionTool setToolConfigs(Map toolConfigs) {
+        this.toolConfigs = toolConfigs;
+        return this;
+    }
 }
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java
new file mode 100644
index 000000000000..16b133485d40
--- /dev/null
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java
@@ -0,0 +1,165 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+package com.azure.ai.agents.models;
+
+import com.azure.core.annotation.Generated;
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * An Azure Function tool call.
+ */
+@Immutable
+public final class AzureFunctionToolCall implements JsonSerializable {
+
+    /*
+     * The type property.
+     */
+    @Generated
+    private final String type = "azure_function_call";
+
+    /*
+     * The unique ID of the tool call generated by the model.
+     */
+    @Generated
+    private final String callId;
+
+    /*
+     * The name of the Azure Function being called.
+     */
+    @Generated
+    private final String name;
+
+    /*
+     * A JSON string of the arguments to pass to the tool.
+     */
+    @Generated
+    private final String arguments;
+
+    /*
+     * The status of the tool call.
+     */
+    @Generated
+    private final ToolCallStatus status;
+
+    /**
+     * Creates an instance of AzureFunctionToolCall class.
+     *
+     * @param callId the callId value to set.
+     * @param name the name value to set.
+     * @param arguments the arguments value to set.
+     * @param status the status value to set.
+     */
+    @Generated
+    public AzureFunctionToolCall(String callId, String name, String arguments, ToolCallStatus status) {
+        this.callId = callId;
+        this.name = name;
+        this.arguments = arguments;
+        this.status = status;
+    }
+
+    /**
+     * Get the type property: The type property.
+     *
+     * @return the type value.
+     */
+    @Generated
+    public String getType() {
+        return this.type;
+    }
+
+    /**
+     * Get the callId property: The unique ID of the tool call generated by the model.
+     *
+     * @return the callId value.
+     */
+    @Generated
+    public String getCallId() {
+        return this.callId;
+    }
+
+    /**
+     * Get the name property: The name of the Azure Function being called.
+     *
+     * @return the name value.
+     */
+    @Generated
+    public String getName() {
+        return this.name;
+    }
+
+    /**
+     * Get the arguments property: A JSON string of the arguments to pass to the tool.
+     *
+     * @return the arguments value.
+     */
+    @Generated
+    public String getArguments() {
+        return this.arguments;
+    }
+
+    /**
+     * Get the status property: The status of the tool call.
+     *
+     * @return the status value.
+     */
+    @Generated
+    public ToolCallStatus getStatus() {
+        return this.status;
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Generated
+    @Override
+    public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+        jsonWriter.writeStartObject();
+        jsonWriter.writeStringField("type", this.type);
+        jsonWriter.writeStringField("call_id", this.callId);
+        jsonWriter.writeStringField("name", this.name);
+        jsonWriter.writeStringField("arguments", this.arguments);
+        jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString());
+        return jsonWriter.writeEndObject();
+    }
+
+    /**
+     * Reads an instance of AzureFunctionToolCall from the JsonReader.
+     *
+     * @param jsonReader The JsonReader being read.
+     * @return An instance of AzureFunctionToolCall if the JsonReader was pointing to an instance of it, or null if it
+     * was pointing to JSON null.
+     * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+     * @throws IOException If an error occurs while reading the AzureFunctionToolCall.
+     */
+    @Generated
+    public static AzureFunctionToolCall fromJson(JsonReader jsonReader) throws IOException {
+        return jsonReader.readObject(reader -> {
+            String callId = null;
+            String name = null;
+            String arguments = null;
+            ToolCallStatus status = null;
+            while (reader.nextToken() != JsonToken.END_OBJECT) {
+                String fieldName = reader.getFieldName();
+                reader.nextToken();
+                if ("call_id".equals(fieldName)) {
+                    callId = reader.getString();
+                } else if ("name".equals(fieldName)) {
+                    name = reader.getString();
+                } else if ("arguments".equals(fieldName)) {
+                    arguments = reader.getString();
+                } else if ("status".equals(fieldName)) {
+                    status = ToolCallStatus.fromString(reader.getString());
+                } else {
+                    reader.skipChildren();
+                }
+            }
+            return new AzureFunctionToolCall(callId, name, arguments, status);
+        });
+    }
+}
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java
new file mode 100644
index 000000000000..35443ef16f06
--- /dev/null
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java
@@ -0,0 +1,182 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+package com.azure.ai.agents.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Generated;
+import com.azure.core.util.BinaryData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * The output of an Azure Function tool call.
+ */
+@Fluent
+public final class AzureFunctionToolCallOutput implements JsonSerializable {
+
+    /*
+     * The type property.
+     */
+    @Generated
+    private final String type = "azure_function_call_output";
+
+    /*
+     * The unique ID of the tool call generated by the model.
+     */
+    @Generated
+    private final String callId;
+
+    /*
+     * The name of the Azure Function that was called.
+     */
+    @Generated
+    private final String name;
+
+    /*
+     * The output from the Azure Function tool call.
+     */
+    @Generated
+    private BinaryData output;
+
+    /*
+     * The status of the tool call.
+     */
+    @Generated
+    private final ToolCallStatus status;
+
+    /**
+     * Creates an instance of AzureFunctionToolCallOutput class.
+     *
+     * @param callId the callId value to set.
+     * @param name the name value to set.
+     * @param status the status value to set.
+     */
+    @Generated
+    public AzureFunctionToolCallOutput(String callId, String name, ToolCallStatus status) {
+        this.callId = callId;
+        this.name = name;
+        this.status = status;
+    }
+
+    /**
+     * Get the type property: The type property.
+     *
+     * @return the type value.
+     */
+    @Generated
+    public String getType() {
+        return this.type;
+    }
+
+    /**
+     * Get the callId property: The unique ID of the tool call generated by the model.
+     *
+     * @return the callId value.
+     */
+    @Generated
+    public String getCallId() {
+        return this.callId;
+    }
+
+    /**
+     * Get the name property: The name of the Azure Function that was called.
+     *
+     * @return the name value.
+     */
+    @Generated
+    public String getName() {
+        return this.name;
+    }
+
+    /**
+     * Get the output property: The output from the Azure Function tool call.
+     *
+     * @return the output value.
+     */
+    @Generated
+    public BinaryData getOutput() {
+        return this.output;
+    }
+
+    /**
+     * Set the output property: The output from the Azure Function tool call.
+     *
+     * @param output the output value to set.
+     * @return the AzureFunctionToolCallOutput object itself.
+     */
+    @Generated
+    public AzureFunctionToolCallOutput setOutput(BinaryData output) {
+        this.output = output;
+        return this;
+    }
+
+    /**
+     * Get the status property: The status of the tool call.
+     *
+     * @return the status value.
+     */
+    @Generated
+    public ToolCallStatus getStatus() {
+        return this.status;
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Generated
+    @Override
+    public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+        jsonWriter.writeStartObject();
+        jsonWriter.writeStringField("type", this.type);
+        jsonWriter.writeStringField("call_id", this.callId);
+        jsonWriter.writeStringField("name", this.name);
+        jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString());
+        if (this.output != null) {
+            jsonWriter.writeFieldName("output");
+            this.output.writeTo(jsonWriter);
+        }
+        return jsonWriter.writeEndObject();
+    }
+
+    /**
+     * Reads an instance of AzureFunctionToolCallOutput from the JsonReader.
+     *
+     * @param jsonReader The JsonReader being read.
+     * @return An instance of AzureFunctionToolCallOutput if the JsonReader was pointing to an instance of it, or null
+     * if it was pointing to JSON null.
+     * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+     * @throws IOException If an error occurs while reading the AzureFunctionToolCallOutput.
+     */
+    @Generated
+    public static AzureFunctionToolCallOutput fromJson(JsonReader jsonReader) throws IOException {
+        return jsonReader.readObject(reader -> {
+            String callId = null;
+            String name = null;
+            ToolCallStatus status = null;
+            BinaryData output = null;
+            while (reader.nextToken() != JsonToken.END_OBJECT) {
+                String fieldName = reader.getFieldName();
+                reader.nextToken();
+                if ("call_id".equals(fieldName)) {
+                    callId = reader.getString();
+                } else if ("name".equals(fieldName)) {
+                    name = reader.getString();
+                } else if ("status".equals(fieldName)) {
+                    status = ToolCallStatus.fromString(reader.getString());
+                } else if ("output".equals(fieldName)) {
+                    output = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()));
+                } else {
+                    reader.skipChildren();
+                }
+            }
+            AzureFunctionToolCallOutput deserializedAzureFunctionToolCallOutput
+                = new AzureFunctionToolCallOutput(callId, name, status);
+            deserializedAzureFunctionToolCallOutput.output = output;
+            return deserializedAzureFunctionToolCallOutput;
+        });
+    }
+}
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java
index b3fa5abcd2f6..2f2435ec7db4 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java
@@ -9,6 +9,7 @@
 import com.azure.json.JsonToken;
 import com.azure.json.JsonWriter;
 import java.io.IOException;
+import java.util.Map;
 
 /**
  * The input definition information for a Bing custom search tool as used to configure an agent.
@@ -70,6 +71,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
         jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString());
         jsonWriter.writeStringField("name", this.name);
         jsonWriter.writeStringField("description", this.description);
+        jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element));
         return jsonWriter.writeEndObject();
     }
 
@@ -89,6 +91,7 @@ public static BingCustomSearchPreviewTool fromJson(JsonReader jsonReader) throws
             ToolType type = ToolType.BING_CUSTOM_SEARCH_PREVIEW;
             String name = null;
             String description = null;
+            Map toolConfigs = null;
             while (reader.nextToken() != JsonToken.END_OBJECT) {
                 String fieldName = reader.getFieldName();
                 reader.nextToken();
@@ -100,6 +103,8 @@ public static BingCustomSearchPreviewTool fromJson(JsonReader jsonReader) throws
                     name = reader.getString();
                 } else if ("description".equals(fieldName)) {
                     description = reader.getString();
+                } else if ("tool_configs".equals(fieldName)) {
+                    toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1));
                 } else {
                     reader.skipChildren();
                 }
@@ -109,6 +114,7 @@ public static BingCustomSearchPreviewTool fromJson(JsonReader jsonReader) throws
             deserializedBingCustomSearchPreviewTool.type = type;
             deserializedBingCustomSearchPreviewTool.name = name;
             deserializedBingCustomSearchPreviewTool.description = description;
+            deserializedBingCustomSearchPreviewTool.toolConfigs = toolConfigs;
             return deserializedBingCustomSearchPreviewTool;
         });
     }
@@ -168,4 +174,38 @@ public BingCustomSearchPreviewTool setDescription(String description) {
         this.description = description;
         return this;
     }
+
+    /*
+     * Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     */
+    @Generated
+    private Map toolConfigs;
+
+    /**
+     * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     *
+     * @return the toolConfigs value.
+     */
+    @Generated
+    public Map getToolConfigs() {
+        return this.toolConfigs;
+    }
+
+    /**
+     * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     *
+     * @param toolConfigs the toolConfigs value to set.
+     * @return the BingCustomSearchPreviewTool object itself.
+     */
+    @Generated
+    public BingCustomSearchPreviewTool setToolConfigs(Map toolConfigs) {
+        this.toolConfigs = toolConfigs;
+        return this;
+    }
 }
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java
new file mode 100644
index 000000000000..56ad1b6713cf
--- /dev/null
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java
@@ -0,0 +1,143 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+package com.azure.ai.agents.models;
+
+import com.azure.core.annotation.Generated;
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * A Bing custom search tool call.
+ */
+@Immutable
+public final class BingCustomSearchToolCall implements JsonSerializable {
+
+    /*
+     * The type property.
+     */
+    @Generated
+    private final String type = "bing_custom_search_preview_call";
+
+    /*
+     * The unique ID of the tool call generated by the model.
+     */
+    @Generated
+    private final String callId;
+
+    /*
+     * A JSON string of the arguments to pass to the tool.
+     */
+    @Generated
+    private final String arguments;
+
+    /*
+     * The status of the tool call.
+     */
+    @Generated
+    private final ToolCallStatus status;
+
+    /**
+     * Creates an instance of BingCustomSearchToolCall class.
+     *
+     * @param callId the callId value to set.
+     * @param arguments the arguments value to set.
+     * @param status the status value to set.
+     */
+    @Generated
+    public BingCustomSearchToolCall(String callId, String arguments, ToolCallStatus status) {
+        this.callId = callId;
+        this.arguments = arguments;
+        this.status = status;
+    }
+
+    /**
+     * Get the type property: The type property.
+     *
+     * @return the type value.
+     */
+    @Generated
+    public String getType() {
+        return this.type;
+    }
+
+    /**
+     * Get the callId property: The unique ID of the tool call generated by the model.
+     *
+     * @return the callId value.
+     */
+    @Generated
+    public String getCallId() {
+        return this.callId;
+    }
+
+    /**
+     * Get the arguments property: A JSON string of the arguments to pass to the tool.
+     *
+     * @return the arguments value.
+     */
+    @Generated
+    public String getArguments() {
+        return this.arguments;
+    }
+
+    /**
+     * Get the status property: The status of the tool call.
+     *
+     * @return the status value.
+     */
+    @Generated
+    public ToolCallStatus getStatus() {
+        return this.status;
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Generated
+    @Override
+    public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+        jsonWriter.writeStartObject();
+        jsonWriter.writeStringField("type", this.type);
+        jsonWriter.writeStringField("call_id", this.callId);
+        jsonWriter.writeStringField("arguments", this.arguments);
+        jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString());
+        return jsonWriter.writeEndObject();
+    }
+
+    /**
+     * Reads an instance of BingCustomSearchToolCall from the JsonReader.
+     *
+     * @param jsonReader The JsonReader being read.
+     * @return An instance of BingCustomSearchToolCall if the JsonReader was pointing to an instance of it, or null if
+     * it was pointing to JSON null.
+     * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+     * @throws IOException If an error occurs while reading the BingCustomSearchToolCall.
+     */
+    @Generated
+    public static BingCustomSearchToolCall fromJson(JsonReader jsonReader) throws IOException {
+        return jsonReader.readObject(reader -> {
+            String callId = null;
+            String arguments = null;
+            ToolCallStatus status = null;
+            while (reader.nextToken() != JsonToken.END_OBJECT) {
+                String fieldName = reader.getFieldName();
+                reader.nextToken();
+                if ("call_id".equals(fieldName)) {
+                    callId = reader.getString();
+                } else if ("arguments".equals(fieldName)) {
+                    arguments = reader.getString();
+                } else if ("status".equals(fieldName)) {
+                    status = ToolCallStatus.fromString(reader.getString());
+                } else {
+                    reader.skipChildren();
+                }
+            }
+            return new BingCustomSearchToolCall(callId, arguments, status);
+        });
+    }
+}
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java
new file mode 100644
index 000000000000..3150656bb66c
--- /dev/null
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java
@@ -0,0 +1,160 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+package com.azure.ai.agents.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Generated;
+import com.azure.core.util.BinaryData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * The output of a Bing custom search tool call.
+ */
+@Fluent
+public final class BingCustomSearchToolCallOutput implements JsonSerializable {
+
+    /*
+     * The type property.
+     */
+    @Generated
+    private final String type = "bing_custom_search_preview_call_output";
+
+    /*
+     * The unique ID of the tool call generated by the model.
+     */
+    @Generated
+    private final String callId;
+
+    /*
+     * The output from the Bing custom search tool call.
+     */
+    @Generated
+    private BinaryData output;
+
+    /*
+     * The status of the tool call.
+     */
+    @Generated
+    private final ToolCallStatus status;
+
+    /**
+     * Creates an instance of BingCustomSearchToolCallOutput class.
+     *
+     * @param callId the callId value to set.
+     * @param status the status value to set.
+     */
+    @Generated
+    public BingCustomSearchToolCallOutput(String callId, ToolCallStatus status) {
+        this.callId = callId;
+        this.status = status;
+    }
+
+    /**
+     * Get the type property: The type property.
+     *
+     * @return the type value.
+     */
+    @Generated
+    public String getType() {
+        return this.type;
+    }
+
+    /**
+     * Get the callId property: The unique ID of the tool call generated by the model.
+     *
+     * @return the callId value.
+     */
+    @Generated
+    public String getCallId() {
+        return this.callId;
+    }
+
+    /**
+     * Get the output property: The output from the Bing custom search tool call.
+     *
+     * @return the output value.
+     */
+    @Generated
+    public BinaryData getOutput() {
+        return this.output;
+    }
+
+    /**
+     * Set the output property: The output from the Bing custom search tool call.
+     *
+     * @param output the output value to set.
+     * @return the BingCustomSearchToolCallOutput object itself.
+     */
+    @Generated
+    public BingCustomSearchToolCallOutput setOutput(BinaryData output) {
+        this.output = output;
+        return this;
+    }
+
+    /**
+     * Get the status property: The status of the tool call.
+     *
+     * @return the status value.
+     */
+    @Generated
+    public ToolCallStatus getStatus() {
+        return this.status;
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Generated
+    @Override
+    public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+        jsonWriter.writeStartObject();
+        jsonWriter.writeStringField("type", this.type);
+        jsonWriter.writeStringField("call_id", this.callId);
+        jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString());
+        if (this.output != null) {
+            jsonWriter.writeFieldName("output");
+            this.output.writeTo(jsonWriter);
+        }
+        return jsonWriter.writeEndObject();
+    }
+
+    /**
+     * Reads an instance of BingCustomSearchToolCallOutput from the JsonReader.
+     *
+     * @param jsonReader The JsonReader being read.
+     * @return An instance of BingCustomSearchToolCallOutput if the JsonReader was pointing to an instance of it, or
+     * null if it was pointing to JSON null.
+     * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+     * @throws IOException If an error occurs while reading the BingCustomSearchToolCallOutput.
+     */
+    @Generated
+    public static BingCustomSearchToolCallOutput fromJson(JsonReader jsonReader) throws IOException {
+        return jsonReader.readObject(reader -> {
+            String callId = null;
+            ToolCallStatus status = null;
+            BinaryData output = null;
+            while (reader.nextToken() != JsonToken.END_OBJECT) {
+                String fieldName = reader.getFieldName();
+                reader.nextToken();
+                if ("call_id".equals(fieldName)) {
+                    callId = reader.getString();
+                } else if ("status".equals(fieldName)) {
+                    status = ToolCallStatus.fromString(reader.getString());
+                } else if ("output".equals(fieldName)) {
+                    output = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()));
+                } else {
+                    reader.skipChildren();
+                }
+            }
+            BingCustomSearchToolCallOutput deserializedBingCustomSearchToolCallOutput
+                = new BingCustomSearchToolCallOutput(callId, status);
+            deserializedBingCustomSearchToolCallOutput.output = output;
+            return deserializedBingCustomSearchToolCallOutput;
+        });
+    }
+}
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingGroundingTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingGroundingTool.java
index 62eb78a149ec..ebbe663799ee 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingGroundingTool.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingGroundingTool.java
@@ -9,6 +9,7 @@
 import com.azure.json.JsonToken;
 import com.azure.json.JsonWriter;
 import java.io.IOException;
+import java.util.Map;
 
 /**
  * The input definition information for a bing grounding search tool as used to configure an agent.
@@ -70,6 +71,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
         jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString());
         jsonWriter.writeStringField("name", this.name);
         jsonWriter.writeStringField("description", this.description);
+        jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element));
         return jsonWriter.writeEndObject();
     }
 
@@ -89,6 +91,7 @@ public static BingGroundingTool fromJson(JsonReader jsonReader) throws IOExcepti
             ToolType type = ToolType.BING_GROUNDING;
             String name = null;
             String description = null;
+            Map toolConfigs = null;
             while (reader.nextToken() != JsonToken.END_OBJECT) {
                 String fieldName = reader.getFieldName();
                 reader.nextToken();
@@ -100,6 +103,8 @@ public static BingGroundingTool fromJson(JsonReader jsonReader) throws IOExcepti
                     name = reader.getString();
                 } else if ("description".equals(fieldName)) {
                     description = reader.getString();
+                } else if ("tool_configs".equals(fieldName)) {
+                    toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1));
                 } else {
                     reader.skipChildren();
                 }
@@ -108,6 +113,7 @@ public static BingGroundingTool fromJson(JsonReader jsonReader) throws IOExcepti
             deserializedBingGroundingTool.type = type;
             deserializedBingGroundingTool.name = name;
             deserializedBingGroundingTool.description = description;
+            deserializedBingGroundingTool.toolConfigs = toolConfigs;
             return deserializedBingGroundingTool;
         });
     }
@@ -167,4 +173,38 @@ public BingGroundingTool setDescription(String description) {
         this.description = description;
         return this;
     }
+
+    /*
+     * Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     */
+    @Generated
+    private Map toolConfigs;
+
+    /**
+     * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     *
+     * @return the toolConfigs value.
+     */
+    @Generated
+    public Map getToolConfigs() {
+        return this.toolConfigs;
+    }
+
+    /**
+     * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     *
+     * @param toolConfigs the toolConfigs value to set.
+     * @return the BingGroundingTool object itself.
+     */
+    @Generated
+    public BingGroundingTool setToolConfigs(Map toolConfigs) {
+        this.toolConfigs = toolConfigs;
+        return this;
+    }
 }
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java
new file mode 100644
index 000000000000..35b10569f1f9
--- /dev/null
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java
@@ -0,0 +1,143 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+package com.azure.ai.agents.models;
+
+import com.azure.core.annotation.Generated;
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * A Bing grounding tool call.
+ */
+@Immutable
+public final class BingGroundingToolCall implements JsonSerializable {
+
+    /*
+     * The type property.
+     */
+    @Generated
+    private final String type = "bing_grounding_call";
+
+    /*
+     * The unique ID of the tool call generated by the model.
+     */
+    @Generated
+    private final String callId;
+
+    /*
+     * A JSON string of the arguments to pass to the tool.
+     */
+    @Generated
+    private final String arguments;
+
+    /*
+     * The status of the tool call.
+     */
+    @Generated
+    private final ToolCallStatus status;
+
+    /**
+     * Creates an instance of BingGroundingToolCall class.
+     *
+     * @param callId the callId value to set.
+     * @param arguments the arguments value to set.
+     * @param status the status value to set.
+     */
+    @Generated
+    public BingGroundingToolCall(String callId, String arguments, ToolCallStatus status) {
+        this.callId = callId;
+        this.arguments = arguments;
+        this.status = status;
+    }
+
+    /**
+     * Get the type property: The type property.
+     *
+     * @return the type value.
+     */
+    @Generated
+    public String getType() {
+        return this.type;
+    }
+
+    /**
+     * Get the callId property: The unique ID of the tool call generated by the model.
+     *
+     * @return the callId value.
+     */
+    @Generated
+    public String getCallId() {
+        return this.callId;
+    }
+
+    /**
+     * Get the arguments property: A JSON string of the arguments to pass to the tool.
+     *
+     * @return the arguments value.
+     */
+    @Generated
+    public String getArguments() {
+        return this.arguments;
+    }
+
+    /**
+     * Get the status property: The status of the tool call.
+     *
+     * @return the status value.
+     */
+    @Generated
+    public ToolCallStatus getStatus() {
+        return this.status;
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Generated
+    @Override
+    public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+        jsonWriter.writeStartObject();
+        jsonWriter.writeStringField("type", this.type);
+        jsonWriter.writeStringField("call_id", this.callId);
+        jsonWriter.writeStringField("arguments", this.arguments);
+        jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString());
+        return jsonWriter.writeEndObject();
+    }
+
+    /**
+     * Reads an instance of BingGroundingToolCall from the JsonReader.
+     *
+     * @param jsonReader The JsonReader being read.
+     * @return An instance of BingGroundingToolCall if the JsonReader was pointing to an instance of it, or null if it
+     * was pointing to JSON null.
+     * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+     * @throws IOException If an error occurs while reading the BingGroundingToolCall.
+     */
+    @Generated
+    public static BingGroundingToolCall fromJson(JsonReader jsonReader) throws IOException {
+        return jsonReader.readObject(reader -> {
+            String callId = null;
+            String arguments = null;
+            ToolCallStatus status = null;
+            while (reader.nextToken() != JsonToken.END_OBJECT) {
+                String fieldName = reader.getFieldName();
+                reader.nextToken();
+                if ("call_id".equals(fieldName)) {
+                    callId = reader.getString();
+                } else if ("arguments".equals(fieldName)) {
+                    arguments = reader.getString();
+                } else if ("status".equals(fieldName)) {
+                    status = ToolCallStatus.fromString(reader.getString());
+                } else {
+                    reader.skipChildren();
+                }
+            }
+            return new BingGroundingToolCall(callId, arguments, status);
+        });
+    }
+}
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java
new file mode 100644
index 000000000000..10a48dcaca5d
--- /dev/null
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java
@@ -0,0 +1,160 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+package com.azure.ai.agents.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Generated;
+import com.azure.core.util.BinaryData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * The output of a Bing grounding tool call.
+ */
+@Fluent
+public final class BingGroundingToolCallOutput implements JsonSerializable {
+
+    /*
+     * The type property.
+     */
+    @Generated
+    private final String type = "bing_grounding_call_output";
+
+    /*
+     * The unique ID of the tool call generated by the model.
+     */
+    @Generated
+    private final String callId;
+
+    /*
+     * The output from the Bing grounding tool call.
+     */
+    @Generated
+    private BinaryData output;
+
+    /*
+     * The status of the tool call.
+     */
+    @Generated
+    private final ToolCallStatus status;
+
+    /**
+     * Creates an instance of BingGroundingToolCallOutput class.
+     *
+     * @param callId the callId value to set.
+     * @param status the status value to set.
+     */
+    @Generated
+    public BingGroundingToolCallOutput(String callId, ToolCallStatus status) {
+        this.callId = callId;
+        this.status = status;
+    }
+
+    /**
+     * Get the type property: The type property.
+     *
+     * @return the type value.
+     */
+    @Generated
+    public String getType() {
+        return this.type;
+    }
+
+    /**
+     * Get the callId property: The unique ID of the tool call generated by the model.
+     *
+     * @return the callId value.
+     */
+    @Generated
+    public String getCallId() {
+        return this.callId;
+    }
+
+    /**
+     * Get the output property: The output from the Bing grounding tool call.
+     *
+     * @return the output value.
+     */
+    @Generated
+    public BinaryData getOutput() {
+        return this.output;
+    }
+
+    /**
+     * Set the output property: The output from the Bing grounding tool call.
+     *
+     * @param output the output value to set.
+     * @return the BingGroundingToolCallOutput object itself.
+     */
+    @Generated
+    public BingGroundingToolCallOutput setOutput(BinaryData output) {
+        this.output = output;
+        return this;
+    }
+
+    /**
+     * Get the status property: The status of the tool call.
+     *
+     * @return the status value.
+     */
+    @Generated
+    public ToolCallStatus getStatus() {
+        return this.status;
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Generated
+    @Override
+    public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+        jsonWriter.writeStartObject();
+        jsonWriter.writeStringField("type", this.type);
+        jsonWriter.writeStringField("call_id", this.callId);
+        jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString());
+        if (this.output != null) {
+            jsonWriter.writeFieldName("output");
+            this.output.writeTo(jsonWriter);
+        }
+        return jsonWriter.writeEndObject();
+    }
+
+    /**
+     * Reads an instance of BingGroundingToolCallOutput from the JsonReader.
+     *
+     * @param jsonReader The JsonReader being read.
+     * @return An instance of BingGroundingToolCallOutput if the JsonReader was pointing to an instance of it, or null
+     * if it was pointing to JSON null.
+     * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+     * @throws IOException If an error occurs while reading the BingGroundingToolCallOutput.
+     */
+    @Generated
+    public static BingGroundingToolCallOutput fromJson(JsonReader jsonReader) throws IOException {
+        return jsonReader.readObject(reader -> {
+            String callId = null;
+            ToolCallStatus status = null;
+            BinaryData output = null;
+            while (reader.nextToken() != JsonToken.END_OBJECT) {
+                String fieldName = reader.getFieldName();
+                reader.nextToken();
+                if ("call_id".equals(fieldName)) {
+                    callId = reader.getString();
+                } else if ("status".equals(fieldName)) {
+                    status = ToolCallStatus.fromString(reader.getString());
+                } else if ("output".equals(fieldName)) {
+                    output = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()));
+                } else {
+                    reader.skipChildren();
+                }
+            }
+            BingGroundingToolCallOutput deserializedBingGroundingToolCallOutput
+                = new BingGroundingToolCallOutput(callId, status);
+            deserializedBingGroundingToolCallOutput.output = output;
+            return deserializedBingGroundingToolCallOutput;
+        });
+    }
+}
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java
index f9fa993f8028..16fd6d813c1b 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java
@@ -9,6 +9,7 @@
 import com.azure.json.JsonToken;
 import com.azure.json.JsonWriter;
 import java.io.IOException;
+import java.util.Map;
 
 /**
  * The input definition information for a Browser Automation Tool, as used to configure an Agent.
@@ -70,6 +71,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
         jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString());
         jsonWriter.writeStringField("name", this.name);
         jsonWriter.writeStringField("description", this.description);
+        jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element));
         return jsonWriter.writeEndObject();
     }
 
@@ -89,6 +91,7 @@ public static BrowserAutomationPreviewTool fromJson(JsonReader jsonReader) throw
             ToolType type = ToolType.BROWSER_AUTOMATION_PREVIEW;
             String name = null;
             String description = null;
+            Map toolConfigs = null;
             while (reader.nextToken() != JsonToken.END_OBJECT) {
                 String fieldName = reader.getFieldName();
                 reader.nextToken();
@@ -100,6 +103,8 @@ public static BrowserAutomationPreviewTool fromJson(JsonReader jsonReader) throw
                     name = reader.getString();
                 } else if ("description".equals(fieldName)) {
                     description = reader.getString();
+                } else if ("tool_configs".equals(fieldName)) {
+                    toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1));
                 } else {
                     reader.skipChildren();
                 }
@@ -109,6 +114,7 @@ public static BrowserAutomationPreviewTool fromJson(JsonReader jsonReader) throw
             deserializedBrowserAutomationPreviewTool.type = type;
             deserializedBrowserAutomationPreviewTool.name = name;
             deserializedBrowserAutomationPreviewTool.description = description;
+            deserializedBrowserAutomationPreviewTool.toolConfigs = toolConfigs;
             return deserializedBrowserAutomationPreviewTool;
         });
     }
@@ -168,4 +174,38 @@ public BrowserAutomationPreviewTool setDescription(String description) {
         this.description = description;
         return this;
     }
+
+    /*
+     * Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     */
+    @Generated
+    private Map toolConfigs;
+
+    /**
+     * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     *
+     * @return the toolConfigs value.
+     */
+    @Generated
+    public Map getToolConfigs() {
+        return this.toolConfigs;
+    }
+
+    /**
+     * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     *
+     * @param toolConfigs the toolConfigs value to set.
+     * @return the BrowserAutomationPreviewTool object itself.
+     */
+    @Generated
+    public BrowserAutomationPreviewTool setToolConfigs(Map toolConfigs) {
+        this.toolConfigs = toolConfigs;
+        return this;
+    }
 }
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java
new file mode 100644
index 000000000000..cffa1cbdc749
--- /dev/null
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java
@@ -0,0 +1,143 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+package com.azure.ai.agents.models;
+
+import com.azure.core.annotation.Generated;
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * A browser automation tool call.
+ */
+@Immutable
+public final class BrowserAutomationToolCall implements JsonSerializable {
+
+    /*
+     * The type property.
+     */
+    @Generated
+    private final String type = "browser_automation_preview_call";
+
+    /*
+     * The unique ID of the tool call generated by the model.
+     */
+    @Generated
+    private final String callId;
+
+    /*
+     * A JSON string of the arguments to pass to the tool.
+     */
+    @Generated
+    private final String arguments;
+
+    /*
+     * The status of the tool call.
+     */
+    @Generated
+    private final ToolCallStatus status;
+
+    /**
+     * Creates an instance of BrowserAutomationToolCall class.
+     *
+     * @param callId the callId value to set.
+     * @param arguments the arguments value to set.
+     * @param status the status value to set.
+     */
+    @Generated
+    public BrowserAutomationToolCall(String callId, String arguments, ToolCallStatus status) {
+        this.callId = callId;
+        this.arguments = arguments;
+        this.status = status;
+    }
+
+    /**
+     * Get the type property: The type property.
+     *
+     * @return the type value.
+     */
+    @Generated
+    public String getType() {
+        return this.type;
+    }
+
+    /**
+     * Get the callId property: The unique ID of the tool call generated by the model.
+     *
+     * @return the callId value.
+     */
+    @Generated
+    public String getCallId() {
+        return this.callId;
+    }
+
+    /**
+     * Get the arguments property: A JSON string of the arguments to pass to the tool.
+     *
+     * @return the arguments value.
+     */
+    @Generated
+    public String getArguments() {
+        return this.arguments;
+    }
+
+    /**
+     * Get the status property: The status of the tool call.
+     *
+     * @return the status value.
+     */
+    @Generated
+    public ToolCallStatus getStatus() {
+        return this.status;
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Generated
+    @Override
+    public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+        jsonWriter.writeStartObject();
+        jsonWriter.writeStringField("type", this.type);
+        jsonWriter.writeStringField("call_id", this.callId);
+        jsonWriter.writeStringField("arguments", this.arguments);
+        jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString());
+        return jsonWriter.writeEndObject();
+    }
+
+    /**
+     * Reads an instance of BrowserAutomationToolCall from the JsonReader.
+     *
+     * @param jsonReader The JsonReader being read.
+     * @return An instance of BrowserAutomationToolCall if the JsonReader was pointing to an instance of it, or null if
+     * it was pointing to JSON null.
+     * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+     * @throws IOException If an error occurs while reading the BrowserAutomationToolCall.
+     */
+    @Generated
+    public static BrowserAutomationToolCall fromJson(JsonReader jsonReader) throws IOException {
+        return jsonReader.readObject(reader -> {
+            String callId = null;
+            String arguments = null;
+            ToolCallStatus status = null;
+            while (reader.nextToken() != JsonToken.END_OBJECT) {
+                String fieldName = reader.getFieldName();
+                reader.nextToken();
+                if ("call_id".equals(fieldName)) {
+                    callId = reader.getString();
+                } else if ("arguments".equals(fieldName)) {
+                    arguments = reader.getString();
+                } else if ("status".equals(fieldName)) {
+                    status = ToolCallStatus.fromString(reader.getString());
+                } else {
+                    reader.skipChildren();
+                }
+            }
+            return new BrowserAutomationToolCall(callId, arguments, status);
+        });
+    }
+}
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java
new file mode 100644
index 000000000000..83b824ace482
--- /dev/null
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java
@@ -0,0 +1,160 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+package com.azure.ai.agents.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Generated;
+import com.azure.core.util.BinaryData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * The output of a browser automation tool call.
+ */
+@Fluent
+public final class BrowserAutomationToolCallOutput implements JsonSerializable {
+
+    /*
+     * The type property.
+     */
+    @Generated
+    private final String type = "browser_automation_preview_call_output";
+
+    /*
+     * The unique ID of the tool call generated by the model.
+     */
+    @Generated
+    private final String callId;
+
+    /*
+     * The output from the browser automation tool call.
+     */
+    @Generated
+    private BinaryData output;
+
+    /*
+     * The status of the tool call.
+     */
+    @Generated
+    private final ToolCallStatus status;
+
+    /**
+     * Creates an instance of BrowserAutomationToolCallOutput class.
+     *
+     * @param callId the callId value to set.
+     * @param status the status value to set.
+     */
+    @Generated
+    public BrowserAutomationToolCallOutput(String callId, ToolCallStatus status) {
+        this.callId = callId;
+        this.status = status;
+    }
+
+    /**
+     * Get the type property: The type property.
+     *
+     * @return the type value.
+     */
+    @Generated
+    public String getType() {
+        return this.type;
+    }
+
+    /**
+     * Get the callId property: The unique ID of the tool call generated by the model.
+     *
+     * @return the callId value.
+     */
+    @Generated
+    public String getCallId() {
+        return this.callId;
+    }
+
+    /**
+     * Get the output property: The output from the browser automation tool call.
+     *
+     * @return the output value.
+     */
+    @Generated
+    public BinaryData getOutput() {
+        return this.output;
+    }
+
+    /**
+     * Set the output property: The output from the browser automation tool call.
+     *
+     * @param output the output value to set.
+     * @return the BrowserAutomationToolCallOutput object itself.
+     */
+    @Generated
+    public BrowserAutomationToolCallOutput setOutput(BinaryData output) {
+        this.output = output;
+        return this;
+    }
+
+    /**
+     * Get the status property: The status of the tool call.
+     *
+     * @return the status value.
+     */
+    @Generated
+    public ToolCallStatus getStatus() {
+        return this.status;
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Generated
+    @Override
+    public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+        jsonWriter.writeStartObject();
+        jsonWriter.writeStringField("type", this.type);
+        jsonWriter.writeStringField("call_id", this.callId);
+        jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString());
+        if (this.output != null) {
+            jsonWriter.writeFieldName("output");
+            this.output.writeTo(jsonWriter);
+        }
+        return jsonWriter.writeEndObject();
+    }
+
+    /**
+     * Reads an instance of BrowserAutomationToolCallOutput from the JsonReader.
+     *
+     * @param jsonReader The JsonReader being read.
+     * @return An instance of BrowserAutomationToolCallOutput if the JsonReader was pointing to an instance of it, or
+     * null if it was pointing to JSON null.
+     * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+     * @throws IOException If an error occurs while reading the BrowserAutomationToolCallOutput.
+     */
+    @Generated
+    public static BrowserAutomationToolCallOutput fromJson(JsonReader jsonReader) throws IOException {
+        return jsonReader.readObject(reader -> {
+            String callId = null;
+            ToolCallStatus status = null;
+            BinaryData output = null;
+            while (reader.nextToken() != JsonToken.END_OBJECT) {
+                String fieldName = reader.getFieldName();
+                reader.nextToken();
+                if ("call_id".equals(fieldName)) {
+                    callId = reader.getString();
+                } else if ("status".equals(fieldName)) {
+                    status = ToolCallStatus.fromString(reader.getString());
+                } else if ("output".equals(fieldName)) {
+                    output = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()));
+                } else {
+                    reader.skipChildren();
+                }
+            }
+            BrowserAutomationToolCallOutput deserializedBrowserAutomationToolCallOutput
+                = new BrowserAutomationToolCallOutput(callId, status);
+            deserializedBrowserAutomationToolCallOutput.output = output;
+            return deserializedBrowserAutomationToolCallOutput;
+        });
+    }
+}
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java
new file mode 100644
index 000000000000..7c342ad87c4a
--- /dev/null
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java
@@ -0,0 +1,138 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+package com.azure.ai.agents.models;
+
+import com.azure.core.annotation.Generated;
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * Deploy-config blob for a candidate. Suitable for setting OPTIMIZATION_CONFIG on a hosted-agent version.
+ */
+@Immutable
+public final class CandidateDeployConfig implements JsonSerializable {
+
+    /*
+     * System prompt / instructions.
+     */
+    @Generated
+    private String instructions;
+
+    /*
+     * Foundry deployment name.
+     */
+    @Generated
+    private String model;
+
+    /*
+     * Optional sampling temperature.
+     */
+    @Generated
+    private Double temperature;
+
+    /*
+     * Optional skill overrides.
+     */
+    @Generated
+    private List skills;
+
+    /**
+     * Creates an instance of CandidateDeployConfig class.
+     */
+    @Generated
+    private CandidateDeployConfig() {
+    }
+
+    /**
+     * Get the instructions property: System prompt / instructions.
+     *
+     * @return the instructions value.
+     */
+    @Generated
+    public String getInstructions() {
+        return this.instructions;
+    }
+
+    /**
+     * Get the model property: Foundry deployment name.
+     *
+     * @return the model value.
+     */
+    @Generated
+    public String getModel() {
+        return this.model;
+    }
+
+    /**
+     * Get the temperature property: Optional sampling temperature.
+     *
+     * @return the temperature value.
+     */
+    @Generated
+    public Double getTemperature() {
+        return this.temperature;
+    }
+
+    /**
+     * Get the skills property: Optional skill overrides.
+     *
+     * @return the skills value.
+     */
+    @Generated
+    public List getSkills() {
+        return this.skills;
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Generated
+    @Override
+    public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+        jsonWriter.writeStartObject();
+        jsonWriter.writeStringField("instructions", this.instructions);
+        jsonWriter.writeStringField("model", this.model);
+        jsonWriter.writeNumberField("temperature", this.temperature);
+        jsonWriter.writeArrayField("skills", this.skills, (writer, element) -> writer.writeJson(element));
+        return jsonWriter.writeEndObject();
+    }
+
+    /**
+     * Reads an instance of CandidateDeployConfig from the JsonReader.
+     *
+     * @param jsonReader The JsonReader being read.
+     * @return An instance of CandidateDeployConfig if the JsonReader was pointing to an instance of it, or null if it
+     * was pointing to JSON null.
+     * @throws IOException If an error occurs while reading the CandidateDeployConfig.
+     */
+    @Generated
+    public static CandidateDeployConfig fromJson(JsonReader jsonReader) throws IOException {
+        return jsonReader.readObject(reader -> {
+            CandidateDeployConfig deserializedCandidateDeployConfig = new CandidateDeployConfig();
+            while (reader.nextToken() != JsonToken.END_OBJECT) {
+                String fieldName = reader.getFieldName();
+                reader.nextToken();
+                if ("instructions".equals(fieldName)) {
+                    deserializedCandidateDeployConfig.instructions = reader.getString();
+                } else if ("model".equals(fieldName)) {
+                    deserializedCandidateDeployConfig.model = reader.getString();
+                } else if ("temperature".equals(fieldName)) {
+                    deserializedCandidateDeployConfig.temperature = reader.getNullable(JsonReader::getDouble);
+                } else if ("skills".equals(fieldName)) {
+                    List skills
+                        = reader.readArray(reader1 -> OptimizationAgentSkill.fromJson(reader1));
+                    deserializedCandidateDeployConfig.skills = skills;
+                } else {
+                    reader.skipChildren();
+                }
+            }
+            return deserializedCandidateDeployConfig;
+        });
+    }
+}
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateResults.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateResults.java
new file mode 100644
index 000000000000..bc52fc380664
--- /dev/null
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateResults.java
@@ -0,0 +1,105 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+package com.azure.ai.agents.models;
+
+import com.azure.core.annotation.Generated;
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * Full per-task evaluation results for a candidate, returned by GET /candidates/{id}/results.
+ */
+@Immutable
+public final class CandidateResults implements JsonSerializable {
+
+    /*
+     * Owning candidate id.
+     */
+    @Generated
+    private final String candidateId;
+
+    /*
+     * Per-task evaluation rows.
+     */
+    @Generated
+    private final List results;
+
+    /**
+     * Creates an instance of CandidateResults class.
+     *
+     * @param candidateId the candidateId value to set.
+     * @param results the results value to set.
+     */
+    @Generated
+    private CandidateResults(String candidateId, List results) {
+        this.candidateId = candidateId;
+        this.results = results;
+    }
+
+    /**
+     * Get the candidateId property: Owning candidate id.
+     *
+     * @return the candidateId value.
+     */
+    @Generated
+    public String getCandidateId() {
+        return this.candidateId;
+    }
+
+    /**
+     * Get the results property: Per-task evaluation rows.
+     *
+     * @return the results value.
+     */
+    @Generated
+    public List getResults() {
+        return this.results;
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Generated
+    @Override
+    public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+        jsonWriter.writeStartObject();
+        jsonWriter.writeStringField("candidate_id", this.candidateId);
+        jsonWriter.writeArrayField("results", this.results, (writer, element) -> writer.writeJson(element));
+        return jsonWriter.writeEndObject();
+    }
+
+    /**
+     * Reads an instance of CandidateResults from the JsonReader.
+     *
+     * @param jsonReader The JsonReader being read.
+     * @return An instance of CandidateResults if the JsonReader was pointing to an instance of it, or null if it was
+     * pointing to JSON null.
+     * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+     * @throws IOException If an error occurs while reading the CandidateResults.
+     */
+    @Generated
+    public static CandidateResults fromJson(JsonReader jsonReader) throws IOException {
+        return jsonReader.readObject(reader -> {
+            String candidateId = null;
+            List results = null;
+            while (reader.nextToken() != JsonToken.END_OBJECT) {
+                String fieldName = reader.getFieldName();
+                reader.nextToken();
+                if ("candidate_id".equals(fieldName)) {
+                    candidateId = reader.getString();
+                } else if ("results".equals(fieldName)) {
+                    results = reader.readArray(reader1 -> OptimizationTaskResult.fromJson(reader1));
+                } else {
+                    reader.skipChildren();
+                }
+            }
+            return new CandidateResults(candidateId, results);
+        });
+    }
+}
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java
index 493e3c88765a..235de92778ef 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java
@@ -9,6 +9,7 @@
 import com.azure.json.JsonToken;
 import com.azure.json.JsonWriter;
 import java.io.IOException;
+import java.util.Map;
 
 /**
  * A tool for capturing structured outputs.
@@ -70,6 +71,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
         jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString());
         jsonWriter.writeStringField("name", this.name);
         jsonWriter.writeStringField("description", this.description);
+        jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element));
         return jsonWriter.writeEndObject();
     }
 
@@ -89,6 +91,7 @@ public static CaptureStructuredOutputsTool fromJson(JsonReader jsonReader) throw
             ToolType type = ToolType.CAPTURE_STRUCTURED_OUTPUTS;
             String name = null;
             String description = null;
+            Map toolConfigs = null;
             while (reader.nextToken() != JsonToken.END_OBJECT) {
                 String fieldName = reader.getFieldName();
                 reader.nextToken();
@@ -100,6 +103,8 @@ public static CaptureStructuredOutputsTool fromJson(JsonReader jsonReader) throw
                     name = reader.getString();
                 } else if ("description".equals(fieldName)) {
                     description = reader.getString();
+                } else if ("tool_configs".equals(fieldName)) {
+                    toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1));
                 } else {
                     reader.skipChildren();
                 }
@@ -109,6 +114,7 @@ public static CaptureStructuredOutputsTool fromJson(JsonReader jsonReader) throw
             deserializedCaptureStructuredOutputsTool.type = type;
             deserializedCaptureStructuredOutputsTool.name = name;
             deserializedCaptureStructuredOutputsTool.description = description;
+            deserializedCaptureStructuredOutputsTool.toolConfigs = toolConfigs;
             return deserializedCaptureStructuredOutputsTool;
         });
     }
@@ -168,4 +174,38 @@ public CaptureStructuredOutputsTool setDescription(String description) {
         this.description = description;
         return this;
     }
+
+    /*
+     * Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     */
+    @Generated
+    private Map toolConfigs;
+
+    /**
+     * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     *
+     * @return the toolConfigs value.
+     */
+    @Generated
+    public Map getToolConfigs() {
+        return this.toolConfigs;
+    }
+
+    /**
+     * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     *
+     * @param toolConfigs the toolConfigs value to set.
+     * @return the CaptureStructuredOutputsTool object itself.
+     */
+    @Generated
+    public CaptureStructuredOutputsTool setToolConfigs(Map toolConfigs) {
+        this.toolConfigs = toolConfigs;
+        return this;
+    }
 }
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java
index 9eafc353a349..93360d50d4be 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java
@@ -34,7 +34,7 @@ public final class ChatSummaryMemoryItem extends MemoryItem {
      * @param content the content value to set.
      */
     @Generated
-    private ChatSummaryMemoryItem(String memoryId, OffsetDateTime updatedAt, String scope, String content) {
+    public ChatSummaryMemoryItem(String memoryId, OffsetDateTime updatedAt, String scope, String content) {
         super(memoryId, updatedAt, scope, content);
     }
 
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java
index b1937db8c1d9..70ddbe3e8764 100644
--- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java
@@ -10,6 +10,7 @@
 import com.azure.json.JsonToken;
 import com.azure.json.JsonWriter;
 import java.io.IOException;
+import java.util.Map;
 
 /**
  * Code interpreter
@@ -68,6 +69,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
         jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString());
         jsonWriter.writeStringField("name", this.name);
         jsonWriter.writeStringField("description", this.description);
+        jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element));
         if (this.container != null) {
             jsonWriter.writeFieldName("container");
             this.container.writeTo(jsonWriter);
@@ -96,6 +98,9 @@ public static CodeInterpreterTool fromJson(JsonReader jsonReader) throws IOExcep
                     deserializedCodeInterpreterTool.name = reader.getString();
                 } else if ("description".equals(fieldName)) {
                     deserializedCodeInterpreterTool.description = reader.getString();
+                } else if ("tool_configs".equals(fieldName)) {
+                    Map toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1));
+                    deserializedCodeInterpreterTool.toolConfigs = toolConfigs;
                 } else if ("container".equals(fieldName)) {
                     deserializedCodeInterpreterTool.container
                         = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()));
@@ -246,4 +251,38 @@ public CodeInterpreterTool setDescription(String description) {
         this.description = description;
         return this;
     }
+
+    /*
+     * Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     */
+    @Generated
+    private Map toolConfigs;
+
+    /**
+     * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     *
+     * @return the toolConfigs value.
+     */
+    @Generated
+    public Map getToolConfigs() {
+        return this.toolConfigs;
+    }
+
+    /**
+     * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default).
+     * Resolution order: exact tool name match takes priority over `*`.
+     * Unknown tool names are silently ignored at runtime.
+     *
+     * @param toolConfigs the toolConfigs value to set.
+     * @return the CodeInterpreterTool object itself.
+     */
+    @Generated
+    public CodeInterpreterTool setToolConfigs(Map toolConfigs) {
+        this.toolConfigs = toolConfigs;
+        return this;
+    }
 }
diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetItem.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetItem.java
new file mode 100644
index 000000000000..d95a956de837
--- /dev/null
+++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetItem.java
@@ -0,0 +1,297 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+package com.azure.ai.agents.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Generated;
+import com.azure.core.util.BinaryData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.openai.models.responses.ResponseOutputItem;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * A single evaluation task with input query, expected output, and evaluation criteria.
+ */
+@Fluent
+public final class DatasetItem implements JsonSerializable {
+
+    /*
+     * Unique-within-the-dataset identifier for this task.
+     */
+    @Generated
+    private final String name;
+
+    /*
+     * The user query / input for the task.
+     */
+    @Generated
+    private final String query;
+
+    /*
+     * Optional ground truth used by reference-based evaluators.
+     */
+    @Generated
+    private String groundTruth;
+
+    /*
+     * Per-task evaluation criteria. Defaults to the job-level evaluators if unset.
+     */
+    @Generated
+    private List criteria;
+
+    /*
+     * Pre-computed evaluation results in AOAI-compatible format. When provided together with `response_items`, the
+     * baseline run-and-evaluate phase is skipped.
+     */
+    @Generated
+    private List evalResults;
+
+    /*
+     * Pre-computed agent response output items. Captures the full trajectory (function calls, tool outputs, messages)
+     * from a prior agent run.
+     */
+    @Generated
+    private List responseItems;
+
+    /**
+     * Creates an instance of DatasetItem class.
+     *
+     * @param name the name value to set.
+     * @param query the query value to set.
+     */
+    @Generated
+    public DatasetItem(String name, String query) {
+        this.name = name;
+        this.query = query;
+    }
+
+    /**
+     * Get the name property: Unique-within-the-dataset identifier for this task.
+     *
+     * @return the name value.
+     */
+    @Generated
+    public String getName() {
+        return this.name;
+    }
+
+    /**
+     * Get the query property: The user query / input for the task.
+     *
+     * @return the query value.
+     */
+    @Generated
+    public String getQuery() {
+        return this.query;
+    }
+
+    /**
+     * Get the groundTruth property: Optional ground truth used by reference-based evaluators.
+     *
+     * @return the groundTruth value.
+     */
+    @Generated
+    public String getGroundTruth() {
+        return this.groundTruth;
+    }
+
+    /**
+     * Set the groundTruth property: Optional ground truth used by reference-based evaluators.
+     *
+     * @param groundTruth the groundTruth value to set.
+     * @return the DatasetItem object itself.
+     */
+    @Generated
+    public DatasetItem setGroundTruth(String groundTruth) {
+        this.groundTruth = groundTruth;
+        return this;
+    }
+
+    /**
+     * Get the criteria property: Per-task evaluation criteria. Defaults to the job-level evaluators if unset.
+     *
+     * @return the criteria value.
+     */
+    @Generated
+    public List getCriteria() {
+        return this.criteria;
+    }
+
+    /**
+     * Set the criteria property: Per-task evaluation criteria. Defaults to the job-level evaluators if unset.
+     *
+     * @param criteria the criteria value to set.
+     * @return the DatasetItem object itself.
+     */
+    @Generated
+    public DatasetItem setCriteria(List criteria) {
+        this.criteria = criteria;
+        return this;
+    }
+
+    /**
+     * Get the evalResults property: Pre-computed evaluation results in AOAI-compatible format. When provided together
+     * with `response_items`, the baseline run-and-evaluate phase is skipped.
+     *
+     * @return the evalResults value.
+     */
+    @Generated
+    public List getEvalResults() {
+        return this.evalResults;
+    }
+
+    /**
+     * Set the evalResults property: Pre-computed evaluation results in AOAI-compatible format. When provided together
+     * with `response_items`, the baseline run-and-evaluate phase is skipped.
+     *
+     * @param evalResults the evalResults value to set.
+     * @return the DatasetItem object itself.
+     */
+    @Generated
+    public DatasetItem setEvalResults(List evalResults) {
+        this.evalResults = evalResults;
+        return this;
+    }
+
+    /**
+     * Get the responseItems property: Pre-computed agent response output items. Captures the full trajectory (function
+     * calls, tool outputs, messages) from a prior agent run.
+     *
+     * @return the responseItems value.
+     */
+    public List getResponseItems() {
+        // AI Tooling: union type
+        return this.responseItems;
+    }
+
+    /**
+     * Set the responseItems property: Pre-computed agent response output items. Captures the full trajectory (function
+     * calls, tool outputs, messages) from a prior agent run.
+     * 

+ * Use this method when passing Azure-specific tool call types (e.g., {@link BingGroundingToolCall}, + * {@link SharepointGroundingToolCall}, {@link AzureAISearchToolCall}) as {@code BinaryData.fromObject(toolCall)}. + * For standard OpenAI output items, prefer {@link #setResponseOutputItems(List)}. + * + * @param responseItems the responseItems value to set. + * @return the DatasetItem object itself. + */ + public DatasetItem setResponseItems(List responseItems) { + // AI Tooling: union type + this.responseItems = responseItems; + return this; + } + + /** + * Set the responseItems property: Pre-computed agent response output items. Captures the full trajectory (function + * calls, tool outputs, messages) from a prior agent run. + * + * @param responseItems the list of {@link ResponseOutputItem} values to set. + * @return the DatasetItem object itself. + */ + public DatasetItem setResponseOutputItems(List responseItems) { + // AI Tooling: union type + if (responseItems == null) { + this.responseItems = null; + } else { + List binaryDataList = new ArrayList<>(responseItems.size()); + for (ResponseOutputItem item : responseItems) { + binaryDataList.add(BinaryData.fromObject(item)); + } + this.responseItems = binaryDataList; + } + return this; + } + + /** + * Get the responseItems property as a list of {@link ResponseOutputItem}: Pre-computed agent response output + * items. Captures the full trajectory (function calls, tool outputs, messages) from a prior agent run. + * + * @return the responseItems value as a list of {@link ResponseOutputItem}. + */ + public List getResponseItemsAsResponseOutputItems() { + // AI Tooling: union type + if (this.responseItems == null) { + return null; + } + List result = new ArrayList<>(this.responseItems.size()); + for (BinaryData item : this.responseItems) { + result.add(item.toObject(ResponseOutputItem.class)); + } + return result; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("query", this.query); + jsonWriter.writeStringField("ground_truth", this.groundTruth); + jsonWriter.writeArrayField("criteria", this.criteria, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeArrayField("eval_results", this.evalResults, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeArrayField("response_items", this.responseItems, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DatasetItem from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DatasetItem if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DatasetItem. + */ + @Generated + public static DatasetItem fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + String query = null; + String groundTruth = null; + List criteria = null; + List evalResults = null; + List responseItems = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("query".equals(fieldName)) { + query = reader.getString(); + } else if ("ground_truth".equals(fieldName)) { + groundTruth = reader.getString(); + } else if ("criteria".equals(fieldName)) { + criteria = reader.readArray(reader1 -> EvaluationCriterion.fromJson(reader1)); + } else if ("eval_results".equals(fieldName)) { + evalResults = reader.readArray(reader1 -> EvalRunOutputItemResult.fromJson(reader1)); + } else if ("response_items".equals(fieldName)) { + responseItems = reader.readArray(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); + } else { + reader.skipChildren(); + } + } + DatasetItem deserializedDatasetItem = new DatasetItem(name, query); + deserializedDatasetItem.groundTruth = groundTruth; + deserializedDatasetItem.criteria = criteria; + deserializedDatasetItem.evalResults = evalResults; + deserializedDatasetItem.responseItems = responseItems; + return deserializedDatasetItem; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetRef.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetRef.java new file mode 100644 index 000000000000..397f1a0fe424 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetRef.java @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Reference to a registered dataset in the Foundry Dataset Service. + */ +@Fluent +public final class DatasetRef implements JsonSerializable { + + /* + * Dataset name. + */ + @Generated + private final String name; + + /* + * Dataset version. If not specified, the latest version is used. + */ + @Generated + private String version; + + /** + * Creates an instance of DatasetRef class. + * + * @param name the name value to set. + */ + @Generated + public DatasetRef(String name) { + this.name = name; + } + + /** + * Get the name property: Dataset name. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the version property: Dataset version. If not specified, the latest version is used. + * + * @return the version value. + */ + @Generated + public String getVersion() { + return this.version; + } + + /** + * Set the version property: Dataset version. If not specified, the latest version is used. + * + * @param version the version value to set. + * @return the DatasetRef object itself. + */ + @Generated + public DatasetRef setVersion(String version) { + this.version = version; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("version", this.version); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DatasetRef from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DatasetRef if the JsonReader was pointing to an instance of it, or null if it was pointing + * to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DatasetRef. + */ + @Generated + public static DatasetRef fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + String version = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("version".equals(fieldName)) { + version = reader.getString(); + } else { + reader.skipChildren(); + } + } + DatasetRef deserializedDatasetRef = new DatasetRef(name); + deserializedDatasetRef.version = version; + return deserializedDatasetRef; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java index eccd253a16df..90e46dfb7adf 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java @@ -18,17 +18,11 @@ public final class DeleteMemoryResponse implements JsonSerializable { /* - * The object type. Always 'memory.deleted'. + * The object type. Always 'memory_store.item.deleted'. */ @Generated private final MemoryStoreObjectType object = MemoryStoreObjectType.MEMORY_DELETED; - /* - * The name of the memory store. - */ - @Generated - private final String name; - /* * The unique ID of the deleted memory item. */ @@ -42,21 +36,7 @@ public final class DeleteMemoryResponse implements JsonSerializable { - String name = null; String memoryId = null; boolean deleted = false; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("memory_id".equals(fieldName)) { + if ("memory_id".equals(fieldName)) { memoryId = reader.getString(); } else if ("deleted".equals(fieldName)) { deleted = reader.getBoolean(); @@ -137,7 +103,19 @@ public static DeleteMemoryResponse fromJson(JsonReader jsonReader) throws IOExce reader.skipChildren(); } } - return new DeleteMemoryResponse(name, memoryId, deleted); + return new DeleteMemoryResponse(memoryId, deleted); }); } + + /** + * Creates an instance of DeleteMemoryResponse class. + * + * @param memoryId the memoryId value to set. + * @param deleted the deleted value to set. + */ + @Generated + private DeleteMemoryResponse(String memoryId, boolean deleted) { + this.memoryId = memoryId; + this.deleted = deleted; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java index 14b340e44e31..8f34e5615547 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java @@ -4,8 +4,8 @@ package com.azure.ai.agents.models; import com.azure.ai.agents.implementation.JsonMergePatchHelper; +import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -16,7 +16,7 @@ /** * The EntraAuthorizationScheme model. */ -@Immutable +@Fluent public final class EntraAuthorizationScheme extends AgentEndpointAuthorizationScheme { /* @@ -60,6 +60,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } else { jsonWriter.writeStartObject(); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeJsonField("isolation_key_source", this.isolationKeySource); return jsonWriter.writeEndObject(); } } @@ -68,6 +69,17 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("type", this.type.toString()); + if (updatedProperties.contains("isolationKeySource")) { + if (this.isolationKeySource == null) { + jsonWriter.writeNullField("isolation_key_source"); + } else { + JsonMergePatchHelper.getIsolationKeySourceAccessor() + .prepareModelForJsonMergePatch(this.isolationKeySource, true); + jsonWriter.writeJsonField("isolation_key_source", this.isolationKeySource); + JsonMergePatchHelper.getIsolationKeySourceAccessor() + .prepareModelForJsonMergePatch(this.isolationKeySource, false); + } + } return jsonWriter.writeEndObject(); } @@ -89,6 +101,8 @@ public static EntraAuthorizationScheme fromJson(JsonReader jsonReader) throws IO if ("type".equals(fieldName)) { deserializedEntraAuthorizationScheme.type = AgentEndpointAuthorizationSchemeType.fromString(reader.getString()); + } else if ("isolation_key_source".equals(fieldName)) { + deserializedEntraAuthorizationScheme.isolationKeySource = IsolationKeySource.fromJson(reader); } else { reader.skipChildren(); } @@ -96,4 +110,36 @@ public static EntraAuthorizationScheme fromJson(JsonReader jsonReader) throws IO return deserializedEntraAuthorizationScheme; }); } + + /* + * The source from which the per-user isolation key is derived for requests authorized via this scheme. Defaults to + * Entra-based isolation when omitted. + */ + @Generated + private IsolationKeySource isolationKeySource; + + /** + * Get the isolationKeySource property: The source from which the per-user isolation key is derived for requests + * authorized via this scheme. Defaults to Entra-based isolation when omitted. + * + * @return the isolationKeySource value. + */ + @Generated + public IsolationKeySource getIsolationKeySource() { + return this.isolationKeySource; + } + + /** + * Set the isolationKeySource property: The source from which the per-user isolation key is derived for requests + * authorized via this scheme. Defaults to Entra-based isolation when omitted. + * + * @param isolationKeySource the isolationKeySource value to set. + * @return the EntraAuthorizationScheme object itself. + */ + @Generated + public EntraAuthorizationScheme setIsolationKeySource(IsolationKeySource isolationKeySource) { + this.isolationKeySource = isolationKeySource; + this.updatedProperties.add("isolationKeySource"); + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java new file mode 100644 index 000000000000..b9a58d6487b4 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java @@ -0,0 +1,98 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.ai.agents.implementation.JsonMergePatchHelper; +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.HashSet; +import java.util.Set; + +/** + * The EntraIsolationKeySource model. + */ +@Immutable +public final class EntraIsolationKeySource extends IsolationKeySource { + + /* + * The kind property. + */ + @Generated + private IsolationKeySourceKind kind = IsolationKeySourceKind.ENTRA; + + /** + * Stores updated model property, the value is property name, not serialized name. + */ + @Generated + private final Set updatedProperties = new HashSet<>(); + + /** + * Creates an instance of EntraIsolationKeySource class. + */ + @Generated + public EntraIsolationKeySource() { + } + + /** + * Get the kind property: The kind property. + * + * @return the kind value. + */ + @Generated + @Override + public IsolationKeySourceKind getKind() { + return this.kind; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + if (JsonMergePatchHelper.getIsolationKeySourceAccessor().isJsonMergePatch(this)) { + return toJsonMergePatch(jsonWriter); + } else { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); + return jsonWriter.writeEndObject(); + } + } + + @Generated + private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("kind", this.kind.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EntraIsolationKeySource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EntraIsolationKeySource if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the EntraIsolationKeySource. + */ + @Generated + public static EntraIsolationKeySource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + EntraIsolationKeySource deserializedEntraIsolationKeySource = new EntraIsolationKeySource(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("kind".equals(fieldName)) { + deserializedEntraIsolationKeySource.kind = IsolationKeySourceKind.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + return deserializedEntraIsolationKeySource; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResult.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResult.java new file mode 100644 index 000000000000..aeefe8582d18 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResult.java @@ -0,0 +1,451 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.LinkedHashMap; +import java.util.Map; + +/** + * EvalRunOutputItemResult + * + * A single grader result for an evaluation run output item. + */ +@Fluent +public final class EvalRunOutputItemResult implements JsonSerializable { + + /* + * The name of the grader. + */ + @Generated + private final String name; + + /* + * The grader type (for example, "string-check-grader"). + */ + @Generated + private String type; + + /* + * The numeric score produced by the grader. + */ + @Generated + private final double score; + + /* + * Whether the grader considered the output a pass. + */ + @Generated + private final boolean passed; + + /* + * Optional sample or intermediate data produced by the grader. + */ + @Generated + private Map sample; + + /* + * The evaluation status for this result item. Values: "completed", "errored", "skipped". Null if not provided by + * evaluator. When status is skipped, passed/score can be ignored. + */ + @Generated + private EvalRunOutputItemResultStatus status; + + /* + * The name of the metric (e.g., "fluency", "f1_score"). + */ + @Generated + private String metric; + + /* + * The label associated with the test criteria metric (e.g., "pass", "fail", "good", "bad"). + */ + @Generated + private String label; + + /* + * The threshold used to determine pass/fail for this test criteria, if it is numerical. + */ + @Generated + private Double threshold; + + /* + * The reason for the test criteria metric. + */ + @Generated + private String reason; + + /* + * Additional details about the test criteria metric. + */ + @Generated + private Map properties; + + /* + * A single grader result for an evaluation run output item. + */ + @Generated + private Map additionalProperties; + + /** + * Creates an instance of EvalRunOutputItemResult class. + * + * @param name the name value to set. + * @param score the score value to set. + * @param passed the passed value to set. + */ + @Generated + public EvalRunOutputItemResult(String name, double score, boolean passed) { + this.name = name; + this.score = score; + this.passed = passed; + } + + /** + * Get the name property: The name of the grader. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the type property: The grader type (for example, "string-check-grader"). + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Set the type property: The grader type (for example, "string-check-grader"). + * + * @param type the type value to set. + * @return the EvalRunOutputItemResult object itself. + */ + @Generated + public EvalRunOutputItemResult setType(String type) { + this.type = type; + return this; + } + + /** + * Get the score property: The numeric score produced by the grader. + * + * @return the score value. + */ + @Generated + public double getScore() { + return this.score; + } + + /** + * Get the passed property: Whether the grader considered the output a pass. + * + * @return the passed value. + */ + @Generated + public boolean isPassed() { + return this.passed; + } + + /** + * Get the sample property: Optional sample or intermediate data produced by the grader. + * + * @return the sample value. + */ + @Generated + public Map getSample() { + return this.sample; + } + + /** + * Set the sample property: Optional sample or intermediate data produced by the grader. + * + * @param sample the sample value to set. + * @return the EvalRunOutputItemResult object itself. + */ + @Generated + public EvalRunOutputItemResult setSample(Map sample) { + this.sample = sample; + return this; + } + + /** + * Get the status property: The evaluation status for this result item. Values: "completed", "errored", "skipped". + * Null if not provided by evaluator. When status is skipped, passed/score can be ignored. + * + * @return the status value. + */ + @Generated + public EvalRunOutputItemResultStatus getStatus() { + return this.status; + } + + /** + * Set the status property: The evaluation status for this result item. Values: "completed", "errored", "skipped". + * Null if not provided by evaluator. When status is skipped, passed/score can be ignored. + * + * @param status the status value to set. + * @return the EvalRunOutputItemResult object itself. + */ + @Generated + public EvalRunOutputItemResult setStatus(EvalRunOutputItemResultStatus status) { + this.status = status; + return this; + } + + /** + * Get the metric property: The name of the metric (e.g., "fluency", "f1_score"). + * + * @return the metric value. + */ + @Generated + public String getMetric() { + return this.metric; + } + + /** + * Set the metric property: The name of the metric (e.g., "fluency", "f1_score"). + * + * @param metric the metric value to set. + * @return the EvalRunOutputItemResult object itself. + */ + @Generated + public EvalRunOutputItemResult setMetric(String metric) { + this.metric = metric; + return this; + } + + /** + * Get the label property: The label associated with the test criteria metric (e.g., "pass", "fail", "good", "bad"). + * + * @return the label value. + */ + @Generated + public String getLabel() { + return this.label; + } + + /** + * Set the label property: The label associated with the test criteria metric (e.g., "pass", "fail", "good", "bad"). + * + * @param label the label value to set. + * @return the EvalRunOutputItemResult object itself. + */ + @Generated + public EvalRunOutputItemResult setLabel(String label) { + this.label = label; + return this; + } + + /** + * Get the threshold property: The threshold used to determine pass/fail for this test criteria, if it is numerical. + * + * @return the threshold value. + */ + @Generated + public Double getThreshold() { + return this.threshold; + } + + /** + * Set the threshold property: The threshold used to determine pass/fail for this test criteria, if it is numerical. + * + * @param threshold the threshold value to set. + * @return the EvalRunOutputItemResult object itself. + */ + @Generated + public EvalRunOutputItemResult setThreshold(Double threshold) { + this.threshold = threshold; + return this; + } + + /** + * Get the reason property: The reason for the test criteria metric. + * + * @return the reason value. + */ + @Generated + public String getReason() { + return this.reason; + } + + /** + * Set the reason property: The reason for the test criteria metric. + * + * @param reason the reason value to set. + * @return the EvalRunOutputItemResult object itself. + */ + @Generated + public EvalRunOutputItemResult setReason(String reason) { + this.reason = reason; + return this; + } + + /** + * Get the properties property: Additional details about the test criteria metric. + * + * @return the properties value. + */ + @Generated + public Map getProperties() { + return this.properties; + } + + /** + * Set the properties property: Additional details about the test criteria metric. + * + * @param properties the properties value to set. + * @return the EvalRunOutputItemResult object itself. + */ + @Generated + public EvalRunOutputItemResult setProperties(Map properties) { + this.properties = properties; + return this; + } + + /** + * Get the additionalProperties property: A single grader result for an evaluation run output item. + * + * @return the additionalProperties value. + */ + @Generated + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + /** + * Set the additionalProperties property: A single grader result for an evaluation run output item. + * + * @param additionalProperties the additionalProperties value to set. + * @return the EvalRunOutputItemResult object itself. + */ + @Generated + public EvalRunOutputItemResult setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeDoubleField("score", this.score); + jsonWriter.writeBooleanField("passed", this.passed); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeMapField("sample", this.sample, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); + jsonWriter.writeStringField("metric", this.metric); + jsonWriter.writeStringField("label", this.label); + jsonWriter.writeNumberField("threshold", this.threshold); + jsonWriter.writeStringField("reason", this.reason); + jsonWriter.writeMapField("properties", this.properties, (writer, element) -> writer.writeString(element)); + if (additionalProperties != null) { + for (Map.Entry additionalProperty : additionalProperties.entrySet()) { + jsonWriter.writeFieldName(additionalProperty.getKey()); + if (additionalProperty.getValue() == null) { + jsonWriter.writeNull(); + } else { + additionalProperty.getValue().writeTo(jsonWriter); + } + } + } + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EvalRunOutputItemResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EvalRunOutputItemResult if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the EvalRunOutputItemResult. + */ + @Generated + public static EvalRunOutputItemResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + double score = 0.0; + boolean passed = false; + String type = null; + Map sample = null; + EvalRunOutputItemResultStatus status = null; + String metric = null; + String label = null; + Double threshold = null; + String reason = null; + Map properties = null; + Map additionalProperties = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("score".equals(fieldName)) { + score = reader.getDouble(); + } else if ("passed".equals(fieldName)) { + passed = reader.getBoolean(); + } else if ("type".equals(fieldName)) { + type = reader.getString(); + } else if ("sample".equals(fieldName)) { + sample = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); + } else if ("status".equals(fieldName)) { + status = EvalRunOutputItemResultStatus.fromString(reader.getString()); + } else if ("metric".equals(fieldName)) { + metric = reader.getString(); + } else if ("label".equals(fieldName)) { + label = reader.getString(); + } else if ("threshold".equals(fieldName)) { + threshold = reader.getNullable(JsonReader::getDouble); + } else if ("reason".equals(fieldName)) { + reason = reader.getString(); + } else if ("properties".equals(fieldName)) { + properties = reader.readMap(reader1 -> reader1.getString()); + } else { + if (additionalProperties == null) { + additionalProperties = new LinkedHashMap<>(); + } + additionalProperties.put(fieldName, + reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); + } + } + EvalRunOutputItemResult deserializedEvalRunOutputItemResult + = new EvalRunOutputItemResult(name, score, passed); + deserializedEvalRunOutputItemResult.type = type; + deserializedEvalRunOutputItemResult.sample = sample; + deserializedEvalRunOutputItemResult.status = status; + deserializedEvalRunOutputItemResult.metric = metric; + deserializedEvalRunOutputItemResult.label = label; + deserializedEvalRunOutputItemResult.threshold = threshold; + deserializedEvalRunOutputItemResult.reason = reason; + deserializedEvalRunOutputItemResult.properties = properties; + deserializedEvalRunOutputItemResult.additionalProperties = additionalProperties; + return deserializedEvalRunOutputItemResult; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResultStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResultStatus.java new file mode 100644 index 000000000000..f54db4d600e2 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResultStatus.java @@ -0,0 +1,63 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The evaluation status for an evaluation run output item result. + */ +public final class EvalRunOutputItemResultStatus extends ExpandableStringEnum { + + /** + * The evaluator completed successfully for this result item. + */ + @Generated + public static final EvalRunOutputItemResultStatus COMPLETED = fromString("completed"); + + /** + * The evaluator encountered an error for this result item. + */ + @Generated + public static final EvalRunOutputItemResultStatus ERRORED = fromString("errored"); + + /** + * The evaluator skipped this result item. + */ + @Generated + public static final EvalRunOutputItemResultStatus SKIPPED = fromString("skipped"); + + /** + * Creates a new instance of EvalRunOutputItemResultStatus value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public EvalRunOutputItemResultStatus() { + } + + /** + * Creates or finds a EvalRunOutputItemResultStatus from its string representation. + * + * @param name a name to look for. + * @return the corresponding EvalRunOutputItemResultStatus. + */ + @Generated + public static EvalRunOutputItemResultStatus fromString(String name) { + return fromString(name, EvalRunOutputItemResultStatus.class); + } + + /** + * Gets known EvalRunOutputItemResultStatus values. + * + * @return known EvalRunOutputItemResultStatus values. + */ + @Generated + public static Collection values() { + return values(EvalRunOutputItemResultStatus.class); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvaluationCriterion.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvaluationCriterion.java new file mode 100644 index 000000000000..37e381992bb1 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvaluationCriterion.java @@ -0,0 +1,104 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * LLM-as-judge evaluation criterion applied to a single task. + */ +@Immutable +public final class EvaluationCriterion implements JsonSerializable { + + /* + * Criterion name (referenced in evaluation result rows). + */ + @Generated + private final String name; + + /* + * Natural-language instruction passed to the judge LLM. + */ + @Generated + private final String instruction; + + /** + * Creates an instance of EvaluationCriterion class. + * + * @param name the name value to set. + * @param instruction the instruction value to set. + */ + @Generated + public EvaluationCriterion(String name, String instruction) { + this.name = name; + this.instruction = instruction; + } + + /** + * Get the name property: Criterion name (referenced in evaluation result rows). + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the instruction property: Natural-language instruction passed to the judge LLM. + * + * @return the instruction value. + */ + @Generated + public String getInstruction() { + return this.instruction; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("instruction", this.instruction); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EvaluationCriterion from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EvaluationCriterion if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the EvaluationCriterion. + */ + @Generated + public static EvaluationCriterion fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + String instruction = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("instruction".equals(fieldName)) { + instruction = reader.getString(); + } else { + reader.skipChildren(); + } + } + return new EvaluationCriterion(name, instruction); + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java new file mode 100644 index 000000000000..13cb085a551b --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java @@ -0,0 +1,143 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A Fabric data agent tool call. + */ +@Immutable +public final class FabricDataAgentToolCall implements JsonSerializable { + + /* + * The type property. + */ + @Generated + private final String type = "fabric_dataagent_preview_call"; + + /* + * The unique ID of the tool call generated by the model. + */ + @Generated + private final String callId; + + /* + * A JSON string of the arguments to pass to the tool. + */ + @Generated + private final String arguments; + + /* + * The status of the tool call. + */ + @Generated + private final ToolCallStatus status; + + /** + * Creates an instance of FabricDataAgentToolCall class. + * + * @param callId the callId value to set. + * @param arguments the arguments value to set. + * @param status the status value to set. + */ + @Generated + public FabricDataAgentToolCall(String callId, String arguments, ToolCallStatus status) { + this.callId = callId; + this.arguments = arguments; + this.status = status; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the callId property: The unique ID of the tool call generated by the model. + * + * @return the callId value. + */ + @Generated + public String getCallId() { + return this.callId; + } + + /** + * Get the arguments property: A JSON string of the arguments to pass to the tool. + * + * @return the arguments value. + */ + @Generated + public String getArguments() { + return this.arguments; + } + + /** + * Get the status property: The status of the tool call. + * + * @return the status value. + */ + @Generated + public ToolCallStatus getStatus() { + return this.status; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeStringField("call_id", this.callId); + jsonWriter.writeStringField("arguments", this.arguments); + jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FabricDataAgentToolCall from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FabricDataAgentToolCall if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the FabricDataAgentToolCall. + */ + @Generated + public static FabricDataAgentToolCall fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String callId = null; + String arguments = null; + ToolCallStatus status = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("call_id".equals(fieldName)) { + callId = reader.getString(); + } else if ("arguments".equals(fieldName)) { + arguments = reader.getString(); + } else if ("status".equals(fieldName)) { + status = ToolCallStatus.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + return new FabricDataAgentToolCall(callId, arguments, status); + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java new file mode 100644 index 000000000000..44a81a6d12a2 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java @@ -0,0 +1,160 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The output of a Fabric data agent tool call. + */ +@Fluent +public final class FabricDataAgentToolCallOutput implements JsonSerializable { + + /* + * The type property. + */ + @Generated + private final String type = "fabric_dataagent_preview_call_output"; + + /* + * The unique ID of the tool call generated by the model. + */ + @Generated + private final String callId; + + /* + * The output from the Fabric data agent tool call. + */ + @Generated + private BinaryData output; + + /* + * The status of the tool call. + */ + @Generated + private final ToolCallStatus status; + + /** + * Creates an instance of FabricDataAgentToolCallOutput class. + * + * @param callId the callId value to set. + * @param status the status value to set. + */ + @Generated + public FabricDataAgentToolCallOutput(String callId, ToolCallStatus status) { + this.callId = callId; + this.status = status; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the callId property: The unique ID of the tool call generated by the model. + * + * @return the callId value. + */ + @Generated + public String getCallId() { + return this.callId; + } + + /** + * Get the output property: The output from the Fabric data agent tool call. + * + * @return the output value. + */ + @Generated + public BinaryData getOutput() { + return this.output; + } + + /** + * Set the output property: The output from the Fabric data agent tool call. + * + * @param output the output value to set. + * @return the FabricDataAgentToolCallOutput object itself. + */ + @Generated + public FabricDataAgentToolCallOutput setOutput(BinaryData output) { + this.output = output; + return this; + } + + /** + * Get the status property: The status of the tool call. + * + * @return the status value. + */ + @Generated + public ToolCallStatus getStatus() { + return this.status; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeStringField("call_id", this.callId); + jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); + if (this.output != null) { + jsonWriter.writeFieldName("output"); + this.output.writeTo(jsonWriter); + } + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of FabricDataAgentToolCallOutput from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of FabricDataAgentToolCallOutput if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the FabricDataAgentToolCallOutput. + */ + @Generated + public static FabricDataAgentToolCallOutput fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String callId = null; + ToolCallStatus status = null; + BinaryData output = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("call_id".equals(fieldName)) { + callId = reader.getString(); + } else if ("status".equals(fieldName)) { + status = ToolCallStatus.fromString(reader.getString()); + } else if ("output".equals(fieldName)) { + output = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); + } else { + reader.skipChildren(); + } + } + FabricDataAgentToolCallOutput deserializedFabricDataAgentToolCallOutput + = new FabricDataAgentToolCallOutput(callId, status); + deserializedFabricDataAgentToolCallOutput.output = output; + return deserializedFabricDataAgentToolCallOutput; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java index 96df7d8f3831..50863f9f4035 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java @@ -10,6 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.util.Map; /** * A FabricIQ server-side tool. @@ -275,6 +276,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } jsonWriter.writeStringField("name", this.name); jsonWriter.writeStringField("description", this.description); + jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -297,6 +299,7 @@ public static FabricIQPreviewTool fromJson(JsonReader jsonReader) throws IOExcep BinaryData requireApproval = null; String name = null; String description = null; + Map toolConfigs = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -315,6 +318,8 @@ public static FabricIQPreviewTool fromJson(JsonReader jsonReader) throws IOExcep name = reader.getString(); } else if ("description".equals(fieldName)) { description = reader.getString(); + } else if ("tool_configs".equals(fieldName)) { + toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1)); } else { reader.skipChildren(); } @@ -326,7 +331,42 @@ public static FabricIQPreviewTool fromJson(JsonReader jsonReader) throws IOExcep deserializedFabricIQPreviewTool.requireApproval = requireApproval; deserializedFabricIQPreviewTool.name = name; deserializedFabricIQPreviewTool.description = description; + deserializedFabricIQPreviewTool.toolConfigs = toolConfigs; return deserializedFabricIQPreviewTool; }); } + + /* + * Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + */ + @Generated + private Map toolConfigs; + + /** + * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @return the toolConfigs value. + */ + @Generated + public Map getToolConfigs() { + return this.toolConfigs; + } + + /** + * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @param toolConfigs the toolConfigs value to set. + * @return the FabricIQPreviewTool object itself. + */ + @Generated + public FabricIQPreviewTool setToolConfigs(Map toolConfigs) { + this.toolConfigs = toolConfigs; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FileSearchTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FileSearchTool.java index fd2076c29a01..b92f2abd3bb0 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FileSearchTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FileSearchTool.java @@ -13,6 +13,7 @@ import com.openai.models.CompoundFilter; import java.io.IOException; import java.util.List; +import java.util.Map; /** * File search @@ -118,6 +119,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } jsonWriter.writeStringField("name", this.name); jsonWriter.writeStringField("description", this.description); + jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -140,6 +142,7 @@ public static FileSearchTool fromJson(JsonReader jsonReader) throws IOException BinaryData filters = null; String name = null; String description = null; + Map toolConfigs = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -157,6 +160,8 @@ public static FileSearchTool fromJson(JsonReader jsonReader) throws IOException name = reader.getString(); } else if ("description".equals(fieldName)) { description = reader.getString(); + } else if ("tool_configs".equals(fieldName)) { + toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1)); } else { reader.skipChildren(); } @@ -168,6 +173,7 @@ public static FileSearchTool fromJson(JsonReader jsonReader) throws IOException deserializedFileSearchTool.filters = filters; deserializedFileSearchTool.name = name; deserializedFileSearchTool.description = description; + deserializedFileSearchTool.toolConfigs = toolConfigs; return deserializedFileSearchTool; }); } @@ -309,4 +315,38 @@ public FileSearchTool setDescription(String description) { this.description = description; return this; } + + /* + * Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + */ + @Generated + private Map toolConfigs; + + /** + * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @return the toolConfigs value. + */ + @Generated + public Map getToolConfigs() { + return this.toolConfigs; + } + + /** + * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @param toolConfigs the toolConfigs value to set. + * @return the FileSearchTool object itself. + */ + @Generated + public FileSearchTool setToolConfigs(Map toolConfigs) { + this.toolConfigs = toolConfigs; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java index 53346b08034c..dcad86fa586d 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java @@ -38,11 +38,6 @@ public enum FoundryFeaturesOptInKeys { */ ROUTINES_V1_PREVIEW("Routines=V1Preview"), - /** - * Enum value Toolboxes=V1Preview. - */ - TOOLBOXES_V1_PREVIEW("Toolboxes=V1Preview"), - /** * Enum value Skills=V1Preview. */ diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java index d95c33d7398d..4bd14c443cfc 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java @@ -9,6 +9,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.util.Map; /** * Shell tool @@ -81,6 +82,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeJsonField("environment", this.environment); jsonWriter.writeStringField("name", this.name); jsonWriter.writeStringField("description", this.description); + jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -108,6 +110,9 @@ public static FunctionShellToolParameter fromJson(JsonReader jsonReader) throws deserializedFunctionShellToolParameter.name = reader.getString(); } else if ("description".equals(fieldName)) { deserializedFunctionShellToolParameter.description = reader.getString(); + } else if ("tool_configs".equals(fieldName)) { + Map toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1)); + deserializedFunctionShellToolParameter.toolConfigs = toolConfigs; } else { reader.skipChildren(); } @@ -171,4 +176,38 @@ public FunctionShellToolParameter setDescription(String description) { this.description = description; return this; } + + /* + * Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + */ + @Generated + private Map toolConfigs; + + /** + * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @return the toolConfigs value. + */ + @Generated + public Map getToolConfigs() { + return this.toolConfigs; + } + + /** + * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @param toolConfigs the toolConfigs value to set. + * @return the FunctionShellToolParameter object itself. + */ + @Generated + public FunctionShellToolParameter setToolConfigs(Map toolConfigs) { + this.toolConfigs = toolConfigs; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java new file mode 100644 index 000000000000..71ad0305bce6 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java @@ -0,0 +1,98 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.ai.agents.implementation.JsonMergePatchHelper; +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.HashSet; +import java.util.Set; + +/** + * The HeaderIsolationKeySource model. + */ +@Immutable +public final class HeaderIsolationKeySource extends IsolationKeySource { + + /* + * The kind property. + */ + @Generated + private IsolationKeySourceKind kind = IsolationKeySourceKind.HEADER; + + /** + * Stores updated model property, the value is property name, not serialized name. + */ + @Generated + private final Set updatedProperties = new HashSet<>(); + + /** + * Creates an instance of HeaderIsolationKeySource class. + */ + @Generated + public HeaderIsolationKeySource() { + } + + /** + * Get the kind property: The kind property. + * + * @return the kind value. + */ + @Generated + @Override + public IsolationKeySourceKind getKind() { + return this.kind; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + if (JsonMergePatchHelper.getIsolationKeySourceAccessor().isJsonMergePatch(this)) { + return toJsonMergePatch(jsonWriter); + } else { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); + return jsonWriter.writeEndObject(); + } + } + + @Generated + private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("kind", this.kind.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of HeaderIsolationKeySource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of HeaderIsolationKeySource if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IOException If an error occurs while reading the HeaderIsolationKeySource. + */ + @Generated + public static HeaderIsolationKeySource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + HeaderIsolationKeySource deserializedHeaderIsolationKeySource = new HeaderIsolationKeySource(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("kind".equals(fieldName)) { + deserializedHeaderIsolationKeySource.kind = IsolationKeySourceKind.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + return deserializedHeaderIsolationKeySource; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ImageGenTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ImageGenTool.java index c544f14e3cd5..43bfffada030 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ImageGenTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ImageGenTool.java @@ -9,6 +9,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.util.Map; /** * Image generation tool @@ -308,6 +309,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("action", this.action == null ? null : this.action.toString()); jsonWriter.writeStringField("name", this.name); jsonWriter.writeStringField("description", this.description); + jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -354,6 +356,9 @@ public static ImageGenTool fromJson(JsonReader jsonReader) throws IOException { deserializedImageGenTool.name = reader.getString(); } else if ("description".equals(fieldName)) { deserializedImageGenTool.description = reader.getString(); + } else if ("tool_configs".equals(fieldName)) { + Map toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1)); + deserializedImageGenTool.toolConfigs = toolConfigs; } else { reader.skipChildren(); } @@ -498,4 +503,38 @@ public ImageGenTool setDescription(String description) { this.description = description; return this; } + + /* + * Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + */ + @Generated + private Map toolConfigs; + + /** + * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @return the toolConfigs value. + */ + @Generated + public Map getToolConfigs() { + return this.toolConfigs; + } + + /** + * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @param toolConfigs the toolConfigs value to set. + * @return the ImageGenTool object itself. + */ + @Generated + public ImageGenTool setToolConfigs(Map toolConfigs) { + this.toolConfigs = toolConfigs; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/IsolationKeySource.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/IsolationKeySource.java new file mode 100644 index 000000000000..ee7f3feb0f5b --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/IsolationKeySource.java @@ -0,0 +1,152 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.ai.agents.implementation.JsonMergePatchHelper; +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.HashSet; +import java.util.Set; + +/** + * The IsolationKeySource model. + */ +@Immutable +public class IsolationKeySource implements JsonSerializable { + + /* + * The kind property. + */ + @Generated + private IsolationKeySourceKind kind = IsolationKeySourceKind.fromString("IsolationKeySource"); + + /** + * Stores updated model property, the value is property name, not serialized name. + */ + @Generated + private final Set updatedProperties = new HashSet<>(); + + @Generated + private boolean jsonMergePatch; + + @Generated + private void serializeAsJsonMergePatch(boolean jsonMergePatch) { + this.jsonMergePatch = jsonMergePatch; + } + + static { + JsonMergePatchHelper.setIsolationKeySourceAccessor(new JsonMergePatchHelper.IsolationKeySourceAccessor() { + + @Override + public IsolationKeySource prepareModelForJsonMergePatch(IsolationKeySource model, + boolean jsonMergePatchEnabled) { + model.serializeAsJsonMergePatch(jsonMergePatchEnabled); + return model; + } + + @Override + public boolean isJsonMergePatch(IsolationKeySource model) { + return model.jsonMergePatch; + } + }); + } + + /** + * Creates an instance of IsolationKeySource class. + */ + @Generated + public IsolationKeySource() { + } + + /** + * Get the kind property: The kind property. + * + * @return the kind value. + */ + @Generated + public IsolationKeySourceKind getKind() { + return this.kind; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + if (jsonMergePatch) { + return toJsonMergePatch(jsonWriter); + } else { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); + return jsonWriter.writeEndObject(); + } + } + + @Generated + private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("kind", this.kind.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of IsolationKeySource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of IsolationKeySource if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the IsolationKeySource. + */ + @Generated + public static IsolationKeySource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + // Prepare for reading + readerToUse.nextToken(); + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("kind".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("Entra".equals(discriminatorValue)) { + return EntraIsolationKeySource.fromJson(readerToUse.reset()); + } else if ("Header".equals(discriminatorValue)) { + return HeaderIsolationKeySource.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static IsolationKeySource fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + IsolationKeySource deserializedIsolationKeySource = new IsolationKeySource(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("kind".equals(fieldName)) { + deserializedIsolationKeySource.kind = IsolationKeySourceKind.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + return deserializedIsolationKeySource; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java new file mode 100644 index 000000000000..7e7af6f9ae6d --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Defines values for IsolationKeySourceKind. + */ +public final class IsolationKeySourceKind extends ExpandableStringEnum { + + /** + * Static value Entra for IsolationKeySourceKind. + */ + @Generated + public static final IsolationKeySourceKind ENTRA = fromString("Entra"); + + /** + * Static value Header for IsolationKeySourceKind. + */ + @Generated + public static final IsolationKeySourceKind HEADER = fromString("Header"); + + /** + * Creates a new instance of IsolationKeySourceKind value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public IsolationKeySourceKind() { + } + + /** + * Creates or finds a IsolationKeySourceKind from its string representation. + * + * @param name a name to look for. + * @return the corresponding IsolationKeySourceKind. + */ + @Generated + public static IsolationKeySourceKind fromString(String name) { + return fromString(name, IsolationKeySourceKind.class); + } + + /** + * Gets known IsolationKeySourceKind values. + * + * @return known IsolationKeySourceKind values. + */ + @Generated + public static Collection values() { + return values(IsolationKeySourceKind.class); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/JobStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/JobStatus.java new file mode 100644 index 000000000000..4b055a994113 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/JobStatus.java @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Extensible status values shared by Foundry jobs. + */ +public final class JobStatus extends ExpandableStringEnum { + + /** + * Job is waiting to start. + */ + @Generated + public static final JobStatus QUEUED = fromString("queued"); + + /** + * Job is actively processing. + */ + @Generated + public static final JobStatus IN_PROGRESS = fromString("in_progress"); + + /** + * Job completed successfully. + */ + @Generated + public static final JobStatus SUCCEEDED = fromString("succeeded"); + + /** + * Job failed. + */ + @Generated + public static final JobStatus FAILED = fromString("failed"); + + /** + * Job was cancelled by the caller. + */ + @Generated + public static final JobStatus CANCELLED = fromString("cancelled"); + + /** + * Creates a new instance of JobStatus value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public JobStatus() { + } + + /** + * Creates or finds a JobStatus from its string representation. + * + * @param name a name to look for. + * @return the corresponding JobStatus. + */ + @Generated + public static JobStatus fromString(String name) { + return fromString(name, JobStatus.class); + } + + /** + * Gets known JobStatus values. + * + * @return known JobStatus values. + */ + @Generated + public static Collection values() { + return values(JobStatus.class); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java new file mode 100644 index 000000000000..7515b042991b --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java @@ -0,0 +1,224 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; + +/** + * Options for listMemories API. + */ +@Fluent +public final class ListMemoriesOptions { + + /* + * The name of the memory store. + */ + @Generated + private final String name; + + /* + * The kind of the memory item. + */ + @Generated + private MemoryItemKind kind; + + /* + * A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + */ + @Generated + private Integer limit; + + /* + * Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + */ + @Generated + private PageOrder order; + + /* + * A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + */ + @Generated + private String after; + + /* + * A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + */ + @Generated + private String before; + + /* + * The namespace that logically groups and isolates memories, such as a user ID. + */ + @Generated + private final String scope; + + /** + * Creates an instance of ListMemoriesOptions class. + * + * @param name the name value to set. + * @param scope the scope value to set. + */ + @Generated + public ListMemoriesOptions(String name, String scope) { + this.name = name; + this.scope = scope; + } + + /** + * Get the name property: The name of the memory store. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the kind property: The kind of the memory item. + * + * @return the kind value. + */ + @Generated + public MemoryItemKind getKind() { + return this.kind; + } + + /** + * Set the kind property: The kind of the memory item. + * + * @param kind the kind value to set. + * @return the ListMemoriesOptions object itself. + */ + @Generated + public ListMemoriesOptions setKind(MemoryItemKind kind) { + this.kind = kind; + return this; + } + + /** + * Get the limit property: A limit on the number of objects to be returned. Limit can range between 1 and 100, and + * the + * default is 20. + * + * @return the limit value. + */ + @Generated + public Integer getLimit() { + return this.limit; + } + + /** + * Set the limit property: A limit on the number of objects to be returned. Limit can range between 1 and 100, and + * the + * default is 20. + * + * @param limit the limit value to set. + * @return the ListMemoriesOptions object itself. + */ + @Generated + public ListMemoriesOptions setLimit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Get the order property: Sort order by the `created_at` timestamp of the objects. `asc` for ascending order + * and`desc` + * for descending order. + * + * @return the order value. + */ + @Generated + public PageOrder getOrder() { + return this.order; + } + + /** + * Set the order property: Sort order by the `created_at` timestamp of the objects. `asc` for ascending order + * and`desc` + * for descending order. + * + * @param order the order value to set. + * @return the ListMemoriesOptions object itself. + */ + @Generated + public ListMemoriesOptions setOrder(PageOrder order) { + this.order = order; + return this; + } + + /** + * Get the after property: A cursor for use in pagination. `after` is an object ID that defines your place in the + * list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * + * @return the after value. + */ + @Generated + public String getAfter() { + return this.after; + } + + /** + * Set the after property: A cursor for use in pagination. `after` is an object ID that defines your place in the + * list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * + * @param after the after value to set. + * @return the ListMemoriesOptions object itself. + */ + @Generated + public ListMemoriesOptions setAfter(String after) { + this.after = after; + return this; + } + + /** + * Get the before property: A cursor for use in pagination. `before` is an object ID that defines your place in the + * list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * + * @return the before value. + */ + @Generated + public String getBefore() { + return this.before; + } + + /** + * Set the before property: A cursor for use in pagination. `before` is an object ID that defines your place in the + * list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * + * @param before the before value to set. + * @return the ListMemoriesOptions object itself. + */ + @Generated + public ListMemoriesOptions setBefore(String before) { + this.before = before; + return this; + } + + /** + * Get the scope property: The namespace that logically groups and isolates memories, such as a user ID. + * + * @return the scope value. + */ + @Generated + public String getScope() { + return this.scope; + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java index 64c2dcbbf82f..efa91a08af11 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java @@ -9,6 +9,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.util.Map; /** * Local shell tool @@ -52,6 +53,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); jsonWriter.writeStringField("name", this.name); jsonWriter.writeStringField("description", this.description); + jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -76,6 +78,9 @@ public static LocalShellToolParameter fromJson(JsonReader jsonReader) throws IOE deserializedLocalShellToolParameter.name = reader.getString(); } else if ("description".equals(fieldName)) { deserializedLocalShellToolParameter.description = reader.getString(); + } else if ("tool_configs".equals(fieldName)) { + Map toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1)); + deserializedLocalShellToolParameter.toolConfigs = toolConfigs; } else { reader.skipChildren(); } @@ -139,4 +144,38 @@ public LocalShellToolParameter setDescription(String description) { this.description = description; return this; } + + /* + * Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + */ + @Generated + private Map toolConfigs; + + /** + * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @return the toolConfigs value. + */ + @Generated + public Map getToolConfigs() { + return this.toolConfigs; + } + + /** + * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @param toolConfigs the toolConfigs value to set. + * @return the LocalShellToolParameter object itself. + */ + @Generated + public LocalShellToolParameter setToolConfigs(Map toolConfigs) { + this.toolConfigs = toolConfigs; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/McpTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/McpTool.java index cfdf317b0419..fef484e701ba 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/McpTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/McpTool.java @@ -435,6 +435,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { this.requireApproval.writeTo(jsonWriter); } jsonWriter.writeStringField("project_connection_id", this.projectConnectionId); + jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -460,6 +461,7 @@ public static McpTool fromJson(JsonReader jsonReader) throws IOException { BinaryData allowedTools = null; BinaryData requireApproval = null; String projectConnectionId = null; + Map toolConfigs = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -485,6 +487,8 @@ public static McpTool fromJson(JsonReader jsonReader) throws IOException { = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); } else if ("project_connection_id".equals(fieldName)) { projectConnectionId = reader.getString(); + } else if ("tool_configs".equals(fieldName)) { + toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1)); } else { reader.skipChildren(); } @@ -499,6 +503,7 @@ public static McpTool fromJson(JsonReader jsonReader) throws IOException { deserializedMcpTool.allowedTools = allowedTools; deserializedMcpTool.requireApproval = requireApproval; deserializedMcpTool.projectConnectionId = projectConnectionId; + deserializedMcpTool.toolConfigs = toolConfigs; return deserializedMcpTool; }); } @@ -525,4 +530,38 @@ public McpTool setConnectorType(McpToolConnectorId connectorType) { this.connectorType = connectorType; return this; } + + /* + * Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + */ + @Generated + private Map toolConfigs; + + /** + * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @return the toolConfigs value. + */ + @Generated + public Map getToolConfigs() { + return this.toolConfigs; + } + + /** + * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @param toolConfigs the toolConfigs value to set. + * @return the McpTool object itself. + */ + @Generated + public McpTool setToolConfigs(Map toolConfigs) { + this.toolConfigs = toolConfigs; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java new file mode 100644 index 000000000000..9ff89224a468 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java @@ -0,0 +1,144 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A memory command tool call. + */ +@Immutable +public final class MemoryCommandToolCall implements JsonSerializable { + + /* + * The type property. + */ + @Generated + private final String type = "memory_command_preview_call"; + + /* + * The unique ID of the tool call generated by the model. + */ + @Generated + private final String callId; + + /* + * A JSON string of the arguments to pass to the tool, including `action` (`remember` or `forget`) and `content`. + */ + @Generated + private final String arguments; + + /* + * The status of the tool call. + */ + @Generated + private final ToolCallStatus status; + + /** + * Creates an instance of MemoryCommandToolCall class. + * + * @param callId the callId value to set. + * @param arguments the arguments value to set. + * @param status the status value to set. + */ + @Generated + public MemoryCommandToolCall(String callId, String arguments, ToolCallStatus status) { + this.callId = callId; + this.arguments = arguments; + this.status = status; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the callId property: The unique ID of the tool call generated by the model. + * + * @return the callId value. + */ + @Generated + public String getCallId() { + return this.callId; + } + + /** + * Get the arguments property: A JSON string of the arguments to pass to the tool, including `action` (`remember` or + * `forget`) and `content`. + * + * @return the arguments value. + */ + @Generated + public String getArguments() { + return this.arguments; + } + + /** + * Get the status property: The status of the tool call. + * + * @return the status value. + */ + @Generated + public ToolCallStatus getStatus() { + return this.status; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeStringField("call_id", this.callId); + jsonWriter.writeStringField("arguments", this.arguments); + jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of MemoryCommandToolCall from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of MemoryCommandToolCall if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the MemoryCommandToolCall. + */ + @Generated + public static MemoryCommandToolCall fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String callId = null; + String arguments = null; + ToolCallStatus status = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("call_id".equals(fieldName)) { + callId = reader.getString(); + } else if ("arguments".equals(fieldName)) { + arguments = reader.getString(); + } else if ("status".equals(fieldName)) { + status = ToolCallStatus.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + return new MemoryCommandToolCall(callId, arguments, status); + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java new file mode 100644 index 000000000000..11f83e773d67 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java @@ -0,0 +1,121 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The output of a memory command tool call. + */ +@Immutable +public final class MemoryCommandToolCallOutput implements JsonSerializable { + + /* + * The type property. + */ + @Generated + private final String type = "memory_command_preview_call_output"; + + /* + * The unique ID of the tool call generated by the model. + */ + @Generated + private final String callId; + + /* + * The status of the tool call. + */ + @Generated + private final ToolCallStatus status; + + /** + * Creates an instance of MemoryCommandToolCallOutput class. + * + * @param callId the callId value to set. + * @param status the status value to set. + */ + @Generated + public MemoryCommandToolCallOutput(String callId, ToolCallStatus status) { + this.callId = callId; + this.status = status; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the callId property: The unique ID of the tool call generated by the model. + * + * @return the callId value. + */ + @Generated + public String getCallId() { + return this.callId; + } + + /** + * Get the status property: The status of the tool call. + * + * @return the status value. + */ + @Generated + public ToolCallStatus getStatus() { + return this.status; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeStringField("call_id", this.callId); + jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of MemoryCommandToolCallOutput from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of MemoryCommandToolCallOutput if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the MemoryCommandToolCallOutput. + */ + @Generated + public static MemoryCommandToolCallOutput fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String callId = null; + ToolCallStatus status = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("call_id".equals(fieldName)) { + callId = reader.getString(); + } else if ("status".equals(fieldName)) { + status = ToolCallStatus.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + return new MemoryCommandToolCallOutput(callId, status); + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryItem.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryItem.java index 384c0df25b20..d1fa16618cee 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryItem.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryItem.java @@ -59,7 +59,7 @@ public class MemoryItem implements JsonSerializable { * @param content the content value to set. */ @Generated - protected MemoryItem(String memoryId, OffsetDateTime updatedAt, String scope, String content) { + public MemoryItem(String memoryId, OffsetDateTime updatedAt, String scope, String content) { this.memoryId = memoryId; if (updatedAt == null) { this.updatedAt = 0L; diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java index bc65f2bd84e9..9111dbb15491 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java @@ -9,6 +9,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.util.Map; /** * A tool for integrating memories into the agent. @@ -121,6 +122,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); jsonWriter.writeStringField("name", this.name); jsonWriter.writeStringField("description", this.description); + jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element)); jsonWriter.writeJsonField("search_options", this.searchOptions); jsonWriter.writeNumberField("update_delay", this.updateDelaySeconds); return jsonWriter.writeEndObject(); @@ -143,6 +145,7 @@ public static MemorySearchPreviewTool fromJson(JsonReader jsonReader) throws IOE ToolType type = ToolType.MEMORY_SEARCH_PREVIEW; String name = null; String description = null; + Map toolConfigs = null; MemorySearchOptions searchOptions = null; Integer updateDelaySeconds = null; while (reader.nextToken() != JsonToken.END_OBJECT) { @@ -158,6 +161,8 @@ public static MemorySearchPreviewTool fromJson(JsonReader jsonReader) throws IOE name = reader.getString(); } else if ("description".equals(fieldName)) { description = reader.getString(); + } else if ("tool_configs".equals(fieldName)) { + toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1)); } else if ("search_options".equals(fieldName)) { searchOptions = MemorySearchOptions.fromJson(reader); } else if ("update_delay".equals(fieldName)) { @@ -171,6 +176,7 @@ public static MemorySearchPreviewTool fromJson(JsonReader jsonReader) throws IOE deserializedMemorySearchPreviewTool.type = type; deserializedMemorySearchPreviewTool.name = name; deserializedMemorySearchPreviewTool.description = description; + deserializedMemorySearchPreviewTool.toolConfigs = toolConfigs; deserializedMemorySearchPreviewTool.searchOptions = searchOptions; deserializedMemorySearchPreviewTool.updateDelaySeconds = updateDelaySeconds; return deserializedMemorySearchPreviewTool; @@ -262,4 +268,38 @@ public MemorySearchPreviewTool setDescription(String description) { this.description = description; return this; } + + /* + * Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + */ + @Generated + private Map toolConfigs; + + /** + * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @return the toolConfigs value. + */ + @Generated + public Map getToolConfigs() { + return this.toolConfigs; + } + + /** + * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @param toolConfigs the toolConfigs value to set. + * @return the MemorySearchPreviewTool object itself. + */ + @Generated + public MemorySearchPreviewTool setToolConfigs(Map toolConfigs) { + this.toolConfigs = toolConfigs; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java new file mode 100644 index 000000000000..d9c9ea9465df --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java @@ -0,0 +1,134 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * A memory search tool call. + */ +@Fluent +public final class MemorySearchToolCall implements JsonSerializable { + + /* + * The type property. + */ + @Generated + private final String type = "memory_search_call"; + + /* + * The status of the tool call. + */ + @Generated + private final ToolCallStatus status; + + /* + * The results returned from the memory search. + */ + @Generated + private List memories; + + /** + * Creates an instance of MemorySearchToolCall class. + * + * @param status the status value to set. + */ + @Generated + public MemorySearchToolCall(ToolCallStatus status) { + this.status = status; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the status property: The status of the tool call. + * + * @return the status value. + */ + @Generated + public ToolCallStatus getStatus() { + return this.status; + } + + /** + * Get the memories property: The results returned from the memory search. + * + * @return the memories value. + */ + @Generated + public List getMemories() { + return this.memories; + } + + /** + * Set the memories property: The results returned from the memory search. + * + * @param memories the memories value to set. + * @return the MemorySearchToolCall object itself. + */ + @Generated + public MemorySearchToolCall setMemories(List memories) { + this.memories = memories; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); + jsonWriter.writeArrayField("memories", this.memories, (writer, element) -> writer.writeJson(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of MemorySearchToolCall from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of MemorySearchToolCall if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the MemorySearchToolCall. + */ + @Generated + public static MemorySearchToolCall fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ToolCallStatus status = null; + List memories = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("status".equals(fieldName)) { + status = ToolCallStatus.fromString(reader.getString()); + } else if ("memories".equals(fieldName)) { + memories = reader.readArray(reader1 -> MemoryItem.fromJson(reader1)); + } else { + reader.skipChildren(); + } + } + MemorySearchToolCall deserializedMemorySearchToolCall = new MemorySearchToolCall(status); + deserializedMemorySearchToolCall.memories = memories; + return deserializedMemorySearchToolCall; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java index ceb91f194f5f..97d597a3436e 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java @@ -24,9 +24,9 @@ public enum MemoryStoreObjectType { MEMORY_STORE_SCOPE_DELETED("memory_store.scope.deleted"), /** - * Enum value memory.deleted. + * Enum value memory_store.item.deleted. */ - MEMORY_DELETED("memory.deleted"); + MEMORY_DELETED("memory_store.item.deleted"); /** * The actual serialized value for a MemoryStoreObjectType instance. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java index 7a161af22ea7..c8e49f39a85b 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java @@ -9,6 +9,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.util.Map; /** * The input definition information for a Microsoft Fabric tool as used to configure an agent. @@ -70,6 +71,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); jsonWriter.writeStringField("name", this.name); jsonWriter.writeStringField("description", this.description); + jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -89,6 +91,7 @@ public static MicrosoftFabricPreviewTool fromJson(JsonReader jsonReader) throws ToolType type = ToolType.FABRIC_DATAAGENT_PREVIEW; String name = null; String description = null; + Map toolConfigs = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -100,6 +103,8 @@ public static MicrosoftFabricPreviewTool fromJson(JsonReader jsonReader) throws name = reader.getString(); } else if ("description".equals(fieldName)) { description = reader.getString(); + } else if ("tool_configs".equals(fieldName)) { + toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1)); } else { reader.skipChildren(); } @@ -109,6 +114,7 @@ public static MicrosoftFabricPreviewTool fromJson(JsonReader jsonReader) throws deserializedMicrosoftFabricPreviewTool.type = type; deserializedMicrosoftFabricPreviewTool.name = name; deserializedMicrosoftFabricPreviewTool.description = description; + deserializedMicrosoftFabricPreviewTool.toolConfigs = toolConfigs; return deserializedMicrosoftFabricPreviewTool; }); } @@ -168,4 +174,38 @@ public MicrosoftFabricPreviewTool setDescription(String description) { this.description = description; return this; } + + /* + * Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + */ + @Generated + private Map toolConfigs; + + /** + * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @return the toolConfigs value. + */ + @Generated + public Map getToolConfigs() { + return this.toolConfigs; + } + + /** + * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @param toolConfigs the toolConfigs value to set. + * @return the MicrosoftFabricPreviewTool object itself. + */ + @Generated + public MicrosoftFabricPreviewTool setToolConfigs(Map toolConfigs) { + this.toolConfigs = toolConfigs; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OpenApiTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OpenApiTool.java index 107f3b0365d0..ea64fac092be 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OpenApiTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OpenApiTool.java @@ -3,17 +3,18 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.ai.agents.models; +import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.util.Map; /** * The input definition information for an OpenAPI tool as used to configure an agent. */ -@Immutable +@Fluent public final class OpenApiTool extends Tool { /* @@ -52,6 +53,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeJsonField("openapi", this.openApi); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -69,6 +71,7 @@ public static OpenApiTool fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { OpenApiFunctionDefinition openApi = null; ToolType type = ToolType.OPENAPI; + Map toolConfigs = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -76,12 +79,15 @@ public static OpenApiTool fromJson(JsonReader jsonReader) throws IOException { openApi = OpenApiFunctionDefinition.fromJson(reader); } else if ("type".equals(fieldName)) { type = ToolType.fromString(reader.getString()); + } else if ("tool_configs".equals(fieldName)) { + toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1)); } else { reader.skipChildren(); } } OpenApiTool deserializedOpenApiTool = new OpenApiTool(openApi); deserializedOpenApiTool.type = type; + deserializedOpenApiTool.toolConfigs = toolConfigs; return deserializedOpenApiTool; }); } @@ -101,4 +107,38 @@ public static OpenApiTool fromJson(JsonReader jsonReader) throws IOException { public OpenApiFunctionDefinition getOpenApi() { return this.openApi; } + + /* + * Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + */ + @Generated + private Map toolConfigs; + + /** + * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @return the toolConfigs value. + */ + @Generated + public Map getToolConfigs() { + return this.toolConfigs; + } + + /** + * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @param toolConfigs the toolConfigs value to set. + * @return the OpenApiTool object itself. + */ + @Generated + public OpenApiTool setToolConfigs(Map toolConfigs) { + this.toolConfigs = toolConfigs; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java new file mode 100644 index 000000000000..4e2bd66d5b48 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java @@ -0,0 +1,165 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * An OpenAPI tool call. + */ +@Immutable +public final class OpenApiToolCall implements JsonSerializable { + + /* + * The type property. + */ + @Generated + private final String type = "openapi_call"; + + /* + * The unique ID of the tool call generated by the model. + */ + @Generated + private final String callId; + + /* + * The name of the OpenAPI operation being called. + */ + @Generated + private final String name; + + /* + * A JSON string of the arguments to pass to the tool. + */ + @Generated + private final String arguments; + + /* + * The status of the tool call. + */ + @Generated + private final ToolCallStatus status; + + /** + * Creates an instance of OpenApiToolCall class. + * + * @param callId the callId value to set. + * @param name the name value to set. + * @param arguments the arguments value to set. + * @param status the status value to set. + */ + @Generated + public OpenApiToolCall(String callId, String name, String arguments, ToolCallStatus status) { + this.callId = callId; + this.name = name; + this.arguments = arguments; + this.status = status; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the callId property: The unique ID of the tool call generated by the model. + * + * @return the callId value. + */ + @Generated + public String getCallId() { + return this.callId; + } + + /** + * Get the name property: The name of the OpenAPI operation being called. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the arguments property: A JSON string of the arguments to pass to the tool. + * + * @return the arguments value. + */ + @Generated + public String getArguments() { + return this.arguments; + } + + /** + * Get the status property: The status of the tool call. + * + * @return the status value. + */ + @Generated + public ToolCallStatus getStatus() { + return this.status; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeStringField("call_id", this.callId); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("arguments", this.arguments); + jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of OpenApiToolCall from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of OpenApiToolCall if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the OpenApiToolCall. + */ + @Generated + public static OpenApiToolCall fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String callId = null; + String name = null; + String arguments = null; + ToolCallStatus status = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("call_id".equals(fieldName)) { + callId = reader.getString(); + } else if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("arguments".equals(fieldName)) { + arguments = reader.getString(); + } else if ("status".equals(fieldName)) { + status = ToolCallStatus.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + return new OpenApiToolCall(callId, name, arguments, status); + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java new file mode 100644 index 000000000000..8daae3bb0c9f --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java @@ -0,0 +1,181 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The output of an OpenAPI tool call. + */ +@Fluent +public final class OpenApiToolCallOutput implements JsonSerializable { + + /* + * The type property. + */ + @Generated + private final String type = "openapi_call_output"; + + /* + * The unique ID of the tool call generated by the model. + */ + @Generated + private final String callId; + + /* + * The name of the OpenAPI operation that was called. + */ + @Generated + private final String name; + + /* + * The output from the OpenAPI tool call. + */ + @Generated + private BinaryData output; + + /* + * The status of the tool call. + */ + @Generated + private final ToolCallStatus status; + + /** + * Creates an instance of OpenApiToolCallOutput class. + * + * @param callId the callId value to set. + * @param name the name value to set. + * @param status the status value to set. + */ + @Generated + public OpenApiToolCallOutput(String callId, String name, ToolCallStatus status) { + this.callId = callId; + this.name = name; + this.status = status; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the callId property: The unique ID of the tool call generated by the model. + * + * @return the callId value. + */ + @Generated + public String getCallId() { + return this.callId; + } + + /** + * Get the name property: The name of the OpenAPI operation that was called. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the output property: The output from the OpenAPI tool call. + * + * @return the output value. + */ + @Generated + public BinaryData getOutput() { + return this.output; + } + + /** + * Set the output property: The output from the OpenAPI tool call. + * + * @param output the output value to set. + * @return the OpenApiToolCallOutput object itself. + */ + @Generated + public OpenApiToolCallOutput setOutput(BinaryData output) { + this.output = output; + return this; + } + + /** + * Get the status property: The status of the tool call. + * + * @return the status value. + */ + @Generated + public ToolCallStatus getStatus() { + return this.status; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeStringField("call_id", this.callId); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); + if (this.output != null) { + jsonWriter.writeFieldName("output"); + this.output.writeTo(jsonWriter); + } + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of OpenApiToolCallOutput from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of OpenApiToolCallOutput if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the OpenApiToolCallOutput. + */ + @Generated + public static OpenApiToolCallOutput fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String callId = null; + String name = null; + ToolCallStatus status = null; + BinaryData output = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("call_id".equals(fieldName)) { + callId = reader.getString(); + } else if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("status".equals(fieldName)) { + status = ToolCallStatus.fromString(reader.getString()); + } else if ("output".equals(fieldName)) { + output = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); + } else { + reader.skipChildren(); + } + } + OpenApiToolCallOutput deserializedOpenApiToolCallOutput = new OpenApiToolCallOutput(callId, name, status); + deserializedOpenApiToolCallOutput.output = output; + return deserializedOpenApiToolCallOutput; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java new file mode 100644 index 000000000000..5bc37faf8dce --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java @@ -0,0 +1,222 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * The agent definition being optimized. Identifies the Foundry agent and optional configuration overrides. + */ +@Fluent +public final class OptimizationAgentDefinition implements JsonSerializable { + + /* + * Registered Foundry agent name. Required — bare-model mode is not supported. + */ + @Generated + private final String agentName; + + /* + * Pinned agent version. Defaults to latest if omitted. + */ + @Generated + private String agentVersion; + + /* + * Model deployment name (e.g., 'gpt-4o'). Optional when agent_name is set — the agent definition provides the + * model. + */ + @Generated + private String model; + + /* + * System prompt / instructions override. When set, used as the baseline instructions for the agent. + */ + @Generated + private String systemPrompt; + + /* + * Optional named skills the optimizer may tune. Tool descriptions and parameters. + */ + @Generated + private List skills; + + /** + * Creates an instance of OptimizationAgentDefinition class. + * + * @param agentName the agentName value to set. + */ + @Generated + public OptimizationAgentDefinition(String agentName) { + this.agentName = agentName; + } + + /** + * Get the agentName property: Registered Foundry agent name. Required — bare-model mode is not supported. + * + * @return the agentName value. + */ + @Generated + public String getAgentName() { + return this.agentName; + } + + /** + * Get the agentVersion property: Pinned agent version. Defaults to latest if omitted. + * + * @return the agentVersion value. + */ + @Generated + public String getAgentVersion() { + return this.agentVersion; + } + + /** + * Set the agentVersion property: Pinned agent version. Defaults to latest if omitted. + * + * @param agentVersion the agentVersion value to set. + * @return the OptimizationAgentDefinition object itself. + */ + @Generated + public OptimizationAgentDefinition setAgentVersion(String agentVersion) { + this.agentVersion = agentVersion; + return this; + } + + /** + * Get the model property: Model deployment name (e.g., 'gpt-4o'). Optional when agent_name is set — the agent + * definition provides the model. + * + * @return the model value. + */ + @Generated + public String getModel() { + return this.model; + } + + /** + * Set the model property: Model deployment name (e.g., 'gpt-4o'). Optional when agent_name is set — the agent + * definition provides the model. + * + * @param model the model value to set. + * @return the OptimizationAgentDefinition object itself. + */ + @Generated + public OptimizationAgentDefinition setModel(String model) { + this.model = model; + return this; + } + + /** + * Get the systemPrompt property: System prompt / instructions override. When set, used as the baseline instructions + * for the agent. + * + * @return the systemPrompt value. + */ + @Generated + public String getSystemPrompt() { + return this.systemPrompt; + } + + /** + * Set the systemPrompt property: System prompt / instructions override. When set, used as the baseline instructions + * for the agent. + * + * @param systemPrompt the systemPrompt value to set. + * @return the OptimizationAgentDefinition object itself. + */ + @Generated + public OptimizationAgentDefinition setSystemPrompt(String systemPrompt) { + this.systemPrompt = systemPrompt; + return this; + } + + /** + * Get the skills property: Optional named skills the optimizer may tune. Tool descriptions and parameters. + * + * @return the skills value. + */ + @Generated + public List getSkills() { + return this.skills; + } + + /** + * Set the skills property: Optional named skills the optimizer may tune. Tool descriptions and parameters. + * + * @param skills the skills value to set. + * @return the OptimizationAgentDefinition object itself. + */ + @Generated + public OptimizationAgentDefinition setSkills(List skills) { + this.skills = skills; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("agent_name", this.agentName); + jsonWriter.writeStringField("agent_version", this.agentVersion); + jsonWriter.writeStringField("model", this.model); + jsonWriter.writeStringField("system_prompt", this.systemPrompt); + jsonWriter.writeArrayField("skills", this.skills, (writer, element) -> writer.writeJson(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of OptimizationAgentDefinition from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of OptimizationAgentDefinition if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the OptimizationAgentDefinition. + */ + @Generated + public static OptimizationAgentDefinition fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String agentName = null; + String agentVersion = null; + String model = null; + String systemPrompt = null; + List skills = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("agent_name".equals(fieldName)) { + agentName = reader.getString(); + } else if ("agent_version".equals(fieldName)) { + agentVersion = reader.getString(); + } else if ("model".equals(fieldName)) { + model = reader.getString(); + } else if ("system_prompt".equals(fieldName)) { + systemPrompt = reader.getString(); + } else if ("skills".equals(fieldName)) { + skills = reader.readArray(reader1 -> OptimizationAgentSkill.fromJson(reader1)); + } else { + reader.skipChildren(); + } + } + OptimizationAgentDefinition deserializedOptimizationAgentDefinition + = new OptimizationAgentDefinition(agentName); + deserializedOptimizationAgentDefinition.agentVersion = agentVersion; + deserializedOptimizationAgentDefinition.model = model; + deserializedOptimizationAgentDefinition.systemPrompt = systemPrompt; + deserializedOptimizationAgentDefinition.skills = skills; + return deserializedOptimizationAgentDefinition; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationAgentSkill.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationAgentSkill.java new file mode 100644 index 000000000000..1a94e1e30bd8 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationAgentSkill.java @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A named skill on the agent that the optimizer may tune. + */ +@Fluent +public final class OptimizationAgentSkill implements JsonSerializable { + + /* + * Skill name (matches the tool name on the agent). + */ + @Generated + private final String name; + + /* + * Free-form description used as the seed when tuning skill descriptions. + */ + @Generated + private String description; + + /** + * Creates an instance of OptimizationAgentSkill class. + * + * @param name the name value to set. + */ + @Generated + public OptimizationAgentSkill(String name) { + this.name = name; + } + + /** + * Get the name property: Skill name (matches the tool name on the agent). + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the description property: Free-form description used as the seed when tuning skill descriptions. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: Free-form description used as the seed when tuning skill descriptions. + * + * @param description the description value to set. + * @return the OptimizationAgentSkill object itself. + */ + @Generated + public OptimizationAgentSkill setDescription(String description) { + this.description = description; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("description", this.description); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of OptimizationAgentSkill from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of OptimizationAgentSkill if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the OptimizationAgentSkill. + */ + @Generated + public static OptimizationAgentSkill fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + String description = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else { + reader.skipChildren(); + } + } + OptimizationAgentSkill deserializedOptimizationAgentSkill = new OptimizationAgentSkill(name); + deserializedOptimizationAgentSkill.description = description; + return deserializedOptimizationAgentSkill; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java new file mode 100644 index 000000000000..bfea95b854dc --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java @@ -0,0 +1,420 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; +import java.util.Map; + +/** + * Aggregated evaluation result for a single candidate agent configuration across all tasks. + */ +@Immutable +public final class OptimizationCandidate implements JsonSerializable { + + /* + * Server-assigned candidate identifier. Use with `GET /candidates/{id}` sub-endpoints. + */ + @Generated + private String candidateId; + + /* + * Display name of the candidate (e.g., 'baseline', 'instruction-v2'). + */ + @Generated + private final String name; + + /* + * The agent configuration that produced this candidate. + */ + @Generated + private final OptimizationAgentDefinition config; + + /* + * What was mutated from the baseline (e.g., {instructions: 'new prompt'}). + */ + @Generated + private final Map mutations; + + /* + * Strategy rationale — why this candidate was generated. + */ + @Generated + private final String rationale; + + /* + * Average composite score across all tasks. + */ + @Generated + private final double avgScore; + + /* + * Average token usage across all tasks. + */ + @Generated + private final double avgTokens; + + /* + * Fraction of tasks that met the pass threshold. + */ + @Generated + private final double passRate; + + /* + * Individual task-level scores. + */ + @Generated + private final List taskScores; + + /* + * Whether this candidate is on the Pareto frontier (score vs cost). + */ + @Generated + private final boolean isParetoOptimal; + + /* + * Average score from sampled evaluation (null if full dataset was used). + */ + @Generated + private Double sampleAvgScore; + + /* + * Number of tasks in the sample (null if full dataset was used). + */ + @Generated + private Integer sampleSize; + + /* + * 'sample' if scored on a subset, 'full' if re-evaluated on the full dataset. + */ + @Generated + private String evaluationType; + + /* + * Identifies the strategy that produced this candidate. + */ + @Generated + private OptimizationStrategy strategy; + + /* + * Foundry evaluation identifier used to score this candidate. + */ + @Generated + private String evalId; + + /* + * Foundry evaluation run identifier for this candidate's scoring run. + */ + @Generated + private String evalRunId; + + /** + * Creates an instance of OptimizationCandidate class. + * + * @param name the name value to set. + * @param config the config value to set. + * @param mutations the mutations value to set. + * @param rationale the rationale value to set. + * @param avgScore the avgScore value to set. + * @param avgTokens the avgTokens value to set. + * @param passRate the passRate value to set. + * @param taskScores the taskScores value to set. + * @param isParetoOptimal the isParetoOptimal value to set. + */ + @Generated + private OptimizationCandidate(String name, OptimizationAgentDefinition config, Map mutations, + String rationale, double avgScore, double avgTokens, double passRate, List taskScores, + boolean isParetoOptimal) { + this.name = name; + this.config = config; + this.mutations = mutations; + this.rationale = rationale; + this.avgScore = avgScore; + this.avgTokens = avgTokens; + this.passRate = passRate; + this.taskScores = taskScores; + this.isParetoOptimal = isParetoOptimal; + } + + /** + * Get the candidateId property: Server-assigned candidate identifier. Use with `GET /candidates/{id}` + * sub-endpoints. + * + * @return the candidateId value. + */ + @Generated + public String getCandidateId() { + return this.candidateId; + } + + /** + * Get the name property: Display name of the candidate (e.g., 'baseline', 'instruction-v2'). + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the config property: The agent configuration that produced this candidate. + * + * @return the config value. + */ + @Generated + public OptimizationAgentDefinition getConfig() { + return this.config; + } + + /** + * Get the mutations property: What was mutated from the baseline (e.g., {instructions: 'new prompt'}). + * + * @return the mutations value. + */ + @Generated + public Map getMutations() { + return this.mutations; + } + + /** + * Get the rationale property: Strategy rationale — why this candidate was generated. + * + * @return the rationale value. + */ + @Generated + public String getRationale() { + return this.rationale; + } + + /** + * Get the avgScore property: Average composite score across all tasks. + * + * @return the avgScore value. + */ + @Generated + public double getAvgScore() { + return this.avgScore; + } + + /** + * Get the avgTokens property: Average token usage across all tasks. + * + * @return the avgTokens value. + */ + @Generated + public double getAvgTokens() { + return this.avgTokens; + } + + /** + * Get the passRate property: Fraction of tasks that met the pass threshold. + * + * @return the passRate value. + */ + @Generated + public double getPassRate() { + return this.passRate; + } + + /** + * Get the taskScores property: Individual task-level scores. + * + * @return the taskScores value. + */ + @Generated + public List getTaskScores() { + return this.taskScores; + } + + /** + * Get the isParetoOptimal property: Whether this candidate is on the Pareto frontier (score vs cost). + * + * @return the isParetoOptimal value. + */ + @Generated + public boolean isParetoOptimal() { + return this.isParetoOptimal; + } + + /** + * Get the sampleAvgScore property: Average score from sampled evaluation (null if full dataset was used). + * + * @return the sampleAvgScore value. + */ + @Generated + public Double getSampleAvgScore() { + return this.sampleAvgScore; + } + + /** + * Get the sampleSize property: Number of tasks in the sample (null if full dataset was used). + * + * @return the sampleSize value. + */ + @Generated + public Integer getSampleSize() { + return this.sampleSize; + } + + /** + * Get the evaluationType property: 'sample' if scored on a subset, 'full' if re-evaluated on the full dataset. + * + * @return the evaluationType value. + */ + @Generated + public String getEvaluationType() { + return this.evaluationType; + } + + /** + * Get the strategy property: Identifies the strategy that produced this candidate. + * + * @return the strategy value. + */ + @Generated + public OptimizationStrategy getStrategy() { + return this.strategy; + } + + /** + * Get the evalId property: Foundry evaluation identifier used to score this candidate. + * + * @return the evalId value. + */ + @Generated + public String getEvalId() { + return this.evalId; + } + + /** + * Get the evalRunId property: Foundry evaluation run identifier for this candidate's scoring run. + * + * @return the evalRunId value. + */ + @Generated + public String getEvalRunId() { + return this.evalRunId; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeJsonField("config", this.config); + jsonWriter.writeMapField("mutations", this.mutations, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + jsonWriter.writeStringField("rationale", this.rationale); + jsonWriter.writeDoubleField("avg_score", this.avgScore); + jsonWriter.writeDoubleField("avg_tokens", this.avgTokens); + jsonWriter.writeDoubleField("pass_rate", this.passRate); + jsonWriter.writeArrayField("task_scores", this.taskScores, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeBooleanField("is_pareto_optimal", this.isParetoOptimal); + jsonWriter.writeStringField("candidate_id", this.candidateId); + jsonWriter.writeNumberField("sample_avg_score", this.sampleAvgScore); + jsonWriter.writeNumberField("sample_size", this.sampleSize); + jsonWriter.writeStringField("evaluation_type", this.evaluationType); + jsonWriter.writeStringField("strategy", this.strategy == null ? null : this.strategy.toString()); + jsonWriter.writeStringField("eval_id", this.evalId); + jsonWriter.writeStringField("eval_run_id", this.evalRunId); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of OptimizationCandidate from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of OptimizationCandidate if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the OptimizationCandidate. + */ + @Generated + public static OptimizationCandidate fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + OptimizationAgentDefinition config = null; + Map mutations = null; + String rationale = null; + double avgScore = 0.0; + double avgTokens = 0.0; + double passRate = 0.0; + List taskScores = null; + boolean isParetoOptimal = false; + String candidateId = null; + Double sampleAvgScore = null; + Integer sampleSize = null; + String evaluationType = null; + OptimizationStrategy strategy = null; + String evalId = null; + String evalRunId = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("config".equals(fieldName)) { + config = OptimizationAgentDefinition.fromJson(reader); + } else if ("mutations".equals(fieldName)) { + mutations = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); + } else if ("rationale".equals(fieldName)) { + rationale = reader.getString(); + } else if ("avg_score".equals(fieldName)) { + avgScore = reader.getDouble(); + } else if ("avg_tokens".equals(fieldName)) { + avgTokens = reader.getDouble(); + } else if ("pass_rate".equals(fieldName)) { + passRate = reader.getDouble(); + } else if ("task_scores".equals(fieldName)) { + taskScores = reader.readArray(reader1 -> OptimizationTaskResult.fromJson(reader1)); + } else if ("is_pareto_optimal".equals(fieldName)) { + isParetoOptimal = reader.getBoolean(); + } else if ("candidate_id".equals(fieldName)) { + candidateId = reader.getString(); + } else if ("sample_avg_score".equals(fieldName)) { + sampleAvgScore = reader.getNullable(JsonReader::getDouble); + } else if ("sample_size".equals(fieldName)) { + sampleSize = reader.getNullable(JsonReader::getInt); + } else if ("evaluation_type".equals(fieldName)) { + evaluationType = reader.getString(); + } else if ("strategy".equals(fieldName)) { + strategy = OptimizationStrategy.fromString(reader.getString()); + } else if ("eval_id".equals(fieldName)) { + evalId = reader.getString(); + } else if ("eval_run_id".equals(fieldName)) { + evalRunId = reader.getString(); + } else { + reader.skipChildren(); + } + } + OptimizationCandidate deserializedOptimizationCandidate = new OptimizationCandidate(name, config, mutations, + rationale, avgScore, avgTokens, passRate, taskScores, isParetoOptimal); + deserializedOptimizationCandidate.candidateId = candidateId; + deserializedOptimizationCandidate.sampleAvgScore = sampleAvgScore; + deserializedOptimizationCandidate.sampleSize = sampleSize; + deserializedOptimizationCandidate.evaluationType = evaluationType; + deserializedOptimizationCandidate.strategy = strategy; + deserializedOptimizationCandidate.evalId = evalId; + deserializedOptimizationCandidate.evalRunId = evalRunId; + return deserializedOptimizationCandidate; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJob.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJob.java new file mode 100644 index 000000000000..cb15e469d49c --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJob.java @@ -0,0 +1,224 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; + +/** + * Agent optimization job resource — a long-running job that optimizes an agent's configuration (instructions, model, + * skills) to maximize evaluation scores. On success, the result contains scored candidates. + */ +@Fluent +public final class OptimizationJob implements JsonSerializable { + + /* + * Server-assigned unique identifier. + */ + @Generated + private String id; + + /* + * Caller-supplied inputs. + */ + @Generated + private OptimizationJobInputs inputs; + + /* + * Result produced on success. + */ + @Generated + private OptimizationJobResult result; + + /* + * Current lifecycle status. + */ + @Generated + private JobStatus status; + + /* + * Error details — populated only on failure. + */ + @Generated + private ApiError error; + + /* + * The timestamp when the job was created, represented in Unix time. + */ + @Generated + private long createdAt; + + /* + * The timestamp when the job was last updated, represented in Unix time. + */ + @Generated + private Long updatedAt; + + /* + * Progress while in flight. Absent in terminal states. + */ + @Generated + private OptimizationJobProgress progress; + + /** + * Creates an instance of OptimizationJob class. + */ + @Generated + public OptimizationJob() { + } + + /** + * Get the id property: Server-assigned unique identifier. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } + + /** + * Get the inputs property: Caller-supplied inputs. + * + * @return the inputs value. + */ + @Generated + public OptimizationJobInputs getInputs() { + return this.inputs; + } + + /** + * Set the inputs property: Caller-supplied inputs. + * + * @param inputs the inputs value to set. + * @return the OptimizationJob object itself. + */ + @Generated + public OptimizationJob setInputs(OptimizationJobInputs inputs) { + this.inputs = inputs; + return this; + } + + /** + * Get the result property: Result produced on success. + * + * @return the result value. + */ + @Generated + public OptimizationJobResult getResult() { + return this.result; + } + + /** + * Get the status property: Current lifecycle status. + * + * @return the status value. + */ + @Generated + public JobStatus getStatus() { + return this.status; + } + + /** + * Get the error property: Error details — populated only on failure. + * + * @return the error value. + */ + @Generated + public ApiError getError() { + return this.error; + } + + /** + * Get the createdAt property: The timestamp when the job was created, represented in Unix time. + * + * @return the createdAt value. + */ + @Generated + public OffsetDateTime getCreatedAt() { + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.createdAt), ZoneOffset.UTC); + } + + /** + * Get the updatedAt property: The timestamp when the job was last updated, represented in Unix time. + * + * @return the updatedAt value. + */ + @Generated + public OffsetDateTime getUpdatedAt() { + if (this.updatedAt == null) { + return null; + } + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.updatedAt), ZoneOffset.UTC); + } + + /** + * Get the progress property: Progress while in flight. Absent in terminal states. + * + * @return the progress value. + */ + @Generated + public OptimizationJobProgress getProgress() { + return this.progress; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("inputs", this.inputs); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of OptimizationJob from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of OptimizationJob if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the OptimizationJob. + */ + @Generated + public static OptimizationJob fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + OptimizationJob deserializedOptimizationJob = new OptimizationJob(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("id".equals(fieldName)) { + deserializedOptimizationJob.id = reader.getString(); + } else if ("status".equals(fieldName)) { + deserializedOptimizationJob.status = JobStatus.fromString(reader.getString()); + } else if ("created_at".equals(fieldName)) { + deserializedOptimizationJob.createdAt = reader.getLong(); + } else if ("inputs".equals(fieldName)) { + deserializedOptimizationJob.inputs = OptimizationJobInputs.fromJson(reader); + } else if ("result".equals(fieldName)) { + deserializedOptimizationJob.result = OptimizationJobResult.fromJson(reader); + } else if ("error".equals(fieldName)) { + deserializedOptimizationJob.error = ApiError.fromJson(reader); + } else if ("updated_at".equals(fieldName)) { + deserializedOptimizationJob.updatedAt = reader.getNullable(JsonReader::getLong); + } else if ("progress".equals(fieldName)) { + deserializedOptimizationJob.progress = OptimizationJobProgress.fromJson(reader); + } else { + reader.skipChildren(); + } + } + return deserializedOptimizationJob; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java new file mode 100644 index 000000000000..316942441171 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java @@ -0,0 +1,290 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Caller-supplied inputs for an optimization job. + */ +@Fluent +public final class OptimizationJobInputs implements JsonSerializable { + + /* + * The agent (and pinned version) being optimized. + */ + @Generated + private final OptimizationAgentDefinition agent; + + /* + * Inline evaluation dataset. Mutually exclusive with `train_dataset_reference`. + */ + @Generated + private List dataset; + + /* + * Reference to a registered training dataset. Mutually exclusive with `dataset`. + */ + @Generated + private DatasetRef trainDatasetReference; + + /* + * Optional held-out validation dataset for measuring generalization of the final candidate. + */ + @Generated + private DatasetRef validationDatasetReference; + + /* + * Job-level evaluators (referenced by `name`). Per-task `criteria` may override. Default: ['task_adherence']. + */ + @Generated + private List evaluators; + + /* + * Job-level evaluation criteria. Applied to all tasks unless overridden by per-task `criteria`. + */ + @Generated + private List criteria; + + /* + * Tuning knobs and run-mode. + */ + @Generated + private OptimizationOptions options; + + /** + * Creates an instance of OptimizationJobInputs class. + * + * @param agent the agent value to set. + */ + @Generated + public OptimizationJobInputs(OptimizationAgentDefinition agent) { + this.agent = agent; + } + + /** + * Get the agent property: The agent (and pinned version) being optimized. + * + * @return the agent value. + */ + @Generated + public OptimizationAgentDefinition getAgent() { + return this.agent; + } + + /** + * Get the dataset property: Inline evaluation dataset. Mutually exclusive with `train_dataset_reference`. + * + * @return the dataset value. + */ + @Generated + public List getDataset() { + return this.dataset; + } + + /** + * Set the dataset property: Inline evaluation dataset. Mutually exclusive with `train_dataset_reference`. + * + * @param dataset the dataset value to set. + * @return the OptimizationJobInputs object itself. + */ + @Generated + public OptimizationJobInputs setDataset(List dataset) { + this.dataset = dataset; + return this; + } + + /** + * Get the trainDatasetReference property: Reference to a registered training dataset. Mutually exclusive with + * `dataset`. + * + * @return the trainDatasetReference value. + */ + @Generated + public DatasetRef getTrainDatasetReference() { + return this.trainDatasetReference; + } + + /** + * Set the trainDatasetReference property: Reference to a registered training dataset. Mutually exclusive with + * `dataset`. + * + * @param trainDatasetReference the trainDatasetReference value to set. + * @return the OptimizationJobInputs object itself. + */ + @Generated + public OptimizationJobInputs setTrainDatasetReference(DatasetRef trainDatasetReference) { + this.trainDatasetReference = trainDatasetReference; + return this; + } + + /** + * Get the validationDatasetReference property: Optional held-out validation dataset for measuring generalization of + * the final candidate. + * + * @return the validationDatasetReference value. + */ + @Generated + public DatasetRef getValidationDatasetReference() { + return this.validationDatasetReference; + } + + /** + * Set the validationDatasetReference property: Optional held-out validation dataset for measuring generalization of + * the final candidate. + * + * @param validationDatasetReference the validationDatasetReference value to set. + * @return the OptimizationJobInputs object itself. + */ + @Generated + public OptimizationJobInputs setValidationDatasetReference(DatasetRef validationDatasetReference) { + this.validationDatasetReference = validationDatasetReference; + return this; + } + + /** + * Get the evaluators property: Job-level evaluators (referenced by `name`). Per-task `criteria` may override. + * Default: ['task_adherence']. + * + * @return the evaluators value. + */ + @Generated + public List getEvaluators() { + return this.evaluators; + } + + /** + * Set the evaluators property: Job-level evaluators (referenced by `name`). Per-task `criteria` may override. + * Default: ['task_adherence']. + * + * @param evaluators the evaluators value to set. + * @return the OptimizationJobInputs object itself. + */ + @Generated + public OptimizationJobInputs setEvaluators(List evaluators) { + this.evaluators = evaluators; + return this; + } + + /** + * Get the criteria property: Job-level evaluation criteria. Applied to all tasks unless overridden by per-task + * `criteria`. + * + * @return the criteria value. + */ + @Generated + public List getCriteria() { + return this.criteria; + } + + /** + * Set the criteria property: Job-level evaluation criteria. Applied to all tasks unless overridden by per-task + * `criteria`. + * + * @param criteria the criteria value to set. + * @return the OptimizationJobInputs object itself. + */ + @Generated + public OptimizationJobInputs setCriteria(List criteria) { + this.criteria = criteria; + return this; + } + + /** + * Get the options property: Tuning knobs and run-mode. + * + * @return the options value. + */ + @Generated + public OptimizationOptions getOptions() { + return this.options; + } + + /** + * Set the options property: Tuning knobs and run-mode. + * + * @param options the options value to set. + * @return the OptimizationJobInputs object itself. + */ + @Generated + public OptimizationJobInputs setOptions(OptimizationOptions options) { + this.options = options; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("agent", this.agent); + jsonWriter.writeArrayField("dataset", this.dataset, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeJsonField("train_dataset_reference", this.trainDatasetReference); + jsonWriter.writeJsonField("validation_dataset_reference", this.validationDatasetReference); + jsonWriter.writeArrayField("evaluators", this.evaluators, (writer, element) -> writer.writeString(element)); + jsonWriter.writeArrayField("criteria", this.criteria, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeJsonField("options", this.options); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of OptimizationJobInputs from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of OptimizationJobInputs if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the OptimizationJobInputs. + */ + @Generated + public static OptimizationJobInputs fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + OptimizationAgentDefinition agent = null; + List dataset = null; + DatasetRef trainDatasetReference = null; + DatasetRef validationDatasetReference = null; + List evaluators = null; + List criteria = null; + OptimizationOptions options = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("agent".equals(fieldName)) { + agent = OptimizationAgentDefinition.fromJson(reader); + } else if ("dataset".equals(fieldName)) { + dataset = reader.readArray(reader1 -> DatasetItem.fromJson(reader1)); + } else if ("train_dataset_reference".equals(fieldName)) { + trainDatasetReference = DatasetRef.fromJson(reader); + } else if ("validation_dataset_reference".equals(fieldName)) { + validationDatasetReference = DatasetRef.fromJson(reader); + } else if ("evaluators".equals(fieldName)) { + evaluators = reader.readArray(reader1 -> reader1.getString()); + } else if ("criteria".equals(fieldName)) { + criteria = reader.readArray(reader1 -> EvaluationCriterion.fromJson(reader1)); + } else if ("options".equals(fieldName)) { + options = OptimizationOptions.fromJson(reader); + } else { + reader.skipChildren(); + } + } + OptimizationJobInputs deserializedOptimizationJobInputs = new OptimizationJobInputs(agent); + deserializedOptimizationJobInputs.dataset = dataset; + deserializedOptimizationJobInputs.trainDatasetReference = trainDatasetReference; + deserializedOptimizationJobInputs.validationDatasetReference = validationDatasetReference; + deserializedOptimizationJobInputs.evaluators = evaluators; + deserializedOptimizationJobInputs.criteria = criteria; + deserializedOptimizationJobInputs.options = options; + return deserializedOptimizationJobInputs; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java new file mode 100644 index 000000000000..7ef28c4660fb --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java @@ -0,0 +1,200 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Duration; + +/** + * In-flight progress; only populated while status is `queued` or `in_progress`. + */ +@Immutable +public final class OptimizationJobProgress implements JsonSerializable { + + /* + * Strategy currently being explored. + */ + @Generated + private final OptimizationStrategy currentStrategy; + + /* + * 1-based current iteration index. + */ + @Generated + private final int currentIteration; + + /* + * Tasks evaluated so far this iteration. + */ + @Generated + private final int tasksCompleted; + + /* + * Total tasks scheduled this iteration. + */ + @Generated + private final int tasksTotal; + + /* + * Best score observed so far across all candidates. + */ + @Generated + private final double bestScore; + + /* + * Wall-clock time elapsed since the job began executing. + */ + @Generated + private final double elapsedSeconds; + + /** + * Creates an instance of OptimizationJobProgress class. + * + * @param currentStrategy the currentStrategy value to set. + * @param currentIteration the currentIteration value to set. + * @param tasksCompleted the tasksCompleted value to set. + * @param tasksTotal the tasksTotal value to set. + * @param bestScore the bestScore value to set. + * @param elapsedSeconds the elapsedSeconds value to set. + */ + @Generated + private OptimizationJobProgress(OptimizationStrategy currentStrategy, int currentIteration, int tasksCompleted, + int tasksTotal, double bestScore, Duration elapsedSeconds) { + this.currentStrategy = currentStrategy; + this.currentIteration = currentIteration; + this.tasksCompleted = tasksCompleted; + this.tasksTotal = tasksTotal; + this.bestScore = bestScore; + if (elapsedSeconds == null) { + this.elapsedSeconds = 0.0; + } else { + this.elapsedSeconds = (double) elapsedSeconds.toNanos() / 1000_000_000L; + } + } + + /** + * Get the currentStrategy property: Strategy currently being explored. + * + * @return the currentStrategy value. + */ + @Generated + public OptimizationStrategy getCurrentStrategy() { + return this.currentStrategy; + } + + /** + * Get the currentIteration property: 1-based current iteration index. + * + * @return the currentIteration value. + */ + @Generated + public int getCurrentIteration() { + return this.currentIteration; + } + + /** + * Get the tasksCompleted property: Tasks evaluated so far this iteration. + * + * @return the tasksCompleted value. + */ + @Generated + public int getTasksCompleted() { + return this.tasksCompleted; + } + + /** + * Get the tasksTotal property: Total tasks scheduled this iteration. + * + * @return the tasksTotal value. + */ + @Generated + public int getTasksTotal() { + return this.tasksTotal; + } + + /** + * Get the bestScore property: Best score observed so far across all candidates. + * + * @return the bestScore value. + */ + @Generated + public double getBestScore() { + return this.bestScore; + } + + /** + * Get the elapsedSeconds property: Wall-clock time elapsed since the job began executing. + * + * @return the elapsedSeconds value. + */ + @Generated + public Duration getElapsedSeconds() { + return Duration.ofNanos((long) (this.elapsedSeconds * 1000_000_000L)); + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("current_strategy", + this.currentStrategy == null ? null : this.currentStrategy.toString()); + jsonWriter.writeIntField("current_iteration", this.currentIteration); + jsonWriter.writeIntField("tasks_completed", this.tasksCompleted); + jsonWriter.writeIntField("tasks_total", this.tasksTotal); + jsonWriter.writeDoubleField("best_score", this.bestScore); + jsonWriter.writeDoubleField("elapsed_seconds", this.elapsedSeconds); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of OptimizationJobProgress from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of OptimizationJobProgress if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the OptimizationJobProgress. + */ + @Generated + public static OptimizationJobProgress fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + OptimizationStrategy currentStrategy = null; + int currentIteration = 0; + int tasksCompleted = 0; + int tasksTotal = 0; + double bestScore = 0.0; + Duration elapsedSeconds = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("current_strategy".equals(fieldName)) { + currentStrategy = OptimizationStrategy.fromString(reader.getString()); + } else if ("current_iteration".equals(fieldName)) { + currentIteration = reader.getInt(); + } else if ("tasks_completed".equals(fieldName)) { + tasksCompleted = reader.getInt(); + } else if ("tasks_total".equals(fieldName)) { + tasksTotal = reader.getInt(); + } else if ("best_score".equals(fieldName)) { + bestScore = reader.getDouble(); + } else if ("elapsed_seconds".equals(fieldName)) { + elapsedSeconds = Duration.ofNanos((long) (reader.getDouble() * 1000_000_000L)); + } else { + reader.skipChildren(); + } + } + return new OptimizationJobProgress(currentStrategy, currentIteration, tasksCompleted, tasksTotal, bestScore, + elapsedSeconds); + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java new file mode 100644 index 000000000000..cca59bc4da02 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java @@ -0,0 +1,241 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Terminal-state result body. Populated when `status` is `succeeded` or `failed`. + */ +@Immutable +public final class OptimizationJobResult implements JsonSerializable { + + /* + * Evaluation scores for the original (un-optimized) agent configuration. + */ + @Generated + private OptimizationCandidate baseline; + + /* + * The highest-scoring candidate found during optimization. + */ + @Generated + private OptimizationCandidate best; + + /* + * All evaluated candidates including baseline. + */ + @Generated + private List candidates; + + /* + * Candidates on the Pareto frontier (maximize score, minimize cost). + */ + @Generated + private List paretoFrontier; + + /* + * Score of the best candidate on the held-out validation dataset. Null when no validation dataset was provided. + */ + @Generated + private OptimizationCandidate validationScore; + + /* + * The options used for this optimization run. + */ + @Generated + private OptimizationOptions options; + + /* + * Number of tasks sampled during optimization iterations (null if sampling was not used). + */ + @Generated + private Integer sampleSize; + + /* + * Non-fatal warnings from the optimization run (e.g., strategy failures that were skipped). + */ + @Generated + private List warnings; + + /* + * True when all optimization strategies failed — only the baseline was evaluated. + */ + @Generated + private Boolean allStrategiesFailed; + + /** + * Creates an instance of OptimizationJobResult class. + */ + @Generated + private OptimizationJobResult() { + } + + /** + * Get the baseline property: Evaluation scores for the original (un-optimized) agent configuration. + * + * @return the baseline value. + */ + @Generated + public OptimizationCandidate getBaseline() { + return this.baseline; + } + + /** + * Get the best property: The highest-scoring candidate found during optimization. + * + * @return the best value. + */ + @Generated + public OptimizationCandidate getBest() { + return this.best; + } + + /** + * Get the candidates property: All evaluated candidates including baseline. + * + * @return the candidates value. + */ + @Generated + public List getCandidates() { + return this.candidates; + } + + /** + * Get the paretoFrontier property: Candidates on the Pareto frontier (maximize score, minimize cost). + * + * @return the paretoFrontier value. + */ + @Generated + public List getParetoFrontier() { + return this.paretoFrontier; + } + + /** + * Get the validationScore property: Score of the best candidate on the held-out validation dataset. Null when no + * validation dataset was provided. + * + * @return the validationScore value. + */ + @Generated + public OptimizationCandidate getValidationScore() { + return this.validationScore; + } + + /** + * Get the options property: The options used for this optimization run. + * + * @return the options value. + */ + @Generated + public OptimizationOptions getOptions() { + return this.options; + } + + /** + * Get the sampleSize property: Number of tasks sampled during optimization iterations (null if sampling was not + * used). + * + * @return the sampleSize value. + */ + @Generated + public Integer getSampleSize() { + return this.sampleSize; + } + + /** + * Get the warnings property: Non-fatal warnings from the optimization run (e.g., strategy failures that were + * skipped). + * + * @return the warnings value. + */ + @Generated + public List getWarnings() { + return this.warnings; + } + + /** + * Get the allStrategiesFailed property: True when all optimization strategies failed — only the baseline was + * evaluated. + * + * @return the allStrategiesFailed value. + */ + @Generated + public Boolean isAllStrategiesFailed() { + return this.allStrategiesFailed; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("baseline", this.baseline); + jsonWriter.writeJsonField("best", this.best); + jsonWriter.writeArrayField("candidates", this.candidates, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeArrayField("pareto_frontier", this.paretoFrontier, + (writer, element) -> writer.writeJson(element)); + jsonWriter.writeJsonField("validation_score", this.validationScore); + jsonWriter.writeJsonField("options", this.options); + jsonWriter.writeNumberField("sample_size", this.sampleSize); + jsonWriter.writeArrayField("warnings", this.warnings, (writer, element) -> writer.writeString(element)); + jsonWriter.writeBooleanField("all_strategies_failed", this.allStrategiesFailed); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of OptimizationJobResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of OptimizationJobResult if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the OptimizationJobResult. + */ + @Generated + public static OptimizationJobResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + OptimizationJobResult deserializedOptimizationJobResult = new OptimizationJobResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("baseline".equals(fieldName)) { + deserializedOptimizationJobResult.baseline = OptimizationCandidate.fromJson(reader); + } else if ("best".equals(fieldName)) { + deserializedOptimizationJobResult.best = OptimizationCandidate.fromJson(reader); + } else if ("candidates".equals(fieldName)) { + List candidates + = reader.readArray(reader1 -> OptimizationCandidate.fromJson(reader1)); + deserializedOptimizationJobResult.candidates = candidates; + } else if ("pareto_frontier".equals(fieldName)) { + List paretoFrontier + = reader.readArray(reader1 -> OptimizationCandidate.fromJson(reader1)); + deserializedOptimizationJobResult.paretoFrontier = paretoFrontier; + } else if ("validation_score".equals(fieldName)) { + deserializedOptimizationJobResult.validationScore = OptimizationCandidate.fromJson(reader); + } else if ("options".equals(fieldName)) { + deserializedOptimizationJobResult.options = OptimizationOptions.fromJson(reader); + } else if ("sample_size".equals(fieldName)) { + deserializedOptimizationJobResult.sampleSize = reader.getNullable(JsonReader::getInt); + } else if ("warnings".equals(fieldName)) { + List warnings = reader.readArray(reader1 -> reader1.getString()); + deserializedOptimizationJobResult.warnings = warnings; + } else if ("all_strategies_failed".equals(fieldName)) { + deserializedOptimizationJobResult.allStrategiesFailed = reader.getNullable(JsonReader::getBoolean); + } else { + reader.skipChildren(); + } + } + return deserializedOptimizationJobResult; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationMode.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationMode.java new file mode 100644 index 000000000000..fda2f3de95b2 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationMode.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Run mode for an optimization job. + */ +public final class OptimizationMode extends ExpandableStringEnum { + + /** + * Full optimization: baseline + mutation strategies. + */ + @Generated + public static final OptimizationMode OPTIMIZE = fromString("optimize"); + + /** + * Creates a new instance of OptimizationMode value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public OptimizationMode() { + } + + /** + * Creates or finds a OptimizationMode from its string representation. + * + * @param name a name to look for. + * @return the corresponding OptimizationMode. + */ + @Generated + public static OptimizationMode fromString(String name) { + return fromString(name, OptimizationMode.class); + } + + /** + * Gets known OptimizationMode values. + * + * @return known OptimizationMode values. + */ + @Generated + public static Collection values() { + return values(OptimizationMode.class); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationOptions.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationOptions.java new file mode 100644 index 000000000000..f1621e3aa8c1 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationOptions.java @@ -0,0 +1,487 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Duration; +import java.util.List; + +/** + * Tuning knobs and run-mode for an optimization job. + */ +@Fluent +public final class OptimizationOptions implements JsonSerializable { + + /* + * Strategies to apply this run. Default: ['instruction']. + */ + @Generated + private List strategies; + + /* + * Total candidate generation budget (number of candidates explored). Default: 10. + */ + @Generated + private Integer budget; + + /* + * Maximum optimization iterations per strategy. Default: 5. + */ + @Generated + private Integer maxIterations; + + /* + * Tasks sampled per iteration (mutation step input). Default: service-decided (auto-computed). + */ + @Generated + private Integer tasksPerIteration; + + /* + * Maximum tasks fed into the reflective-mutation LLM per iteration. Default: 5. + */ + @Generated + private Integer maxReflectionTasks; + + /* + * Minimum score improvement between iterations to continue (plateau detection). Default: 0.005. + */ + @Generated + private Double minImprovement; + + /* + * Composite score threshold for a task to be considered passing. Default: 0.5. + */ + @Generated + private Double passThreshold; + + /* + * Target average score at which optimization stops early (quality ceiling). Default: 0.95. + */ + @Generated + private Double improvementThreshold; + + /* + * Run mode. + */ + @Generated + private OptimizationMode mode; + + /* + * Foundry deployment name to use as the LLM-as-judge evaluation model. Required. + */ + @Generated + private String evalModel; + + /* + * Optional model deployment for strategy reflection (instruction rewriting, skill generation). Falls back to + * `eval_model` if unset. + */ + @Generated + private String reflectionModel; + + /* + * Per-task timeout for agent execution. Default: 300 seconds (5 minutes). + */ + @Generated + private Long taskTimeoutSeconds; + + /* + * If true, retain temporary candidate-evaluation agent versions for inspection. Default: false. + */ + @Generated + private Boolean keepVersions; + + /** + * Creates an instance of OptimizationOptions class. + */ + @Generated + public OptimizationOptions() { + } + + /** + * Get the strategies property: Strategies to apply this run. Default: ['instruction']. + * + * @return the strategies value. + */ + @Generated + public List getStrategies() { + return this.strategies; + } + + /** + * Set the strategies property: Strategies to apply this run. Default: ['instruction']. + * + * @param strategies the strategies value to set. + * @return the OptimizationOptions object itself. + */ + @Generated + public OptimizationOptions setStrategies(List strategies) { + this.strategies = strategies; + return this; + } + + /** + * Get the budget property: Total candidate generation budget (number of candidates explored). Default: 10. + * + * @return the budget value. + */ + @Generated + public Integer getBudget() { + return this.budget; + } + + /** + * Set the budget property: Total candidate generation budget (number of candidates explored). Default: 10. + * + * @param budget the budget value to set. + * @return the OptimizationOptions object itself. + */ + @Generated + public OptimizationOptions setBudget(Integer budget) { + this.budget = budget; + return this; + } + + /** + * Get the maxIterations property: Maximum optimization iterations per strategy. Default: 5. + * + * @return the maxIterations value. + */ + @Generated + public Integer getMaxIterations() { + return this.maxIterations; + } + + /** + * Set the maxIterations property: Maximum optimization iterations per strategy. Default: 5. + * + * @param maxIterations the maxIterations value to set. + * @return the OptimizationOptions object itself. + */ + @Generated + public OptimizationOptions setMaxIterations(Integer maxIterations) { + this.maxIterations = maxIterations; + return this; + } + + /** + * Get the tasksPerIteration property: Tasks sampled per iteration (mutation step input). Default: service-decided + * (auto-computed). + * + * @return the tasksPerIteration value. + */ + @Generated + public Integer getTasksPerIteration() { + return this.tasksPerIteration; + } + + /** + * Set the tasksPerIteration property: Tasks sampled per iteration (mutation step input). Default: service-decided + * (auto-computed). + * + * @param tasksPerIteration the tasksPerIteration value to set. + * @return the OptimizationOptions object itself. + */ + @Generated + public OptimizationOptions setTasksPerIteration(Integer tasksPerIteration) { + this.tasksPerIteration = tasksPerIteration; + return this; + } + + /** + * Get the maxReflectionTasks property: Maximum tasks fed into the reflective-mutation LLM per iteration. Default: + * 5. + * + * @return the maxReflectionTasks value. + */ + @Generated + public Integer getMaxReflectionTasks() { + return this.maxReflectionTasks; + } + + /** + * Set the maxReflectionTasks property: Maximum tasks fed into the reflective-mutation LLM per iteration. Default: + * 5. + * + * @param maxReflectionTasks the maxReflectionTasks value to set. + * @return the OptimizationOptions object itself. + */ + @Generated + public OptimizationOptions setMaxReflectionTasks(Integer maxReflectionTasks) { + this.maxReflectionTasks = maxReflectionTasks; + return this; + } + + /** + * Get the minImprovement property: Minimum score improvement between iterations to continue (plateau detection). + * Default: 0.005. + * + * @return the minImprovement value. + */ + @Generated + public Double getMinImprovement() { + return this.minImprovement; + } + + /** + * Set the minImprovement property: Minimum score improvement between iterations to continue (plateau detection). + * Default: 0.005. + * + * @param minImprovement the minImprovement value to set. + * @return the OptimizationOptions object itself. + */ + @Generated + public OptimizationOptions setMinImprovement(Double minImprovement) { + this.minImprovement = minImprovement; + return this; + } + + /** + * Get the passThreshold property: Composite score threshold for a task to be considered passing. Default: 0.5. + * + * @return the passThreshold value. + */ + @Generated + public Double getPassThreshold() { + return this.passThreshold; + } + + /** + * Set the passThreshold property: Composite score threshold for a task to be considered passing. Default: 0.5. + * + * @param passThreshold the passThreshold value to set. + * @return the OptimizationOptions object itself. + */ + @Generated + public OptimizationOptions setPassThreshold(Double passThreshold) { + this.passThreshold = passThreshold; + return this; + } + + /** + * Get the improvementThreshold property: Target average score at which optimization stops early (quality ceiling). + * Default: 0.95. + * + * @return the improvementThreshold value. + */ + @Generated + public Double getImprovementThreshold() { + return this.improvementThreshold; + } + + /** + * Set the improvementThreshold property: Target average score at which optimization stops early (quality ceiling). + * Default: 0.95. + * + * @param improvementThreshold the improvementThreshold value to set. + * @return the OptimizationOptions object itself. + */ + @Generated + public OptimizationOptions setImprovementThreshold(Double improvementThreshold) { + this.improvementThreshold = improvementThreshold; + return this; + } + + /** + * Get the mode property: Run mode. + * + * @return the mode value. + */ + @Generated + public OptimizationMode getMode() { + return this.mode; + } + + /** + * Set the mode property: Run mode. + * + * @param mode the mode value to set. + * @return the OptimizationOptions object itself. + */ + @Generated + public OptimizationOptions setMode(OptimizationMode mode) { + this.mode = mode; + return this; + } + + /** + * Get the evalModel property: Foundry deployment name to use as the LLM-as-judge evaluation model. Required. + * + * @return the evalModel value. + */ + @Generated + public String getEvalModel() { + return this.evalModel; + } + + /** + * Set the evalModel property: Foundry deployment name to use as the LLM-as-judge evaluation model. Required. + * + * @param evalModel the evalModel value to set. + * @return the OptimizationOptions object itself. + */ + @Generated + public OptimizationOptions setEvalModel(String evalModel) { + this.evalModel = evalModel; + return this; + } + + /** + * Get the reflectionModel property: Optional model deployment for strategy reflection (instruction rewriting, skill + * generation). Falls back to `eval_model` if unset. + * + * @return the reflectionModel value. + */ + @Generated + public String getReflectionModel() { + return this.reflectionModel; + } + + /** + * Set the reflectionModel property: Optional model deployment for strategy reflection (instruction rewriting, skill + * generation). Falls back to `eval_model` if unset. + * + * @param reflectionModel the reflectionModel value to set. + * @return the OptimizationOptions object itself. + */ + @Generated + public OptimizationOptions setReflectionModel(String reflectionModel) { + this.reflectionModel = reflectionModel; + return this; + } + + /** + * Get the taskTimeoutSeconds property: Per-task timeout for agent execution. Default: 300 seconds (5 minutes). + * + * @return the taskTimeoutSeconds value. + */ + @Generated + public Duration getTaskTimeoutSeconds() { + if (this.taskTimeoutSeconds == null) { + return null; + } + return Duration.ofSeconds(this.taskTimeoutSeconds); + } + + /** + * Set the taskTimeoutSeconds property: Per-task timeout for agent execution. Default: 300 seconds (5 minutes). + * + * @param taskTimeoutSeconds the taskTimeoutSeconds value to set. + * @return the OptimizationOptions object itself. + */ + @Generated + public OptimizationOptions setTaskTimeoutSeconds(Duration taskTimeoutSeconds) { + if (taskTimeoutSeconds == null) { + this.taskTimeoutSeconds = null; + } else { + this.taskTimeoutSeconds = taskTimeoutSeconds.getSeconds(); + } + return this; + } + + /** + * Get the keepVersions property: If true, retain temporary candidate-evaluation agent versions for inspection. + * Default: false. + * + * @return the keepVersions value. + */ + @Generated + public Boolean isKeepVersions() { + return this.keepVersions; + } + + /** + * Set the keepVersions property: If true, retain temporary candidate-evaluation agent versions for inspection. + * Default: false. + * + * @param keepVersions the keepVersions value to set. + * @return the OptimizationOptions object itself. + */ + @Generated + public OptimizationOptions setKeepVersions(Boolean keepVersions) { + this.keepVersions = keepVersions; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeArrayField("strategies", this.strategies, + (writer, element) -> writer.writeString(element == null ? null : element.toString())); + jsonWriter.writeNumberField("budget", this.budget); + jsonWriter.writeNumberField("max_iterations", this.maxIterations); + jsonWriter.writeNumberField("tasks_per_iteration", this.tasksPerIteration); + jsonWriter.writeNumberField("max_reflection_tasks", this.maxReflectionTasks); + jsonWriter.writeNumberField("min_improvement", this.minImprovement); + jsonWriter.writeNumberField("pass_threshold", this.passThreshold); + jsonWriter.writeNumberField("improvement_threshold", this.improvementThreshold); + jsonWriter.writeStringField("mode", this.mode == null ? null : this.mode.toString()); + jsonWriter.writeStringField("eval_model", this.evalModel); + jsonWriter.writeStringField("reflection_model", this.reflectionModel); + jsonWriter.writeNumberField("task_timeout_seconds", this.taskTimeoutSeconds); + jsonWriter.writeBooleanField("keep_versions", this.keepVersions); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of OptimizationOptions from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of OptimizationOptions if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the OptimizationOptions. + */ + @Generated + public static OptimizationOptions fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + OptimizationOptions deserializedOptimizationOptions = new OptimizationOptions(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("strategies".equals(fieldName)) { + List strategies + = reader.readArray(reader1 -> OptimizationStrategy.fromString(reader1.getString())); + deserializedOptimizationOptions.strategies = strategies; + } else if ("budget".equals(fieldName)) { + deserializedOptimizationOptions.budget = reader.getNullable(JsonReader::getInt); + } else if ("max_iterations".equals(fieldName)) { + deserializedOptimizationOptions.maxIterations = reader.getNullable(JsonReader::getInt); + } else if ("tasks_per_iteration".equals(fieldName)) { + deserializedOptimizationOptions.tasksPerIteration = reader.getNullable(JsonReader::getInt); + } else if ("max_reflection_tasks".equals(fieldName)) { + deserializedOptimizationOptions.maxReflectionTasks = reader.getNullable(JsonReader::getInt); + } else if ("min_improvement".equals(fieldName)) { + deserializedOptimizationOptions.minImprovement = reader.getNullable(JsonReader::getDouble); + } else if ("pass_threshold".equals(fieldName)) { + deserializedOptimizationOptions.passThreshold = reader.getNullable(JsonReader::getDouble); + } else if ("improvement_threshold".equals(fieldName)) { + deserializedOptimizationOptions.improvementThreshold = reader.getNullable(JsonReader::getDouble); + } else if ("mode".equals(fieldName)) { + deserializedOptimizationOptions.mode = OptimizationMode.fromString(reader.getString()); + } else if ("eval_model".equals(fieldName)) { + deserializedOptimizationOptions.evalModel = reader.getString(); + } else if ("reflection_model".equals(fieldName)) { + deserializedOptimizationOptions.reflectionModel = reader.getString(); + } else if ("task_timeout_seconds".equals(fieldName)) { + deserializedOptimizationOptions.taskTimeoutSeconds = reader.getNullable(JsonReader::getLong); + } else if ("keep_versions".equals(fieldName)) { + deserializedOptimizationOptions.keepVersions = reader.getNullable(JsonReader::getBoolean); + } else { + reader.skipChildren(); + } + } + return deserializedOptimizationOptions; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationStrategy.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationStrategy.java new file mode 100644 index 000000000000..1661967e58fc --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationStrategy.java @@ -0,0 +1,63 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Optimization strategy dimension. + */ +public final class OptimizationStrategy extends ExpandableStringEnum { + + /** + * Instruction-tuning strategy — rewrites agent system prompts. + */ + @Generated + public static final OptimizationStrategy INSTRUCTION = fromString("instruction"); + + /** + * Model-selection strategy — evaluates alternative LLM deployments. + */ + @Generated + public static final OptimizationStrategy MODEL = fromString("model"); + + /** + * Skill-tuning strategy — generates or modifies agent tool descriptions. + */ + @Generated + public static final OptimizationStrategy SKILL = fromString("skill"); + + /** + * Creates a new instance of OptimizationStrategy value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public OptimizationStrategy() { + } + + /** + * Creates or finds a OptimizationStrategy from its string representation. + * + * @param name a name to look for. + * @return the corresponding OptimizationStrategy. + */ + @Generated + public static OptimizationStrategy fromString(String name) { + return fromString(name, OptimizationStrategy.class); + } + + /** + * Gets known OptimizationStrategy values. + * + * @return known OptimizationStrategy values. + */ + @Generated + public static Collection values() { + return values(OptimizationStrategy.class); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java new file mode 100644 index 000000000000..23cca72c4933 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java @@ -0,0 +1,301 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.Map; + +/** + * Per-task evaluation result for a single candidate. + */ +@Immutable +public final class OptimizationTaskResult implements JsonSerializable { + + /* + * Task name (from the dataset). + */ + @Generated + private final String taskName; + + /* + * The user query / input for the task. + */ + @Generated + private String query; + + /* + * Per-evaluator scores keyed by evaluator name. + */ + @Generated + private final Map scores; + + /* + * Composite score combining all evaluator scores. + */ + @Generated + private final double compositeScore; + + /* + * Total tokens consumed during the agent run for this task. + */ + @Generated + private final int tokens; + + /* + * Wall-clock seconds for this task's agent execution. + */ + @Generated + private final double durationSeconds; + + /* + * Whether the task met the pass threshold. + */ + @Generated + private final boolean passed; + + /* + * Error message if the task failed during execution. + */ + @Generated + private String errorMessage; + + /* + * Per-evaluator reasoning keyed by evaluator name. + */ + @Generated + private Map rationales; + + /* + * Raw agent response text. + */ + @Generated + private String response; + + /* + * Identifier of the agent run that produced this result. + */ + @Generated + private String runId; + + /** + * Creates an instance of OptimizationTaskResult class. + * + * @param taskName the taskName value to set. + * @param scores the scores value to set. + * @param compositeScore the compositeScore value to set. + * @param tokens the tokens value to set. + * @param durationSeconds the durationSeconds value to set. + * @param passed the passed value to set. + */ + @Generated + private OptimizationTaskResult(String taskName, Map scores, double compositeScore, int tokens, + double durationSeconds, boolean passed) { + this.taskName = taskName; + this.scores = scores; + this.compositeScore = compositeScore; + this.tokens = tokens; + this.durationSeconds = durationSeconds; + this.passed = passed; + } + + /** + * Get the taskName property: Task name (from the dataset). + * + * @return the taskName value. + */ + @Generated + public String getTaskName() { + return this.taskName; + } + + /** + * Get the query property: The user query / input for the task. + * + * @return the query value. + */ + @Generated + public String getQuery() { + return this.query; + } + + /** + * Get the scores property: Per-evaluator scores keyed by evaluator name. + * + * @return the scores value. + */ + @Generated + public Map getScores() { + return this.scores; + } + + /** + * Get the compositeScore property: Composite score combining all evaluator scores. + * + * @return the compositeScore value. + */ + @Generated + public double getCompositeScore() { + return this.compositeScore; + } + + /** + * Get the tokens property: Total tokens consumed during the agent run for this task. + * + * @return the tokens value. + */ + @Generated + public int getTokens() { + return this.tokens; + } + + /** + * Get the durationSeconds property: Wall-clock seconds for this task's agent execution. + * + * @return the durationSeconds value. + */ + @Generated + public double getDurationSeconds() { + return this.durationSeconds; + } + + /** + * Get the passed property: Whether the task met the pass threshold. + * + * @return the passed value. + */ + @Generated + public boolean isPassed() { + return this.passed; + } + + /** + * Get the errorMessage property: Error message if the task failed during execution. + * + * @return the errorMessage value. + */ + @Generated + public String getErrorMessage() { + return this.errorMessage; + } + + /** + * Get the rationales property: Per-evaluator reasoning keyed by evaluator name. + * + * @return the rationales value. + */ + @Generated + public Map getRationales() { + return this.rationales; + } + + /** + * Get the response property: Raw agent response text. + * + * @return the response value. + */ + @Generated + public String getResponse() { + return this.response; + } + + /** + * Get the runId property: Identifier of the agent run that produced this result. + * + * @return the runId value. + */ + @Generated + public String getRunId() { + return this.runId; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("task_name", this.taskName); + jsonWriter.writeMapField("scores", this.scores, (writer, element) -> writer.writeDouble(element)); + jsonWriter.writeDoubleField("composite_score", this.compositeScore); + jsonWriter.writeIntField("tokens", this.tokens); + jsonWriter.writeDoubleField("duration_seconds", this.durationSeconds); + jsonWriter.writeBooleanField("passed", this.passed); + jsonWriter.writeStringField("query", this.query); + jsonWriter.writeStringField("error_message", this.errorMessage); + jsonWriter.writeMapField("rationales", this.rationales, (writer, element) -> writer.writeString(element)); + jsonWriter.writeStringField("response", this.response); + jsonWriter.writeStringField("run_id", this.runId); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of OptimizationTaskResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of OptimizationTaskResult if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the OptimizationTaskResult. + */ + @Generated + public static OptimizationTaskResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String taskName = null; + Map scores = null; + double compositeScore = 0.0; + int tokens = 0; + double durationSeconds = 0.0; + boolean passed = false; + String query = null; + String errorMessage = null; + Map rationales = null; + String response = null; + String runId = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("task_name".equals(fieldName)) { + taskName = reader.getString(); + } else if ("scores".equals(fieldName)) { + scores = reader.readMap(reader1 -> reader1.getDouble()); + } else if ("composite_score".equals(fieldName)) { + compositeScore = reader.getDouble(); + } else if ("tokens".equals(fieldName)) { + tokens = reader.getInt(); + } else if ("duration_seconds".equals(fieldName)) { + durationSeconds = reader.getDouble(); + } else if ("passed".equals(fieldName)) { + passed = reader.getBoolean(); + } else if ("query".equals(fieldName)) { + query = reader.getString(); + } else if ("error_message".equals(fieldName)) { + errorMessage = reader.getString(); + } else if ("rationales".equals(fieldName)) { + rationales = reader.readMap(reader1 -> reader1.getString()); + } else if ("response".equals(fieldName)) { + response = reader.getString(); + } else if ("run_id".equals(fieldName)) { + runId = reader.getString(); + } else { + reader.skipChildren(); + } + } + OptimizationTaskResult deserializedOptimizationTaskResult + = new OptimizationTaskResult(taskName, scores, compositeScore, tokens, durationSeconds, passed); + deserializedOptimizationTaskResult.query = query; + deserializedOptimizationTaskResult.errorMessage = errorMessage; + deserializedOptimizationTaskResult.rationales = rationales; + deserializedOptimizationTaskResult.response = response; + deserializedOptimizationTaskResult.runId = runId; + return deserializedOptimizationTaskResult; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java index 3b3e725cf38e..46b6535247dd 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java @@ -34,7 +34,7 @@ public final class ProceduralMemoryItem extends MemoryItem { * @param content the content value to set. */ @Generated - private ProceduralMemoryItem(String memoryId, OffsetDateTime updatedAt, String scope, String content) { + public ProceduralMemoryItem(String memoryId, OffsetDateTime updatedAt, String scope, String content) { super(memoryId, updatedAt, scope, content); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java new file mode 100644 index 000000000000..ecdb21c03ba6 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java @@ -0,0 +1,143 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A SharePoint grounding tool call. + */ +@Immutable +public final class SharepointGroundingToolCall implements JsonSerializable { + + /* + * The type property. + */ + @Generated + private final String type = "sharepoint_grounding_preview_call"; + + /* + * The unique ID of the tool call generated by the model. + */ + @Generated + private final String callId; + + /* + * A JSON string of the arguments to pass to the tool. + */ + @Generated + private final String arguments; + + /* + * The status of the tool call. + */ + @Generated + private final ToolCallStatus status; + + /** + * Creates an instance of SharepointGroundingToolCall class. + * + * @param callId the callId value to set. + * @param arguments the arguments value to set. + * @param status the status value to set. + */ + @Generated + public SharepointGroundingToolCall(String callId, String arguments, ToolCallStatus status) { + this.callId = callId; + this.arguments = arguments; + this.status = status; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the callId property: The unique ID of the tool call generated by the model. + * + * @return the callId value. + */ + @Generated + public String getCallId() { + return this.callId; + } + + /** + * Get the arguments property: A JSON string of the arguments to pass to the tool. + * + * @return the arguments value. + */ + @Generated + public String getArguments() { + return this.arguments; + } + + /** + * Get the status property: The status of the tool call. + * + * @return the status value. + */ + @Generated + public ToolCallStatus getStatus() { + return this.status; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeStringField("call_id", this.callId); + jsonWriter.writeStringField("arguments", this.arguments); + jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SharepointGroundingToolCall from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SharepointGroundingToolCall if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the SharepointGroundingToolCall. + */ + @Generated + public static SharepointGroundingToolCall fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String callId = null; + String arguments = null; + ToolCallStatus status = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("call_id".equals(fieldName)) { + callId = reader.getString(); + } else if ("arguments".equals(fieldName)) { + arguments = reader.getString(); + } else if ("status".equals(fieldName)) { + status = ToolCallStatus.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + return new SharepointGroundingToolCall(callId, arguments, status); + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java new file mode 100644 index 000000000000..354846c7659a --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java @@ -0,0 +1,160 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The output of a SharePoint grounding tool call. + */ +@Fluent +public final class SharepointGroundingToolCallOutput implements JsonSerializable { + + /* + * The type property. + */ + @Generated + private final String type = "sharepoint_grounding_preview_call_output"; + + /* + * The unique ID of the tool call generated by the model. + */ + @Generated + private final String callId; + + /* + * The output from the SharePoint grounding tool call. + */ + @Generated + private BinaryData output; + + /* + * The status of the tool call. + */ + @Generated + private final ToolCallStatus status; + + /** + * Creates an instance of SharepointGroundingToolCallOutput class. + * + * @param callId the callId value to set. + * @param status the status value to set. + */ + @Generated + public SharepointGroundingToolCallOutput(String callId, ToolCallStatus status) { + this.callId = callId; + this.status = status; + } + + /** + * Get the type property: The type property. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the callId property: The unique ID of the tool call generated by the model. + * + * @return the callId value. + */ + @Generated + public String getCallId() { + return this.callId; + } + + /** + * Get the output property: The output from the SharePoint grounding tool call. + * + * @return the output value. + */ + @Generated + public BinaryData getOutput() { + return this.output; + } + + /** + * Set the output property: The output from the SharePoint grounding tool call. + * + * @param output the output value to set. + * @return the SharepointGroundingToolCallOutput object itself. + */ + @Generated + public SharepointGroundingToolCallOutput setOutput(BinaryData output) { + this.output = output; + return this; + } + + /** + * Get the status property: The status of the tool call. + * + * @return the status value. + */ + @Generated + public ToolCallStatus getStatus() { + return this.status; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeStringField("call_id", this.callId); + jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); + if (this.output != null) { + jsonWriter.writeFieldName("output"); + this.output.writeTo(jsonWriter); + } + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SharepointGroundingToolCallOutput from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SharepointGroundingToolCallOutput if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the SharepointGroundingToolCallOutput. + */ + @Generated + public static SharepointGroundingToolCallOutput fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String callId = null; + ToolCallStatus status = null; + BinaryData output = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("call_id".equals(fieldName)) { + callId = reader.getString(); + } else if ("status".equals(fieldName)) { + status = ToolCallStatus.fromString(reader.getString()); + } else if ("output".equals(fieldName)) { + output = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); + } else { + reader.skipChildren(); + } + } + SharepointGroundingToolCallOutput deserializedSharepointGroundingToolCallOutput + = new SharepointGroundingToolCallOutput(callId, status); + deserializedSharepointGroundingToolCallOutput.output = output; + return deserializedSharepointGroundingToolCallOutput; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java index 01ec4d38dfa1..4c4e1ee37649 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java @@ -9,6 +9,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.util.Map; /** * The input definition information for a sharepoint tool as used to configure an agent. @@ -70,6 +71,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); jsonWriter.writeStringField("name", this.name); jsonWriter.writeStringField("description", this.description); + jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -89,6 +91,7 @@ public static SharepointPreviewTool fromJson(JsonReader jsonReader) throws IOExc ToolType type = ToolType.SHAREPOINT_GROUNDING_PREVIEW; String name = null; String description = null; + Map toolConfigs = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -100,6 +103,8 @@ public static SharepointPreviewTool fromJson(JsonReader jsonReader) throws IOExc name = reader.getString(); } else if ("description".equals(fieldName)) { description = reader.getString(); + } else if ("tool_configs".equals(fieldName)) { + toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1)); } else { reader.skipChildren(); } @@ -109,6 +114,7 @@ public static SharepointPreviewTool fromJson(JsonReader jsonReader) throws IOExc deserializedSharepointPreviewTool.type = type; deserializedSharepointPreviewTool.name = name; deserializedSharepointPreviewTool.description = description; + deserializedSharepointPreviewTool.toolConfigs = toolConfigs; return deserializedSharepointPreviewTool; }); } @@ -168,4 +174,38 @@ public SharepointPreviewTool setDescription(String description) { this.description = description; return this; } + + /* + * Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + */ + @Generated + private Map toolConfigs; + + /** + * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @return the toolConfigs value. + */ + @Generated + public Map getToolConfigs() { + return this.toolConfigs; + } + + /** + * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @param toolConfigs the toolConfigs value to set. + * @return the SharepointPreviewTool object itself. + */ + @Generated + public SharepointPreviewTool setToolConfigs(Map toolConfigs) { + this.toolConfigs = toolConfigs; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolCallStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolCallStatus.java new file mode 100644 index 000000000000..b8611ca3afd5 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolCallStatus.java @@ -0,0 +1,66 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.agents.models; + +/** + * The status of a tool call. + */ +public enum ToolCallStatus { + /** + * Enum value in_progress. + */ + IN_PROGRESS("in_progress"), + + /** + * Enum value completed. + */ + COMPLETED("completed"), + + /** + * Enum value incomplete. + */ + INCOMPLETE("incomplete"), + + /** + * Enum value failed. + */ + FAILED("failed"); + + /** + * The actual serialized value for a ToolCallStatus instance. + */ + private final String value; + + ToolCallStatus(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a ToolCallStatus instance. + * + * @param value the serialized value to parse. + * @return the parsed ToolCallStatus object, or null if unable to parse. + */ + public static ToolCallStatus fromString(String value) { + if (value == null) { + return null; + } + ToolCallStatus[] items = ToolCallStatus.values(); + for (ToolCallStatus item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolConfig.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolConfig.java new file mode 100644 index 000000000000..5070caad7af4 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolConfig.java @@ -0,0 +1,129 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Per-tool configuration that controls tool visibility and search behavior. + */ +@Fluent +public final class ToolConfig implements JsonSerializable { + + /* + * When true, the tool is always included in agent context and visible in `tools/list`. + * When false (default), the tool is hidden from `tools/list` and only discoverable via `tool_search`. + */ + @Generated + private Boolean pin; + + /* + * Additional text indexed for tool_search. Supplements the native tool description + * to improve discoverability. Does not alter `tools/list` output. + */ + @Generated + private String additionalSearchText; + + /** + * Creates an instance of ToolConfig class. + */ + @Generated + public ToolConfig() { + } + + /** + * Get the pin property: When true, the tool is always included in agent context and visible in `tools/list`. + * When false (default), the tool is hidden from `tools/list` and only discoverable via `tool_search`. + * + * @return the pin value. + */ + @Generated + public Boolean isPin() { + return this.pin; + } + + /** + * Set the pin property: When true, the tool is always included in agent context and visible in `tools/list`. + * When false (default), the tool is hidden from `tools/list` and only discoverable via `tool_search`. + * + * @param pin the pin value to set. + * @return the ToolConfig object itself. + */ + @Generated + public ToolConfig setPin(Boolean pin) { + this.pin = pin; + return this; + } + + /** + * Get the additionalSearchText property: Additional text indexed for tool_search. Supplements the native tool + * description + * to improve discoverability. Does not alter `tools/list` output. + * + * @return the additionalSearchText value. + */ + @Generated + public String getAdditionalSearchText() { + return this.additionalSearchText; + } + + /** + * Set the additionalSearchText property: Additional text indexed for tool_search. Supplements the native tool + * description + * to improve discoverability. Does not alter `tools/list` output. + * + * @param additionalSearchText the additionalSearchText value to set. + * @return the ToolConfig object itself. + */ + @Generated + public ToolConfig setAdditionalSearchText(String additionalSearchText) { + this.additionalSearchText = additionalSearchText; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeBooleanField("pin", this.pin); + jsonWriter.writeStringField("additional_search_text", this.additionalSearchText); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ToolConfig from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ToolConfig if the JsonReader was pointing to an instance of it, or null if it was pointing + * to JSON null. + * @throws IOException If an error occurs while reading the ToolConfig. + */ + @Generated + public static ToolConfig fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ToolConfig deserializedToolConfig = new ToolConfig(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("pin".equals(fieldName)) { + deserializedToolConfig.pin = reader.getNullable(JsonReader::getBoolean); + } else if ("additional_search_text".equals(fieldName)) { + deserializedToolConfig.additionalSearchText = reader.getString(); + } else { + reader.skipChildren(); + } + } + return deserializedToolConfig; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java index 2d3e1f9edf3e..164671968aed 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java @@ -9,6 +9,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.util.Map; /** * A tool for searching over the agent's toolbox. @@ -108,6 +109,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); jsonWriter.writeStringField("name", this.name); jsonWriter.writeStringField("description", this.description); + jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -132,6 +134,9 @@ public static ToolboxSearchPreviewTool fromJson(JsonReader jsonReader) throws IO deserializedToolboxSearchPreviewTool.name = reader.getString(); } else if ("description".equals(fieldName)) { deserializedToolboxSearchPreviewTool.description = reader.getString(); + } else if ("tool_configs".equals(fieldName)) { + Map toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1)); + deserializedToolboxSearchPreviewTool.toolConfigs = toolConfigs; } else { reader.skipChildren(); } @@ -139,4 +144,38 @@ public static ToolboxSearchPreviewTool fromJson(JsonReader jsonReader) throws IO return deserializedToolboxSearchPreviewTool; }); } + + /* + * Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + */ + @Generated + private Map toolConfigs; + + /** + * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @return the toolConfigs value. + */ + @Generated + public Map getToolConfigs() { + return this.toolConfigs; + } + + /** + * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @param toolConfigs the toolConfigs value to set. + * @return the ToolboxSearchPreviewTool object itself. + */ + @Generated + public ToolboxSearchPreviewTool setToolConfigs(Map toolConfigs) { + this.toolConfigs = toolConfigs; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java index db966153f3d2..dabd464e4d46 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java @@ -35,7 +35,7 @@ public final class UserProfileMemoryItem extends MemoryItem { * @param content the content value to set. */ @Generated - private UserProfileMemoryItem(String memoryId, OffsetDateTime updatedAt, String scope, String content) { + public UserProfileMemoryItem(String memoryId, OffsetDateTime updatedAt, String scope, String content) { super(memoryId, updatedAt, scope, content); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/WebSearchTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/WebSearchTool.java index 03b337a10d5b..0ad68f1a29ce 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/WebSearchTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/WebSearchTool.java @@ -9,6 +9,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.util.Map; /** * Web search @@ -177,6 +178,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { this.searchContextSize == null ? null : this.searchContextSize.toString()); jsonWriter.writeStringField("name", this.name); jsonWriter.writeStringField("description", this.description); + jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element)); jsonWriter.writeJsonField("custom_search_configuration", this.customSearchConfiguration); return jsonWriter.writeEndObject(); } @@ -209,6 +211,9 @@ public static WebSearchTool fromJson(JsonReader jsonReader) throws IOException { deserializedWebSearchTool.name = reader.getString(); } else if ("description".equals(fieldName)) { deserializedWebSearchTool.description = reader.getString(); + } else if ("tool_configs".equals(fieldName)) { + Map toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1)); + deserializedWebSearchTool.toolConfigs = toolConfigs; } else if ("custom_search_configuration".equals(fieldName)) { deserializedWebSearchTool.customSearchConfiguration = WebSearchConfiguration.fromJson(reader); } else { @@ -274,4 +279,38 @@ public WebSearchTool setDescription(String description) { this.description = description; return this; } + + /* + * Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + */ + @Generated + private Map toolConfigs; + + /** + * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @return the toolConfigs value. + */ + @Generated + public Map getToolConfigs() { + return this.toolConfigs; + } + + /** + * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @param toolConfigs the toolConfigs value to set. + * @return the WebSearchTool object itself. + */ + @Generated + public WebSearchTool setToolConfigs(Map toolConfigs) { + this.toolConfigs = toolConfigs; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java index fa3c88c87088..98bec0c07a81 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java @@ -9,6 +9,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.util.Map; /** * A WorkIQ server-side tool. @@ -100,6 +101,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); jsonWriter.writeStringField("name", this.name); jsonWriter.writeStringField("description", this.description); + jsonWriter.writeMapField("tool_configs", this.toolConfigs, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -119,6 +121,7 @@ public static WorkIqPreviewTool fromJson(JsonReader jsonReader) throws IOExcepti ToolType type = ToolType.WORK_IQ_PREVIEW; String name = null; String description = null; + Map toolConfigs = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -130,6 +133,8 @@ public static WorkIqPreviewTool fromJson(JsonReader jsonReader) throws IOExcepti name = reader.getString(); } else if ("description".equals(fieldName)) { description = reader.getString(); + } else if ("tool_configs".equals(fieldName)) { + toolConfigs = reader.readMap(reader1 -> ToolConfig.fromJson(reader1)); } else { reader.skipChildren(); } @@ -138,6 +143,7 @@ public static WorkIqPreviewTool fromJson(JsonReader jsonReader) throws IOExcepti deserializedWorkIqPreviewTool.type = type; deserializedWorkIqPreviewTool.name = name; deserializedWorkIqPreviewTool.description = description; + deserializedWorkIqPreviewTool.toolConfigs = toolConfigs; return deserializedWorkIqPreviewTool; }); } @@ -167,4 +173,38 @@ public WorkIqPreviewTool(String projectConnectionId) { public String getProjectConnectionId() { return this.projectConnectionId; } + + /* + * Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + */ + @Generated + private Map toolConfigs; + + /** + * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @return the toolConfigs value. + */ + @Generated + public Map getToolConfigs() { + return this.toolConfigs; + } + + /** + * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @param toolConfigs the toolConfigs value to set. + * @return the WorkIqPreviewTool object itself. + */ + @Generated + public WorkIqPreviewTool setToolConfigs(Map toolConfigs) { + this.toolConfigs = toolConfigs; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json index 1ebeb2165f8f..4dec9eb63967 100644 --- a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json +++ b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"a1b29a0440b9","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.Annotation":"OpenAI.Annotation","com.azure.ai.agents.implementation.models.AnnotationType":"OpenAI.AnnotationType","com.azure.ai.agents.implementation.models.ApplyPatchCallOutputStatusParam":"OpenAI.ApplyPatchCallOutputStatusParam","com.azure.ai.agents.implementation.models.ApplyPatchCallStatusParam":"OpenAI.ApplyPatchCallStatusParam","com.azure.ai.agents.implementation.models.ApplyPatchCreateFileOperationParam":"OpenAI.ApplyPatchCreateFileOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchDeleteFileOperationParam":"OpenAI.ApplyPatchDeleteFileOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchOperationParam":"OpenAI.ApplyPatchOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchOperationParamType":"OpenAI.ApplyPatchOperationParamType","com.azure.ai.agents.implementation.models.ApplyPatchUpdateFileOperationParam":"OpenAI.ApplyPatchUpdateFileOperationParam","com.azure.ai.agents.implementation.models.ClickButtonType":"OpenAI.ClickButtonType","com.azure.ai.agents.implementation.models.ClickParam":"OpenAI.ClickParam","com.azure.ai.agents.implementation.models.CodeInterpreterOutputImage":"OpenAI.CodeInterpreterOutputImage","com.azure.ai.agents.implementation.models.CodeInterpreterOutputLogs":"OpenAI.CodeInterpreterOutputLogs","com.azure.ai.agents.implementation.models.ComputerAction":"OpenAI.ComputerAction","com.azure.ai.agents.implementation.models.ComputerActionType":"OpenAI.ComputerActionType","com.azure.ai.agents.implementation.models.ComputerCallSafetyCheckParam":"OpenAI.ComputerCallSafetyCheckParam","com.azure.ai.agents.implementation.models.ComputerScreenshotImage":"OpenAI.ComputerScreenshotImage","com.azure.ai.agents.implementation.models.ContainerFileCitationBody":"OpenAI.ContainerFileCitationBody","com.azure.ai.agents.implementation.models.CoordParam":"OpenAI.CoordParam","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.DoubleClickAction":"OpenAI.DoubleClickAction","com.azure.ai.agents.implementation.models.DragParam":"OpenAI.DragParam","com.azure.ai.agents.implementation.models.EasyInputMessage":"OpenAI.EasyInputMessage","com.azure.ai.agents.implementation.models.EasyInputMessageRole":"OpenAI.EasyInputMessage.role.anonymous","com.azure.ai.agents.implementation.models.EasyInputMessageStatus":"OpenAI.EasyInputMessage.status.anonymous","com.azure.ai.agents.implementation.models.FileCitationBody":"OpenAI.FileCitationBody","com.azure.ai.agents.implementation.models.FilePath":"OpenAI.FilePath","com.azure.ai.agents.implementation.models.FileSearchToolCallResults":"OpenAI.FileSearchToolCallResults","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutput":"OpenAI.FunctionAndCustomToolCallOutput","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputFileContent":"OpenAI.FunctionAndCustomToolCallOutputInputFileContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputImageContent":"OpenAI.FunctionAndCustomToolCallOutputInputImageContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputTextContent":"OpenAI.FunctionAndCustomToolCallOutputInputTextContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputType":"OpenAI.FunctionAndCustomToolCallOutputType","com.azure.ai.agents.implementation.models.FunctionCallItemStatus":"OpenAI.FunctionCallItemStatus","com.azure.ai.agents.implementation.models.FunctionShellActionParam":"OpenAI.FunctionShellActionParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironment":"OpenAI.FunctionShellCallItemParamEnvironment","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentContainerReferenceParam":"OpenAI.FunctionShellCallItemParamEnvironmentContainerReferenceParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentLocalEnvironmentParam":"OpenAI.FunctionShellCallItemParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentType":"OpenAI.FunctionShellCallItemParamEnvironmentType","com.azure.ai.agents.implementation.models.FunctionShellCallItemStatus":"OpenAI.FunctionShellCallItemStatus","com.azure.ai.agents.implementation.models.FunctionShellCallOutputContentParam":"OpenAI.FunctionShellCallOutputContentParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputExitOutcomeParam":"OpenAI.FunctionShellCallOutputExitOutcomeParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputOutcomeParam":"OpenAI.FunctionShellCallOutputOutcomeParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputOutcomeParamType":"OpenAI.FunctionShellCallOutputOutcomeParamType","com.azure.ai.agents.implementation.models.FunctionShellCallOutputTimeoutOutcomeParam":"OpenAI.FunctionShellCallOutputTimeoutOutcomeParam","com.azure.ai.agents.implementation.models.ImageDetail":"OpenAI.ImageDetail","com.azure.ai.agents.implementation.models.ImageDetailLevel":"OpenAI.DetailEnum","com.azure.ai.agents.implementation.models.InputContent":"OpenAI.InputContent","com.azure.ai.agents.implementation.models.InputContentInputFileContent":"OpenAI.InputContentInputFileContent","com.azure.ai.agents.implementation.models.InputContentInputImageContent":"OpenAI.InputContentInputImageContent","com.azure.ai.agents.implementation.models.InputContentInputTextContent":"OpenAI.InputContentInputTextContent","com.azure.ai.agents.implementation.models.InputContentType":"OpenAI.InputContentType","com.azure.ai.agents.implementation.models.InputFileContentParam":"OpenAI.InputFileContentParam","com.azure.ai.agents.implementation.models.InputImageContentParamAutoParam":"OpenAI.InputImageContentParamAutoParam","com.azure.ai.agents.implementation.models.InputItem":"OpenAI.InputItem","com.azure.ai.agents.implementation.models.InputItemApplyPatchToolCallItemParam":"OpenAI.InputItemApplyPatchToolCallItemParam","com.azure.ai.agents.implementation.models.InputItemApplyPatchToolCallOutputItemParam":"OpenAI.InputItemApplyPatchToolCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemCodeInterpreterToolCall":"OpenAI.InputItemCodeInterpreterToolCall","com.azure.ai.agents.implementation.models.InputItemCodeInterpreterToolCallStatus":"OpenAI.InputItemCodeInterpreterToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemCompactionSummaryItemParam":"OpenAI.InputItemCompactionSummaryItemParam","com.azure.ai.agents.implementation.models.InputItemComputerCallOutputItemParam":"OpenAI.InputItemComputerCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemComputerToolCall":"OpenAI.InputItemComputerToolCall","com.azure.ai.agents.implementation.models.InputItemComputerToolCallStatus":"OpenAI.InputItemComputerToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemCustomToolCall":"OpenAI.InputItemCustomToolCall","com.azure.ai.agents.implementation.models.InputItemCustomToolCallOutput":"OpenAI.InputItemCustomToolCallOutput","com.azure.ai.agents.implementation.models.InputItemFileSearchToolCall":"OpenAI.InputItemFileSearchToolCall","com.azure.ai.agents.implementation.models.InputItemFileSearchToolCallStatus":"OpenAI.InputItemFileSearchToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemFunctionCallOutputItemParam":"OpenAI.InputItemFunctionCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionShellCallItemParam":"OpenAI.InputItemFunctionShellCallItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionShellCallOutputItemParam":"OpenAI.InputItemFunctionShellCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionToolCall":"OpenAI.InputItemFunctionToolCall","com.azure.ai.agents.implementation.models.InputItemFunctionToolCallStatus":"OpenAI.InputItemFunctionToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemImageGenToolCall":"OpenAI.InputItemImageGenToolCall","com.azure.ai.agents.implementation.models.InputItemImageGenToolCallStatus":"OpenAI.InputItemImageGenToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCall":"OpenAI.InputItemLocalShellToolCall","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallOutput":"OpenAI.InputItemLocalShellToolCallOutput","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallOutputStatus":"OpenAI.InputItemLocalShellToolCallOutput.status.anonymous","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallStatus":"OpenAI.InputItemLocalShellToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemMcpApprovalRequest":"OpenAI.InputItemMcpApprovalRequest","com.azure.ai.agents.implementation.models.InputItemMcpApprovalResponse":"OpenAI.InputItemMcpApprovalResponse","com.azure.ai.agents.implementation.models.InputItemMcpListTools":"OpenAI.InputItemMcpListTools","com.azure.ai.agents.implementation.models.InputItemMcpToolCall":"OpenAI.InputItemMcpToolCall","com.azure.ai.agents.implementation.models.InputItemOutputMessage":"OpenAI.InputItemOutputMessage","com.azure.ai.agents.implementation.models.InputItemOutputMessageStatus":"OpenAI.InputItemOutputMessage.status.anonymous","com.azure.ai.agents.implementation.models.InputItemReasoningItem":"OpenAI.InputItemReasoningItem","com.azure.ai.agents.implementation.models.InputItemReasoningItemStatus":"OpenAI.InputItemReasoningItem.status.anonymous","com.azure.ai.agents.implementation.models.InputItemType":"OpenAI.InputItemType","com.azure.ai.agents.implementation.models.InputItemWebSearchToolCall":"OpenAI.InputItemWebSearchToolCall","com.azure.ai.agents.implementation.models.InputItemWebSearchToolCallStatus":"OpenAI.InputItemWebSearchToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputTextContentParam":"OpenAI.InputTextContentParam","com.azure.ai.agents.implementation.models.ItemReferenceParam":"OpenAI.ItemReferenceParam","com.azure.ai.agents.implementation.models.KeyPressAction":"OpenAI.KeyPressAction","com.azure.ai.agents.implementation.models.LocalShellExecAction":"OpenAI.LocalShellExecAction","com.azure.ai.agents.implementation.models.LogProb":"OpenAI.LogProb","com.azure.ai.agents.implementation.models.McpListToolsTool":"OpenAI.MCPListToolsTool","com.azure.ai.agents.implementation.models.McpListToolsToolAnnotations":"OpenAI.MCPListToolsToolAnnotations","com.azure.ai.agents.implementation.models.McpListToolsToolInputSchema":"OpenAI.MCPListToolsToolInputSchema","com.azure.ai.agents.implementation.models.McpToolCallStatus":"OpenAI.MCPToolCallStatus","com.azure.ai.agents.implementation.models.MessageContent":"OpenAI.MessageContent","com.azure.ai.agents.implementation.models.MessageContentType":"OpenAI.MessageContentType","com.azure.ai.agents.implementation.models.MoveParam":"OpenAI.MoveParam","com.azure.ai.agents.implementation.models.OutputMessageContent":"OpenAI.OutputMessageContent","com.azure.ai.agents.implementation.models.OutputMessageContentOutputTextContent":"OpenAI.OutputMessageContentOutputTextContent","com.azure.ai.agents.implementation.models.OutputMessageContentRefusalContent":"OpenAI.OutputMessageContentRefusalContent","com.azure.ai.agents.implementation.models.OutputMessageContentType":"OpenAI.OutputMessageContentType","com.azure.ai.agents.implementation.models.ReasoningTextContent":"OpenAI.ReasoningTextContent","com.azure.ai.agents.implementation.models.ScreenshotParam":"OpenAI.ScreenshotParam","com.azure.ai.agents.implementation.models.ScrollParam":"OpenAI.ScrollParam","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SummaryTextContent":"OpenAI.SummaryTextContent","com.azure.ai.agents.implementation.models.TopLogProb":"OpenAI.TopLogProb","com.azure.ai.agents.implementation.models.TypeParam":"OpenAI.TypeParam","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.implementation.models.UrlCitationBody":"OpenAI.UrlCitationBody","com.azure.ai.agents.implementation.models.VectorStoreFileAttributes":"OpenAI.VectorStoreFileAttributes","com.azure.ai.agents.implementation.models.WaitParam":"OpenAI.WaitParam","com.azure.ai.agents.implementation.models.WebSearchActionFind":"OpenAI.WebSearchActionFind","com.azure.ai.agents.implementation.models.WebSearchActionOpenPage":"OpenAI.WebSearchActionOpenPage","com.azure.ai.agents.implementation.models.WebSearchActionSearch":"OpenAI.WebSearchActionSearch","com.azure.ai.agents.implementation.models.WebSearchActionSearchSources":"OpenAI.WebSearchActionSearchSources","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/Annotation.java","src/main/java/com/azure/ai/agents/implementation/models/AnnotationType.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallOutputStatusParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallStatusParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCreateFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchDeleteFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParamType.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchUpdateFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ClickButtonType.java","src/main/java/com/azure/ai/agents/implementation/models/ClickParam.java","src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputImage.java","src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputLogs.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerAction.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerActionType.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerCallSafetyCheckParam.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerScreenshotImage.java","src/main/java/com/azure/ai/agents/implementation/models/ContainerFileCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/CoordParam.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/DoubleClickAction.java","src/main/java/com/azure/ai/agents/implementation/models/DragParam.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessage.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageRole.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FileCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/FilePath.java","src/main/java/com/azure/ai/agents/implementation/models/FileSearchToolCallResults.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputFileContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputImageContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionCallItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellActionParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironment.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentContainerReferenceParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentLocalEnvironmentParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputExitOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParamType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputTimeoutOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/ImageDetail.java","src/main/java/com/azure/ai/agents/implementation/models/ImageDetailLevel.java","src/main/java/com/azure/ai/agents/implementation/models/InputContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputFileContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputImageContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentType.java","src/main/java/com/azure/ai/agents/implementation/models/InputFileContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputImageContentParamAutoParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItem.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCompactionSummaryItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutputStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalRequest.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalResponse.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpListTools.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessage.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessageStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItem.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemType.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputTextContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/ItemReferenceParam.java","src/main/java/com/azure/ai/agents/implementation/models/KeyPressAction.java","src/main/java/com/azure/ai/agents/implementation/models/LocalShellExecAction.java","src/main/java/com/azure/ai/agents/implementation/models/LogProb.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsTool.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolAnnotations.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolInputSchema.java","src/main/java/com/azure/ai/agents/implementation/models/McpToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/MessageContent.java","src/main/java/com/azure/ai/agents/implementation/models/MessageContentType.java","src/main/java/com/azure/ai/agents/implementation/models/MoveParam.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentOutputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentRefusalContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentType.java","src/main/java/com/azure/ai/agents/implementation/models/ReasoningTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/ScreenshotParam.java","src/main/java/com/azure/ai/agents/implementation/models/ScrollParam.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SummaryTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/TopLogProb.java","src/main/java/com/azure/ai/agents/implementation/models/TypeParam.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UrlCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/VectorStoreFileAttributes.java","src/main/java/com/azure/ai/agents/implementation/models/WaitParam.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionFind.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionOpenPage.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearch.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearchSources.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"504427446e9a","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.Annotation":"OpenAI.Annotation","com.azure.ai.agents.implementation.models.AnnotationType":"OpenAI.AnnotationType","com.azure.ai.agents.implementation.models.ApplyPatchCallOutputStatusParam":"OpenAI.ApplyPatchCallOutputStatusParam","com.azure.ai.agents.implementation.models.ApplyPatchCallStatusParam":"OpenAI.ApplyPatchCallStatusParam","com.azure.ai.agents.implementation.models.ApplyPatchCreateFileOperationParam":"OpenAI.ApplyPatchCreateFileOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchDeleteFileOperationParam":"OpenAI.ApplyPatchDeleteFileOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchOperationParam":"OpenAI.ApplyPatchOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchOperationParamType":"OpenAI.ApplyPatchOperationParamType","com.azure.ai.agents.implementation.models.ApplyPatchUpdateFileOperationParam":"OpenAI.ApplyPatchUpdateFileOperationParam","com.azure.ai.agents.implementation.models.ClickButtonType":"OpenAI.ClickButtonType","com.azure.ai.agents.implementation.models.ClickParam":"OpenAI.ClickParam","com.azure.ai.agents.implementation.models.CodeInterpreterOutputImage":"OpenAI.CodeInterpreterOutputImage","com.azure.ai.agents.implementation.models.CodeInterpreterOutputLogs":"OpenAI.CodeInterpreterOutputLogs","com.azure.ai.agents.implementation.models.ComputerAction":"OpenAI.ComputerAction","com.azure.ai.agents.implementation.models.ComputerActionType":"OpenAI.ComputerActionType","com.azure.ai.agents.implementation.models.ComputerCallSafetyCheckParam":"OpenAI.ComputerCallSafetyCheckParam","com.azure.ai.agents.implementation.models.ComputerScreenshotImage":"OpenAI.ComputerScreenshotImage","com.azure.ai.agents.implementation.models.ContainerFileCitationBody":"OpenAI.ContainerFileCitationBody","com.azure.ai.agents.implementation.models.CoordParam":"OpenAI.CoordParam","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.DoubleClickAction":"OpenAI.DoubleClickAction","com.azure.ai.agents.implementation.models.DragParam":"OpenAI.DragParam","com.azure.ai.agents.implementation.models.EasyInputMessage":"OpenAI.EasyInputMessage","com.azure.ai.agents.implementation.models.EasyInputMessageRole":"OpenAI.EasyInputMessage.role.anonymous","com.azure.ai.agents.implementation.models.EasyInputMessageStatus":"OpenAI.EasyInputMessage.status.anonymous","com.azure.ai.agents.implementation.models.FileCitationBody":"OpenAI.FileCitationBody","com.azure.ai.agents.implementation.models.FilePath":"OpenAI.FilePath","com.azure.ai.agents.implementation.models.FileSearchToolCallResults":"OpenAI.FileSearchToolCallResults","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutput":"OpenAI.FunctionAndCustomToolCallOutput","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputFileContent":"OpenAI.FunctionAndCustomToolCallOutputInputFileContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputImageContent":"OpenAI.FunctionAndCustomToolCallOutputInputImageContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputTextContent":"OpenAI.FunctionAndCustomToolCallOutputInputTextContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputType":"OpenAI.FunctionAndCustomToolCallOutputType","com.azure.ai.agents.implementation.models.FunctionCallItemStatus":"OpenAI.FunctionCallItemStatus","com.azure.ai.agents.implementation.models.FunctionShellActionParam":"OpenAI.FunctionShellActionParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironment":"OpenAI.FunctionShellCallItemParamEnvironment","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentContainerReferenceParam":"OpenAI.FunctionShellCallItemParamEnvironmentContainerReferenceParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentLocalEnvironmentParam":"OpenAI.FunctionShellCallItemParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentType":"OpenAI.FunctionShellCallItemParamEnvironmentType","com.azure.ai.agents.implementation.models.FunctionShellCallItemStatus":"OpenAI.FunctionShellCallItemStatus","com.azure.ai.agents.implementation.models.FunctionShellCallOutputContentParam":"OpenAI.FunctionShellCallOutputContentParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputExitOutcomeParam":"OpenAI.FunctionShellCallOutputExitOutcomeParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputOutcomeParam":"OpenAI.FunctionShellCallOutputOutcomeParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputOutcomeParamType":"OpenAI.FunctionShellCallOutputOutcomeParamType","com.azure.ai.agents.implementation.models.FunctionShellCallOutputTimeoutOutcomeParam":"OpenAI.FunctionShellCallOutputTimeoutOutcomeParam","com.azure.ai.agents.implementation.models.ImageDetail":"OpenAI.ImageDetail","com.azure.ai.agents.implementation.models.ImageDetailLevel":"OpenAI.DetailEnum","com.azure.ai.agents.implementation.models.InputContent":"OpenAI.InputContent","com.azure.ai.agents.implementation.models.InputContentInputFileContent":"OpenAI.InputContentInputFileContent","com.azure.ai.agents.implementation.models.InputContentInputImageContent":"OpenAI.InputContentInputImageContent","com.azure.ai.agents.implementation.models.InputContentInputTextContent":"OpenAI.InputContentInputTextContent","com.azure.ai.agents.implementation.models.InputContentType":"OpenAI.InputContentType","com.azure.ai.agents.implementation.models.InputFileContentParam":"OpenAI.InputFileContentParam","com.azure.ai.agents.implementation.models.InputImageContentParamAutoParam":"OpenAI.InputImageContentParamAutoParam","com.azure.ai.agents.implementation.models.InputItem":"OpenAI.InputItem","com.azure.ai.agents.implementation.models.InputItemApplyPatchToolCallItemParam":"OpenAI.InputItemApplyPatchToolCallItemParam","com.azure.ai.agents.implementation.models.InputItemApplyPatchToolCallOutputItemParam":"OpenAI.InputItemApplyPatchToolCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemCodeInterpreterToolCall":"OpenAI.InputItemCodeInterpreterToolCall","com.azure.ai.agents.implementation.models.InputItemCodeInterpreterToolCallStatus":"OpenAI.InputItemCodeInterpreterToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemCompactionSummaryItemParam":"OpenAI.InputItemCompactionSummaryItemParam","com.azure.ai.agents.implementation.models.InputItemComputerCallOutputItemParam":"OpenAI.InputItemComputerCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemComputerToolCall":"OpenAI.InputItemComputerToolCall","com.azure.ai.agents.implementation.models.InputItemComputerToolCallStatus":"OpenAI.InputItemComputerToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemCustomToolCall":"OpenAI.InputItemCustomToolCall","com.azure.ai.agents.implementation.models.InputItemCustomToolCallOutput":"OpenAI.InputItemCustomToolCallOutput","com.azure.ai.agents.implementation.models.InputItemFileSearchToolCall":"OpenAI.InputItemFileSearchToolCall","com.azure.ai.agents.implementation.models.InputItemFileSearchToolCallStatus":"OpenAI.InputItemFileSearchToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemFunctionCallOutputItemParam":"OpenAI.InputItemFunctionCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionShellCallItemParam":"OpenAI.InputItemFunctionShellCallItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionShellCallOutputItemParam":"OpenAI.InputItemFunctionShellCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionToolCall":"OpenAI.InputItemFunctionToolCall","com.azure.ai.agents.implementation.models.InputItemFunctionToolCallStatus":"OpenAI.InputItemFunctionToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemImageGenToolCall":"OpenAI.InputItemImageGenToolCall","com.azure.ai.agents.implementation.models.InputItemImageGenToolCallStatus":"OpenAI.InputItemImageGenToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCall":"OpenAI.InputItemLocalShellToolCall","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallOutput":"OpenAI.InputItemLocalShellToolCallOutput","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallOutputStatus":"OpenAI.InputItemLocalShellToolCallOutput.status.anonymous","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallStatus":"OpenAI.InputItemLocalShellToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemMcpApprovalRequest":"OpenAI.InputItemMcpApprovalRequest","com.azure.ai.agents.implementation.models.InputItemMcpApprovalResponse":"OpenAI.InputItemMcpApprovalResponse","com.azure.ai.agents.implementation.models.InputItemMcpListTools":"OpenAI.InputItemMcpListTools","com.azure.ai.agents.implementation.models.InputItemMcpToolCall":"OpenAI.InputItemMcpToolCall","com.azure.ai.agents.implementation.models.InputItemOutputMessage":"OpenAI.InputItemOutputMessage","com.azure.ai.agents.implementation.models.InputItemOutputMessageStatus":"OpenAI.InputItemOutputMessage.status.anonymous","com.azure.ai.agents.implementation.models.InputItemReasoningItem":"OpenAI.InputItemReasoningItem","com.azure.ai.agents.implementation.models.InputItemReasoningItemStatus":"OpenAI.InputItemReasoningItem.status.anonymous","com.azure.ai.agents.implementation.models.InputItemType":"OpenAI.InputItemType","com.azure.ai.agents.implementation.models.InputItemWebSearchToolCall":"OpenAI.InputItemWebSearchToolCall","com.azure.ai.agents.implementation.models.InputItemWebSearchToolCallStatus":"OpenAI.InputItemWebSearchToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputTextContentParam":"OpenAI.InputTextContentParam","com.azure.ai.agents.implementation.models.ItemReferenceParam":"OpenAI.ItemReferenceParam","com.azure.ai.agents.implementation.models.KeyPressAction":"OpenAI.KeyPressAction","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.LocalShellExecAction":"OpenAI.LocalShellExecAction","com.azure.ai.agents.implementation.models.LogProb":"OpenAI.LogProb","com.azure.ai.agents.implementation.models.McpListToolsTool":"OpenAI.MCPListToolsTool","com.azure.ai.agents.implementation.models.McpListToolsToolAnnotations":"OpenAI.MCPListToolsToolAnnotations","com.azure.ai.agents.implementation.models.McpListToolsToolInputSchema":"OpenAI.MCPListToolsToolInputSchema","com.azure.ai.agents.implementation.models.McpToolCallStatus":"OpenAI.MCPToolCallStatus","com.azure.ai.agents.implementation.models.MessageContent":"OpenAI.MessageContent","com.azure.ai.agents.implementation.models.MessageContentType":"OpenAI.MessageContentType","com.azure.ai.agents.implementation.models.MoveParam":"OpenAI.MoveParam","com.azure.ai.agents.implementation.models.OutputMessageContent":"OpenAI.OutputMessageContent","com.azure.ai.agents.implementation.models.OutputMessageContentOutputTextContent":"OpenAI.OutputMessageContentOutputTextContent","com.azure.ai.agents.implementation.models.OutputMessageContentRefusalContent":"OpenAI.OutputMessageContentRefusalContent","com.azure.ai.agents.implementation.models.OutputMessageContentType":"OpenAI.OutputMessageContentType","com.azure.ai.agents.implementation.models.ReasoningTextContent":"OpenAI.ReasoningTextContent","com.azure.ai.agents.implementation.models.ScreenshotParam":"OpenAI.ScreenshotParam","com.azure.ai.agents.implementation.models.ScrollParam":"OpenAI.ScrollParam","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SummaryTextContent":"OpenAI.SummaryTextContent","com.azure.ai.agents.implementation.models.TopLogProb":"OpenAI.TopLogProb","com.azure.ai.agents.implementation.models.TypeParam":"OpenAI.TypeParam","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.implementation.models.UrlCitationBody":"OpenAI.UrlCitationBody","com.azure.ai.agents.implementation.models.VectorStoreFileAttributes":"OpenAI.VectorStoreFileAttributes","com.azure.ai.agents.implementation.models.WaitParam":"OpenAI.WaitParam","com.azure.ai.agents.implementation.models.WebSearchActionFind":"OpenAI.WebSearchActionFind","com.azure.ai.agents.implementation.models.WebSearchActionOpenPage":"OpenAI.WebSearchActionOpenPage","com.azure.ai.agents.implementation.models.WebSearchActionSearch":"OpenAI.WebSearchActionSearch","com.azure.ai.agents.implementation.models.WebSearchActionSearchSources":"OpenAI.WebSearchActionSearchSources","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetItem":"Azure.AI.Projects.DatasetItem","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvalRunOutputItemResult":"Azure.AI.Projects.EvalRunOutputItemResult","com.azure.ai.agents.models.EvalRunOutputItemResultStatus":"Azure.AI.Projects.EvalRunOutputItemResultStatus","com.azure.ai.agents.models.EvaluationCriterion":"Azure.AI.Projects.EvaluationCriterion","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationAgentSkill":"Azure.AI.Projects.OptimizationAgentSkill","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationMode":"Azure.AI.Projects.OptimizationMode","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationStrategy":"Azure.AI.Projects.OptimizationStrategy","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/Annotation.java","src/main/java/com/azure/ai/agents/implementation/models/AnnotationType.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallOutputStatusParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallStatusParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCreateFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchDeleteFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParamType.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchUpdateFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ClickButtonType.java","src/main/java/com/azure/ai/agents/implementation/models/ClickParam.java","src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputImage.java","src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputLogs.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerAction.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerActionType.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerCallSafetyCheckParam.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerScreenshotImage.java","src/main/java/com/azure/ai/agents/implementation/models/ContainerFileCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/CoordParam.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/DoubleClickAction.java","src/main/java/com/azure/ai/agents/implementation/models/DragParam.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessage.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageRole.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FileCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/FilePath.java","src/main/java/com/azure/ai/agents/implementation/models/FileSearchToolCallResults.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputFileContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputImageContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionCallItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellActionParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironment.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentContainerReferenceParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentLocalEnvironmentParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputExitOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParamType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputTimeoutOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/ImageDetail.java","src/main/java/com/azure/ai/agents/implementation/models/ImageDetailLevel.java","src/main/java/com/azure/ai/agents/implementation/models/InputContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputFileContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputImageContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentType.java","src/main/java/com/azure/ai/agents/implementation/models/InputFileContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputImageContentParamAutoParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItem.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCompactionSummaryItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutputStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalRequest.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalResponse.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpListTools.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessage.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessageStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItem.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemType.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputTextContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/ItemReferenceParam.java","src/main/java/com/azure/ai/agents/implementation/models/KeyPressAction.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/LocalShellExecAction.java","src/main/java/com/azure/ai/agents/implementation/models/LogProb.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsTool.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolAnnotations.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolInputSchema.java","src/main/java/com/azure/ai/agents/implementation/models/McpToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/MessageContent.java","src/main/java/com/azure/ai/agents/implementation/models/MessageContentType.java","src/main/java/com/azure/ai/agents/implementation/models/MoveParam.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentOutputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentRefusalContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentType.java","src/main/java/com/azure/ai/agents/implementation/models/ReasoningTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/ScreenshotParam.java","src/main/java/com/azure/ai/agents/implementation/models/ScrollParam.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SummaryTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/TopLogProb.java","src/main/java/com/azure/ai/agents/implementation/models/TypeParam.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UrlCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/VectorStoreFileAttributes.java","src/main/java/com/azure/ai/agents/implementation/models/WaitParam.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionFind.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionOpenPage.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearch.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearchSources.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetItem.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResult.java","src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResultStatus.java","src/main/java/com/azure/ai/agents/models/EvaluationCriterion.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentSkill.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationMode.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationStrategy.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/DatasetItemSerializationTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/DatasetItemSerializationTests.java new file mode 100644 index 000000000000..42643d330e76 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/DatasetItemSerializationTests.java @@ -0,0 +1,318 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.models; + +import com.azure.core.util.BinaryData; +import com.azure.json.JsonProviders; +import com.azure.json.JsonReader; +import com.azure.json.JsonWriter; +import com.openai.models.responses.ResponseOutputItem; +import org.junit.jupiter.api.Test; + +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.util.Arrays; +import java.util.List; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertNull; +import static org.junit.jupiter.api.Assertions.assertTrue; + +/** + * Tests for DatasetItem serialization, focusing on the responseItems union type handling. + * responseItems is a List of OutputItem (discriminated union represented as BinaryData elements). + * Supports both standard OpenAI ResponseOutputItem types and Azure-specific tool call types. + */ +public class DatasetItemSerializationTests { + + // ===== Serialization tests ===== + + /** + * Tests serialization when responseItems is not set (null). + */ + @Test + public void testSerializationWithoutResponseItems() throws IOException { + DatasetItem item = new DatasetItem("task1", "What is Azure?"); + + String json = serializeToJson(item); + + assertNotNull(json); + assertTrue(json.contains("\"name\":\"task1\"")); + assertTrue(json.contains("\"query\":\"What is Azure?\"")); + assertFalse(json.contains("\"response_items\"")); + } + + /** + * Tests serialization with responseItems set via BinaryData using Azure tool call types (JsonSerializable). + */ + @Test + public void testSerializationWithAzureToolCallModel() throws IOException { + BingGroundingToolCall bingCall + = new BingGroundingToolCall("call_bing_001", "{\"query\":\"Azure services\"}", ToolCallStatus.COMPLETED); + + DatasetItem item = new DatasetItem("task1", "What is Azure?") + .setResponseItems(Arrays.asList(BinaryData.fromObject(bingCall))); + + String json = serializeToJson(item); + + assertNotNull(json); + assertTrue(json.contains("\"response_items\"")); + assertTrue(json.contains("\"type\":\"bing_grounding_call\"")); + assertTrue(json.contains("\"call_id\":\"call_bing_001\"")); + assertTrue(json.contains("\"status\":\"completed\"")); + } + + /** + * Tests serialization with multiple Azure tool call types. + */ + @Test + public void testSerializationWithMultipleAzureToolCallTypes() throws IOException { + BingGroundingToolCall bingCall + = new BingGroundingToolCall("call_bing_001", "{\"query\":\"test\"}", ToolCallStatus.COMPLETED); + AzureAISearchToolCall searchCall + = new AzureAISearchToolCall("call_search_001", "{\"query\":\"find\"}", ToolCallStatus.COMPLETED); + + DatasetItem item = new DatasetItem("task1", "test query") + .setResponseItems(Arrays.asList(BinaryData.fromObject(bingCall), BinaryData.fromObject(searchCall))); + + String json = serializeToJson(item); + + assertNotNull(json); + assertTrue(json.contains("\"type\":\"bing_grounding_call\"")); + assertTrue(json.contains("\"type\":\"azure_ai_search_call\"")); + } + + /** + * Tests serialization with SharepointGroundingToolCall. + */ + @Test + public void testSerializationWithSharepointToolCall() throws IOException { + SharepointGroundingToolCall spCall + = new SharepointGroundingToolCall("call_sp_001", "{}", ToolCallStatus.IN_PROGRESS); + + DatasetItem item = new DatasetItem("task1", "sharepoint query") + .setResponseItems(Arrays.asList(BinaryData.fromObject(spCall))); + + String json = serializeToJson(item); + + assertNotNull(json); + assertTrue(json.contains("\"type\":\"sharepoint_grounding_preview_call\"")); + assertTrue(json.contains("\"status\":\"in_progress\"")); + } + + // ===== Deserialization tests ===== + + /** + * Tests deserialization when responseItems is absent from JSON. + */ + @Test + public void testDeserializationWithoutResponseItems() throws IOException { + String json = "{\"name\":\"task1\",\"query\":\"What is Azure?\"}"; + + DatasetItem item = deserializeFromJson(json); + + assertNotNull(item); + assertEquals("task1", item.getName()); + assertEquals("What is Azure?", item.getQuery()); + assertNull(item.getResponseItemsAsResponseOutputItems()); + assertNull(item.getResponseItems()); + } + + /** + * Tests deserialization of responseItems containing a message output item (OpenAI type). + */ + @Test + public void testDeserializationWithMessageOutputItem() throws IOException { + String json = "{\"name\":\"task1\",\"query\":\"What is Azure?\"," + + "\"response_items\":[{\"type\":\"message\",\"id\":\"msg_001\"," + "\"status\":\"completed\"," + + "\"content\":[{\"type\":\"output_text\",\"text\":\"Azure is a cloud platform.\",\"annotations\":[]}]}]}"; + + DatasetItem item = deserializeFromJson(json); + + assertNotNull(item); + List responseItems = item.getResponseItemsAsResponseOutputItems(); + assertNotNull(responseItems); + assertEquals(1, responseItems.size()); + assertTrue(responseItems.get(0).isMessage()); + assertEquals("Azure is a cloud platform.", + responseItems.get(0).asMessage().content().get(0).asOutputText().text()); + } + + /** + * Tests deserialization of responseItems containing a function call output item. + */ + @Test + public void testDeserializationWithFunctionCallOutputItem() throws IOException { + String json = "{\"name\":\"task2\",\"query\":\"Get weather\"," + + "\"response_items\":[{\"type\":\"function_call\",\"id\":\"fc_001\"," + "\"call_id\":\"call_abc\"," + + "\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Seattle\\\"}\"," + + "\"status\":\"completed\"}]}"; + + DatasetItem item = deserializeFromJson(json); + + assertNotNull(item); + List responseItems = item.getResponseItemsAsResponseOutputItems(); + assertNotNull(responseItems); + assertEquals(1, responseItems.size()); + assertTrue(responseItems.get(0).isFunctionCall()); + assertEquals("get_weather", responseItems.get(0).asFunctionCall().name()); + } + + /** + * Tests deserialization of responseItems containing an Azure-specific tool call type. + * These can be accessed via getResponseItems() as BinaryData. + */ + @Test + public void testDeserializationWithAzureToolCallType() throws IOException { + String json = "{\"name\":\"task3\",\"query\":\"Search Azure\"," + + "\"response_items\":[{\"type\":\"bing_grounding_call\"," + "\"call_id\":\"call_bing_001\"," + + "\"arguments\":\"{\\\"query\\\":\\\"Azure\\\"}\"," + "\"status\":\"completed\"}]}"; + + DatasetItem item = deserializeFromJson(json); + + assertNotNull(item); + List responseItems = item.getResponseItems(); + assertNotNull(responseItems); + assertEquals(1, responseItems.size()); + + // Deserialize the BinaryData to the generated Azure model class + BingGroundingToolCall bingCall = responseItems.get(0).toObject(BingGroundingToolCall.class); + assertEquals("call_bing_001", bingCall.getCallId()); + assertEquals(ToolCallStatus.COMPLETED, bingCall.getStatus()); + } + + // ===== Null tests ===== + + /** + * Tests that setting responseItems to null via typed setter results in null getter. + */ + @Test + public void testSetResponseOutputItemsNull() { + DatasetItem item = new DatasetItem("task1", "query"); + item.setResponseOutputItems(null); + + assertNull(item.getResponseItemsAsResponseOutputItems()); + assertNull(item.getResponseItems()); + } + + /** + * Tests that setting responseItems to null via BinaryData setter results in null getter. + */ + @Test + public void testSetResponseItemsBinaryDataNull() { + DatasetItem item = new DatasetItem("task1", "query"); + item.setResponseItems((List) null); + + assertNull(item.getResponseItems()); + assertNull(item.getResponseItemsAsResponseOutputItems()); + } + + /** + * Tests that getters return null when responseItems is not set. + */ + @Test + public void testGettersReturnNullWhenNotSet() { + DatasetItem item = new DatasetItem("task1", "query"); + + assertNull(item.getResponseItems()); + assertNull(item.getResponseItemsAsResponseOutputItems()); + } + + // ===== Round-trip tests ===== + + /** + * Tests round-trip with Azure tool call model (BingGroundingToolCall). + */ + @Test + public void testRoundTripWithAzureToolCallModel() throws IOException { + BingGroundingToolCall bingCall + = new BingGroundingToolCall("call_bing_001", "{\"query\":\"test\"}", ToolCallStatus.COMPLETED); + + DatasetItem original = new DatasetItem("task_rt", "Round trip query").setGroundTruth("expected answer") + .setResponseItems(Arrays.asList(BinaryData.fromObject(bingCall))); + + String json = serializeToJson(original); + DatasetItem deserialized = deserializeFromJson(json); + + assertEquals("task_rt", deserialized.getName()); + assertEquals("Round trip query", deserialized.getQuery()); + assertEquals("expected answer", deserialized.getGroundTruth()); + + List items = deserialized.getResponseItems(); + assertNotNull(items); + assertEquals(1, items.size()); + + BingGroundingToolCall roundTrippedCall = items.get(0).toObject(BingGroundingToolCall.class); + assertEquals("call_bing_001", roundTrippedCall.getCallId()); + assertEquals(ToolCallStatus.COMPLETED, roundTrippedCall.getStatus()); + } + + /** + * Tests round-trip with multiple response items including OpenAI types. + */ + @Test + public void testRoundTripWithMultipleItems() throws IOException { + String json = "{\"name\":\"multi\",\"query\":\"test\"," + "\"response_items\":[" + + "{\"type\":\"function_call\",\"id\":\"fc_1\",\"call_id\":\"call_1\"," + + "\"name\":\"search\",\"arguments\":\"{}\",\"status\":\"completed\"}," + + "{\"type\":\"message\",\"id\":\"msg_1\",\"status\":\"completed\"," + + "\"content\":[{\"type\":\"output_text\",\"text\":\"result\",\"annotations\":[]}]}" + "]}"; + + DatasetItem item = deserializeFromJson(json); + String reserialized = serializeToJson(item); + DatasetItem roundTripped = deserializeFromJson(reserialized); + + List items = roundTripped.getResponseItemsAsResponseOutputItems(); + assertNotNull(items); + assertEquals(2, items.size()); + assertTrue(items.get(0).isFunctionCall()); + assertTrue(items.get(1).isMessage()); + } + + /** + * Tests round-trip with mixed Azure and OpenAI items. + */ + @Test + public void testRoundTripWithMixedAzureAndOpenAIItems() throws IOException { + String json = "{\"name\":\"mixed\",\"query\":\"test\"," + "\"response_items\":[" + + "{\"type\":\"bing_grounding_call\",\"call_id\":\"call_bing\"," + + "\"arguments\":\"{}\",\"status\":\"completed\"}," + + "{\"type\":\"message\",\"id\":\"msg_1\",\"status\":\"completed\"," + + "\"content\":[{\"type\":\"output_text\",\"text\":\"hello\",\"annotations\":[]}]}" + "]}"; + + DatasetItem item = deserializeFromJson(json); + String reserialized = serializeToJson(item); + DatasetItem roundTripped = deserializeFromJson(reserialized); + + List items = roundTripped.getResponseItems(); + assertNotNull(items); + assertEquals(2, items.size()); + + // First item is Azure-specific tool call + BingGroundingToolCall bingCall = items.get(0).toObject(BingGroundingToolCall.class); + assertEquals("call_bing", bingCall.getCallId()); + + // Second item is an OpenAI message + List outputItems = roundTripped.getResponseItemsAsResponseOutputItems(); + assertTrue(outputItems.get(1).isMessage()); + } + + // Helper method to serialize to JSON string + private String serializeToJson(DatasetItem item) throws IOException { + ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); + try (JsonWriter jsonWriter = JsonProviders.createWriter(outputStream)) { + item.toJson(jsonWriter); + } + return outputStream.toString("UTF-8"); + } + + // Helper method to deserialize from JSON string + private DatasetItem deserializeFromJson(String json) throws IOException { + try (JsonReader jsonReader = JsonProviders.createReader(json)) { + return DatasetItem.fromJson(jsonReader); + } + } +} diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index bce17ba503d8..a17626468693 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: f36afb8972025ddf47c119c91cda5a9c686126e9 +commit: bd618202ac42e97bcb3fdb7da09a47d9fa391d54 repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents @@ -7,7 +7,10 @@ additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/memory-stores - specification/ai-foundry/data-plane/Foundry/src/openai-conversations - specification/ai-foundry/data-plane/Foundry/src/openai-responses + - specification/ai-foundry/data-plane/Foundry/src/openai-evaluations - specification/ai-foundry/data-plane/Foundry/src/tools - specification/ai-foundry/data-plane/Foundry/src/servicepatterns.tsp - specification/ai-foundry/data-plane/Foundry/src/toolboxes - specification/ai-foundry/data-plane/Foundry/src/agents-session-files + - specification/ai-foundry/data-plane/Foundry/src/agents-optimization + - specification/ai-foundry/data-plane/Foundry/src/red-teams From 4b95ebc8a330aa552000520a6ab8556295492cfc Mon Sep 17 00:00:00 2001 From: kaylieee Date: Thu, 21 May 2026 11:36:01 -0700 Subject: [PATCH 22/74] update sessionlog tests --- .../test/java/com/azure/ai/agents/SessionLogAsyncTest.java | 6 ++---- .../test/java/com/azure/ai/agents/SessionLogSyncTest.java | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java index 4dee38097879..e22f107f6caf 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java @@ -29,7 +29,6 @@ public class SessionLogAsyncTest extends ClientTestBase { private static final String AGENT_NAME = "MySessionHostedAgent3"; private static final String AGENT_VERSION = "16"; - private static final String ISOLATION_KEY = "sse-validation"; private static final String SESSION_ID = "sse-validation-record-async"; @RecordWithoutRequestBody @@ -42,7 +41,7 @@ public void validatesSessionLogStream(HttpClient httpClient, AgentsServiceVersio deleteSession(client); AgentSessionResource session = client - .createSessionWithResponse(AGENT_NAME, ISOLATION_KEY, + .createSessionWithResponse(AGENT_NAME, BinaryData.fromObject(new com.azure.ai.agents.implementation.models.CreateSessionRequest( new VersionRefIndicator(AGENT_VERSION)).setAgentSessionId(SESSION_ID)), featureOptions) @@ -78,8 +77,7 @@ private static void deleteSession(AgentsAsyncClient client) { } private static Mono deleteSessionAsync(AgentsAsyncClient client) { - return client - .deleteSession(AGENT_NAME, SESSION_ID, ISOLATION_KEY, AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW) + return client.deleteSession(AGENT_NAME, SESSION_ID, AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW) .onErrorResume(error -> Mono.empty()); } diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java index 634421d5ec39..ed98aa1c101b 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java @@ -34,7 +34,6 @@ public class SessionLogSyncTest extends ClientTestBase { private static final String AGENT_NAME = "MySessionHostedAgent3"; private static final String AGENT_VERSION = "16"; - private static final String ISOLATION_KEY = "sse-validation"; private static final String SESSION_ID = "sse-validation-record-sync"; @RecordWithoutRequestBody @@ -47,7 +46,7 @@ public void validatesSessionLogStream(HttpClient httpClient, AgentsServiceVersio deleteSession(client); AgentSessionResource session = client - .createSessionWithResponse(AGENT_NAME, ISOLATION_KEY, + .createSessionWithResponse(AGENT_NAME, BinaryData.fromObject(new com.azure.ai.agents.implementation.models.CreateSessionRequest( new VersionRefIndicator(AGENT_VERSION)).setAgentSessionId(SESSION_ID)), featureOptions) @@ -88,8 +87,7 @@ private ScheduledFuture scheduleSessionDelete(AgentsClient client, ScheduledE private static void deleteSession(AgentsClient client) { try { - client.deleteSession(AGENT_NAME, SESSION_ID, ISOLATION_KEY, - AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW); + client.deleteSession(AGENT_NAME, SESSION_ID, AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW); } catch (RuntimeException ignored) { // Cleanup best effort. } From 2208496064a6c8e057ff4c37d76a0a228feb64ee Mon Sep 17 00:00:00 2001 From: kaylieee Date: Thu, 21 May 2026 11:37:13 -0700 Subject: [PATCH 23/74] revert version to beta.2 --- sdk/ai/azure-ai-agents/CHANGELOG.md | 2 +- sdk/ai/azure-ai-agents/README.md | 2 +- sdk/ai/azure-ai-agents/pom.xml | 2 +- sdk/ai/azure-ai-projects/CHANGELOG.md | 2 +- sdk/ai/azure-ai-projects/README.md | 2 +- sdk/ai/azure-ai-projects/pom.xml | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sdk/ai/azure-ai-agents/CHANGELOG.md b/sdk/ai/azure-ai-agents/CHANGELOG.md index 9768a79b7bad..6a3c9a299b51 100644 --- a/sdk/ai/azure-ai-agents/CHANGELOG.md +++ b/sdk/ai/azure-ai-agents/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.1.0 (Unreleased) +## 2.1.0-beta.2 (Unreleased) ### Features Added diff --git a/sdk/ai/azure-ai-agents/README.md b/sdk/ai/azure-ai-agents/README.md index 5224cc181536..911837ba0645 100644 --- a/sdk/ai/azure-ai-agents/README.md +++ b/sdk/ai/azure-ai-agents/README.md @@ -25,7 +25,7 @@ Various documentation is available to help you get started com.azure azure-ai-agents - 2.1.0 + 2.1.0-beta.2 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/ai/azure-ai-agents/pom.xml b/sdk/ai/azure-ai-agents/pom.xml index 20334354d0bd..2bd5bc6b788d 100644 --- a/sdk/ai/azure-ai-agents/pom.xml +++ b/sdk/ai/azure-ai-agents/pom.xml @@ -14,7 +14,7 @@ com.azure azure-ai-agents - 2.1.0 + 2.1.0-beta.2 jar Microsoft Azure SDK for Agents diff --git a/sdk/ai/azure-ai-projects/CHANGELOG.md b/sdk/ai/azure-ai-projects/CHANGELOG.md index db689bfb3570..538c93642766 100644 --- a/sdk/ai/azure-ai-projects/CHANGELOG.md +++ b/sdk/ai/azure-ai-projects/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.1.0 (Unreleased) +## 2.1.0-beta.2 (Unreleased) ### Features Added diff --git a/sdk/ai/azure-ai-projects/README.md b/sdk/ai/azure-ai-projects/README.md index 23c8eba7cc44..d23f9e7e4fdb 100644 --- a/sdk/ai/azure-ai-projects/README.md +++ b/sdk/ai/azure-ai-projects/README.md @@ -31,7 +31,7 @@ Various documentation is available to help you get started com.azure azure-ai-projects - 2.1.0 + 2.1.0-beta.2 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/ai/azure-ai-projects/pom.xml b/sdk/ai/azure-ai-projects/pom.xml index 3bbbb37924be..742eb83f9ba9 100644 --- a/sdk/ai/azure-ai-projects/pom.xml +++ b/sdk/ai/azure-ai-projects/pom.xml @@ -14,7 +14,7 @@ Code generated by Microsoft (R) TypeSpec Code Generator. com.azure azure-ai-projects - 2.1.0 + 2.1.0-beta.2 jar Microsoft Azure SDK for Projects @@ -72,7 +72,7 @@ Code generated by Microsoft (R) TypeSpec Code Generator. com.azure azure-ai-agents - 2.1.0 + 2.1.0-beta.2 com.openai From 6d2da661cfb0609284d962b5fbd661523c5ccb3a Mon Sep 17 00:00:00 2001 From: kaylieee Date: Thu, 21 May 2026 11:37:43 -0700 Subject: [PATCH 24/74] update version client txt --- eng/versioning/version_client.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index c53271f8ba52..ea081fcae98e 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -37,7 +37,7 @@ com.azure:azure-data-sdk-parent;1.3.0;1.3.0 com.azure:azure-sdk-parent;1.6.0;1.6.0 com.azure:azure-client-sdk-parent;1.7.0;1.7.0 com.azure:azure-ai-agents-persistent;1.0.0-beta.2;1.0.0-beta.3 -com.azure:azure-ai-agents;2.0.1;2.1.0 +com.azure:azure-ai-agents;2.0.1;2.1.0-beta.2 com.azure:azure-ai-anomalydetector;3.0.0-beta.5;3.0.0-beta.6 com.azure:azure-ai-contentsafety;1.0.18;1.1.0-beta.1 com.azure:azure-ai-contentunderstanding;1.0.0;1.1.0-beta.2 @@ -53,7 +53,7 @@ com.azure:azure-ai-openai-assistants;1.0.0-beta.5;1.0.0-beta.6 com.azure:azure-ai-openai-realtime;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-ai-openai-stainless;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-ai-personalizer;1.0.0-beta.1;1.0.0-beta.2 -com.azure:azure-ai-projects;2.0.1;2.1.0 +com.azure:azure-ai-projects;2.0.1;2.1.0-beta.2 com.azure:azure-ai-speech-transcription;1.0.0;1.1.0-beta.1 com.azure:azure-ai-textanalytics;5.5.13;5.6.0-beta.1 com.azure:azure-ai-textanalytics-perf;1.0.0-beta.1;1.0.0-beta.1 From 9b12e53bbfd0fac873b2c2d0106e0e786e67f3a3 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Fri, 22 May 2026 01:17:40 -0700 Subject: [PATCH 25/74] suppress inputitem classes, add binarydata helpers --- .../azure/ai/agents/AgentsAsyncClient.java | 1 - .../com/azure/ai/agents/AgentsClient.java | 1 - .../ai/agents/MemoryStoresAsyncClient.java | 17 +- .../azure/ai/agents/MemoryStoresClient.java | 17 +- .../implementation/MemoryStoresImpl.java | 32 +- .../implementation/OpenAIJsonHelper.java | 15 + .../implementation/models/Annotation.java | 111 ------ .../implementation/models/AnnotationType.java | 69 ---- .../ApplyPatchCallOutputStatusParam.java | 58 ---- .../models/ApplyPatchCallStatusParam.java | 58 ---- .../ApplyPatchCreateFileOperationParam.java | 129 ------- .../ApplyPatchDeleteFileOperationParam.java | 107 ------ .../models/ApplyPatchOperationParam.java | 112 ------- .../models/ApplyPatchOperationParamType.java | 63 ---- .../ApplyPatchUpdateFileOperationParam.java | 129 ------- .../models/ClickButtonType.java | 71 ---- .../implementation/models/ClickParam.java | 151 --------- .../models/CodeInterpreterOutputImage.java | 101 ------ .../models/CodeInterpreterOutputLogs.java | 101 ------ .../implementation/models/ComputerAction.java | 121 ------- .../models/ComputerActionType.java | 99 ------ .../models/ComputerCallSafetyCheckParam.java | 150 --------- .../models/ComputerScreenshotImage.java | 141 -------- .../models/ContainerFileCitationBody.java | 196 ----------- .../implementation/models/CoordParam.java | 106 ------ .../models/DoubleClickAction.java | 128 ------- .../implementation/models/DragParam.java | 121 ------- .../models/EasyInputMessage.java | 174 ---------- .../models/EasyInputMessageRole.java | 66 ---- .../models/EasyInputMessageStatus.java | 61 ---- .../models/FileCitationBody.java | 150 --------- .../implementation/models/FilePath.java | 128 ------- .../models/FileSearchToolCallResults.java | 214 ------------ .../FunctionAndCustomToolCallOutput.java | 112 ------- ...dCustomToolCallOutputInputFileContent.java | 206 ------------ ...CustomToolCallOutputInputImageContent.java | 174 ---------- ...dCustomToolCallOutputInputTextContent.java | 107 ------ .../FunctionAndCustomToolCallOutputType.java | 64 ---- .../models/FunctionCallItemStatus.java | 61 ---- .../models/FunctionShellActionParam.java | 152 --------- ...FunctionShellCallItemParamEnvironment.java | 110 ------ ...ramEnvironmentContainerReferenceParam.java | 110 ------ ...ParamEnvironmentLocalEnvironmentParam.java | 118 ------- ...tionShellCallItemParamEnvironmentType.java | 59 ---- .../models/FunctionShellCallItemStatus.java | 63 ---- .../FunctionShellCallOutputContentParam.java | 130 ------- ...nctionShellCallOutputExitOutcomeParam.java | 107 ------ .../FunctionShellCallOutputOutcomeParam.java | 112 ------- ...nctionShellCallOutputOutcomeParamType.java | 58 ---- ...ionShellCallOutputTimeoutOutcomeParam.java | 82 ----- .../implementation/models/ImageDetail.java | 61 ---- .../models/ImageDetailLevel.java | 61 ---- .../implementation/models/InputContent.java | 109 ------ .../models/InputContentInputFileContent.java | 204 ----------- .../models/InputContentInputImageContent.java | 174 ---------- .../models/InputContentInputTextContent.java | 107 ------ .../models/InputContentType.java | 63 ---- .../models/InputFileContentParam.java | 203 ----------- .../InputImageContentParamAutoParam.java | 174 ---------- .../implementation/models/InputItem.java | 155 --------- .../InputItemApplyPatchToolCallItemParam.java | 185 ---------- ...ItemApplyPatchToolCallOutputItemParam.java | 195 ----------- .../InputItemCodeInterpreterToolCall.java | 207 ------------ ...nputItemCodeInterpreterToolCallStatus.java | 71 ---- .../InputItemCompactionSummaryItemParam.java | 140 -------- .../InputItemComputerCallOutputItemParam.java | 233 ------------- .../models/InputItemComputerToolCall.java | 203 ----------- .../InputItemComputerToolCallStatus.java | 61 ---- .../models/InputItemCustomToolCall.java | 184 ---------- .../models/InputItemCustomToolCallOutput.java | 166 --------- .../models/InputItemFileSearchToolCall.java | 189 ----------- .../InputItemFileSearchToolCallStatus.java | 71 ---- .../InputItemFunctionCallOutputItemParam.java | 197 ----------- .../InputItemFunctionShellCallItemParam.java | 228 ------------- ...tItemFunctionShellCallOutputItemParam.java | 229 ------------- .../models/InputItemFunctionToolCall.java | 221 ------------ .../InputItemFunctionToolCallStatus.java | 61 ---- .../models/InputItemImageGenToolCall.java | 151 --------- .../InputItemImageGenToolCallStatus.java | 66 ---- .../models/InputItemLocalShellToolCall.java | 175 ---------- .../InputItemLocalShellToolCallOutput.java | 162 --------- ...putItemLocalShellToolCallOutputStatus.java | 61 ---- .../InputItemLocalShellToolCallStatus.java | 61 ---- .../models/InputItemMcpApprovalRequest.java | 173 ---------- .../models/InputItemMcpApprovalResponse.java | 195 ----------- .../models/InputItemMcpListTools.java | 185 ---------- .../models/InputItemMcpToolCall.java | 317 ------------------ .../models/InputItemOutputMessage.java | 171 ---------- .../models/InputItemOutputMessageStatus.java | 61 ---- .../models/InputItemReasoningItem.java | 236 ------------- .../models/InputItemReasoningItemStatus.java | 61 ---- .../implementation/models/InputItemType.java | 195 ----------- .../models/InputItemWebSearchToolCall.java | 156 --------- .../InputItemWebSearchToolCallStatus.java | 66 ---- .../models/InputTextContentParam.java | 101 ------ .../models/ItemReferenceParam.java | 106 ------ .../implementation/models/KeyPressAction.java | 109 ------ .../models/LocalShellExecAction.java | 225 ------------- .../agents/implementation/models/LogProb.java | 151 --------- .../models/McpListToolsTool.java | 173 ---------- .../models/McpListToolsToolAnnotations.java | 57 ---- .../models/McpListToolsToolInputSchema.java | 57 ---- .../models/McpToolCallStatus.java | 71 ---- .../implementation/models/MessageContent.java | 105 ------ .../models/MessageContentType.java | 99 ------ .../implementation/models/MoveParam.java | 128 ------- .../models/OutputMessageContent.java | 107 ------ ...OutputMessageContentOutputTextContent.java | 152 --------- .../OutputMessageContentRefusalContent.java | 107 ------ .../models/OutputMessageContentType.java | 57 ---- .../models/ReasoningTextContent.java | 101 ------ .../models/ScreenshotParam.java | 80 ----- .../implementation/models/ScrollParam.java | 172 ---------- .../models/SearchMemoriesRequest.java | 20 +- .../models/SummaryTextContent.java | 106 ------ .../implementation/models/TopLogProb.java | 129 ------- .../implementation/models/TypeParam.java | 106 ------ .../models/UpdateMemoriesRequest.java | 20 +- .../models/UrlCitationBody.java | 172 ---------- .../models/VectorStoreFileAttributes.java | 120 ------- .../implementation/models/WaitParam.java | 80 ----- .../models/WebSearchActionFind.java | 123 ------- .../models/WebSearchActionOpenPage.java | 110 ------ .../models/WebSearchActionSearch.java | 181 ---------- .../models/WebSearchActionSearchSources.java | 99 ------ .../azure/ai/agents/models/DatasetItem.java | 49 +-- .../META-INF/azure-ai-agents_metadata.json | 2 +- sdk/ai/azure-ai-agents/tsp-location.yaml | 2 +- 128 files changed, 67 insertions(+), 15077 deletions(-) delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/Annotation.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/AnnotationType.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallOutputStatusParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallStatusParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCreateFileOperationParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchDeleteFileOperationParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParamType.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchUpdateFileOperationParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ClickButtonType.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ClickParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputImage.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputLogs.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ComputerAction.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ComputerActionType.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ComputerCallSafetyCheckParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ComputerScreenshotImage.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ContainerFileCitationBody.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CoordParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/DoubleClickAction.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/DragParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessage.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageRole.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageStatus.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FileCitationBody.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FilePath.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FileSearchToolCallResults.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutput.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputFileContent.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputImageContent.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputTextContent.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputType.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionCallItemStatus.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellActionParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironment.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentContainerReferenceParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentLocalEnvironmentParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentType.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemStatus.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputContentParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputExitOutcomeParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParamType.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputTimeoutOutcomeParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ImageDetail.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ImageDetailLevel.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContent.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContentInputFileContent.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContentInputImageContent.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContentInputTextContent.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContentType.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputFileContentParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputImageContentParamAutoParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItem.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallItemParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallOutputItemParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCall.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCallStatus.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCompactionSummaryItemParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerCallOutputItemParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCall.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCallStatus.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCall.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCallOutput.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCall.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCallStatus.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionCallOutputItemParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallItemParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallOutputItemParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCall.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCallStatus.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCall.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCallStatus.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCall.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutput.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutputStatus.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallStatus.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalRequest.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalResponse.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpListTools.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpToolCall.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessage.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessageStatus.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItem.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItemStatus.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemType.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCall.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCallStatus.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputTextContentParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ItemReferenceParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/KeyPressAction.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/LocalShellExecAction.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/LogProb.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/McpListToolsTool.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolAnnotations.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolInputSchema.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/McpToolCallStatus.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/MessageContent.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/MessageContentType.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/MoveParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContent.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentOutputTextContent.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentRefusalContent.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentType.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ReasoningTextContent.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ScreenshotParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ScrollParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/SummaryTextContent.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/TopLogProb.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/TypeParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/UrlCitationBody.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/VectorStoreFileAttributes.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WaitParam.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionFind.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionOpenPage.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearch.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearchSources.java diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java index ce827638e1e3..02867e148431 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java @@ -26,7 +26,6 @@ import com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate; import com.azure.ai.agents.models.CandidateDeployConfig; import com.azure.ai.agents.models.CandidateResults; -import com.azure.ai.agents.models.CreateAgentFromCodeContent; import com.azure.ai.agents.models.CreateAgentVersionFromCodeContent; import com.azure.ai.agents.models.CreateAgentVersionInput; import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java index e6788a407c72..93c2a001fbaf 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java @@ -26,7 +26,6 @@ import com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate; import com.azure.ai.agents.models.CandidateDeployConfig; import com.azure.ai.agents.models.CandidateResults; -import com.azure.ai.agents.models.CreateAgentFromCodeContent; import com.azure.ai.agents.models.CreateAgentVersionFromCodeContent; import com.azure.ai.agents.models.CreateAgentVersionInput; import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java index f9de3714e4f4..40ddb590fd0c 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java @@ -7,7 +7,6 @@ import com.azure.ai.agents.implementation.OpenAIJsonHelper; import com.azure.ai.agents.implementation.models.CreateMemoryRequest; import com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest; -import com.azure.ai.agents.implementation.models.InputItem; import com.azure.ai.agents.implementation.models.ListMemoriesRequest; import com.azure.ai.agents.implementation.models.SearchMemoriesRequest; import com.azure.ai.agents.implementation.models.UpdateMemoriesRequest; @@ -685,9 +684,7 @@ public PagedFlux listMemoryStores(Integer limit, PageOrder o * { * scope: String (Required) * items (Optional): [ - * (Optional){ - * type: String(message/output_message/file_search_call/computer_call/computer_call_output/web_search_call/function_call/function_call_output/reasoning/compaction/image_generation_call/code_interpreter_call/local_shell_call/local_shell_call_output/shell_call/shell_call_output/apply_patch_call/apply_patch_call_output/mcp_list_tools/mcp_approval_request/mcp_approval_response/mcp_call/custom_tool_call_output/custom_tool_call/item_reference) (Required) - * } + * BinaryData (Optional) * ] * previous_search_id: String (Optional) * options (Optional): { @@ -755,9 +752,7 @@ Mono> internalSearchMemoriesWithResponse(String name, Binar * { * scope: String (Required) * items (Optional): [ - * (Optional){ - * type: String(message/output_message/file_search_call/computer_call/computer_call_output/web_search_call/function_call/function_call_output/reasoning/compaction/image_generation_call/code_interpreter_call/local_shell_call/local_shell_call_output/shell_call/shell_call_output/apply_patch_call/apply_patch_call_output/mcp_list_tools/mcp_approval_request/mcp_approval_response/mcp_call/custom_tool_call_output/custom_tool_call/item_reference) (Required) - * } + * BinaryData (Optional) * ] * previous_update_id: String (Optional) * update_delay: Integer (Optional) @@ -853,7 +848,7 @@ PollerFlux beginInternalUpdateMemories(String name, Bina */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - Mono internalSearchMemories(String name, String scope, List items, + Mono internalSearchMemories(String name, String scope, List items, String previousSearchId, MemorySearchOptions options) { // Generated convenience method for internalSearchMemoriesWithResponse RequestOptions requestOptions = new RequestOptions(); @@ -886,7 +881,7 @@ Mono internalSearchMemories(String name, String scope public Mono searchMemories(String name, String scope, List items, String previousSearchId, MemorySearchOptions options) { // Convert OpenAI ResponseInputItem list to Azure SDK InputItem list - List inputItems = OpenAIJsonHelper.toAzureTypeList(items, InputItem::fromJson); + List inputItems = OpenAIJsonHelper.toBinaryDataList(items); return internalSearchMemories(name, scope, inputItems, previousSearchId, options); } @@ -937,7 +932,7 @@ Mono internalSearchMemories(String name, String scope @Generated @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux beginInternalUpdateMemories(String name, - String scope, List items, String previousUpdateId, Integer updateDelay) { + String scope, List items, String previousUpdateId, Integer updateDelay) { // Generated convenience method for beginInternalUpdateMemoriesWithModel RequestOptions requestOptions = new RequestOptions(); UpdateMemoriesRequest updateMemoriesRequestObj = new UpdateMemoriesRequest(scope).setItems(items) @@ -995,7 +990,7 @@ PollerFlux beginInt public PollerFlux beginUpdateMemories(String name, String scope, List items, String previousUpdateId, int updateDelayInSeconds) { // Convert OpenAI ResponseInputItem list to Azure SDK InputItem list - List inputItems = OpenAIJsonHelper.toAzureTypeList(items, InputItem::fromJson); + List inputItems = OpenAIJsonHelper.toBinaryDataList(items); return beginInternalUpdateMemories(name, scope, inputItems, previousUpdateId, updateDelayInSeconds); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresClient.java index 2360080e6a05..714d679580ad 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresClient.java @@ -7,7 +7,6 @@ import com.azure.ai.agents.implementation.OpenAIJsonHelper; import com.azure.ai.agents.implementation.models.CreateMemoryRequest; import com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest; -import com.azure.ai.agents.implementation.models.InputItem; import com.azure.ai.agents.implementation.models.ListMemoriesRequest; import com.azure.ai.agents.implementation.models.SearchMemoriesRequest; import com.azure.ai.agents.implementation.models.UpdateMemoriesRequest; @@ -650,9 +649,7 @@ public PagedIterable listMemoryStores(Integer limit, PageOrd * { * scope: String (Required) * items (Optional): [ - * (Optional){ - * type: String(message/output_message/file_search_call/computer_call/computer_call_output/web_search_call/function_call/function_call_output/reasoning/compaction/image_generation_call/code_interpreter_call/local_shell_call/local_shell_call_output/shell_call/shell_call_output/apply_patch_call/apply_patch_call_output/mcp_list_tools/mcp_approval_request/mcp_approval_response/mcp_call/custom_tool_call_output/custom_tool_call/item_reference) (Required) - * } + * BinaryData (Optional) * ] * previous_search_id: String (Optional) * options (Optional): { @@ -720,9 +717,7 @@ Response internalSearchMemoriesWithResponse(String name, BinaryData * { * scope: String (Required) * items (Optional): [ - * (Optional){ - * type: String(message/output_message/file_search_call/computer_call/computer_call_output/web_search_call/function_call/function_call_output/reasoning/compaction/image_generation_call/code_interpreter_call/local_shell_call/local_shell_call_output/shell_call/shell_call_output/apply_patch_call/apply_patch_call_output/mcp_list_tools/mcp_approval_request/mcp_approval_response/mcp_call/custom_tool_call_output/custom_tool_call/item_reference) (Required) - * } + * BinaryData (Optional) * ] * previous_update_id: String (Optional) * update_delay: Integer (Optional) @@ -818,7 +813,7 @@ SyncPoller beginInternalUpdateMemories(String name, Bina */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - MemoryStoreSearchResponse internalSearchMemories(String name, String scope, List items, + MemoryStoreSearchResponse internalSearchMemories(String name, String scope, List items, String previousSearchId, MemorySearchOptions options) { // Generated convenience method for internalSearchMemoriesWithResponse RequestOptions requestOptions = new RequestOptions(); @@ -875,7 +870,7 @@ MemoryStoreSearchResponse internalSearchMemories(String name, String scope) { public MemoryStoreSearchResponse searchMemories(String name, String scope, List items, String previousSearchId, MemorySearchOptions options) { // Convert OpenAI ResponseInputItem list to Azure SDK InputItem list - List inputItems = OpenAIJsonHelper.toAzureTypeList(items, InputItem::fromJson); + List inputItems = OpenAIJsonHelper.toBinaryDataList(items); return internalSearchMemories(name, scope, inputItems, previousSearchId, options); } @@ -902,7 +897,7 @@ public MemoryStoreSearchResponse searchMemories(String name, String scope, List< @Generated @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller beginInternalUpdateMemories(String name, - String scope, List items, String previousUpdateId, Integer updateDelay) { + String scope, List items, String previousUpdateId, Integer updateDelay) { // Generated convenience method for beginInternalUpdateMemoriesWithModel RequestOptions requestOptions = new RequestOptions(); UpdateMemoriesRequest updateMemoriesRequestObj = new UpdateMemoriesRequest(scope).setItems(items) @@ -960,7 +955,7 @@ SyncPoller beginInt public SyncPoller beginUpdateMemories(String name, String scope, List items, String previousUpdateId, int updateDelayInSeconds) { // Convert OpenAI ResponseInputItem list to Azure SDK InputItem list - List inputItems = OpenAIJsonHelper.toAzureTypeList(items, InputItem::fromJson); + List inputItems = OpenAIJsonHelper.toBinaryDataList(items); return beginInternalUpdateMemories(name, scope, inputItems, previousUpdateId, updateDelayInSeconds); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java index 4e00ba916631..435b5229ecb4 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java @@ -1024,9 +1024,7 @@ public Response internalDeleteMemoryStoreWithResponse(String name, R * { * scope: String (Required) * items (Optional): [ - * (Optional){ - * type: String(message/output_message/file_search_call/computer_call/computer_call_output/web_search_call/function_call/function_call_output/reasoning/compaction/image_generation_call/code_interpreter_call/local_shell_call/local_shell_call_output/shell_call/shell_call_output/apply_patch_call/apply_patch_call_output/mcp_list_tools/mcp_approval_request/mcp_approval_response/mcp_call/custom_tool_call_output/custom_tool_call/item_reference) (Required) - * } + * BinaryData (Optional) * ] * previous_search_id: String (Optional) * options (Optional): { @@ -1098,9 +1096,7 @@ public Mono> internalSearchMemoriesWithResponseAsync(String * { * scope: String (Required) * items (Optional): [ - * (Optional){ - * type: String(message/output_message/file_search_call/computer_call/computer_call_output/web_search_call/function_call/function_call_output/reasoning/compaction/image_generation_call/code_interpreter_call/local_shell_call/local_shell_call_output/shell_call/shell_call_output/apply_patch_call/apply_patch_call_output/mcp_list_tools/mcp_approval_request/mcp_approval_response/mcp_call/custom_tool_call_output/custom_tool_call/item_reference) (Required) - * } + * BinaryData (Optional) * ] * previous_search_id: String (Optional) * options (Optional): { @@ -1172,9 +1168,7 @@ public Response internalSearchMemoriesWithResponse(String name, Bina * { * scope: String (Required) * items (Optional): [ - * (Optional){ - * type: String(message/output_message/file_search_call/computer_call/computer_call_output/web_search_call/function_call/function_call_output/reasoning/compaction/image_generation_call/code_interpreter_call/local_shell_call/local_shell_call_output/shell_call/shell_call_output/apply_patch_call/apply_patch_call_output/mcp_list_tools/mcp_approval_request/mcp_approval_response/mcp_call/custom_tool_call_output/custom_tool_call/item_reference) (Required) - * } + * BinaryData (Optional) * ] * previous_update_id: String (Optional) * update_delay: Integer (Optional) @@ -1265,9 +1259,7 @@ private Mono> internalUpdateMemoriesWithResponseAsync(Strin * { * scope: String (Required) * items (Optional): [ - * (Optional){ - * type: String(message/output_message/file_search_call/computer_call/computer_call_output/web_search_call/function_call/function_call_output/reasoning/compaction/image_generation_call/code_interpreter_call/local_shell_call/local_shell_call_output/shell_call/shell_call_output/apply_patch_call/apply_patch_call_output/mcp_list_tools/mcp_approval_request/mcp_approval_response/mcp_call/custom_tool_call_output/custom_tool_call/item_reference) (Required) - * } + * BinaryData (Optional) * ] * previous_update_id: String (Optional) * update_delay: Integer (Optional) @@ -1357,9 +1349,7 @@ private Response internalUpdateMemoriesWithResponse(String name, Bin * { * scope: String (Required) * items (Optional): [ - * (Optional){ - * type: String(message/output_message/file_search_call/computer_call/computer_call_output/web_search_call/function_call/function_call_output/reasoning/compaction/image_generation_call/code_interpreter_call/local_shell_call/local_shell_call_output/shell_call/shell_call_output/apply_patch_call/apply_patch_call_output/mcp_list_tools/mcp_approval_request/mcp_approval_response/mcp_call/custom_tool_call_output/custom_tool_call/item_reference) (Required) - * } + * BinaryData (Optional) * ] * previous_update_id: String (Optional) * update_delay: Integer (Optional) @@ -1456,9 +1446,7 @@ private Response internalUpdateMemoriesWithResponse(String name, Bin * { * scope: String (Required) * items (Optional): [ - * (Optional){ - * type: String(message/output_message/file_search_call/computer_call/computer_call_output/web_search_call/function_call/function_call_output/reasoning/compaction/image_generation_call/code_interpreter_call/local_shell_call/local_shell_call_output/shell_call/shell_call_output/apply_patch_call/apply_patch_call_output/mcp_list_tools/mcp_approval_request/mcp_approval_response/mcp_call/custom_tool_call_output/custom_tool_call/item_reference) (Required) - * } + * BinaryData (Optional) * ] * previous_update_id: String (Optional) * update_delay: Integer (Optional) @@ -1554,9 +1542,7 @@ public SyncPoller b * { * scope: String (Required) * items (Optional): [ - * (Optional){ - * type: String(message/output_message/file_search_call/computer_call/computer_call_output/web_search_call/function_call/function_call_output/reasoning/compaction/image_generation_call/code_interpreter_call/local_shell_call/local_shell_call_output/shell_call/shell_call_output/apply_patch_call/apply_patch_call_output/mcp_list_tools/mcp_approval_request/mcp_approval_response/mcp_call/custom_tool_call_output/custom_tool_call/item_reference) (Required) - * } + * BinaryData (Optional) * ] * previous_update_id: String (Optional) * update_delay: Integer (Optional) @@ -1651,9 +1637,7 @@ public PollerFlux beginInternalUpdateMemoriesAsync(Strin * { * scope: String (Required) * items (Optional): [ - * (Optional){ - * type: String(message/output_message/file_search_call/computer_call/computer_call_output/web_search_call/function_call/function_call_output/reasoning/compaction/image_generation_call/code_interpreter_call/local_shell_call/local_shell_call_output/shell_call/shell_call_output/apply_patch_call/apply_patch_call_output/mcp_list_tools/mcp_approval_request/mcp_approval_response/mcp_call/custom_tool_call_output/custom_tool_call/item_reference) (Required) - * } + * BinaryData (Optional) * ] * previous_update_id: String (Optional) * update_delay: Integer (Optional) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/OpenAIJsonHelper.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/OpenAIJsonHelper.java index d5fdcab14f1f..30df54d68010 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/OpenAIJsonHelper.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/OpenAIJsonHelper.java @@ -120,6 +120,21 @@ public static BinaryData toBinaryData(Object openAIObject) { } } + /** + * Converts a list of OpenAI SDK types to a list of BinaryData objects. + * + * @param The source OpenAI SDK type. + * @param openAIObjects The list of OpenAI SDK objects to convert. + * + * @return The equivalent list of BinaryData objects, or null if the input is null. + */ + public static List toBinaryDataList(List openAIObjects) { + if (openAIObjects == null) { + return null; + } + return openAIObjects.stream().map(obj -> toBinaryData(obj)).collect(Collectors.toList()); + } + /** * Deserializes {@link BinaryData} to an openai-java type using the openai-java ObjectMapper. * diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/Annotation.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/Annotation.java deleted file mode 100644 index c976428380e8..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/Annotation.java +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * An annotation that applies to a span of output text. - */ -@Immutable -public class Annotation implements JsonSerializable { - - /* - * The type property. - */ - @Generated - private AnnotationType type = AnnotationType.fromString("Annotation"); - - /** - * Creates an instance of Annotation class. - */ - @Generated - public Annotation() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - public AnnotationType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of Annotation from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of Annotation if the JsonReader was pointing to an instance of it, or null if it was pointing - * to JSON null. - * @throws IOException If an error occurs while reading the Annotation. - */ - @Generated - public static Annotation fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("file_citation".equals(discriminatorValue)) { - return FileCitationBody.fromJson(readerToUse.reset()); - } else if ("url_citation".equals(discriminatorValue)) { - return UrlCitationBody.fromJson(readerToUse.reset()); - } else if ("container_file_citation".equals(discriminatorValue)) { - return ContainerFileCitationBody.fromJson(readerToUse.reset()); - } else if ("file_path".equals(discriminatorValue)) { - return FilePath.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static Annotation fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - Annotation deserializedAnnotation = new Annotation(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedAnnotation.type = AnnotationType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedAnnotation; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/AnnotationType.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/AnnotationType.java deleted file mode 100644 index 5503b79866c8..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/AnnotationType.java +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Defines values for AnnotationType. - */ -public final class AnnotationType extends ExpandableStringEnum { - - /** - * Static value file_citation for AnnotationType. - */ - @Generated - public static final AnnotationType FILE_CITATION = fromString("file_citation"); - - /** - * Static value url_citation for AnnotationType. - */ - @Generated - public static final AnnotationType URL_CITATION = fromString("url_citation"); - - /** - * Static value container_file_citation for AnnotationType. - */ - @Generated - public static final AnnotationType CONTAINER_FILE_CITATION = fromString("container_file_citation"); - - /** - * Static value file_path for AnnotationType. - */ - @Generated - public static final AnnotationType FILE_PATH = fromString("file_path"); - - /** - * Creates a new instance of AnnotationType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public AnnotationType() { - } - - /** - * Creates or finds a AnnotationType from its string representation. - * - * @param name a name to look for. - * @return the corresponding AnnotationType. - */ - @Generated - public static AnnotationType fromString(String name) { - return fromString(name, AnnotationType.class); - } - - /** - * Gets known AnnotationType values. - * - * @return known AnnotationType values. - */ - @Generated - public static Collection values() { - return values(AnnotationType.class); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallOutputStatusParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallOutputStatusParam.java deleted file mode 100644 index affc92d91a22..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallOutputStatusParam.java +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Apply patch call output status - * - * Outcome values reported for apply_patch tool call outputs. - */ -public enum ApplyPatchCallOutputStatusParam { - /** - * Enum value completed. - */ - COMPLETED("completed"), - - /** - * Enum value failed. - */ - FAILED("failed"); - - /** - * The actual serialized value for a ApplyPatchCallOutputStatusParam instance. - */ - private final String value; - - ApplyPatchCallOutputStatusParam(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a ApplyPatchCallOutputStatusParam instance. - * - * @param value the serialized value to parse. - * @return the parsed ApplyPatchCallOutputStatusParam object, or null if unable to parse. - */ - public static ApplyPatchCallOutputStatusParam fromString(String value) { - if (value == null) { - return null; - } - ApplyPatchCallOutputStatusParam[] items = ApplyPatchCallOutputStatusParam.values(); - for (ApplyPatchCallOutputStatusParam item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallStatusParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallStatusParam.java deleted file mode 100644 index dab2af8712d3..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallStatusParam.java +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Apply patch call status - * - * Status values reported for apply_patch tool calls. - */ -public enum ApplyPatchCallStatusParam { - /** - * Enum value in_progress. - */ - IN_PROGRESS("in_progress"), - - /** - * Enum value completed. - */ - COMPLETED("completed"); - - /** - * The actual serialized value for a ApplyPatchCallStatusParam instance. - */ - private final String value; - - ApplyPatchCallStatusParam(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a ApplyPatchCallStatusParam instance. - * - * @param value the serialized value to parse. - * @return the parsed ApplyPatchCallStatusParam object, or null if unable to parse. - */ - public static ApplyPatchCallStatusParam fromString(String value) { - if (value == null) { - return null; - } - ApplyPatchCallStatusParam[] items = ApplyPatchCallStatusParam.values(); - for (ApplyPatchCallStatusParam item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCreateFileOperationParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCreateFileOperationParam.java deleted file mode 100644 index e9cab9f61082..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCreateFileOperationParam.java +++ /dev/null @@ -1,129 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Apply patch create file operation - * - * Instruction for creating a new file via the apply_patch tool. - */ -@Immutable -public final class ApplyPatchCreateFileOperationParam extends ApplyPatchOperationParam { - - /* - * The type property. - */ - @Generated - private ApplyPatchOperationParamType type = ApplyPatchOperationParamType.CREATE_FILE; - - /* - * Path of the file to create relative to the workspace root. - */ - @Generated - private final String path; - - /* - * Unified diff content to apply when creating the file. - */ - @Generated - private final String diff; - - /** - * Creates an instance of ApplyPatchCreateFileOperationParam class. - * - * @param path the path value to set. - * @param diff the diff value to set. - */ - @Generated - public ApplyPatchCreateFileOperationParam(String path, String diff) { - this.path = path; - this.diff = diff; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ApplyPatchOperationParamType getType() { - return this.type; - } - - /** - * Get the path property: Path of the file to create relative to the workspace root. - * - * @return the path value. - */ - @Generated - public String getPath() { - return this.path; - } - - /** - * Get the diff property: Unified diff content to apply when creating the file. - * - * @return the diff value. - */ - @Generated - public String getDiff() { - return this.diff; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("path", this.path); - jsonWriter.writeStringField("diff", this.diff); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ApplyPatchCreateFileOperationParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ApplyPatchCreateFileOperationParam if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ApplyPatchCreateFileOperationParam. - */ - @Generated - public static ApplyPatchCreateFileOperationParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String path = null; - String diff = null; - ApplyPatchOperationParamType type = ApplyPatchOperationParamType.CREATE_FILE; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("path".equals(fieldName)) { - path = reader.getString(); - } else if ("diff".equals(fieldName)) { - diff = reader.getString(); - } else if ("type".equals(fieldName)) { - type = ApplyPatchOperationParamType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - ApplyPatchCreateFileOperationParam deserializedApplyPatchCreateFileOperationParam - = new ApplyPatchCreateFileOperationParam(path, diff); - deserializedApplyPatchCreateFileOperationParam.type = type; - return deserializedApplyPatchCreateFileOperationParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchDeleteFileOperationParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchDeleteFileOperationParam.java deleted file mode 100644 index 17153dda056a..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchDeleteFileOperationParam.java +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Apply patch delete file operation - * - * Instruction for deleting an existing file via the apply_patch tool. - */ -@Immutable -public final class ApplyPatchDeleteFileOperationParam extends ApplyPatchOperationParam { - - /* - * The type property. - */ - @Generated - private ApplyPatchOperationParamType type = ApplyPatchOperationParamType.DELETE_FILE; - - /* - * Path of the file to delete relative to the workspace root. - */ - @Generated - private final String path; - - /** - * Creates an instance of ApplyPatchDeleteFileOperationParam class. - * - * @param path the path value to set. - */ - @Generated - public ApplyPatchDeleteFileOperationParam(String path) { - this.path = path; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ApplyPatchOperationParamType getType() { - return this.type; - } - - /** - * Get the path property: Path of the file to delete relative to the workspace root. - * - * @return the path value. - */ - @Generated - public String getPath() { - return this.path; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("path", this.path); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ApplyPatchDeleteFileOperationParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ApplyPatchDeleteFileOperationParam if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ApplyPatchDeleteFileOperationParam. - */ - @Generated - public static ApplyPatchDeleteFileOperationParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String path = null; - ApplyPatchOperationParamType type = ApplyPatchOperationParamType.DELETE_FILE; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("path".equals(fieldName)) { - path = reader.getString(); - } else if ("type".equals(fieldName)) { - type = ApplyPatchOperationParamType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - ApplyPatchDeleteFileOperationParam deserializedApplyPatchDeleteFileOperationParam - = new ApplyPatchDeleteFileOperationParam(path); - deserializedApplyPatchDeleteFileOperationParam.type = type; - return deserializedApplyPatchDeleteFileOperationParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParam.java deleted file mode 100644 index 31a9126d1247..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParam.java +++ /dev/null @@ -1,112 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Apply patch operation - * - * One of the create_file, delete_file, or update_file operations supplied to the apply_patch tool. - */ -@Immutable -public class ApplyPatchOperationParam implements JsonSerializable { - - /* - * The type property. - */ - @Generated - private ApplyPatchOperationParamType type = ApplyPatchOperationParamType.fromString("ApplyPatchOperationParam"); - - /** - * Creates an instance of ApplyPatchOperationParam class. - */ - @Generated - public ApplyPatchOperationParam() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - public ApplyPatchOperationParamType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ApplyPatchOperationParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ApplyPatchOperationParam if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IOException If an error occurs while reading the ApplyPatchOperationParam. - */ - @Generated - public static ApplyPatchOperationParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("create_file".equals(discriminatorValue)) { - return ApplyPatchCreateFileOperationParam.fromJson(readerToUse.reset()); - } else if ("delete_file".equals(discriminatorValue)) { - return ApplyPatchDeleteFileOperationParam.fromJson(readerToUse.reset()); - } else if ("update_file".equals(discriminatorValue)) { - return ApplyPatchUpdateFileOperationParam.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static ApplyPatchOperationParam fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ApplyPatchOperationParam deserializedApplyPatchOperationParam = new ApplyPatchOperationParam(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedApplyPatchOperationParam.type - = ApplyPatchOperationParamType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedApplyPatchOperationParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParamType.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParamType.java deleted file mode 100644 index 38ffff4a51e5..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParamType.java +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Defines values for ApplyPatchOperationParamType. - */ -public final class ApplyPatchOperationParamType extends ExpandableStringEnum { - - /** - * Static value create_file for ApplyPatchOperationParamType. - */ - @Generated - public static final ApplyPatchOperationParamType CREATE_FILE = fromString("create_file"); - - /** - * Static value delete_file for ApplyPatchOperationParamType. - */ - @Generated - public static final ApplyPatchOperationParamType DELETE_FILE = fromString("delete_file"); - - /** - * Static value update_file for ApplyPatchOperationParamType. - */ - @Generated - public static final ApplyPatchOperationParamType UPDATE_FILE = fromString("update_file"); - - /** - * Creates a new instance of ApplyPatchOperationParamType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public ApplyPatchOperationParamType() { - } - - /** - * Creates or finds a ApplyPatchOperationParamType from its string representation. - * - * @param name a name to look for. - * @return the corresponding ApplyPatchOperationParamType. - */ - @Generated - public static ApplyPatchOperationParamType fromString(String name) { - return fromString(name, ApplyPatchOperationParamType.class); - } - - /** - * Gets known ApplyPatchOperationParamType values. - * - * @return known ApplyPatchOperationParamType values. - */ - @Generated - public static Collection values() { - return values(ApplyPatchOperationParamType.class); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchUpdateFileOperationParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchUpdateFileOperationParam.java deleted file mode 100644 index 9e09e0f6d0e2..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchUpdateFileOperationParam.java +++ /dev/null @@ -1,129 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Apply patch update file operation - * - * Instruction for updating an existing file via the apply_patch tool. - */ -@Immutable -public final class ApplyPatchUpdateFileOperationParam extends ApplyPatchOperationParam { - - /* - * The type property. - */ - @Generated - private ApplyPatchOperationParamType type = ApplyPatchOperationParamType.UPDATE_FILE; - - /* - * Path of the file to update relative to the workspace root. - */ - @Generated - private final String path; - - /* - * Unified diff content to apply to the existing file. - */ - @Generated - private final String diff; - - /** - * Creates an instance of ApplyPatchUpdateFileOperationParam class. - * - * @param path the path value to set. - * @param diff the diff value to set. - */ - @Generated - public ApplyPatchUpdateFileOperationParam(String path, String diff) { - this.path = path; - this.diff = diff; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ApplyPatchOperationParamType getType() { - return this.type; - } - - /** - * Get the path property: Path of the file to update relative to the workspace root. - * - * @return the path value. - */ - @Generated - public String getPath() { - return this.path; - } - - /** - * Get the diff property: Unified diff content to apply to the existing file. - * - * @return the diff value. - */ - @Generated - public String getDiff() { - return this.diff; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("path", this.path); - jsonWriter.writeStringField("diff", this.diff); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ApplyPatchUpdateFileOperationParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ApplyPatchUpdateFileOperationParam if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ApplyPatchUpdateFileOperationParam. - */ - @Generated - public static ApplyPatchUpdateFileOperationParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String path = null; - String diff = null; - ApplyPatchOperationParamType type = ApplyPatchOperationParamType.UPDATE_FILE; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("path".equals(fieldName)) { - path = reader.getString(); - } else if ("diff".equals(fieldName)) { - diff = reader.getString(); - } else if ("type".equals(fieldName)) { - type = ApplyPatchOperationParamType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - ApplyPatchUpdateFileOperationParam deserializedApplyPatchUpdateFileOperationParam - = new ApplyPatchUpdateFileOperationParam(path, diff); - deserializedApplyPatchUpdateFileOperationParam.type = type; - return deserializedApplyPatchUpdateFileOperationParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ClickButtonType.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ClickButtonType.java deleted file mode 100644 index c72b2b73a325..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ClickButtonType.java +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Defines values for ClickButtonType. - */ -public enum ClickButtonType { - /** - * Enum value left. - */ - LEFT("left"), - - /** - * Enum value right. - */ - RIGHT("right"), - - /** - * Enum value wheel. - */ - WHEEL("wheel"), - - /** - * Enum value back. - */ - BACK("back"), - - /** - * Enum value forward. - */ - FORWARD("forward"); - - /** - * The actual serialized value for a ClickButtonType instance. - */ - private final String value; - - ClickButtonType(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a ClickButtonType instance. - * - * @param value the serialized value to parse. - * @return the parsed ClickButtonType object, or null if unable to parse. - */ - public static ClickButtonType fromString(String value) { - if (value == null) { - return null; - } - ClickButtonType[] items = ClickButtonType.values(); - for (ClickButtonType item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ClickParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ClickParam.java deleted file mode 100644 index de460d563d14..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ClickParam.java +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Click - * - * A click action. - */ -@Immutable -public final class ClickParam extends ComputerAction { - - /* - * The type property. - */ - @Generated - private ComputerActionType type = ComputerActionType.CLICK; - - /* - * Indicates which mouse button was pressed during the click. One of `left`, `right`, `wheel`, `back`, or `forward`. - */ - @Generated - private final ClickButtonType button; - - /* - * The x-coordinate where the click occurred. - */ - @Generated - private final long x; - - /* - * The y-coordinate where the click occurred. - */ - @Generated - private final long y; - - /** - * Creates an instance of ClickParam class. - * - * @param button the button value to set. - * @param x the x value to set. - * @param y the y value to set. - */ - @Generated - public ClickParam(ClickButtonType button, long x, long y) { - this.button = button; - this.x = x; - this.y = y; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ComputerActionType getType() { - return this.type; - } - - /** - * Get the button property: Indicates which mouse button was pressed during the click. One of `left`, `right`, - * `wheel`, `back`, or `forward`. - * - * @return the button value. - */ - @Generated - public ClickButtonType getButton() { - return this.button; - } - - /** - * Get the x property: The x-coordinate where the click occurred. - * - * @return the x value. - */ - @Generated - public long getX() { - return this.x; - } - - /** - * Get the y property: The y-coordinate where the click occurred. - * - * @return the y value. - */ - @Generated - public long getY() { - return this.y; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("button", this.button == null ? null : this.button.toString()); - jsonWriter.writeLongField("x", this.x); - jsonWriter.writeLongField("y", this.y); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ClickParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ClickParam if the JsonReader was pointing to an instance of it, or null if it was pointing - * to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ClickParam. - */ - @Generated - public static ClickParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ClickButtonType button = null; - long x = 0L; - long y = 0L; - ComputerActionType type = ComputerActionType.CLICK; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("button".equals(fieldName)) { - button = ClickButtonType.fromString(reader.getString()); - } else if ("x".equals(fieldName)) { - x = reader.getLong(); - } else if ("y".equals(fieldName)) { - y = reader.getLong(); - } else if ("type".equals(fieldName)) { - type = ComputerActionType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - ClickParam deserializedClickParam = new ClickParam(button, x, y); - deserializedClickParam.type = type; - return deserializedClickParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputImage.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputImage.java deleted file mode 100644 index 2de241ba0d73..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputImage.java +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Code interpreter output image - * - * The image output from the code interpreter. - */ -@Immutable -public final class CodeInterpreterOutputImage implements JsonSerializable { - - /* - * The type of the output. Always `image`. - */ - @Generated - private final String type = "image"; - - /* - * The URL of the image output from the code interpreter. - */ - @Generated - private final String url; - - /** - * Creates an instance of CodeInterpreterOutputImage class. - * - * @param url the url value to set. - */ - @Generated - public CodeInterpreterOutputImage(String url) { - this.url = url; - } - - /** - * Get the type property: The type of the output. Always `image`. - * - * @return the type value. - */ - @Generated - public String getType() { - return this.type; - } - - /** - * Get the url property: The URL of the image output from the code interpreter. - * - * @return the url value. - */ - @Generated - public String getUrl() { - return this.url; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type); - jsonWriter.writeStringField("url", this.url); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of CodeInterpreterOutputImage from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of CodeInterpreterOutputImage if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the CodeInterpreterOutputImage. - */ - @Generated - public static CodeInterpreterOutputImage fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String url = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("url".equals(fieldName)) { - url = reader.getString(); - } else { - reader.skipChildren(); - } - } - return new CodeInterpreterOutputImage(url); - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputLogs.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputLogs.java deleted file mode 100644 index c127bc66e1db..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputLogs.java +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Code interpreter output logs - * - * The logs output from the code interpreter. - */ -@Immutable -public final class CodeInterpreterOutputLogs implements JsonSerializable { - - /* - * The type of the output. Always `logs`. - */ - @Generated - private final String type = "logs"; - - /* - * The logs output from the code interpreter. - */ - @Generated - private final String logs; - - /** - * Creates an instance of CodeInterpreterOutputLogs class. - * - * @param logs the logs value to set. - */ - @Generated - public CodeInterpreterOutputLogs(String logs) { - this.logs = logs; - } - - /** - * Get the type property: The type of the output. Always `logs`. - * - * @return the type value. - */ - @Generated - public String getType() { - return this.type; - } - - /** - * Get the logs property: The logs output from the code interpreter. - * - * @return the logs value. - */ - @Generated - public String getLogs() { - return this.logs; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type); - jsonWriter.writeStringField("logs", this.logs); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of CodeInterpreterOutputLogs from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of CodeInterpreterOutputLogs if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the CodeInterpreterOutputLogs. - */ - @Generated - public static CodeInterpreterOutputLogs fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String logs = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("logs".equals(fieldName)) { - logs = reader.getString(); - } else { - reader.skipChildren(); - } - } - return new CodeInterpreterOutputLogs(logs); - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ComputerAction.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ComputerAction.java deleted file mode 100644 index 46cc36efc0ea..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ComputerAction.java +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The ComputerAction model. - */ -@Immutable -public class ComputerAction implements JsonSerializable { - - /* - * The type property. - */ - @Generated - private ComputerActionType type = ComputerActionType.fromString("ComputerAction"); - - /** - * Creates an instance of ComputerAction class. - */ - @Generated - public ComputerAction() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - public ComputerActionType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ComputerAction from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ComputerAction if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the ComputerAction. - */ - @Generated - public static ComputerAction fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("click".equals(discriminatorValue)) { - return ClickParam.fromJson(readerToUse.reset()); - } else if ("double_click".equals(discriminatorValue)) { - return DoubleClickAction.fromJson(readerToUse.reset()); - } else if ("drag".equals(discriminatorValue)) { - return DragParam.fromJson(readerToUse.reset()); - } else if ("keypress".equals(discriminatorValue)) { - return KeyPressAction.fromJson(readerToUse.reset()); - } else if ("move".equals(discriminatorValue)) { - return MoveParam.fromJson(readerToUse.reset()); - } else if ("screenshot".equals(discriminatorValue)) { - return ScreenshotParam.fromJson(readerToUse.reset()); - } else if ("scroll".equals(discriminatorValue)) { - return ScrollParam.fromJson(readerToUse.reset()); - } else if ("type".equals(discriminatorValue)) { - return TypeParam.fromJson(readerToUse.reset()); - } else if ("wait".equals(discriminatorValue)) { - return WaitParam.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static ComputerAction fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ComputerAction deserializedComputerAction = new ComputerAction(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedComputerAction.type = ComputerActionType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedComputerAction; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ComputerActionType.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ComputerActionType.java deleted file mode 100644 index 8cea82c2e860..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ComputerActionType.java +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Defines values for ComputerActionType. - */ -public final class ComputerActionType extends ExpandableStringEnum { - - /** - * Static value click for ComputerActionType. - */ - @Generated - public static final ComputerActionType CLICK = fromString("click"); - - /** - * Static value double_click for ComputerActionType. - */ - @Generated - public static final ComputerActionType DOUBLE_CLICK = fromString("double_click"); - - /** - * Static value drag for ComputerActionType. - */ - @Generated - public static final ComputerActionType DRAG = fromString("drag"); - - /** - * Static value keypress for ComputerActionType. - */ - @Generated - public static final ComputerActionType KEYPRESS = fromString("keypress"); - - /** - * Static value move for ComputerActionType. - */ - @Generated - public static final ComputerActionType MOVE = fromString("move"); - - /** - * Static value screenshot for ComputerActionType. - */ - @Generated - public static final ComputerActionType SCREENSHOT = fromString("screenshot"); - - /** - * Static value scroll for ComputerActionType. - */ - @Generated - public static final ComputerActionType SCROLL = fromString("scroll"); - - /** - * Static value type for ComputerActionType. - */ - @Generated - public static final ComputerActionType TYPE = fromString("type"); - - /** - * Static value wait for ComputerActionType. - */ - @Generated - public static final ComputerActionType WAIT = fromString("wait"); - - /** - * Creates a new instance of ComputerActionType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public ComputerActionType() { - } - - /** - * Creates or finds a ComputerActionType from its string representation. - * - * @param name a name to look for. - * @return the corresponding ComputerActionType. - */ - @Generated - public static ComputerActionType fromString(String name) { - return fromString(name, ComputerActionType.class); - } - - /** - * Gets known ComputerActionType values. - * - * @return known ComputerActionType values. - */ - @Generated - public static Collection values() { - return values(ComputerActionType.class); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ComputerCallSafetyCheckParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ComputerCallSafetyCheckParam.java deleted file mode 100644 index 32becec28f3a..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ComputerCallSafetyCheckParam.java +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * A pending safety check for the computer call. - */ -@Fluent -public final class ComputerCallSafetyCheckParam implements JsonSerializable { - - /* - * The ID of the pending safety check. - */ - @Generated - private final String id; - - /* - * The code property. - */ - @Generated - private String code; - - /* - * The message property. - */ - @Generated - private String message; - - /** - * Creates an instance of ComputerCallSafetyCheckParam class. - * - * @param id the id value to set. - */ - @Generated - public ComputerCallSafetyCheckParam(String id) { - this.id = id; - } - - /** - * Get the id property: The ID of the pending safety check. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Get the code property: The code property. - * - * @return the code value. - */ - @Generated - public String getCode() { - return this.code; - } - - /** - * Set the code property: The code property. - * - * @param code the code value to set. - * @return the ComputerCallSafetyCheckParam object itself. - */ - @Generated - public ComputerCallSafetyCheckParam setCode(String code) { - this.code = code; - return this; - } - - /** - * Get the message property: The message property. - * - * @return the message value. - */ - @Generated - public String getMessage() { - return this.message; - } - - /** - * Set the message property: The message property. - * - * @param message the message value to set. - * @return the ComputerCallSafetyCheckParam object itself. - */ - @Generated - public ComputerCallSafetyCheckParam setMessage(String message) { - this.message = message; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("code", this.code); - jsonWriter.writeStringField("message", this.message); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ComputerCallSafetyCheckParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ComputerCallSafetyCheckParam if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ComputerCallSafetyCheckParam. - */ - @Generated - public static ComputerCallSafetyCheckParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String id = null; - String code = null; - String message = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("code".equals(fieldName)) { - code = reader.getString(); - } else if ("message".equals(fieldName)) { - message = reader.getString(); - } else { - reader.skipChildren(); - } - } - ComputerCallSafetyCheckParam deserializedComputerCallSafetyCheckParam - = new ComputerCallSafetyCheckParam(id); - deserializedComputerCallSafetyCheckParam.code = code; - deserializedComputerCallSafetyCheckParam.message = message; - return deserializedComputerCallSafetyCheckParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ComputerScreenshotImage.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ComputerScreenshotImage.java deleted file mode 100644 index 295b9f12fff8..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ComputerScreenshotImage.java +++ /dev/null @@ -1,141 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * A computer screenshot image used with the computer use tool. - */ -@Fluent -public final class ComputerScreenshotImage implements JsonSerializable { - - /* - * Specifies the event type. For a computer screenshot, this property is - * always set to `computer_screenshot`. - */ - @Generated - private final String type = "computer_screenshot"; - - /* - * The URL of the screenshot image. - */ - @Generated - private String imageUrl; - - /* - * The identifier of an uploaded file that contains the screenshot. - */ - @Generated - private String fileId; - - /** - * Creates an instance of ComputerScreenshotImage class. - */ - @Generated - public ComputerScreenshotImage() { - } - - /** - * Get the type property: Specifies the event type. For a computer screenshot, this property is - * always set to `computer_screenshot`. - * - * @return the type value. - */ - @Generated - public String getType() { - return this.type; - } - - /** - * Get the imageUrl property: The URL of the screenshot image. - * - * @return the imageUrl value. - */ - @Generated - public String getImageUrl() { - return this.imageUrl; - } - - /** - * Set the imageUrl property: The URL of the screenshot image. - * - * @param imageUrl the imageUrl value to set. - * @return the ComputerScreenshotImage object itself. - */ - @Generated - public ComputerScreenshotImage setImageUrl(String imageUrl) { - this.imageUrl = imageUrl; - return this; - } - - /** - * Get the fileId property: The identifier of an uploaded file that contains the screenshot. - * - * @return the fileId value. - */ - @Generated - public String getFileId() { - return this.fileId; - } - - /** - * Set the fileId property: The identifier of an uploaded file that contains the screenshot. - * - * @param fileId the fileId value to set. - * @return the ComputerScreenshotImage object itself. - */ - @Generated - public ComputerScreenshotImage setFileId(String fileId) { - this.fileId = fileId; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type); - jsonWriter.writeStringField("image_url", this.imageUrl); - jsonWriter.writeStringField("file_id", this.fileId); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ComputerScreenshotImage from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ComputerScreenshotImage if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ComputerScreenshotImage. - */ - @Generated - public static ComputerScreenshotImage fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ComputerScreenshotImage deserializedComputerScreenshotImage = new ComputerScreenshotImage(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("image_url".equals(fieldName)) { - deserializedComputerScreenshotImage.imageUrl = reader.getString(); - } else if ("file_id".equals(fieldName)) { - deserializedComputerScreenshotImage.fileId = reader.getString(); - } else { - reader.skipChildren(); - } - } - return deserializedComputerScreenshotImage; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ContainerFileCitationBody.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ContainerFileCitationBody.java deleted file mode 100644 index 2d226de88ba3..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ContainerFileCitationBody.java +++ /dev/null @@ -1,196 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Container file citation - * - * A citation for a container file used to generate a model response. - */ -@Immutable -public final class ContainerFileCitationBody extends Annotation { - - /* - * The type property. - */ - @Generated - private AnnotationType type = AnnotationType.CONTAINER_FILE_CITATION; - - /* - * The ID of the container file. - */ - @Generated - private final String containerId; - - /* - * The ID of the file. - */ - @Generated - private final String fileId; - - /* - * The index of the first character of the container file citation in the message. - */ - @Generated - private final long startIndex; - - /* - * The index of the last character of the container file citation in the message. - */ - @Generated - private final long endIndex; - - /* - * The filename of the container file cited. - */ - @Generated - private final String filename; - - /** - * Creates an instance of ContainerFileCitationBody class. - * - * @param containerId the containerId value to set. - * @param fileId the fileId value to set. - * @param startIndex the startIndex value to set. - * @param endIndex the endIndex value to set. - * @param filename the filename value to set. - */ - @Generated - public ContainerFileCitationBody(String containerId, String fileId, long startIndex, long endIndex, - String filename) { - this.containerId = containerId; - this.fileId = fileId; - this.startIndex = startIndex; - this.endIndex = endIndex; - this.filename = filename; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public AnnotationType getType() { - return this.type; - } - - /** - * Get the containerId property: The ID of the container file. - * - * @return the containerId value. - */ - @Generated - public String getContainerId() { - return this.containerId; - } - - /** - * Get the fileId property: The ID of the file. - * - * @return the fileId value. - */ - @Generated - public String getFileId() { - return this.fileId; - } - - /** - * Get the startIndex property: The index of the first character of the container file citation in the message. - * - * @return the startIndex value. - */ - @Generated - public long getStartIndex() { - return this.startIndex; - } - - /** - * Get the endIndex property: The index of the last character of the container file citation in the message. - * - * @return the endIndex value. - */ - @Generated - public long getEndIndex() { - return this.endIndex; - } - - /** - * Get the filename property: The filename of the container file cited. - * - * @return the filename value. - */ - @Generated - public String getFilename() { - return this.filename; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("container_id", this.containerId); - jsonWriter.writeStringField("file_id", this.fileId); - jsonWriter.writeLongField("start_index", this.startIndex); - jsonWriter.writeLongField("end_index", this.endIndex); - jsonWriter.writeStringField("filename", this.filename); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ContainerFileCitationBody from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ContainerFileCitationBody if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ContainerFileCitationBody. - */ - @Generated - public static ContainerFileCitationBody fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String containerId = null; - String fileId = null; - long startIndex = 0L; - long endIndex = 0L; - String filename = null; - AnnotationType type = AnnotationType.CONTAINER_FILE_CITATION; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("container_id".equals(fieldName)) { - containerId = reader.getString(); - } else if ("file_id".equals(fieldName)) { - fileId = reader.getString(); - } else if ("start_index".equals(fieldName)) { - startIndex = reader.getLong(); - } else if ("end_index".equals(fieldName)) { - endIndex = reader.getLong(); - } else if ("filename".equals(fieldName)) { - filename = reader.getString(); - } else if ("type".equals(fieldName)) { - type = AnnotationType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - ContainerFileCitationBody deserializedContainerFileCitationBody - = new ContainerFileCitationBody(containerId, fileId, startIndex, endIndex, filename); - deserializedContainerFileCitationBody.type = type; - return deserializedContainerFileCitationBody; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CoordParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CoordParam.java deleted file mode 100644 index 3b2a18265a40..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CoordParam.java +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Coordinate - * - * An x/y coordinate pair, e.g. `{ x: 100, y: 200 }`. - */ -@Immutable -public final class CoordParam implements JsonSerializable { - - /* - * The x-coordinate. - */ - @Generated - private final long x; - - /* - * The y-coordinate. - */ - @Generated - private final long y; - - /** - * Creates an instance of CoordParam class. - * - * @param x the x value to set. - * @param y the y value to set. - */ - @Generated - public CoordParam(long x, long y) { - this.x = x; - this.y = y; - } - - /** - * Get the x property: The x-coordinate. - * - * @return the x value. - */ - @Generated - public long getX() { - return this.x; - } - - /** - * Get the y property: The y-coordinate. - * - * @return the y value. - */ - @Generated - public long getY() { - return this.y; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeLongField("x", this.x); - jsonWriter.writeLongField("y", this.y); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of CoordParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of CoordParam if the JsonReader was pointing to an instance of it, or null if it was pointing - * to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the CoordParam. - */ - @Generated - public static CoordParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - long x = 0L; - long y = 0L; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("x".equals(fieldName)) { - x = reader.getLong(); - } else if ("y".equals(fieldName)) { - y = reader.getLong(); - } else { - reader.skipChildren(); - } - } - return new CoordParam(x, y); - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/DoubleClickAction.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/DoubleClickAction.java deleted file mode 100644 index 5fcbeec01fc9..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/DoubleClickAction.java +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * DoubleClick - * - * A double click action. - */ -@Immutable -public final class DoubleClickAction extends ComputerAction { - - /* - * The type property. - */ - @Generated - private ComputerActionType type = ComputerActionType.DOUBLE_CLICK; - - /* - * The x-coordinate where the double click occurred. - */ - @Generated - private final long x; - - /* - * The y-coordinate where the double click occurred. - */ - @Generated - private final long y; - - /** - * Creates an instance of DoubleClickAction class. - * - * @param x the x value to set. - * @param y the y value to set. - */ - @Generated - public DoubleClickAction(long x, long y) { - this.x = x; - this.y = y; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ComputerActionType getType() { - return this.type; - } - - /** - * Get the x property: The x-coordinate where the double click occurred. - * - * @return the x value. - */ - @Generated - public long getX() { - return this.x; - } - - /** - * Get the y property: The y-coordinate where the double click occurred. - * - * @return the y value. - */ - @Generated - public long getY() { - return this.y; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeLongField("x", this.x); - jsonWriter.writeLongField("y", this.y); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DoubleClickAction from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DoubleClickAction if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the DoubleClickAction. - */ - @Generated - public static DoubleClickAction fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - long x = 0L; - long y = 0L; - ComputerActionType type = ComputerActionType.DOUBLE_CLICK; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("x".equals(fieldName)) { - x = reader.getLong(); - } else if ("y".equals(fieldName)) { - y = reader.getLong(); - } else if ("type".equals(fieldName)) { - type = ComputerActionType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - DoubleClickAction deserializedDoubleClickAction = new DoubleClickAction(x, y); - deserializedDoubleClickAction.type = type; - return deserializedDoubleClickAction; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/DragParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/DragParam.java deleted file mode 100644 index 54acd1d1e2ee..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/DragParam.java +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Drag - * - * A drag action. - */ -@Immutable -public final class DragParam extends ComputerAction { - - /* - * The type property. - */ - @Generated - private ComputerActionType type = ComputerActionType.DRAG; - - /* - * An array of coordinates representing the path of the drag action. Coordinates will appear as an array of objects, - * eg - * ``` - * [ - * { x: 100, y: 200 }, - * { x: 200, y: 300 } - * ] - * ``` - */ - @Generated - private final List path; - - /** - * Creates an instance of DragParam class. - * - * @param path the path value to set. - */ - @Generated - public DragParam(List path) { - this.path = path; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ComputerActionType getType() { - return this.type; - } - - /** - * Get the path property: An array of coordinates representing the path of the drag action. Coordinates will appear - * as an array of objects, eg - * ``` - * [ - * { x: 100, y: 200 }, - * { x: 200, y: 300 } - * ] - * ```. - * - * @return the path value. - */ - @Generated - public List getPath() { - return this.path; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeArrayField("path", this.path, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DragParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DragParam if the JsonReader was pointing to an instance of it, or null if it was pointing - * to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the DragParam. - */ - @Generated - public static DragParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - List path = null; - ComputerActionType type = ComputerActionType.DRAG; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("path".equals(fieldName)) { - path = reader.readArray(reader1 -> CoordParam.fromJson(reader1)); - } else if ("type".equals(fieldName)) { - type = ComputerActionType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - DragParam deserializedDragParam = new DragParam(path); - deserializedDragParam.type = type; - return deserializedDragParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessage.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessage.java deleted file mode 100644 index 9f935bd04fe1..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessage.java +++ /dev/null @@ -1,174 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.core.util.BinaryData; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Input message - * - * A message input to the model with a role indicating instruction following - * hierarchy. Instructions given with the `developer` or `system` role take - * precedence over instructions given with the `user` role. Messages with the - * `assistant` role are presumed to have been generated by the model in previous - * interactions. - */ -@Fluent -public final class EasyInputMessage extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.MESSAGE; - - /* - * The role of the message input. One of `user`, `assistant`, `system`, or - * `developer`. - */ - @Generated - private final EasyInputMessageRole role; - - /* - * Text, image, or audio input to the model, used to generate a response. - * Can also contain previous assistant responses. - */ - @Generated - private final BinaryData content; - - /* - * The status of item. One of `in_progress`, `completed`, or - * `incomplete`. Populated when items are returned via API. - */ - @Generated - private EasyInputMessageStatus status; - - /** - * Creates an instance of EasyInputMessage class. - * - * @param role the role value to set. - * @param content the content value to set. - */ - @Generated - public EasyInputMessage(EasyInputMessageRole role, BinaryData content) { - this.role = role; - this.content = content; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the role property: The role of the message input. One of `user`, `assistant`, `system`, or - * `developer`. - * - * @return the role value. - */ - @Generated - public EasyInputMessageRole getRole() { - return this.role; - } - - /** - * Get the content property: Text, image, or audio input to the model, used to generate a response. - * Can also contain previous assistant responses. - * - * @return the content value. - */ - @Generated - public BinaryData getContent() { - return this.content; - } - - /** - * Get the status property: The status of item. One of `in_progress`, `completed`, or - * `incomplete`. Populated when items are returned via API. - * - * @return the status value. - */ - @Generated - public EasyInputMessageStatus getStatus() { - return this.status; - } - - /** - * Set the status property: The status of item. One of `in_progress`, `completed`, or - * `incomplete`. Populated when items are returned via API. - * - * @param status the status value to set. - * @return the EasyInputMessage object itself. - */ - @Generated - public EasyInputMessage setStatus(EasyInputMessageStatus status) { - this.status = status; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("role", this.role == null ? null : this.role.toString()); - jsonWriter.writeFieldName("content"); - this.content.writeTo(jsonWriter); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of EasyInputMessage from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of EasyInputMessage if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the EasyInputMessage. - */ - @Generated - public static EasyInputMessage fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - EasyInputMessageRole role = null; - BinaryData content = null; - InputItemType type = InputItemType.MESSAGE; - EasyInputMessageStatus status = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("role".equals(fieldName)) { - role = EasyInputMessageRole.fromString(reader.getString()); - } else if ("content".equals(fieldName)) { - content = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else if ("status".equals(fieldName)) { - status = EasyInputMessageStatus.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - EasyInputMessage deserializedEasyInputMessage = new EasyInputMessage(role, content); - deserializedEasyInputMessage.type = type; - deserializedEasyInputMessage.status = status; - return deserializedEasyInputMessage; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageRole.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageRole.java deleted file mode 100644 index 2f052ab8a2f8..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageRole.java +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Defines values for EasyInputMessageRole. - */ -public enum EasyInputMessageRole { - /** - * Enum value user. - */ - USER("user"), - - /** - * Enum value assistant. - */ - ASSISTANT("assistant"), - - /** - * Enum value system. - */ - SYSTEM("system"), - - /** - * Enum value developer. - */ - DEVELOPER("developer"); - - /** - * The actual serialized value for a EasyInputMessageRole instance. - */ - private final String value; - - EasyInputMessageRole(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a EasyInputMessageRole instance. - * - * @param value the serialized value to parse. - * @return the parsed EasyInputMessageRole object, or null if unable to parse. - */ - public static EasyInputMessageRole fromString(String value) { - if (value == null) { - return null; - } - EasyInputMessageRole[] items = EasyInputMessageRole.values(); - for (EasyInputMessageRole item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageStatus.java deleted file mode 100644 index 59fc1a7846a1..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageStatus.java +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Defines values for EasyInputMessageStatus. - */ -public enum EasyInputMessageStatus { - /** - * Enum value in_progress. - */ - IN_PROGRESS("in_progress"), - - /** - * Enum value completed. - */ - COMPLETED("completed"), - - /** - * Enum value incomplete. - */ - INCOMPLETE("incomplete"); - - /** - * The actual serialized value for a EasyInputMessageStatus instance. - */ - private final String value; - - EasyInputMessageStatus(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a EasyInputMessageStatus instance. - * - * @param value the serialized value to parse. - * @return the parsed EasyInputMessageStatus object, or null if unable to parse. - */ - public static EasyInputMessageStatus fromString(String value) { - if (value == null) { - return null; - } - EasyInputMessageStatus[] items = EasyInputMessageStatus.values(); - for (EasyInputMessageStatus item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FileCitationBody.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FileCitationBody.java deleted file mode 100644 index b8ec8f41e1b1..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FileCitationBody.java +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * File citation - * - * A citation to a file. - */ -@Immutable -public final class FileCitationBody extends Annotation { - - /* - * The type property. - */ - @Generated - private AnnotationType type = AnnotationType.FILE_CITATION; - - /* - * The ID of the file. - */ - @Generated - private final String fileId; - - /* - * The index of the file in the list of files. - */ - @Generated - private final long index; - - /* - * The filename of the file cited. - */ - @Generated - private final String filename; - - /** - * Creates an instance of FileCitationBody class. - * - * @param fileId the fileId value to set. - * @param index the index value to set. - * @param filename the filename value to set. - */ - @Generated - public FileCitationBody(String fileId, long index, String filename) { - this.fileId = fileId; - this.index = index; - this.filename = filename; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public AnnotationType getType() { - return this.type; - } - - /** - * Get the fileId property: The ID of the file. - * - * @return the fileId value. - */ - @Generated - public String getFileId() { - return this.fileId; - } - - /** - * Get the index property: The index of the file in the list of files. - * - * @return the index value. - */ - @Generated - public long getIndex() { - return this.index; - } - - /** - * Get the filename property: The filename of the file cited. - * - * @return the filename value. - */ - @Generated - public String getFilename() { - return this.filename; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("file_id", this.fileId); - jsonWriter.writeLongField("index", this.index); - jsonWriter.writeStringField("filename", this.filename); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FileCitationBody from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FileCitationBody if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the FileCitationBody. - */ - @Generated - public static FileCitationBody fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String fileId = null; - long index = 0L; - String filename = null; - AnnotationType type = AnnotationType.FILE_CITATION; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("file_id".equals(fieldName)) { - fileId = reader.getString(); - } else if ("index".equals(fieldName)) { - index = reader.getLong(); - } else if ("filename".equals(fieldName)) { - filename = reader.getString(); - } else if ("type".equals(fieldName)) { - type = AnnotationType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - FileCitationBody deserializedFileCitationBody = new FileCitationBody(fileId, index, filename); - deserializedFileCitationBody.type = type; - return deserializedFileCitationBody; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FilePath.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FilePath.java deleted file mode 100644 index a042e0fa1acd..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FilePath.java +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * File path - * - * A path to a file. - */ -@Immutable -public final class FilePath extends Annotation { - - /* - * The type property. - */ - @Generated - private AnnotationType type = AnnotationType.FILE_PATH; - - /* - * The ID of the file. - */ - @Generated - private final String fileId; - - /* - * The index of the file in the list of files. - */ - @Generated - private final long index; - - /** - * Creates an instance of FilePath class. - * - * @param fileId the fileId value to set. - * @param index the index value to set. - */ - @Generated - public FilePath(String fileId, long index) { - this.fileId = fileId; - this.index = index; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public AnnotationType getType() { - return this.type; - } - - /** - * Get the fileId property: The ID of the file. - * - * @return the fileId value. - */ - @Generated - public String getFileId() { - return this.fileId; - } - - /** - * Get the index property: The index of the file in the list of files. - * - * @return the index value. - */ - @Generated - public long getIndex() { - return this.index; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("file_id", this.fileId); - jsonWriter.writeLongField("index", this.index); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FilePath from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FilePath if the JsonReader was pointing to an instance of it, or null if it was pointing - * to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the FilePath. - */ - @Generated - public static FilePath fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String fileId = null; - long index = 0L; - AnnotationType type = AnnotationType.FILE_PATH; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("file_id".equals(fieldName)) { - fileId = reader.getString(); - } else if ("index".equals(fieldName)) { - index = reader.getLong(); - } else if ("type".equals(fieldName)) { - type = AnnotationType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - FilePath deserializedFilePath = new FilePath(fileId, index); - deserializedFilePath.type = type; - return deserializedFilePath; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FileSearchToolCallResults.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FileSearchToolCallResults.java deleted file mode 100644 index 154eb4630be1..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FileSearchToolCallResults.java +++ /dev/null @@ -1,214 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The FileSearchToolCallResults model. - */ -@Fluent -public final class FileSearchToolCallResults implements JsonSerializable { - - /* - * The file_id property. - */ - @Generated - private String fileId; - - /* - * The text property. - */ - @Generated - private String text; - - /* - * The filename property. - */ - @Generated - private String filename; - - /* - * The attributes property. - */ - @Generated - private VectorStoreFileAttributes attributes; - - /* - * The score property. - */ - @Generated - private Double score; - - /** - * Creates an instance of FileSearchToolCallResults class. - */ - @Generated - public FileSearchToolCallResults() { - } - - /** - * Get the fileId property: The file_id property. - * - * @return the fileId value. - */ - @Generated - public String getFileId() { - return this.fileId; - } - - /** - * Set the fileId property: The file_id property. - * - * @param fileId the fileId value to set. - * @return the FileSearchToolCallResults object itself. - */ - @Generated - public FileSearchToolCallResults setFileId(String fileId) { - this.fileId = fileId; - return this; - } - - /** - * Get the text property: The text property. - * - * @return the text value. - */ - @Generated - public String getText() { - return this.text; - } - - /** - * Set the text property: The text property. - * - * @param text the text value to set. - * @return the FileSearchToolCallResults object itself. - */ - @Generated - public FileSearchToolCallResults setText(String text) { - this.text = text; - return this; - } - - /** - * Get the filename property: The filename property. - * - * @return the filename value. - */ - @Generated - public String getFilename() { - return this.filename; - } - - /** - * Set the filename property: The filename property. - * - * @param filename the filename value to set. - * @return the FileSearchToolCallResults object itself. - */ - @Generated - public FileSearchToolCallResults setFilename(String filename) { - this.filename = filename; - return this; - } - - /** - * Get the attributes property: The attributes property. - * - * @return the attributes value. - */ - @Generated - public VectorStoreFileAttributes getAttributes() { - return this.attributes; - } - - /** - * Set the attributes property: The attributes property. - * - * @param attributes the attributes value to set. - * @return the FileSearchToolCallResults object itself. - */ - @Generated - public FileSearchToolCallResults setAttributes(VectorStoreFileAttributes attributes) { - this.attributes = attributes; - return this; - } - - /** - * Get the score property: The score property. - * - * @return the score value. - */ - @Generated - public Double getScore() { - return this.score; - } - - /** - * Set the score property: The score property. - * - * @param score the score value to set. - * @return the FileSearchToolCallResults object itself. - */ - @Generated - public FileSearchToolCallResults setScore(Double score) { - this.score = score; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("file_id", this.fileId); - jsonWriter.writeStringField("text", this.text); - jsonWriter.writeStringField("filename", this.filename); - jsonWriter.writeJsonField("attributes", this.attributes); - jsonWriter.writeNumberField("score", this.score); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FileSearchToolCallResults from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FileSearchToolCallResults if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IOException If an error occurs while reading the FileSearchToolCallResults. - */ - @Generated - public static FileSearchToolCallResults fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - FileSearchToolCallResults deserializedFileSearchToolCallResults = new FileSearchToolCallResults(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("file_id".equals(fieldName)) { - deserializedFileSearchToolCallResults.fileId = reader.getString(); - } else if ("text".equals(fieldName)) { - deserializedFileSearchToolCallResults.text = reader.getString(); - } else if ("filename".equals(fieldName)) { - deserializedFileSearchToolCallResults.filename = reader.getString(); - } else if ("attributes".equals(fieldName)) { - deserializedFileSearchToolCallResults.attributes = VectorStoreFileAttributes.fromJson(reader); - } else if ("score".equals(fieldName)) { - deserializedFileSearchToolCallResults.score = reader.getNullable(JsonReader::getDouble); - } else { - reader.skipChildren(); - } - } - return deserializedFileSearchToolCallResults; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutput.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutput.java deleted file mode 100644 index 3dcb06b60607..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutput.java +++ /dev/null @@ -1,112 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The FunctionAndCustomToolCallOutput model. - */ -@Immutable -public class FunctionAndCustomToolCallOutput implements JsonSerializable { - - /* - * The type property. - */ - @Generated - private FunctionAndCustomToolCallOutputType type - = FunctionAndCustomToolCallOutputType.fromString("FunctionAndCustomToolCallOutput"); - - /** - * Creates an instance of FunctionAndCustomToolCallOutput class. - */ - @Generated - public FunctionAndCustomToolCallOutput() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - public FunctionAndCustomToolCallOutputType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FunctionAndCustomToolCallOutput from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FunctionAndCustomToolCallOutput if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the FunctionAndCustomToolCallOutput. - */ - @Generated - public static FunctionAndCustomToolCallOutput fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("input_text".equals(discriminatorValue)) { - return FunctionAndCustomToolCallOutputInputTextContent.fromJson(readerToUse.reset()); - } else if ("input_image".equals(discriminatorValue)) { - return FunctionAndCustomToolCallOutputInputImageContent.fromJson(readerToUse.reset()); - } else if ("input_file".equals(discriminatorValue)) { - return FunctionAndCustomToolCallOutputInputFileContent.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static FunctionAndCustomToolCallOutput fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - FunctionAndCustomToolCallOutput deserializedFunctionAndCustomToolCallOutput - = new FunctionAndCustomToolCallOutput(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedFunctionAndCustomToolCallOutput.type - = FunctionAndCustomToolCallOutputType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedFunctionAndCustomToolCallOutput; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputFileContent.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputFileContent.java deleted file mode 100644 index 708c4815989e..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputFileContent.java +++ /dev/null @@ -1,206 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Input file - * - * A file input to the model. - */ -@Fluent -public final class FunctionAndCustomToolCallOutputInputFileContent extends FunctionAndCustomToolCallOutput { - - /* - * The type property. - */ - @Generated - private FunctionAndCustomToolCallOutputType type = FunctionAndCustomToolCallOutputType.INPUT_FILE; - - /* - * The file_id property. - */ - @Generated - private String fileId; - - /* - * The name of the file to be sent to the model. - */ - @Generated - private String filename; - - /* - * The URL of the file to be sent to the model. - */ - @Generated - private String fileUrl; - - /* - * The content of the file to be sent to the model. - */ - @Generated - private String fileData; - - /** - * Creates an instance of FunctionAndCustomToolCallOutputInputFileContent class. - */ - @Generated - public FunctionAndCustomToolCallOutputInputFileContent() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public FunctionAndCustomToolCallOutputType getType() { - return this.type; - } - - /** - * Get the fileId property: The file_id property. - * - * @return the fileId value. - */ - @Generated - public String getFileId() { - return this.fileId; - } - - /** - * Set the fileId property: The file_id property. - * - * @param fileId the fileId value to set. - * @return the FunctionAndCustomToolCallOutputInputFileContent object itself. - */ - @Generated - public FunctionAndCustomToolCallOutputInputFileContent setFileId(String fileId) { - this.fileId = fileId; - return this; - } - - /** - * Get the filename property: The name of the file to be sent to the model. - * - * @return the filename value. - */ - @Generated - public String getFilename() { - return this.filename; - } - - /** - * Set the filename property: The name of the file to be sent to the model. - * - * @param filename the filename value to set. - * @return the FunctionAndCustomToolCallOutputInputFileContent object itself. - */ - @Generated - public FunctionAndCustomToolCallOutputInputFileContent setFilename(String filename) { - this.filename = filename; - return this; - } - - /** - * Get the fileUrl property: The URL of the file to be sent to the model. - * - * @return the fileUrl value. - */ - @Generated - public String getFileUrl() { - return this.fileUrl; - } - - /** - * Set the fileUrl property: The URL of the file to be sent to the model. - * - * @param fileUrl the fileUrl value to set. - * @return the FunctionAndCustomToolCallOutputInputFileContent object itself. - */ - @Generated - public FunctionAndCustomToolCallOutputInputFileContent setFileUrl(String fileUrl) { - this.fileUrl = fileUrl; - return this; - } - - /** - * Get the fileData property: The content of the file to be sent to the model. - * - * @return the fileData value. - */ - @Generated - public String getFileData() { - return this.fileData; - } - - /** - * Set the fileData property: The content of the file to be sent to the model. - * - * @param fileData the fileData value to set. - * @return the FunctionAndCustomToolCallOutputInputFileContent object itself. - */ - @Generated - public FunctionAndCustomToolCallOutputInputFileContent setFileData(String fileData) { - this.fileData = fileData; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("file_id", this.fileId); - jsonWriter.writeStringField("filename", this.filename); - jsonWriter.writeStringField("file_url", this.fileUrl); - jsonWriter.writeStringField("file_data", this.fileData); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FunctionAndCustomToolCallOutputInputFileContent from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FunctionAndCustomToolCallOutputInputFileContent if the JsonReader was pointing to an - * instance of it, or null if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the FunctionAndCustomToolCallOutputInputFileContent. - */ - @Generated - public static FunctionAndCustomToolCallOutputInputFileContent fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - FunctionAndCustomToolCallOutputInputFileContent deserializedFunctionAndCustomToolCallOutputInputFileContent - = new FunctionAndCustomToolCallOutputInputFileContent(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedFunctionAndCustomToolCallOutputInputFileContent.type - = FunctionAndCustomToolCallOutputType.fromString(reader.getString()); - } else if ("file_id".equals(fieldName)) { - deserializedFunctionAndCustomToolCallOutputInputFileContent.fileId = reader.getString(); - } else if ("filename".equals(fieldName)) { - deserializedFunctionAndCustomToolCallOutputInputFileContent.filename = reader.getString(); - } else if ("file_url".equals(fieldName)) { - deserializedFunctionAndCustomToolCallOutputInputFileContent.fileUrl = reader.getString(); - } else if ("file_data".equals(fieldName)) { - deserializedFunctionAndCustomToolCallOutputInputFileContent.fileData = reader.getString(); - } else { - reader.skipChildren(); - } - } - return deserializedFunctionAndCustomToolCallOutputInputFileContent; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputImageContent.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputImageContent.java deleted file mode 100644 index 6f812afe9f84..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputImageContent.java +++ /dev/null @@ -1,174 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Input image - * - * An image input to the model. Learn about [image inputs](/docs/guides/vision). - */ -@Fluent -public final class FunctionAndCustomToolCallOutputInputImageContent extends FunctionAndCustomToolCallOutput { - - /* - * The type property. - */ - @Generated - private FunctionAndCustomToolCallOutputType type = FunctionAndCustomToolCallOutputType.INPUT_IMAGE; - - /* - * The image_url property. - */ - @Generated - private String imageUrl; - - /* - * The file_id property. - */ - @Generated - private String fileId; - - /* - * The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`. - */ - @Generated - private final ImageDetail detail; - - /** - * Creates an instance of FunctionAndCustomToolCallOutputInputImageContent class. - * - * @param detail the detail value to set. - */ - @Generated - public FunctionAndCustomToolCallOutputInputImageContent(ImageDetail detail) { - this.detail = detail; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public FunctionAndCustomToolCallOutputType getType() { - return this.type; - } - - /** - * Get the imageUrl property: The image_url property. - * - * @return the imageUrl value. - */ - @Generated - public String getImageUrl() { - return this.imageUrl; - } - - /** - * Set the imageUrl property: The image_url property. - * - * @param imageUrl the imageUrl value to set. - * @return the FunctionAndCustomToolCallOutputInputImageContent object itself. - */ - @Generated - public FunctionAndCustomToolCallOutputInputImageContent setImageUrl(String imageUrl) { - this.imageUrl = imageUrl; - return this; - } - - /** - * Get the fileId property: The file_id property. - * - * @return the fileId value. - */ - @Generated - public String getFileId() { - return this.fileId; - } - - /** - * Set the fileId property: The file_id property. - * - * @param fileId the fileId value to set. - * @return the FunctionAndCustomToolCallOutputInputImageContent object itself. - */ - @Generated - public FunctionAndCustomToolCallOutputInputImageContent setFileId(String fileId) { - this.fileId = fileId; - return this; - } - - /** - * Get the detail property: The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. - * Defaults to `auto`. - * - * @return the detail value. - */ - @Generated - public ImageDetail getDetail() { - return this.detail; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("detail", this.detail == null ? null : this.detail.toString()); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("image_url", this.imageUrl); - jsonWriter.writeStringField("file_id", this.fileId); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FunctionAndCustomToolCallOutputInputImageContent from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FunctionAndCustomToolCallOutputInputImageContent if the JsonReader was pointing to an - * instance of it, or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the FunctionAndCustomToolCallOutputInputImageContent. - */ - @Generated - public static FunctionAndCustomToolCallOutputInputImageContent fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ImageDetail detail = null; - FunctionAndCustomToolCallOutputType type = FunctionAndCustomToolCallOutputType.INPUT_IMAGE; - String imageUrl = null; - String fileId = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("detail".equals(fieldName)) { - detail = ImageDetail.fromString(reader.getString()); - } else if ("type".equals(fieldName)) { - type = FunctionAndCustomToolCallOutputType.fromString(reader.getString()); - } else if ("image_url".equals(fieldName)) { - imageUrl = reader.getString(); - } else if ("file_id".equals(fieldName)) { - fileId = reader.getString(); - } else { - reader.skipChildren(); - } - } - FunctionAndCustomToolCallOutputInputImageContent deserializedFunctionAndCustomToolCallOutputInputImageContent - = new FunctionAndCustomToolCallOutputInputImageContent(detail); - deserializedFunctionAndCustomToolCallOutputInputImageContent.type = type; - deserializedFunctionAndCustomToolCallOutputInputImageContent.imageUrl = imageUrl; - deserializedFunctionAndCustomToolCallOutputInputImageContent.fileId = fileId; - return deserializedFunctionAndCustomToolCallOutputInputImageContent; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputTextContent.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputTextContent.java deleted file mode 100644 index 231c8d7ce861..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputTextContent.java +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Input text - * - * A text input to the model. - */ -@Immutable -public final class FunctionAndCustomToolCallOutputInputTextContent extends FunctionAndCustomToolCallOutput { - - /* - * The type property. - */ - @Generated - private FunctionAndCustomToolCallOutputType type = FunctionAndCustomToolCallOutputType.INPUT_TEXT; - - /* - * The text input to the model. - */ - @Generated - private final String text; - - /** - * Creates an instance of FunctionAndCustomToolCallOutputInputTextContent class. - * - * @param text the text value to set. - */ - @Generated - public FunctionAndCustomToolCallOutputInputTextContent(String text) { - this.text = text; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public FunctionAndCustomToolCallOutputType getType() { - return this.type; - } - - /** - * Get the text property: The text input to the model. - * - * @return the text value. - */ - @Generated - public String getText() { - return this.text; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("text", this.text); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FunctionAndCustomToolCallOutputInputTextContent from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FunctionAndCustomToolCallOutputInputTextContent if the JsonReader was pointing to an - * instance of it, or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the FunctionAndCustomToolCallOutputInputTextContent. - */ - @Generated - public static FunctionAndCustomToolCallOutputInputTextContent fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String text = null; - FunctionAndCustomToolCallOutputType type = FunctionAndCustomToolCallOutputType.INPUT_TEXT; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("text".equals(fieldName)) { - text = reader.getString(); - } else if ("type".equals(fieldName)) { - type = FunctionAndCustomToolCallOutputType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - FunctionAndCustomToolCallOutputInputTextContent deserializedFunctionAndCustomToolCallOutputInputTextContent - = new FunctionAndCustomToolCallOutputInputTextContent(text); - deserializedFunctionAndCustomToolCallOutputInputTextContent.type = type; - return deserializedFunctionAndCustomToolCallOutputInputTextContent; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputType.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputType.java deleted file mode 100644 index 935cedfe86e6..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputType.java +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Defines values for FunctionAndCustomToolCallOutputType. - */ -public final class FunctionAndCustomToolCallOutputType - extends ExpandableStringEnum { - - /** - * Static value input_text for FunctionAndCustomToolCallOutputType. - */ - @Generated - public static final FunctionAndCustomToolCallOutputType INPUT_TEXT = fromString("input_text"); - - /** - * Static value input_image for FunctionAndCustomToolCallOutputType. - */ - @Generated - public static final FunctionAndCustomToolCallOutputType INPUT_IMAGE = fromString("input_image"); - - /** - * Static value input_file for FunctionAndCustomToolCallOutputType. - */ - @Generated - public static final FunctionAndCustomToolCallOutputType INPUT_FILE = fromString("input_file"); - - /** - * Creates a new instance of FunctionAndCustomToolCallOutputType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public FunctionAndCustomToolCallOutputType() { - } - - /** - * Creates or finds a FunctionAndCustomToolCallOutputType from its string representation. - * - * @param name a name to look for. - * @return the corresponding FunctionAndCustomToolCallOutputType. - */ - @Generated - public static FunctionAndCustomToolCallOutputType fromString(String name) { - return fromString(name, FunctionAndCustomToolCallOutputType.class); - } - - /** - * Gets known FunctionAndCustomToolCallOutputType values. - * - * @return known FunctionAndCustomToolCallOutputType values. - */ - @Generated - public static Collection values() { - return values(FunctionAndCustomToolCallOutputType.class); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionCallItemStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionCallItemStatus.java deleted file mode 100644 index d9802eb67125..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionCallItemStatus.java +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Defines values for FunctionCallItemStatus. - */ -public enum FunctionCallItemStatus { - /** - * Enum value in_progress. - */ - IN_PROGRESS("in_progress"), - - /** - * Enum value completed. - */ - COMPLETED("completed"), - - /** - * Enum value incomplete. - */ - INCOMPLETE("incomplete"); - - /** - * The actual serialized value for a FunctionCallItemStatus instance. - */ - private final String value; - - FunctionCallItemStatus(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a FunctionCallItemStatus instance. - * - * @param value the serialized value to parse. - * @return the parsed FunctionCallItemStatus object, or null if unable to parse. - */ - public static FunctionCallItemStatus fromString(String value) { - if (value == null) { - return null; - } - FunctionCallItemStatus[] items = FunctionCallItemStatus.values(); - for (FunctionCallItemStatus item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellActionParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellActionParam.java deleted file mode 100644 index 29e45f3209f9..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellActionParam.java +++ /dev/null @@ -1,152 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Shell action - * - * Commands and limits describing how to run the shell tool call. - */ -@Fluent -public final class FunctionShellActionParam implements JsonSerializable { - - /* - * Ordered shell commands for the execution environment to run. - */ - @Generated - private final List commands; - - /* - * The timeout_ms property. - */ - @Generated - private Long timeoutMs; - - /* - * The max_output_length property. - */ - @Generated - private Long maxOutputLength; - - /** - * Creates an instance of FunctionShellActionParam class. - * - * @param commands the commands value to set. - */ - @Generated - public FunctionShellActionParam(List commands) { - this.commands = commands; - } - - /** - * Get the commands property: Ordered shell commands for the execution environment to run. - * - * @return the commands value. - */ - @Generated - public List getCommands() { - return this.commands; - } - - /** - * Get the timeoutMs property: The timeout_ms property. - * - * @return the timeoutMs value. - */ - @Generated - public Long getTimeoutMs() { - return this.timeoutMs; - } - - /** - * Set the timeoutMs property: The timeout_ms property. - * - * @param timeoutMs the timeoutMs value to set. - * @return the FunctionShellActionParam object itself. - */ - @Generated - public FunctionShellActionParam setTimeoutMs(Long timeoutMs) { - this.timeoutMs = timeoutMs; - return this; - } - - /** - * Get the maxOutputLength property: The max_output_length property. - * - * @return the maxOutputLength value. - */ - @Generated - public Long getMaxOutputLength() { - return this.maxOutputLength; - } - - /** - * Set the maxOutputLength property: The max_output_length property. - * - * @param maxOutputLength the maxOutputLength value to set. - * @return the FunctionShellActionParam object itself. - */ - @Generated - public FunctionShellActionParam setMaxOutputLength(Long maxOutputLength) { - this.maxOutputLength = maxOutputLength; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeArrayField("commands", this.commands, (writer, element) -> writer.writeString(element)); - jsonWriter.writeNumberField("timeout_ms", this.timeoutMs); - jsonWriter.writeNumberField("max_output_length", this.maxOutputLength); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FunctionShellActionParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FunctionShellActionParam if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the FunctionShellActionParam. - */ - @Generated - public static FunctionShellActionParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - List commands = null; - Long timeoutMs = null; - Long maxOutputLength = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("commands".equals(fieldName)) { - commands = reader.readArray(reader1 -> reader1.getString()); - } else if ("timeout_ms".equals(fieldName)) { - timeoutMs = reader.getNullable(JsonReader::getLong); - } else if ("max_output_length".equals(fieldName)) { - maxOutputLength = reader.getNullable(JsonReader::getLong); - } else { - reader.skipChildren(); - } - } - FunctionShellActionParam deserializedFunctionShellActionParam = new FunctionShellActionParam(commands); - deserializedFunctionShellActionParam.timeoutMs = timeoutMs; - deserializedFunctionShellActionParam.maxOutputLength = maxOutputLength; - return deserializedFunctionShellActionParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironment.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironment.java deleted file mode 100644 index ae8c4fbcdf04..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironment.java +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The environment to execute the shell commands in. - */ -@Immutable -public class FunctionShellCallItemParamEnvironment implements JsonSerializable { - - /* - * The type property. - */ - @Generated - private FunctionShellCallItemParamEnvironmentType type - = FunctionShellCallItemParamEnvironmentType.fromString("FunctionShellCallItemParamEnvironment"); - - /** - * Creates an instance of FunctionShellCallItemParamEnvironment class. - */ - @Generated - public FunctionShellCallItemParamEnvironment() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - public FunctionShellCallItemParamEnvironmentType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FunctionShellCallItemParamEnvironment from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FunctionShellCallItemParamEnvironment if the JsonReader was pointing to an instance of it, - * or null if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the FunctionShellCallItemParamEnvironment. - */ - @Generated - public static FunctionShellCallItemParamEnvironment fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("local".equals(discriminatorValue)) { - return FunctionShellCallItemParamEnvironmentLocalEnvironmentParam.fromJson(readerToUse.reset()); - } else if ("container_reference".equals(discriminatorValue)) { - return FunctionShellCallItemParamEnvironmentContainerReferenceParam.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static FunctionShellCallItemParamEnvironment fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - FunctionShellCallItemParamEnvironment deserializedFunctionShellCallItemParamEnvironment - = new FunctionShellCallItemParamEnvironment(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedFunctionShellCallItemParamEnvironment.type - = FunctionShellCallItemParamEnvironmentType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedFunctionShellCallItemParamEnvironment; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentContainerReferenceParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentContainerReferenceParam.java deleted file mode 100644 index 6d5d0da847a9..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentContainerReferenceParam.java +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The FunctionShellCallItemParamEnvironmentContainerReferenceParam model. - */ -@Immutable -public final class FunctionShellCallItemParamEnvironmentContainerReferenceParam - extends FunctionShellCallItemParamEnvironment { - - /* - * The type property. - */ - @Generated - private FunctionShellCallItemParamEnvironmentType type - = FunctionShellCallItemParamEnvironmentType.CONTAINER_REFERENCE; - - /* - * The ID of the referenced container. - */ - @Generated - private final String containerId; - - /** - * Creates an instance of FunctionShellCallItemParamEnvironmentContainerReferenceParam class. - * - * @param containerId the containerId value to set. - */ - @Generated - public FunctionShellCallItemParamEnvironmentContainerReferenceParam(String containerId) { - this.containerId = containerId; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public FunctionShellCallItemParamEnvironmentType getType() { - return this.type; - } - - /** - * Get the containerId property: The ID of the referenced container. - * - * @return the containerId value. - */ - @Generated - public String getContainerId() { - return this.containerId; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("container_id", this.containerId); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FunctionShellCallItemParamEnvironmentContainerReferenceParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FunctionShellCallItemParamEnvironmentContainerReferenceParam if the JsonReader was - * pointing to an instance of it, or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the - * FunctionShellCallItemParamEnvironmentContainerReferenceParam. - */ - @Generated - public static FunctionShellCallItemParamEnvironmentContainerReferenceParam fromJson(JsonReader jsonReader) - throws IOException { - return jsonReader.readObject(reader -> { - String containerId = null; - FunctionShellCallItemParamEnvironmentType type - = FunctionShellCallItemParamEnvironmentType.CONTAINER_REFERENCE; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("container_id".equals(fieldName)) { - containerId = reader.getString(); - } else if ("type".equals(fieldName)) { - type = FunctionShellCallItemParamEnvironmentType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - FunctionShellCallItemParamEnvironmentContainerReferenceParam deserializedFunctionShellCallItemParamEnvironmentContainerReferenceParam - = new FunctionShellCallItemParamEnvironmentContainerReferenceParam(containerId); - deserializedFunctionShellCallItemParamEnvironmentContainerReferenceParam.type = type; - return deserializedFunctionShellCallItemParamEnvironmentContainerReferenceParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentLocalEnvironmentParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentLocalEnvironmentParam.java deleted file mode 100644 index d03c54565287..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentLocalEnvironmentParam.java +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.ai.agents.models.LocalSkillParameter; -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * The FunctionShellCallItemParamEnvironmentLocalEnvironmentParam model. - */ -@Fluent -public final class FunctionShellCallItemParamEnvironmentLocalEnvironmentParam - extends FunctionShellCallItemParamEnvironment { - - /* - * The type property. - */ - @Generated - private FunctionShellCallItemParamEnvironmentType type = FunctionShellCallItemParamEnvironmentType.LOCAL; - - /* - * An optional list of skills. - */ - @Generated - private List skills; - - /** - * Creates an instance of FunctionShellCallItemParamEnvironmentLocalEnvironmentParam class. - */ - @Generated - public FunctionShellCallItemParamEnvironmentLocalEnvironmentParam() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public FunctionShellCallItemParamEnvironmentType getType() { - return this.type; - } - - /** - * Get the skills property: An optional list of skills. - * - * @return the skills value. - */ - @Generated - public List getSkills() { - return this.skills; - } - - /** - * Set the skills property: An optional list of skills. - * - * @param skills the skills value to set. - * @return the FunctionShellCallItemParamEnvironmentLocalEnvironmentParam object itself. - */ - @Generated - public FunctionShellCallItemParamEnvironmentLocalEnvironmentParam setSkills(List skills) { - this.skills = skills; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeArrayField("skills", this.skills, (writer, element) -> writer.writeJson(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FunctionShellCallItemParamEnvironmentLocalEnvironmentParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FunctionShellCallItemParamEnvironmentLocalEnvironmentParam if the JsonReader was pointing - * to an instance of it, or null if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the - * FunctionShellCallItemParamEnvironmentLocalEnvironmentParam. - */ - @Generated - public static FunctionShellCallItemParamEnvironmentLocalEnvironmentParam fromJson(JsonReader jsonReader) - throws IOException { - return jsonReader.readObject(reader -> { - FunctionShellCallItemParamEnvironmentLocalEnvironmentParam deserializedFunctionShellCallItemParamEnvironmentLocalEnvironmentParam - = new FunctionShellCallItemParamEnvironmentLocalEnvironmentParam(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedFunctionShellCallItemParamEnvironmentLocalEnvironmentParam.type - = FunctionShellCallItemParamEnvironmentType.fromString(reader.getString()); - } else if ("skills".equals(fieldName)) { - List skills - = reader.readArray(reader1 -> LocalSkillParameter.fromJson(reader1)); - deserializedFunctionShellCallItemParamEnvironmentLocalEnvironmentParam.skills = skills; - } else { - reader.skipChildren(); - } - } - return deserializedFunctionShellCallItemParamEnvironmentLocalEnvironmentParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentType.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentType.java deleted file mode 100644 index 483e85ab51fa..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentType.java +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Defines values for FunctionShellCallItemParamEnvironmentType. - */ -public final class FunctionShellCallItemParamEnvironmentType - extends ExpandableStringEnum { - - /** - * Static value local for FunctionShellCallItemParamEnvironmentType. - */ - @Generated - public static final FunctionShellCallItemParamEnvironmentType LOCAL = fromString("local"); - - /** - * Static value container_reference for FunctionShellCallItemParamEnvironmentType. - */ - @Generated - public static final FunctionShellCallItemParamEnvironmentType CONTAINER_REFERENCE - = fromString("container_reference"); - - /** - * Creates a new instance of FunctionShellCallItemParamEnvironmentType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public FunctionShellCallItemParamEnvironmentType() { - } - - /** - * Creates or finds a FunctionShellCallItemParamEnvironmentType from its string representation. - * - * @param name a name to look for. - * @return the corresponding FunctionShellCallItemParamEnvironmentType. - */ - @Generated - public static FunctionShellCallItemParamEnvironmentType fromString(String name) { - return fromString(name, FunctionShellCallItemParamEnvironmentType.class); - } - - /** - * Gets known FunctionShellCallItemParamEnvironmentType values. - * - * @return known FunctionShellCallItemParamEnvironmentType values. - */ - @Generated - public static Collection values() { - return values(FunctionShellCallItemParamEnvironmentType.class); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemStatus.java deleted file mode 100644 index a0abe4108aac..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemStatus.java +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Shell call status - * - * Status values reported for shell tool calls. - */ -public enum FunctionShellCallItemStatus { - /** - * Enum value in_progress. - */ - IN_PROGRESS("in_progress"), - - /** - * Enum value completed. - */ - COMPLETED("completed"), - - /** - * Enum value incomplete. - */ - INCOMPLETE("incomplete"); - - /** - * The actual serialized value for a FunctionShellCallItemStatus instance. - */ - private final String value; - - FunctionShellCallItemStatus(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a FunctionShellCallItemStatus instance. - * - * @param value the serialized value to parse. - * @return the parsed FunctionShellCallItemStatus object, or null if unable to parse. - */ - public static FunctionShellCallItemStatus fromString(String value) { - if (value == null) { - return null; - } - FunctionShellCallItemStatus[] items = FunctionShellCallItemStatus.values(); - for (FunctionShellCallItemStatus item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputContentParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputContentParam.java deleted file mode 100644 index 51c24e9d2d02..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputContentParam.java +++ /dev/null @@ -1,130 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Shell output content - * - * Captured stdout and stderr for a portion of a shell tool call output. - */ -@Immutable -public final class FunctionShellCallOutputContentParam - implements JsonSerializable { - - /* - * Captured stdout output for the shell call. - */ - @Generated - private final String stdout; - - /* - * Captured stderr output for the shell call. - */ - @Generated - private final String stderr; - - /* - * The exit or timeout outcome associated with this shell call. - */ - @Generated - private final FunctionShellCallOutputOutcomeParam outcome; - - /** - * Creates an instance of FunctionShellCallOutputContentParam class. - * - * @param stdout the stdout value to set. - * @param stderr the stderr value to set. - * @param outcome the outcome value to set. - */ - @Generated - public FunctionShellCallOutputContentParam(String stdout, String stderr, - FunctionShellCallOutputOutcomeParam outcome) { - this.stdout = stdout; - this.stderr = stderr; - this.outcome = outcome; - } - - /** - * Get the stdout property: Captured stdout output for the shell call. - * - * @return the stdout value. - */ - @Generated - public String getStdout() { - return this.stdout; - } - - /** - * Get the stderr property: Captured stderr output for the shell call. - * - * @return the stderr value. - */ - @Generated - public String getStderr() { - return this.stderr; - } - - /** - * Get the outcome property: The exit or timeout outcome associated with this shell call. - * - * @return the outcome value. - */ - @Generated - public FunctionShellCallOutputOutcomeParam getOutcome() { - return this.outcome; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("stdout", this.stdout); - jsonWriter.writeStringField("stderr", this.stderr); - jsonWriter.writeJsonField("outcome", this.outcome); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FunctionShellCallOutputContentParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FunctionShellCallOutputContentParam if the JsonReader was pointing to an instance of it, - * or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the FunctionShellCallOutputContentParam. - */ - @Generated - public static FunctionShellCallOutputContentParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String stdout = null; - String stderr = null; - FunctionShellCallOutputOutcomeParam outcome = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("stdout".equals(fieldName)) { - stdout = reader.getString(); - } else if ("stderr".equals(fieldName)) { - stderr = reader.getString(); - } else if ("outcome".equals(fieldName)) { - outcome = FunctionShellCallOutputOutcomeParam.fromJson(reader); - } else { - reader.skipChildren(); - } - } - return new FunctionShellCallOutputContentParam(stdout, stderr, outcome); - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputExitOutcomeParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputExitOutcomeParam.java deleted file mode 100644 index 6c824940c3c5..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputExitOutcomeParam.java +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Shell call exit outcome - * - * Indicates that the shell commands finished and returned an exit code. - */ -@Immutable -public final class FunctionShellCallOutputExitOutcomeParam extends FunctionShellCallOutputOutcomeParam { - - /* - * The type property. - */ - @Generated - private FunctionShellCallOutputOutcomeParamType type = FunctionShellCallOutputOutcomeParamType.EXIT; - - /* - * The exit code returned by the shell process. - */ - @Generated - private final long exitCode; - - /** - * Creates an instance of FunctionShellCallOutputExitOutcomeParam class. - * - * @param exitCode the exitCode value to set. - */ - @Generated - public FunctionShellCallOutputExitOutcomeParam(long exitCode) { - this.exitCode = exitCode; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public FunctionShellCallOutputOutcomeParamType getType() { - return this.type; - } - - /** - * Get the exitCode property: The exit code returned by the shell process. - * - * @return the exitCode value. - */ - @Generated - public long getExitCode() { - return this.exitCode; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeLongField("exit_code", this.exitCode); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FunctionShellCallOutputExitOutcomeParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FunctionShellCallOutputExitOutcomeParam if the JsonReader was pointing to an instance of - * it, or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the FunctionShellCallOutputExitOutcomeParam. - */ - @Generated - public static FunctionShellCallOutputExitOutcomeParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - long exitCode = 0L; - FunctionShellCallOutputOutcomeParamType type = FunctionShellCallOutputOutcomeParamType.EXIT; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("exit_code".equals(fieldName)) { - exitCode = reader.getLong(); - } else if ("type".equals(fieldName)) { - type = FunctionShellCallOutputOutcomeParamType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - FunctionShellCallOutputExitOutcomeParam deserializedFunctionShellCallOutputExitOutcomeParam - = new FunctionShellCallOutputExitOutcomeParam(exitCode); - deserializedFunctionShellCallOutputExitOutcomeParam.type = type; - return deserializedFunctionShellCallOutputExitOutcomeParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParam.java deleted file mode 100644 index 4f841507e914..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParam.java +++ /dev/null @@ -1,112 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Shell call outcome - * - * The exit or timeout outcome associated with this shell call. - */ -@Immutable -public class FunctionShellCallOutputOutcomeParam implements JsonSerializable { - - /* - * The type property. - */ - @Generated - private FunctionShellCallOutputOutcomeParamType type - = FunctionShellCallOutputOutcomeParamType.fromString("FunctionShellCallOutputOutcomeParam"); - - /** - * Creates an instance of FunctionShellCallOutputOutcomeParam class. - */ - @Generated - public FunctionShellCallOutputOutcomeParam() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - public FunctionShellCallOutputOutcomeParamType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FunctionShellCallOutputOutcomeParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FunctionShellCallOutputOutcomeParam if the JsonReader was pointing to an instance of it, - * or null if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the FunctionShellCallOutputOutcomeParam. - */ - @Generated - public static FunctionShellCallOutputOutcomeParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("timeout".equals(discriminatorValue)) { - return FunctionShellCallOutputTimeoutOutcomeParam.fromJson(readerToUse.reset()); - } else if ("exit".equals(discriminatorValue)) { - return FunctionShellCallOutputExitOutcomeParam.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static FunctionShellCallOutputOutcomeParam fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - FunctionShellCallOutputOutcomeParam deserializedFunctionShellCallOutputOutcomeParam - = new FunctionShellCallOutputOutcomeParam(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedFunctionShellCallOutputOutcomeParam.type - = FunctionShellCallOutputOutcomeParamType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedFunctionShellCallOutputOutcomeParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParamType.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParamType.java deleted file mode 100644 index 9fa435b0caef..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParamType.java +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Defines values for FunctionShellCallOutputOutcomeParamType. - */ -public final class FunctionShellCallOutputOutcomeParamType - extends ExpandableStringEnum { - - /** - * Static value timeout for FunctionShellCallOutputOutcomeParamType. - */ - @Generated - public static final FunctionShellCallOutputOutcomeParamType TIMEOUT = fromString("timeout"); - - /** - * Static value exit for FunctionShellCallOutputOutcomeParamType. - */ - @Generated - public static final FunctionShellCallOutputOutcomeParamType EXIT = fromString("exit"); - - /** - * Creates a new instance of FunctionShellCallOutputOutcomeParamType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public FunctionShellCallOutputOutcomeParamType() { - } - - /** - * Creates or finds a FunctionShellCallOutputOutcomeParamType from its string representation. - * - * @param name a name to look for. - * @return the corresponding FunctionShellCallOutputOutcomeParamType. - */ - @Generated - public static FunctionShellCallOutputOutcomeParamType fromString(String name) { - return fromString(name, FunctionShellCallOutputOutcomeParamType.class); - } - - /** - * Gets known FunctionShellCallOutputOutcomeParamType values. - * - * @return known FunctionShellCallOutputOutcomeParamType values. - */ - @Generated - public static Collection values() { - return values(FunctionShellCallOutputOutcomeParamType.class); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputTimeoutOutcomeParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputTimeoutOutcomeParam.java deleted file mode 100644 index d27ede95997b..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputTimeoutOutcomeParam.java +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Shell call timeout outcome - * - * Indicates that the shell call exceeded its configured time limit. - */ -@Immutable -public final class FunctionShellCallOutputTimeoutOutcomeParam extends FunctionShellCallOutputOutcomeParam { - - /* - * The type property. - */ - @Generated - private FunctionShellCallOutputOutcomeParamType type = FunctionShellCallOutputOutcomeParamType.TIMEOUT; - - /** - * Creates an instance of FunctionShellCallOutputTimeoutOutcomeParam class. - */ - @Generated - public FunctionShellCallOutputTimeoutOutcomeParam() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public FunctionShellCallOutputOutcomeParamType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FunctionShellCallOutputTimeoutOutcomeParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FunctionShellCallOutputTimeoutOutcomeParam if the JsonReader was pointing to an instance - * of it, or null if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the FunctionShellCallOutputTimeoutOutcomeParam. - */ - @Generated - public static FunctionShellCallOutputTimeoutOutcomeParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - FunctionShellCallOutputTimeoutOutcomeParam deserializedFunctionShellCallOutputTimeoutOutcomeParam - = new FunctionShellCallOutputTimeoutOutcomeParam(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedFunctionShellCallOutputTimeoutOutcomeParam.type - = FunctionShellCallOutputOutcomeParamType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedFunctionShellCallOutputTimeoutOutcomeParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ImageDetail.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ImageDetail.java deleted file mode 100644 index 7046854f4279..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ImageDetail.java +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Defines values for ImageDetail. - */ -public enum ImageDetail { - /** - * Enum value low. - */ - LOW("low"), - - /** - * Enum value high. - */ - HIGH("high"), - - /** - * Enum value auto. - */ - AUTO("auto"); - - /** - * The actual serialized value for a ImageDetail instance. - */ - private final String value; - - ImageDetail(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a ImageDetail instance. - * - * @param value the serialized value to parse. - * @return the parsed ImageDetail object, or null if unable to parse. - */ - public static ImageDetail fromString(String value) { - if (value == null) { - return null; - } - ImageDetail[] items = ImageDetail.values(); - for (ImageDetail item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ImageDetailLevel.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ImageDetailLevel.java deleted file mode 100644 index a6ed6b55269d..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ImageDetailLevel.java +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Defines values for ImageDetailLevel. - */ -public enum ImageDetailLevel { - /** - * Enum value low. - */ - LOW("low"), - - /** - * Enum value high. - */ - HIGH("high"), - - /** - * Enum value auto. - */ - AUTO("auto"); - - /** - * The actual serialized value for a ImageDetailLevel instance. - */ - private final String value; - - ImageDetailLevel(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a ImageDetailLevel instance. - * - * @param value the serialized value to parse. - * @return the parsed ImageDetailLevel object, or null if unable to parse. - */ - public static ImageDetailLevel fromString(String value) { - if (value == null) { - return null; - } - ImageDetailLevel[] items = ImageDetailLevel.values(); - for (ImageDetailLevel item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContent.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContent.java deleted file mode 100644 index 42956286e62c..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContent.java +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The InputContent model. - */ -@Immutable -public class InputContent implements JsonSerializable { - - /* - * The type property. - */ - @Generated - private InputContentType type = InputContentType.fromString("InputContent"); - - /** - * Creates an instance of InputContent class. - */ - @Generated - public InputContent() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - public InputContentType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputContent from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputContent if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the InputContent. - */ - @Generated - public static InputContent fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("input_text".equals(discriminatorValue)) { - return InputContentInputTextContent.fromJson(readerToUse.reset()); - } else if ("input_image".equals(discriminatorValue)) { - return InputContentInputImageContent.fromJson(readerToUse.reset()); - } else if ("input_file".equals(discriminatorValue)) { - return InputContentInputFileContent.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static InputContent fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - InputContent deserializedInputContent = new InputContent(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedInputContent.type = InputContentType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedInputContent; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContentInputFileContent.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContentInputFileContent.java deleted file mode 100644 index 8c99e451465d..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContentInputFileContent.java +++ /dev/null @@ -1,204 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Input file - * - * A file input to the model. - */ -@Fluent -public final class InputContentInputFileContent extends InputContent { - - /* - * The type property. - */ - @Generated - private InputContentType type = InputContentType.INPUT_FILE; - - /* - * The file_id property. - */ - @Generated - private String fileId; - - /* - * The name of the file to be sent to the model. - */ - @Generated - private String filename; - - /* - * The URL of the file to be sent to the model. - */ - @Generated - private String fileUrl; - - /* - * The content of the file to be sent to the model. - */ - @Generated - private String fileData; - - /** - * Creates an instance of InputContentInputFileContent class. - */ - @Generated - public InputContentInputFileContent() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputContentType getType() { - return this.type; - } - - /** - * Get the fileId property: The file_id property. - * - * @return the fileId value. - */ - @Generated - public String getFileId() { - return this.fileId; - } - - /** - * Set the fileId property: The file_id property. - * - * @param fileId the fileId value to set. - * @return the InputContentInputFileContent object itself. - */ - @Generated - public InputContentInputFileContent setFileId(String fileId) { - this.fileId = fileId; - return this; - } - - /** - * Get the filename property: The name of the file to be sent to the model. - * - * @return the filename value. - */ - @Generated - public String getFilename() { - return this.filename; - } - - /** - * Set the filename property: The name of the file to be sent to the model. - * - * @param filename the filename value to set. - * @return the InputContentInputFileContent object itself. - */ - @Generated - public InputContentInputFileContent setFilename(String filename) { - this.filename = filename; - return this; - } - - /** - * Get the fileUrl property: The URL of the file to be sent to the model. - * - * @return the fileUrl value. - */ - @Generated - public String getFileUrl() { - return this.fileUrl; - } - - /** - * Set the fileUrl property: The URL of the file to be sent to the model. - * - * @param fileUrl the fileUrl value to set. - * @return the InputContentInputFileContent object itself. - */ - @Generated - public InputContentInputFileContent setFileUrl(String fileUrl) { - this.fileUrl = fileUrl; - return this; - } - - /** - * Get the fileData property: The content of the file to be sent to the model. - * - * @return the fileData value. - */ - @Generated - public String getFileData() { - return this.fileData; - } - - /** - * Set the fileData property: The content of the file to be sent to the model. - * - * @param fileData the fileData value to set. - * @return the InputContentInputFileContent object itself. - */ - @Generated - public InputContentInputFileContent setFileData(String fileData) { - this.fileData = fileData; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("file_id", this.fileId); - jsonWriter.writeStringField("filename", this.filename); - jsonWriter.writeStringField("file_url", this.fileUrl); - jsonWriter.writeStringField("file_data", this.fileData); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputContentInputFileContent from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputContentInputFileContent if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the InputContentInputFileContent. - */ - @Generated - public static InputContentInputFileContent fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - InputContentInputFileContent deserializedInputContentInputFileContent = new InputContentInputFileContent(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedInputContentInputFileContent.type = InputContentType.fromString(reader.getString()); - } else if ("file_id".equals(fieldName)) { - deserializedInputContentInputFileContent.fileId = reader.getString(); - } else if ("filename".equals(fieldName)) { - deserializedInputContentInputFileContent.filename = reader.getString(); - } else if ("file_url".equals(fieldName)) { - deserializedInputContentInputFileContent.fileUrl = reader.getString(); - } else if ("file_data".equals(fieldName)) { - deserializedInputContentInputFileContent.fileData = reader.getString(); - } else { - reader.skipChildren(); - } - } - return deserializedInputContentInputFileContent; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContentInputImageContent.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContentInputImageContent.java deleted file mode 100644 index 3d0677520609..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContentInputImageContent.java +++ /dev/null @@ -1,174 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Input image - * - * An image input to the model. Learn about [image inputs](/docs/guides/vision). - */ -@Fluent -public final class InputContentInputImageContent extends InputContent { - - /* - * The type property. - */ - @Generated - private InputContentType type = InputContentType.INPUT_IMAGE; - - /* - * The image_url property. - */ - @Generated - private String imageUrl; - - /* - * The file_id property. - */ - @Generated - private String fileId; - - /* - * The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`. - */ - @Generated - private final ImageDetail detail; - - /** - * Creates an instance of InputContentInputImageContent class. - * - * @param detail the detail value to set. - */ - @Generated - public InputContentInputImageContent(ImageDetail detail) { - this.detail = detail; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputContentType getType() { - return this.type; - } - - /** - * Get the imageUrl property: The image_url property. - * - * @return the imageUrl value. - */ - @Generated - public String getImageUrl() { - return this.imageUrl; - } - - /** - * Set the imageUrl property: The image_url property. - * - * @param imageUrl the imageUrl value to set. - * @return the InputContentInputImageContent object itself. - */ - @Generated - public InputContentInputImageContent setImageUrl(String imageUrl) { - this.imageUrl = imageUrl; - return this; - } - - /** - * Get the fileId property: The file_id property. - * - * @return the fileId value. - */ - @Generated - public String getFileId() { - return this.fileId; - } - - /** - * Set the fileId property: The file_id property. - * - * @param fileId the fileId value to set. - * @return the InputContentInputImageContent object itself. - */ - @Generated - public InputContentInputImageContent setFileId(String fileId) { - this.fileId = fileId; - return this; - } - - /** - * Get the detail property: The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. - * Defaults to `auto`. - * - * @return the detail value. - */ - @Generated - public ImageDetail getDetail() { - return this.detail; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("detail", this.detail == null ? null : this.detail.toString()); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("image_url", this.imageUrl); - jsonWriter.writeStringField("file_id", this.fileId); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputContentInputImageContent from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputContentInputImageContent if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputContentInputImageContent. - */ - @Generated - public static InputContentInputImageContent fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ImageDetail detail = null; - InputContentType type = InputContentType.INPUT_IMAGE; - String imageUrl = null; - String fileId = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("detail".equals(fieldName)) { - detail = ImageDetail.fromString(reader.getString()); - } else if ("type".equals(fieldName)) { - type = InputContentType.fromString(reader.getString()); - } else if ("image_url".equals(fieldName)) { - imageUrl = reader.getString(); - } else if ("file_id".equals(fieldName)) { - fileId = reader.getString(); - } else { - reader.skipChildren(); - } - } - InputContentInputImageContent deserializedInputContentInputImageContent - = new InputContentInputImageContent(detail); - deserializedInputContentInputImageContent.type = type; - deserializedInputContentInputImageContent.imageUrl = imageUrl; - deserializedInputContentInputImageContent.fileId = fileId; - return deserializedInputContentInputImageContent; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContentInputTextContent.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContentInputTextContent.java deleted file mode 100644 index 954126eeba33..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContentInputTextContent.java +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Input text - * - * A text input to the model. - */ -@Immutable -public final class InputContentInputTextContent extends InputContent { - - /* - * The type property. - */ - @Generated - private InputContentType type = InputContentType.INPUT_TEXT; - - /* - * The text input to the model. - */ - @Generated - private final String text; - - /** - * Creates an instance of InputContentInputTextContent class. - * - * @param text the text value to set. - */ - @Generated - public InputContentInputTextContent(String text) { - this.text = text; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputContentType getType() { - return this.type; - } - - /** - * Get the text property: The text input to the model. - * - * @return the text value. - */ - @Generated - public String getText() { - return this.text; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("text", this.text); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputContentInputTextContent from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputContentInputTextContent if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputContentInputTextContent. - */ - @Generated - public static InputContentInputTextContent fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String text = null; - InputContentType type = InputContentType.INPUT_TEXT; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("text".equals(fieldName)) { - text = reader.getString(); - } else if ("type".equals(fieldName)) { - type = InputContentType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - InputContentInputTextContent deserializedInputContentInputTextContent - = new InputContentInputTextContent(text); - deserializedInputContentInputTextContent.type = type; - return deserializedInputContentInputTextContent; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContentType.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContentType.java deleted file mode 100644 index 08150f869a80..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputContentType.java +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Defines values for InputContentType. - */ -public final class InputContentType extends ExpandableStringEnum { - - /** - * Static value input_text for InputContentType. - */ - @Generated - public static final InputContentType INPUT_TEXT = fromString("input_text"); - - /** - * Static value input_image for InputContentType. - */ - @Generated - public static final InputContentType INPUT_IMAGE = fromString("input_image"); - - /** - * Static value input_file for InputContentType. - */ - @Generated - public static final InputContentType INPUT_FILE = fromString("input_file"); - - /** - * Creates a new instance of InputContentType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public InputContentType() { - } - - /** - * Creates or finds a InputContentType from its string representation. - * - * @param name a name to look for. - * @return the corresponding InputContentType. - */ - @Generated - public static InputContentType fromString(String name) { - return fromString(name, InputContentType.class); - } - - /** - * Gets known InputContentType values. - * - * @return known InputContentType values. - */ - @Generated - public static Collection values() { - return values(InputContentType.class); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputFileContentParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputFileContentParam.java deleted file mode 100644 index 014a3d6a026e..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputFileContentParam.java +++ /dev/null @@ -1,203 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Input file - * - * A file input to the model. - */ -@Fluent -public final class InputFileContentParam implements JsonSerializable { - - /* - * The type of the input item. Always `input_file`. - */ - @Generated - private final String type = "input_file"; - - /* - * The file_id property. - */ - @Generated - private String fileId; - - /* - * The filename property. - */ - @Generated - private String filename; - - /* - * The file_data property. - */ - @Generated - private String fileData; - - /* - * The file_url property. - */ - @Generated - private String fileUrl; - - /** - * Creates an instance of InputFileContentParam class. - */ - @Generated - public InputFileContentParam() { - } - - /** - * Get the type property: The type of the input item. Always `input_file`. - * - * @return the type value. - */ - @Generated - public String getType() { - return this.type; - } - - /** - * Get the fileId property: The file_id property. - * - * @return the fileId value. - */ - @Generated - public String getFileId() { - return this.fileId; - } - - /** - * Set the fileId property: The file_id property. - * - * @param fileId the fileId value to set. - * @return the InputFileContentParam object itself. - */ - @Generated - public InputFileContentParam setFileId(String fileId) { - this.fileId = fileId; - return this; - } - - /** - * Get the filename property: The filename property. - * - * @return the filename value. - */ - @Generated - public String getFilename() { - return this.filename; - } - - /** - * Set the filename property: The filename property. - * - * @param filename the filename value to set. - * @return the InputFileContentParam object itself. - */ - @Generated - public InputFileContentParam setFilename(String filename) { - this.filename = filename; - return this; - } - - /** - * Get the fileData property: The file_data property. - * - * @return the fileData value. - */ - @Generated - public String getFileData() { - return this.fileData; - } - - /** - * Set the fileData property: The file_data property. - * - * @param fileData the fileData value to set. - * @return the InputFileContentParam object itself. - */ - @Generated - public InputFileContentParam setFileData(String fileData) { - this.fileData = fileData; - return this; - } - - /** - * Get the fileUrl property: The file_url property. - * - * @return the fileUrl value. - */ - @Generated - public String getFileUrl() { - return this.fileUrl; - } - - /** - * Set the fileUrl property: The file_url property. - * - * @param fileUrl the fileUrl value to set. - * @return the InputFileContentParam object itself. - */ - @Generated - public InputFileContentParam setFileUrl(String fileUrl) { - this.fileUrl = fileUrl; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type); - jsonWriter.writeStringField("file_id", this.fileId); - jsonWriter.writeStringField("filename", this.filename); - jsonWriter.writeStringField("file_data", this.fileData); - jsonWriter.writeStringField("file_url", this.fileUrl); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputFileContentParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputFileContentParam if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputFileContentParam. - */ - @Generated - public static InputFileContentParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - InputFileContentParam deserializedInputFileContentParam = new InputFileContentParam(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("file_id".equals(fieldName)) { - deserializedInputFileContentParam.fileId = reader.getString(); - } else if ("filename".equals(fieldName)) { - deserializedInputFileContentParam.filename = reader.getString(); - } else if ("file_data".equals(fieldName)) { - deserializedInputFileContentParam.fileData = reader.getString(); - } else if ("file_url".equals(fieldName)) { - deserializedInputFileContentParam.fileUrl = reader.getString(); - } else { - reader.skipChildren(); - } - } - return deserializedInputFileContentParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputImageContentParamAutoParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputImageContentParamAutoParam.java deleted file mode 100644 index cbb9b6500b18..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputImageContentParamAutoParam.java +++ /dev/null @@ -1,174 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Input image - * - * An image input to the model. Learn about [image inputs](/docs/guides/vision). - */ -@Fluent -public final class InputImageContentParamAutoParam implements JsonSerializable { - - /* - * The type of the input item. Always `input_image`. - */ - @Generated - private final String type = "input_image"; - - /* - * The image_url property. - */ - @Generated - private String imageUrl; - - /* - * The file_id property. - */ - @Generated - private String fileId; - - /* - * The detail property. - */ - @Generated - private ImageDetailLevel detail; - - /** - * Creates an instance of InputImageContentParamAutoParam class. - */ - @Generated - public InputImageContentParamAutoParam() { - } - - /** - * Get the type property: The type of the input item. Always `input_image`. - * - * @return the type value. - */ - @Generated - public String getType() { - return this.type; - } - - /** - * Get the imageUrl property: The image_url property. - * - * @return the imageUrl value. - */ - @Generated - public String getImageUrl() { - return this.imageUrl; - } - - /** - * Set the imageUrl property: The image_url property. - * - * @param imageUrl the imageUrl value to set. - * @return the InputImageContentParamAutoParam object itself. - */ - @Generated - public InputImageContentParamAutoParam setImageUrl(String imageUrl) { - this.imageUrl = imageUrl; - return this; - } - - /** - * Get the fileId property: The file_id property. - * - * @return the fileId value. - */ - @Generated - public String getFileId() { - return this.fileId; - } - - /** - * Set the fileId property: The file_id property. - * - * @param fileId the fileId value to set. - * @return the InputImageContentParamAutoParam object itself. - */ - @Generated - public InputImageContentParamAutoParam setFileId(String fileId) { - this.fileId = fileId; - return this; - } - - /** - * Get the detail property: The detail property. - * - * @return the detail value. - */ - @Generated - public ImageDetailLevel getDetail() { - return this.detail; - } - - /** - * Set the detail property: The detail property. - * - * @param detail the detail value to set. - * @return the InputImageContentParamAutoParam object itself. - */ - @Generated - public InputImageContentParamAutoParam setDetail(ImageDetailLevel detail) { - this.detail = detail; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type); - jsonWriter.writeStringField("image_url", this.imageUrl); - jsonWriter.writeStringField("file_id", this.fileId); - jsonWriter.writeStringField("detail", this.detail == null ? null : this.detail.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputImageContentParamAutoParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputImageContentParamAutoParam if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputImageContentParamAutoParam. - */ - @Generated - public static InputImageContentParamAutoParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - InputImageContentParamAutoParam deserializedInputImageContentParamAutoParam - = new InputImageContentParamAutoParam(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("image_url".equals(fieldName)) { - deserializedInputImageContentParamAutoParam.imageUrl = reader.getString(); - } else if ("file_id".equals(fieldName)) { - deserializedInputImageContentParamAutoParam.fileId = reader.getString(); - } else if ("detail".equals(fieldName)) { - deserializedInputImageContentParamAutoParam.detail - = ImageDetailLevel.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedInputImageContentParamAutoParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItem.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItem.java deleted file mode 100644 index 16801c80b3be..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItem.java +++ /dev/null @@ -1,155 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * An item representing part of the context for the response to be - * generated by the model. Can contain text, images, and audio inputs, - * as well as previous assistant responses and tool call outputs. - */ -@Immutable -public class InputItem implements JsonSerializable { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.fromString("InputItem"); - - /** - * Creates an instance of InputItem class. - */ - @Generated - public InputItem() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - public InputItemType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItem from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItem if the JsonReader was pointing to an instance of it, or null if it was pointing - * to JSON null. - * @throws IOException If an error occurs while reading the InputItem. - */ - @Generated - public static InputItem fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("message".equals(discriminatorValue)) { - return EasyInputMessage.fromJson(readerToUse.reset()); - } else if ("item_reference".equals(discriminatorValue)) { - return ItemReferenceParam.fromJson(readerToUse.reset()); - } else if ("output_message".equals(discriminatorValue)) { - return InputItemOutputMessage.fromJson(readerToUse.reset()); - } else if ("file_search_call".equals(discriminatorValue)) { - return InputItemFileSearchToolCall.fromJson(readerToUse.reset()); - } else if ("computer_call".equals(discriminatorValue)) { - return InputItemComputerToolCall.fromJson(readerToUse.reset()); - } else if ("computer_call_output".equals(discriminatorValue)) { - return InputItemComputerCallOutputItemParam.fromJson(readerToUse.reset()); - } else if ("web_search_call".equals(discriminatorValue)) { - return InputItemWebSearchToolCall.fromJson(readerToUse.reset()); - } else if ("function_call".equals(discriminatorValue)) { - return InputItemFunctionToolCall.fromJson(readerToUse.reset()); - } else if ("function_call_output".equals(discriminatorValue)) { - return InputItemFunctionCallOutputItemParam.fromJson(readerToUse.reset()); - } else if ("reasoning".equals(discriminatorValue)) { - return InputItemReasoningItem.fromJson(readerToUse.reset()); - } else if ("compaction".equals(discriminatorValue)) { - return InputItemCompactionSummaryItemParam.fromJson(readerToUse.reset()); - } else if ("image_generation_call".equals(discriminatorValue)) { - return InputItemImageGenToolCall.fromJson(readerToUse.reset()); - } else if ("code_interpreter_call".equals(discriminatorValue)) { - return InputItemCodeInterpreterToolCall.fromJson(readerToUse.reset()); - } else if ("local_shell_call".equals(discriminatorValue)) { - return InputItemLocalShellToolCall.fromJson(readerToUse.reset()); - } else if ("local_shell_call_output".equals(discriminatorValue)) { - return InputItemLocalShellToolCallOutput.fromJson(readerToUse.reset()); - } else if ("shell_call".equals(discriminatorValue)) { - return InputItemFunctionShellCallItemParam.fromJson(readerToUse.reset()); - } else if ("shell_call_output".equals(discriminatorValue)) { - return InputItemFunctionShellCallOutputItemParam.fromJson(readerToUse.reset()); - } else if ("apply_patch_call".equals(discriminatorValue)) { - return InputItemApplyPatchToolCallItemParam.fromJson(readerToUse.reset()); - } else if ("apply_patch_call_output".equals(discriminatorValue)) { - return InputItemApplyPatchToolCallOutputItemParam.fromJson(readerToUse.reset()); - } else if ("mcp_list_tools".equals(discriminatorValue)) { - return InputItemMcpListTools.fromJson(readerToUse.reset()); - } else if ("mcp_approval_request".equals(discriminatorValue)) { - return InputItemMcpApprovalRequest.fromJson(readerToUse.reset()); - } else if ("mcp_approval_response".equals(discriminatorValue)) { - return InputItemMcpApprovalResponse.fromJson(readerToUse.reset()); - } else if ("mcp_call".equals(discriminatorValue)) { - return InputItemMcpToolCall.fromJson(readerToUse.reset()); - } else if ("custom_tool_call_output".equals(discriminatorValue)) { - return InputItemCustomToolCallOutput.fromJson(readerToUse.reset()); - } else if ("custom_tool_call".equals(discriminatorValue)) { - return InputItemCustomToolCall.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static InputItem fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - InputItem deserializedInputItem = new InputItem(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedInputItem.type = InputItemType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedInputItem; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallItemParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallItemParam.java deleted file mode 100644 index 6811bcb03a7c..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallItemParam.java +++ /dev/null @@ -1,185 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Apply patch tool call - * - * A tool call representing a request to create, delete, or update files using diff patches. - */ -@Fluent -public final class InputItemApplyPatchToolCallItemParam extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.APPLY_PATCH_CALL; - - /* - * The id property. - */ - @Generated - private String id; - - /* - * The unique ID of the apply patch tool call generated by the model. - */ - @Generated - private final String callId; - - /* - * The status of the apply patch tool call. One of `in_progress` or `completed`. - */ - @Generated - private final ApplyPatchCallStatusParam status; - - /* - * The specific create, delete, or update instruction for the apply_patch tool call. - */ - @Generated - private final ApplyPatchOperationParam operation; - - /** - * Creates an instance of InputItemApplyPatchToolCallItemParam class. - * - * @param callId the callId value to set. - * @param status the status value to set. - * @param operation the operation value to set. - */ - @Generated - public InputItemApplyPatchToolCallItemParam(String callId, ApplyPatchCallStatusParam status, - ApplyPatchOperationParam operation) { - this.callId = callId; - this.status = status; - this.operation = operation; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The id property. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Set the id property: The id property. - * - * @param id the id value to set. - * @return the InputItemApplyPatchToolCallItemParam object itself. - */ - @Generated - public InputItemApplyPatchToolCallItemParam setId(String id) { - this.id = id; - return this; - } - - /** - * Get the callId property: The unique ID of the apply patch tool call generated by the model. - * - * @return the callId value. - */ - @Generated - public String getCallId() { - return this.callId; - } - - /** - * Get the status property: The status of the apply patch tool call. One of `in_progress` or `completed`. - * - * @return the status value. - */ - @Generated - public ApplyPatchCallStatusParam getStatus() { - return this.status; - } - - /** - * Get the operation property: The specific create, delete, or update instruction for the apply_patch tool call. - * - * @return the operation value. - */ - @Generated - public ApplyPatchOperationParam getOperation() { - return this.operation; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("call_id", this.callId); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - jsonWriter.writeJsonField("operation", this.operation); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("id", this.id); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemApplyPatchToolCallItemParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemApplyPatchToolCallItemParam if the JsonReader was pointing to an instance of it, - * or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemApplyPatchToolCallItemParam. - */ - @Generated - public static InputItemApplyPatchToolCallItemParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String callId = null; - ApplyPatchCallStatusParam status = null; - ApplyPatchOperationParam operation = null; - InputItemType type = InputItemType.APPLY_PATCH_CALL; - String id = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("call_id".equals(fieldName)) { - callId = reader.getString(); - } else if ("status".equals(fieldName)) { - status = ApplyPatchCallStatusParam.fromString(reader.getString()); - } else if ("operation".equals(fieldName)) { - operation = ApplyPatchOperationParam.fromJson(reader); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else if ("id".equals(fieldName)) { - id = reader.getString(); - } else { - reader.skipChildren(); - } - } - InputItemApplyPatchToolCallItemParam deserializedInputItemApplyPatchToolCallItemParam - = new InputItemApplyPatchToolCallItemParam(callId, status, operation); - deserializedInputItemApplyPatchToolCallItemParam.type = type; - deserializedInputItemApplyPatchToolCallItemParam.id = id; - return deserializedInputItemApplyPatchToolCallItemParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallOutputItemParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallOutputItemParam.java deleted file mode 100644 index 40f7f29c7682..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallOutputItemParam.java +++ /dev/null @@ -1,195 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Apply patch tool call output - * - * The streamed output emitted by an apply patch tool call. - */ -@Fluent -public final class InputItemApplyPatchToolCallOutputItemParam extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.APPLY_PATCH_CALL_OUTPUT; - - /* - * The id property. - */ - @Generated - private String id; - - /* - * The unique ID of the apply patch tool call generated by the model. - */ - @Generated - private final String callId; - - /* - * The status of the apply patch tool call output. One of `completed` or `failed`. - */ - @Generated - private final ApplyPatchCallOutputStatusParam status; - - /* - * The output property. - */ - @Generated - private String output; - - /** - * Creates an instance of InputItemApplyPatchToolCallOutputItemParam class. - * - * @param callId the callId value to set. - * @param status the status value to set. - */ - @Generated - public InputItemApplyPatchToolCallOutputItemParam(String callId, ApplyPatchCallOutputStatusParam status) { - this.callId = callId; - this.status = status; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The id property. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Set the id property: The id property. - * - * @param id the id value to set. - * @return the InputItemApplyPatchToolCallOutputItemParam object itself. - */ - @Generated - public InputItemApplyPatchToolCallOutputItemParam setId(String id) { - this.id = id; - return this; - } - - /** - * Get the callId property: The unique ID of the apply patch tool call generated by the model. - * - * @return the callId value. - */ - @Generated - public String getCallId() { - return this.callId; - } - - /** - * Get the status property: The status of the apply patch tool call output. One of `completed` or `failed`. - * - * @return the status value. - */ - @Generated - public ApplyPatchCallOutputStatusParam getStatus() { - return this.status; - } - - /** - * Get the output property: The output property. - * - * @return the output value. - */ - @Generated - public String getOutput() { - return this.output; - } - - /** - * Set the output property: The output property. - * - * @param output the output value to set. - * @return the InputItemApplyPatchToolCallOutputItemParam object itself. - */ - @Generated - public InputItemApplyPatchToolCallOutputItemParam setOutput(String output) { - this.output = output; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("call_id", this.callId); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("output", this.output); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemApplyPatchToolCallOutputItemParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemApplyPatchToolCallOutputItemParam if the JsonReader was pointing to an instance - * of it, or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemApplyPatchToolCallOutputItemParam. - */ - @Generated - public static InputItemApplyPatchToolCallOutputItemParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String callId = null; - ApplyPatchCallOutputStatusParam status = null; - InputItemType type = InputItemType.APPLY_PATCH_CALL_OUTPUT; - String id = null; - String output = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("call_id".equals(fieldName)) { - callId = reader.getString(); - } else if ("status".equals(fieldName)) { - status = ApplyPatchCallOutputStatusParam.fromString(reader.getString()); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("output".equals(fieldName)) { - output = reader.getString(); - } else { - reader.skipChildren(); - } - } - InputItemApplyPatchToolCallOutputItemParam deserializedInputItemApplyPatchToolCallOutputItemParam - = new InputItemApplyPatchToolCallOutputItemParam(callId, status); - deserializedInputItemApplyPatchToolCallOutputItemParam.type = type; - deserializedInputItemApplyPatchToolCallOutputItemParam.id = id; - deserializedInputItemApplyPatchToolCallOutputItemParam.output = output; - return deserializedInputItemApplyPatchToolCallOutputItemParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCall.java deleted file mode 100644 index e9532673c174..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCall.java +++ /dev/null @@ -1,207 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.core.util.BinaryData; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Code interpreter tool call - * - * A tool call to run code. - */ -@Immutable -public final class InputItemCodeInterpreterToolCall extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.CODE_INTERPRETER_CALL; - - /* - * The unique ID of the code interpreter tool call. - */ - @Generated - private final String id; - - /* - * The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, - * `interpreting`, and `failed`. - */ - @Generated - private final InputItemCodeInterpreterToolCallStatus status; - - /* - * The ID of the container used to run the code. - */ - @Generated - private final String containerId; - - /* - * The code property. - */ - @Generated - private final String code; - - /* - * The outputs property. - */ - @Generated - private final List outputs; - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The unique ID of the code interpreter tool call. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Get the status property: The status of the code interpreter tool call. Valid values are `in_progress`, - * `completed`, `incomplete`, `interpreting`, and `failed`. - * - * @return the status value. - */ - @Generated - public InputItemCodeInterpreterToolCallStatus getStatus() { - return this.status; - } - - /** - * Get the containerId property: The ID of the container used to run the code. - * - * @return the containerId value. - */ - @Generated - public String getContainerId() { - return this.containerId; - } - - /** - * Get the code property: The code property. - * - * @return the code value. - */ - @Generated - public String getCode() { - return this.code; - } - - /** - * Get the outputs property: The outputs property. - * - * @return the outputs value. - */ - @Generated - public List getOutputs() { - return this.outputs; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - jsonWriter.writeStringField("container_id", this.containerId); - jsonWriter.writeStringField("code", this.code); - jsonWriter.writeArrayField("outputs", this.outputs, (writer, element) -> { - if (element == null) { - writer.writeNull(); - } else { - element.writeTo(writer); - } - }); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemCodeInterpreterToolCall from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemCodeInterpreterToolCall if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemCodeInterpreterToolCall. - */ - @Generated - public static InputItemCodeInterpreterToolCall fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String id = null; - InputItemCodeInterpreterToolCallStatus status = null; - String containerId = null; - String code = null; - List outputs = null; - InputItemType type = InputItemType.CODE_INTERPRETER_CALL; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("status".equals(fieldName)) { - status = InputItemCodeInterpreterToolCallStatus.fromString(reader.getString()); - } else if ("container_id".equals(fieldName)) { - containerId = reader.getString(); - } else if ("code".equals(fieldName)) { - code = reader.getString(); - } else if ("outputs".equals(fieldName)) { - outputs = reader.readArray(reader1 -> reader1 - .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - InputItemCodeInterpreterToolCall deserializedInputItemCodeInterpreterToolCall - = new InputItemCodeInterpreterToolCall(id, status, containerId, code, outputs); - deserializedInputItemCodeInterpreterToolCall.type = type; - return deserializedInputItemCodeInterpreterToolCall; - }); - } - - /** - * Creates an instance of InputItemCodeInterpreterToolCall class. - * - * @param id the id value to set. - * @param status the status value to set. - * @param containerId the containerId value to set. - * @param code the code value to set. - * @param outputs the outputs value to set. - */ - @Generated - public InputItemCodeInterpreterToolCall(String id, InputItemCodeInterpreterToolCallStatus status, - String containerId, String code, List outputs) { - this.id = id; - this.status = status; - this.containerId = containerId; - this.code = code; - this.outputs = outputs; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCallStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCallStatus.java deleted file mode 100644 index e14fdd1a1d57..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCallStatus.java +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Defines values for InputItemCodeInterpreterToolCallStatus. - */ -public enum InputItemCodeInterpreterToolCallStatus { - /** - * Enum value in_progress. - */ - IN_PROGRESS("in_progress"), - - /** - * Enum value completed. - */ - COMPLETED("completed"), - - /** - * Enum value incomplete. - */ - INCOMPLETE("incomplete"), - - /** - * Enum value interpreting. - */ - INTERPRETING("interpreting"), - - /** - * Enum value failed. - */ - FAILED("failed"); - - /** - * The actual serialized value for a InputItemCodeInterpreterToolCallStatus instance. - */ - private final String value; - - InputItemCodeInterpreterToolCallStatus(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a InputItemCodeInterpreterToolCallStatus instance. - * - * @param value the serialized value to parse. - * @return the parsed InputItemCodeInterpreterToolCallStatus object, or null if unable to parse. - */ - public static InputItemCodeInterpreterToolCallStatus fromString(String value) { - if (value == null) { - return null; - } - InputItemCodeInterpreterToolCallStatus[] items = InputItemCodeInterpreterToolCallStatus.values(); - for (InputItemCodeInterpreterToolCallStatus item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCompactionSummaryItemParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCompactionSummaryItemParam.java deleted file mode 100644 index 6cb22f707a4d..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCompactionSummaryItemParam.java +++ /dev/null @@ -1,140 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Compaction item - * - * A compaction item generated by the [`v1/responses/compact` API](/docs/api-reference/responses/compact). - */ -@Fluent -public final class InputItemCompactionSummaryItemParam extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.COMPACTION; - - /* - * The id property. - */ - @Generated - private String id; - - /* - * The encrypted content of the compaction summary. - */ - @Generated - private final String encryptedContent; - - /** - * Creates an instance of InputItemCompactionSummaryItemParam class. - * - * @param encryptedContent the encryptedContent value to set. - */ - @Generated - public InputItemCompactionSummaryItemParam(String encryptedContent) { - this.encryptedContent = encryptedContent; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The id property. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Set the id property: The id property. - * - * @param id the id value to set. - * @return the InputItemCompactionSummaryItemParam object itself. - */ - @Generated - public InputItemCompactionSummaryItemParam setId(String id) { - this.id = id; - return this; - } - - /** - * Get the encryptedContent property: The encrypted content of the compaction summary. - * - * @return the encryptedContent value. - */ - @Generated - public String getEncryptedContent() { - return this.encryptedContent; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("encrypted_content", this.encryptedContent); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("id", this.id); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemCompactionSummaryItemParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemCompactionSummaryItemParam if the JsonReader was pointing to an instance of it, - * or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemCompactionSummaryItemParam. - */ - @Generated - public static InputItemCompactionSummaryItemParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String encryptedContent = null; - InputItemType type = InputItemType.COMPACTION; - String id = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("encrypted_content".equals(fieldName)) { - encryptedContent = reader.getString(); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else if ("id".equals(fieldName)) { - id = reader.getString(); - } else { - reader.skipChildren(); - } - } - InputItemCompactionSummaryItemParam deserializedInputItemCompactionSummaryItemParam - = new InputItemCompactionSummaryItemParam(encryptedContent); - deserializedInputItemCompactionSummaryItemParam.type = type; - deserializedInputItemCompactionSummaryItemParam.id = id; - return deserializedInputItemCompactionSummaryItemParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerCallOutputItemParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerCallOutputItemParam.java deleted file mode 100644 index 6bb8fc7a0eb6..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerCallOutputItemParam.java +++ /dev/null @@ -1,233 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.ai.agents.models.ComputerCallSafetyCheckParam; -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Computer tool call output - * - * The output of a computer tool call. - */ -@Fluent -public final class InputItemComputerCallOutputItemParam extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.COMPUTER_CALL_OUTPUT; - - /* - * The id property. - */ - @Generated - private String id; - - /* - * The ID of the computer tool call that produced the output. - */ - @Generated - private final String callId; - - /* - * The output property. - */ - @Generated - private final ComputerScreenshotImage output; - - /* - * The acknowledged_safety_checks property. - */ - @Generated - private List acknowledgedSafetyChecks; - - /* - * The status property. - */ - @Generated - private FunctionCallItemStatus status; - - /** - * Creates an instance of InputItemComputerCallOutputItemParam class. - * - * @param callId the callId value to set. - * @param output the output value to set. - */ - @Generated - public InputItemComputerCallOutputItemParam(String callId, ComputerScreenshotImage output) { - this.callId = callId; - this.output = output; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The id property. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Set the id property: The id property. - * - * @param id the id value to set. - * @return the InputItemComputerCallOutputItemParam object itself. - */ - @Generated - public InputItemComputerCallOutputItemParam setId(String id) { - this.id = id; - return this; - } - - /** - * Get the callId property: The ID of the computer tool call that produced the output. - * - * @return the callId value. - */ - @Generated - public String getCallId() { - return this.callId; - } - - /** - * Get the output property: The output property. - * - * @return the output value. - */ - @Generated - public ComputerScreenshotImage getOutput() { - return this.output; - } - - /** - * Get the acknowledgedSafetyChecks property: The acknowledged_safety_checks property. - * - * @return the acknowledgedSafetyChecks value. - */ - @Generated - public List getAcknowledgedSafetyChecks() { - return this.acknowledgedSafetyChecks; - } - - /** - * Set the acknowledgedSafetyChecks property: The acknowledged_safety_checks property. - * - * @param acknowledgedSafetyChecks the acknowledgedSafetyChecks value to set. - * @return the InputItemComputerCallOutputItemParam object itself. - */ - @Generated - public InputItemComputerCallOutputItemParam - setAcknowledgedSafetyChecks(List acknowledgedSafetyChecks) { - this.acknowledgedSafetyChecks = acknowledgedSafetyChecks; - return this; - } - - /** - * Get the status property: The status property. - * - * @return the status value. - */ - @Generated - public FunctionCallItemStatus getStatus() { - return this.status; - } - - /** - * Set the status property: The status property. - * - * @param status the status value to set. - * @return the InputItemComputerCallOutputItemParam object itself. - */ - @Generated - public InputItemComputerCallOutputItemParam setStatus(FunctionCallItemStatus status) { - this.status = status; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("call_id", this.callId); - jsonWriter.writeJsonField("output", this.output); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeArrayField("acknowledged_safety_checks", this.acknowledgedSafetyChecks, - (writer, element) -> writer.writeJson(element)); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemComputerCallOutputItemParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemComputerCallOutputItemParam if the JsonReader was pointing to an instance of it, - * or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemComputerCallOutputItemParam. - */ - @Generated - public static InputItemComputerCallOutputItemParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String callId = null; - ComputerScreenshotImage output = null; - InputItemType type = InputItemType.COMPUTER_CALL_OUTPUT; - String id = null; - List acknowledgedSafetyChecks = null; - FunctionCallItemStatus status = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("call_id".equals(fieldName)) { - callId = reader.getString(); - } else if ("output".equals(fieldName)) { - output = ComputerScreenshotImage.fromJson(reader); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("acknowledged_safety_checks".equals(fieldName)) { - acknowledgedSafetyChecks - = reader.readArray(reader1 -> ComputerCallSafetyCheckParam.fromJson(reader1)); - } else if ("status".equals(fieldName)) { - status = FunctionCallItemStatus.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - InputItemComputerCallOutputItemParam deserializedInputItemComputerCallOutputItemParam - = new InputItemComputerCallOutputItemParam(callId, output); - deserializedInputItemComputerCallOutputItemParam.type = type; - deserializedInputItemComputerCallOutputItemParam.id = id; - deserializedInputItemComputerCallOutputItemParam.acknowledgedSafetyChecks = acknowledgedSafetyChecks; - deserializedInputItemComputerCallOutputItemParam.status = status; - return deserializedInputItemComputerCallOutputItemParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCall.java deleted file mode 100644 index 25f62d6bc110..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCall.java +++ /dev/null @@ -1,203 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.ai.agents.models.ComputerAction; -import com.azure.ai.agents.models.ComputerCallSafetyCheckParam; -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Computer tool call - * - * A tool call to a computer use tool. See the - * [computer use guide](/docs/guides/tools-computer-use) for more information. - */ -@Immutable -public final class InputItemComputerToolCall extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.COMPUTER_CALL; - - /* - * The unique ID of the computer call. - */ - @Generated - private final String id; - - /* - * An identifier used when responding to the tool call with output. - */ - @Generated - private final String callId; - - /* - * The action property. - */ - @Generated - private final ComputerAction action; - - /* - * The pending safety checks for the computer call. - */ - @Generated - private final List pendingSafetyChecks; - - /* - * The status of the item. One of `in_progress`, `completed`, or - * `incomplete`. Populated when items are returned via API. - */ - @Generated - private final InputItemComputerToolCallStatus status; - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The unique ID of the computer call. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Get the callId property: An identifier used when responding to the tool call with output. - * - * @return the callId value. - */ - @Generated - public String getCallId() { - return this.callId; - } - - /** - * Get the action property: The action property. - * - * @return the action value. - */ - @Generated - public ComputerAction getAction() { - return this.action; - } - - /** - * Get the pendingSafetyChecks property: The pending safety checks for the computer call. - * - * @return the pendingSafetyChecks value. - */ - @Generated - public List getPendingSafetyChecks() { - return this.pendingSafetyChecks; - } - - /** - * Get the status property: The status of the item. One of `in_progress`, `completed`, or - * `incomplete`. Populated when items are returned via API. - * - * @return the status value. - */ - @Generated - public InputItemComputerToolCallStatus getStatus() { - return this.status; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("call_id", this.callId); - jsonWriter.writeJsonField("action", this.action); - jsonWriter.writeArrayField("pending_safety_checks", this.pendingSafetyChecks, - (writer, element) -> writer.writeJson(element)); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemComputerToolCall from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemComputerToolCall if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemComputerToolCall. - */ - @Generated - public static InputItemComputerToolCall fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String id = null; - String callId = null; - ComputerAction action = null; - List pendingSafetyChecks = null; - InputItemComputerToolCallStatus status = null; - InputItemType type = InputItemType.COMPUTER_CALL; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("call_id".equals(fieldName)) { - callId = reader.getString(); - } else if ("action".equals(fieldName)) { - action = ComputerAction.fromJson(reader); - } else if ("pending_safety_checks".equals(fieldName)) { - pendingSafetyChecks = reader.readArray(reader1 -> ComputerCallSafetyCheckParam.fromJson(reader1)); - } else if ("status".equals(fieldName)) { - status = InputItemComputerToolCallStatus.fromString(reader.getString()); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - InputItemComputerToolCall deserializedInputItemComputerToolCall - = new InputItemComputerToolCall(id, callId, action, pendingSafetyChecks, status); - deserializedInputItemComputerToolCall.type = type; - return deserializedInputItemComputerToolCall; - }); - } - - /** - * Creates an instance of InputItemComputerToolCall class. - * - * @param id the id value to set. - * @param callId the callId value to set. - * @param action the action value to set. - * @param pendingSafetyChecks the pendingSafetyChecks value to set. - * @param status the status value to set. - */ - @Generated - public InputItemComputerToolCall(String id, String callId, ComputerAction action, - List pendingSafetyChecks, InputItemComputerToolCallStatus status) { - this.id = id; - this.callId = callId; - this.action = action; - this.pendingSafetyChecks = pendingSafetyChecks; - this.status = status; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCallStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCallStatus.java deleted file mode 100644 index dc2b3e7379ae..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCallStatus.java +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Defines values for InputItemComputerToolCallStatus. - */ -public enum InputItemComputerToolCallStatus { - /** - * Enum value in_progress. - */ - IN_PROGRESS("in_progress"), - - /** - * Enum value completed. - */ - COMPLETED("completed"), - - /** - * Enum value incomplete. - */ - INCOMPLETE("incomplete"); - - /** - * The actual serialized value for a InputItemComputerToolCallStatus instance. - */ - private final String value; - - InputItemComputerToolCallStatus(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a InputItemComputerToolCallStatus instance. - * - * @param value the serialized value to parse. - * @return the parsed InputItemComputerToolCallStatus object, or null if unable to parse. - */ - public static InputItemComputerToolCallStatus fromString(String value) { - if (value == null) { - return null; - } - InputItemComputerToolCallStatus[] items = InputItemComputerToolCallStatus.values(); - for (InputItemComputerToolCallStatus item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCall.java deleted file mode 100644 index 6730eb0e9384..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCall.java +++ /dev/null @@ -1,184 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Custom tool call - * - * A call to a custom tool created by the model. - */ -@Fluent -public final class InputItemCustomToolCall extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.CUSTOM_TOOL_CALL; - - /* - * The unique ID of the custom tool call in the OpenAI platform. - */ - @Generated - private String id; - - /* - * An identifier used to map this custom tool call to a tool call output. - */ - @Generated - private final String callId; - - /* - * The name of the custom tool being called. - */ - @Generated - private final String name; - - /* - * The input for the custom tool call generated by the model. - */ - @Generated - private final String input; - - /** - * Creates an instance of InputItemCustomToolCall class. - * - * @param callId the callId value to set. - * @param name the name value to set. - * @param input the input value to set. - */ - @Generated - public InputItemCustomToolCall(String callId, String name, String input) { - this.callId = callId; - this.name = name; - this.input = input; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The unique ID of the custom tool call in the OpenAI platform. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Set the id property: The unique ID of the custom tool call in the OpenAI platform. - * - * @param id the id value to set. - * @return the InputItemCustomToolCall object itself. - */ - @Generated - public InputItemCustomToolCall setId(String id) { - this.id = id; - return this; - } - - /** - * Get the callId property: An identifier used to map this custom tool call to a tool call output. - * - * @return the callId value. - */ - @Generated - public String getCallId() { - return this.callId; - } - - /** - * Get the name property: The name of the custom tool being called. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the input property: The input for the custom tool call generated by the model. - * - * @return the input value. - */ - @Generated - public String getInput() { - return this.input; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("call_id", this.callId); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("input", this.input); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("id", this.id); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemCustomToolCall from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemCustomToolCall if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemCustomToolCall. - */ - @Generated - public static InputItemCustomToolCall fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String callId = null; - String name = null; - String input = null; - InputItemType type = InputItemType.CUSTOM_TOOL_CALL; - String id = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("call_id".equals(fieldName)) { - callId = reader.getString(); - } else if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("input".equals(fieldName)) { - input = reader.getString(); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else if ("id".equals(fieldName)) { - id = reader.getString(); - } else { - reader.skipChildren(); - } - } - InputItemCustomToolCall deserializedInputItemCustomToolCall - = new InputItemCustomToolCall(callId, name, input); - deserializedInputItemCustomToolCall.type = type; - deserializedInputItemCustomToolCall.id = id; - return deserializedInputItemCustomToolCall; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCallOutput.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCallOutput.java deleted file mode 100644 index bbc33c4d29ca..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCallOutput.java +++ /dev/null @@ -1,166 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.core.util.BinaryData; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Custom tool call output - * - * The output of a custom tool call from your code, being sent back to the model. - */ -@Fluent -public final class InputItemCustomToolCallOutput extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.CUSTOM_TOOL_CALL_OUTPUT; - - /* - * The unique ID of the custom tool call output in the OpenAI platform. - */ - @Generated - private String id; - - /* - * The call ID, used to map this custom tool call output to a custom tool call. - */ - @Generated - private final String callId; - - /* - * The output from the custom tool call generated by your code. - * Can be a string or an list of output content. - */ - @Generated - private final BinaryData output; - - /** - * Creates an instance of InputItemCustomToolCallOutput class. - * - * @param callId the callId value to set. - * @param output the output value to set. - */ - @Generated - public InputItemCustomToolCallOutput(String callId, BinaryData output) { - this.callId = callId; - this.output = output; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The unique ID of the custom tool call output in the OpenAI platform. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Set the id property: The unique ID of the custom tool call output in the OpenAI platform. - * - * @param id the id value to set. - * @return the InputItemCustomToolCallOutput object itself. - */ - @Generated - public InputItemCustomToolCallOutput setId(String id) { - this.id = id; - return this; - } - - /** - * Get the callId property: The call ID, used to map this custom tool call output to a custom tool call. - * - * @return the callId value. - */ - @Generated - public String getCallId() { - return this.callId; - } - - /** - * Get the output property: The output from the custom tool call generated by your code. - * Can be a string or an list of output content. - * - * @return the output value. - */ - @Generated - public BinaryData getOutput() { - return this.output; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("call_id", this.callId); - jsonWriter.writeFieldName("output"); - this.output.writeTo(jsonWriter); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("id", this.id); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemCustomToolCallOutput from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemCustomToolCallOutput if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemCustomToolCallOutput. - */ - @Generated - public static InputItemCustomToolCallOutput fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String callId = null; - BinaryData output = null; - InputItemType type = InputItemType.CUSTOM_TOOL_CALL_OUTPUT; - String id = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("call_id".equals(fieldName)) { - callId = reader.getString(); - } else if ("output".equals(fieldName)) { - output = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else if ("id".equals(fieldName)) { - id = reader.getString(); - } else { - reader.skipChildren(); - } - } - InputItemCustomToolCallOutput deserializedInputItemCustomToolCallOutput - = new InputItemCustomToolCallOutput(callId, output); - deserializedInputItemCustomToolCallOutput.type = type; - deserializedInputItemCustomToolCallOutput.id = id; - return deserializedInputItemCustomToolCallOutput; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCall.java deleted file mode 100644 index 2fdf74296c0b..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCall.java +++ /dev/null @@ -1,189 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.ai.agents.models.FileSearchToolCallResults; -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * File search tool call - * - * The results of a file search tool call. See the - * [file search guide](/docs/guides/tools-file-search) for more information. - */ -@Fluent -public final class InputItemFileSearchToolCall extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.FILE_SEARCH_CALL; - - /* - * The unique ID of the file search tool call. - */ - @Generated - private final String id; - - /* - * The status of the file search tool call. One of `in_progress`, - * `searching`, `incomplete` or `failed`, - */ - @Generated - private final InputItemFileSearchToolCallStatus status; - - /* - * The queries used to search for files. - */ - @Generated - private final List queries; - - /* - * The results property. - */ - @Generated - private List results; - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The unique ID of the file search tool call. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Get the status property: The status of the file search tool call. One of `in_progress`, - * `searching`, `incomplete` or `failed`,. - * - * @return the status value. - */ - @Generated - public InputItemFileSearchToolCallStatus getStatus() { - return this.status; - } - - /** - * Get the queries property: The queries used to search for files. - * - * @return the queries value. - */ - @Generated - public List getQueries() { - return this.queries; - } - - /** - * Get the results property: The results property. - * - * @return the results value. - */ - @Generated - public List getResults() { - return this.results; - } - - /** - * Set the results property: The results property. - * - * @param results the results value to set. - * @return the InputItemFileSearchToolCall object itself. - */ - @Generated - public InputItemFileSearchToolCall setResults(List results) { - this.results = results; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - jsonWriter.writeArrayField("queries", this.queries, (writer, element) -> writer.writeString(element)); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeArrayField("results", this.results, (writer, element) -> writer.writeJson(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemFileSearchToolCall from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemFileSearchToolCall if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemFileSearchToolCall. - */ - @Generated - public static InputItemFileSearchToolCall fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String id = null; - InputItemFileSearchToolCallStatus status = null; - List queries = null; - InputItemType type = InputItemType.FILE_SEARCH_CALL; - List results = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("status".equals(fieldName)) { - status = InputItemFileSearchToolCallStatus.fromString(reader.getString()); - } else if ("queries".equals(fieldName)) { - queries = reader.readArray(reader1 -> reader1.getString()); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else if ("results".equals(fieldName)) { - results = reader.readArray(reader1 -> FileSearchToolCallResults.fromJson(reader1)); - } else { - reader.skipChildren(); - } - } - InputItemFileSearchToolCall deserializedInputItemFileSearchToolCall - = new InputItemFileSearchToolCall(id, status, queries); - deserializedInputItemFileSearchToolCall.type = type; - deserializedInputItemFileSearchToolCall.results = results; - return deserializedInputItemFileSearchToolCall; - }); - } - - /** - * Creates an instance of InputItemFileSearchToolCall class. - * - * @param id the id value to set. - * @param status the status value to set. - * @param queries the queries value to set. - */ - @Generated - public InputItemFileSearchToolCall(String id, InputItemFileSearchToolCallStatus status, List queries) { - this.id = id; - this.status = status; - this.queries = queries; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCallStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCallStatus.java deleted file mode 100644 index cb53bd4a8a88..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCallStatus.java +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Defines values for InputItemFileSearchToolCallStatus. - */ -public enum InputItemFileSearchToolCallStatus { - /** - * Enum value in_progress. - */ - IN_PROGRESS("in_progress"), - - /** - * Enum value searching. - */ - SEARCHING("searching"), - - /** - * Enum value completed. - */ - COMPLETED("completed"), - - /** - * Enum value incomplete. - */ - INCOMPLETE("incomplete"), - - /** - * Enum value failed. - */ - FAILED("failed"); - - /** - * The actual serialized value for a InputItemFileSearchToolCallStatus instance. - */ - private final String value; - - InputItemFileSearchToolCallStatus(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a InputItemFileSearchToolCallStatus instance. - * - * @param value the serialized value to parse. - * @return the parsed InputItemFileSearchToolCallStatus object, or null if unable to parse. - */ - public static InputItemFileSearchToolCallStatus fromString(String value) { - if (value == null) { - return null; - } - InputItemFileSearchToolCallStatus[] items = InputItemFileSearchToolCallStatus.values(); - for (InputItemFileSearchToolCallStatus item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionCallOutputItemParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionCallOutputItemParam.java deleted file mode 100644 index 92bdda7e7d19..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionCallOutputItemParam.java +++ /dev/null @@ -1,197 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.core.util.BinaryData; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Function tool call output - * - * The output of a function tool call. - */ -@Fluent -public final class InputItemFunctionCallOutputItemParam extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.FUNCTION_CALL_OUTPUT; - - /* - * The id property. - */ - @Generated - private String id; - - /* - * The unique ID of the function tool call generated by the model. - */ - @Generated - private final String callId; - - /* - * Text, image, or file output of the function tool call. - */ - @Generated - private final BinaryData output; - - /* - * The status property. - */ - @Generated - private FunctionCallItemStatus status; - - /** - * Creates an instance of InputItemFunctionCallOutputItemParam class. - * - * @param callId the callId value to set. - * @param output the output value to set. - */ - @Generated - public InputItemFunctionCallOutputItemParam(String callId, BinaryData output) { - this.callId = callId; - this.output = output; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The id property. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Set the id property: The id property. - * - * @param id the id value to set. - * @return the InputItemFunctionCallOutputItemParam object itself. - */ - @Generated - public InputItemFunctionCallOutputItemParam setId(String id) { - this.id = id; - return this; - } - - /** - * Get the callId property: The unique ID of the function tool call generated by the model. - * - * @return the callId value. - */ - @Generated - public String getCallId() { - return this.callId; - } - - /** - * Get the output property: Text, image, or file output of the function tool call. - * - * @return the output value. - */ - @Generated - public BinaryData getOutput() { - return this.output; - } - - /** - * Get the status property: The status property. - * - * @return the status value. - */ - @Generated - public FunctionCallItemStatus getStatus() { - return this.status; - } - - /** - * Set the status property: The status property. - * - * @param status the status value to set. - * @return the InputItemFunctionCallOutputItemParam object itself. - */ - @Generated - public InputItemFunctionCallOutputItemParam setStatus(FunctionCallItemStatus status) { - this.status = status; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("call_id", this.callId); - jsonWriter.writeFieldName("output"); - this.output.writeTo(jsonWriter); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemFunctionCallOutputItemParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemFunctionCallOutputItemParam if the JsonReader was pointing to an instance of it, - * or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemFunctionCallOutputItemParam. - */ - @Generated - public static InputItemFunctionCallOutputItemParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String callId = null; - BinaryData output = null; - InputItemType type = InputItemType.FUNCTION_CALL_OUTPUT; - String id = null; - FunctionCallItemStatus status = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("call_id".equals(fieldName)) { - callId = reader.getString(); - } else if ("output".equals(fieldName)) { - output = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("status".equals(fieldName)) { - status = FunctionCallItemStatus.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - InputItemFunctionCallOutputItemParam deserializedInputItemFunctionCallOutputItemParam - = new InputItemFunctionCallOutputItemParam(callId, output); - deserializedInputItemFunctionCallOutputItemParam.type = type; - deserializedInputItemFunctionCallOutputItemParam.id = id; - deserializedInputItemFunctionCallOutputItemParam.status = status; - return deserializedInputItemFunctionCallOutputItemParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallItemParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallItemParam.java deleted file mode 100644 index afc65cfe8fab..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallItemParam.java +++ /dev/null @@ -1,228 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Shell tool call - * - * A tool representing a request to execute one or more shell commands. - */ -@Fluent -public final class InputItemFunctionShellCallItemParam extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.SHELL_CALL; - - /* - * The id property. - */ - @Generated - private String id; - - /* - * The unique ID of the shell tool call generated by the model. - */ - @Generated - private final String callId; - - /* - * The shell commands and limits that describe how to run the tool call. - */ - @Generated - private final FunctionShellActionParam action; - - /* - * The status property. - */ - @Generated - private FunctionShellCallItemStatus status; - - /* - * The environment property. - */ - @Generated - private FunctionShellCallItemParamEnvironment environment; - - /** - * Creates an instance of InputItemFunctionShellCallItemParam class. - * - * @param callId the callId value to set. - * @param action the action value to set. - */ - @Generated - public InputItemFunctionShellCallItemParam(String callId, FunctionShellActionParam action) { - this.callId = callId; - this.action = action; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The id property. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Set the id property: The id property. - * - * @param id the id value to set. - * @return the InputItemFunctionShellCallItemParam object itself. - */ - @Generated - public InputItemFunctionShellCallItemParam setId(String id) { - this.id = id; - return this; - } - - /** - * Get the callId property: The unique ID of the shell tool call generated by the model. - * - * @return the callId value. - */ - @Generated - public String getCallId() { - return this.callId; - } - - /** - * Get the action property: The shell commands and limits that describe how to run the tool call. - * - * @return the action value. - */ - @Generated - public FunctionShellActionParam getAction() { - return this.action; - } - - /** - * Get the status property: The status property. - * - * @return the status value. - */ - @Generated - public FunctionShellCallItemStatus getStatus() { - return this.status; - } - - /** - * Set the status property: The status property. - * - * @param status the status value to set. - * @return the InputItemFunctionShellCallItemParam object itself. - */ - @Generated - public InputItemFunctionShellCallItemParam setStatus(FunctionShellCallItemStatus status) { - this.status = status; - return this; - } - - /** - * Get the environment property: The environment property. - * - * @return the environment value. - */ - @Generated - public FunctionShellCallItemParamEnvironment getEnvironment() { - return this.environment; - } - - /** - * Set the environment property: The environment property. - * - * @param environment the environment value to set. - * @return the InputItemFunctionShellCallItemParam object itself. - */ - @Generated - public InputItemFunctionShellCallItemParam setEnvironment(FunctionShellCallItemParamEnvironment environment) { - this.environment = environment; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("call_id", this.callId); - jsonWriter.writeJsonField("action", this.action); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - jsonWriter.writeJsonField("environment", this.environment); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemFunctionShellCallItemParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemFunctionShellCallItemParam if the JsonReader was pointing to an instance of it, - * or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemFunctionShellCallItemParam. - */ - @Generated - public static InputItemFunctionShellCallItemParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String callId = null; - FunctionShellActionParam action = null; - InputItemType type = InputItemType.SHELL_CALL; - String id = null; - FunctionShellCallItemStatus status = null; - FunctionShellCallItemParamEnvironment environment = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("call_id".equals(fieldName)) { - callId = reader.getString(); - } else if ("action".equals(fieldName)) { - action = FunctionShellActionParam.fromJson(reader); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("status".equals(fieldName)) { - status = FunctionShellCallItemStatus.fromString(reader.getString()); - } else if ("environment".equals(fieldName)) { - environment = FunctionShellCallItemParamEnvironment.fromJson(reader); - } else { - reader.skipChildren(); - } - } - InputItemFunctionShellCallItemParam deserializedInputItemFunctionShellCallItemParam - = new InputItemFunctionShellCallItemParam(callId, action); - deserializedInputItemFunctionShellCallItemParam.type = type; - deserializedInputItemFunctionShellCallItemParam.id = id; - deserializedInputItemFunctionShellCallItemParam.status = status; - deserializedInputItemFunctionShellCallItemParam.environment = environment; - return deserializedInputItemFunctionShellCallItemParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallOutputItemParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallOutputItemParam.java deleted file mode 100644 index e74fbb7f5710..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallOutputItemParam.java +++ /dev/null @@ -1,229 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Shell tool call output - * - * The streamed output items emitted by a shell tool call. - */ -@Fluent -public final class InputItemFunctionShellCallOutputItemParam extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.SHELL_CALL_OUTPUT; - - /* - * The id property. - */ - @Generated - private String id; - - /* - * The unique ID of the shell tool call generated by the model. - */ - @Generated - private final String callId; - - /* - * Captured chunks of stdout and stderr output, along with their associated outcomes. - */ - @Generated - private final List output; - - /* - * The status property. - */ - @Generated - private FunctionShellCallItemStatus status; - - /* - * The max_output_length property. - */ - @Generated - private Long maxOutputLength; - - /** - * Creates an instance of InputItemFunctionShellCallOutputItemParam class. - * - * @param callId the callId value to set. - * @param output the output value to set. - */ - @Generated - public InputItemFunctionShellCallOutputItemParam(String callId, List output) { - this.callId = callId; - this.output = output; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The id property. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Set the id property: The id property. - * - * @param id the id value to set. - * @return the InputItemFunctionShellCallOutputItemParam object itself. - */ - @Generated - public InputItemFunctionShellCallOutputItemParam setId(String id) { - this.id = id; - return this; - } - - /** - * Get the callId property: The unique ID of the shell tool call generated by the model. - * - * @return the callId value. - */ - @Generated - public String getCallId() { - return this.callId; - } - - /** - * Get the output property: Captured chunks of stdout and stderr output, along with their associated outcomes. - * - * @return the output value. - */ - @Generated - public List getOutput() { - return this.output; - } - - /** - * Get the status property: The status property. - * - * @return the status value. - */ - @Generated - public FunctionShellCallItemStatus getStatus() { - return this.status; - } - - /** - * Set the status property: The status property. - * - * @param status the status value to set. - * @return the InputItemFunctionShellCallOutputItemParam object itself. - */ - @Generated - public InputItemFunctionShellCallOutputItemParam setStatus(FunctionShellCallItemStatus status) { - this.status = status; - return this; - } - - /** - * Get the maxOutputLength property: The max_output_length property. - * - * @return the maxOutputLength value. - */ - @Generated - public Long getMaxOutputLength() { - return this.maxOutputLength; - } - - /** - * Set the maxOutputLength property: The max_output_length property. - * - * @param maxOutputLength the maxOutputLength value to set. - * @return the InputItemFunctionShellCallOutputItemParam object itself. - */ - @Generated - public InputItemFunctionShellCallOutputItemParam setMaxOutputLength(Long maxOutputLength) { - this.maxOutputLength = maxOutputLength; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("call_id", this.callId); - jsonWriter.writeArrayField("output", this.output, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - jsonWriter.writeNumberField("max_output_length", this.maxOutputLength); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemFunctionShellCallOutputItemParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemFunctionShellCallOutputItemParam if the JsonReader was pointing to an instance of - * it, or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemFunctionShellCallOutputItemParam. - */ - @Generated - public static InputItemFunctionShellCallOutputItemParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String callId = null; - List output = null; - InputItemType type = InputItemType.SHELL_CALL_OUTPUT; - String id = null; - FunctionShellCallItemStatus status = null; - Long maxOutputLength = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("call_id".equals(fieldName)) { - callId = reader.getString(); - } else if ("output".equals(fieldName)) { - output = reader.readArray(reader1 -> FunctionShellCallOutputContentParam.fromJson(reader1)); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("status".equals(fieldName)) { - status = FunctionShellCallItemStatus.fromString(reader.getString()); - } else if ("max_output_length".equals(fieldName)) { - maxOutputLength = reader.getNullable(JsonReader::getLong); - } else { - reader.skipChildren(); - } - } - InputItemFunctionShellCallOutputItemParam deserializedInputItemFunctionShellCallOutputItemParam - = new InputItemFunctionShellCallOutputItemParam(callId, output); - deserializedInputItemFunctionShellCallOutputItemParam.type = type; - deserializedInputItemFunctionShellCallOutputItemParam.id = id; - deserializedInputItemFunctionShellCallOutputItemParam.status = status; - deserializedInputItemFunctionShellCallOutputItemParam.maxOutputLength = maxOutputLength; - return deserializedInputItemFunctionShellCallOutputItemParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCall.java deleted file mode 100644 index 73d53cc46ae2..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCall.java +++ /dev/null @@ -1,221 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Function tool call - * - * A tool call to run a function. See the - * [function calling guide](/docs/guides/function-calling) for more information. - */ -@Fluent -public final class InputItemFunctionToolCall extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.FUNCTION_CALL; - - /* - * The unique ID of the function tool call. - */ - @Generated - private String id; - - /* - * The unique ID of the function tool call generated by the model. - */ - @Generated - private final String callId; - - /* - * The name of the function to run. - */ - @Generated - private final String name; - - /* - * A JSON string of the arguments to pass to the function. - */ - @Generated - private final String arguments; - - /* - * The status of the item. One of `in_progress`, `completed`, or - * `incomplete`. Populated when items are returned via API. - */ - @Generated - private InputItemFunctionToolCallStatus status; - - /** - * Creates an instance of InputItemFunctionToolCall class. - * - * @param callId the callId value to set. - * @param name the name value to set. - * @param arguments the arguments value to set. - */ - @Generated - public InputItemFunctionToolCall(String callId, String name, String arguments) { - this.callId = callId; - this.name = name; - this.arguments = arguments; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The unique ID of the function tool call. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Set the id property: The unique ID of the function tool call. - * - * @param id the id value to set. - * @return the InputItemFunctionToolCall object itself. - */ - @Generated - public InputItemFunctionToolCall setId(String id) { - this.id = id; - return this; - } - - /** - * Get the callId property: The unique ID of the function tool call generated by the model. - * - * @return the callId value. - */ - @Generated - public String getCallId() { - return this.callId; - } - - /** - * Get the name property: The name of the function to run. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the arguments property: A JSON string of the arguments to pass to the function. - * - * @return the arguments value. - */ - @Generated - public String getArguments() { - return this.arguments; - } - - /** - * Get the status property: The status of the item. One of `in_progress`, `completed`, or - * `incomplete`. Populated when items are returned via API. - * - * @return the status value. - */ - @Generated - public InputItemFunctionToolCallStatus getStatus() { - return this.status; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("call_id", this.callId); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("arguments", this.arguments); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemFunctionToolCall from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemFunctionToolCall if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemFunctionToolCall. - */ - @Generated - public static InputItemFunctionToolCall fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String callId = null; - String name = null; - String arguments = null; - InputItemType type = InputItemType.FUNCTION_CALL; - String id = null; - InputItemFunctionToolCallStatus status = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("call_id".equals(fieldName)) { - callId = reader.getString(); - } else if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("arguments".equals(fieldName)) { - arguments = reader.getString(); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("status".equals(fieldName)) { - status = InputItemFunctionToolCallStatus.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - InputItemFunctionToolCall deserializedInputItemFunctionToolCall - = new InputItemFunctionToolCall(callId, name, arguments); - deserializedInputItemFunctionToolCall.type = type; - deserializedInputItemFunctionToolCall.id = id; - deserializedInputItemFunctionToolCall.status = status; - return deserializedInputItemFunctionToolCall; - }); - } - - /** - * Set the status property: The status of the item. One of `in_progress`, `completed`, or - * `incomplete`. Populated when items are returned via API. - * - * @param status the status value to set. - * @return the InputItemFunctionToolCall object itself. - */ - @Generated - public InputItemFunctionToolCall setStatus(InputItemFunctionToolCallStatus status) { - this.status = status; - return this; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCallStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCallStatus.java deleted file mode 100644 index 8fbd9ffed5a2..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCallStatus.java +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Defines values for InputItemFunctionToolCallStatus. - */ -public enum InputItemFunctionToolCallStatus { - /** - * Enum value in_progress. - */ - IN_PROGRESS("in_progress"), - - /** - * Enum value completed. - */ - COMPLETED("completed"), - - /** - * Enum value incomplete. - */ - INCOMPLETE("incomplete"); - - /** - * The actual serialized value for a InputItemFunctionToolCallStatus instance. - */ - private final String value; - - InputItemFunctionToolCallStatus(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a InputItemFunctionToolCallStatus instance. - * - * @param value the serialized value to parse. - * @return the parsed InputItemFunctionToolCallStatus object, or null if unable to parse. - */ - public static InputItemFunctionToolCallStatus fromString(String value) { - if (value == null) { - return null; - } - InputItemFunctionToolCallStatus[] items = InputItemFunctionToolCallStatus.values(); - for (InputItemFunctionToolCallStatus item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCall.java deleted file mode 100644 index a5505bd1093f..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCall.java +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Image generation call - * - * An image generation request made by the model. - */ -@Immutable -public final class InputItemImageGenToolCall extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.IMAGE_GENERATION_CALL; - - /* - * The unique ID of the image generation call. - */ - @Generated - private final String id; - - /* - * The status of the image generation call. - */ - @Generated - private final InputItemImageGenToolCallStatus status; - - /* - * The result property. - */ - @Generated - private final String result; - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The unique ID of the image generation call. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Get the status property: The status of the image generation call. - * - * @return the status value. - */ - @Generated - public InputItemImageGenToolCallStatus getStatus() { - return this.status; - } - - /** - * Get the result property: The result property. - * - * @return the result value. - */ - @Generated - public String getResult() { - return this.result; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - jsonWriter.writeStringField("result", this.result); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemImageGenToolCall from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemImageGenToolCall if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemImageGenToolCall. - */ - @Generated - public static InputItemImageGenToolCall fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String id = null; - InputItemImageGenToolCallStatus status = null; - String result = null; - InputItemType type = InputItemType.IMAGE_GENERATION_CALL; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("status".equals(fieldName)) { - status = InputItemImageGenToolCallStatus.fromString(reader.getString()); - } else if ("result".equals(fieldName)) { - result = reader.getString(); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - InputItemImageGenToolCall deserializedInputItemImageGenToolCall - = new InputItemImageGenToolCall(id, status, result); - deserializedInputItemImageGenToolCall.type = type; - return deserializedInputItemImageGenToolCall; - }); - } - - /** - * Creates an instance of InputItemImageGenToolCall class. - * - * @param id the id value to set. - * @param status the status value to set. - * @param result the result value to set. - */ - @Generated - public InputItemImageGenToolCall(String id, InputItemImageGenToolCallStatus status, String result) { - this.id = id; - this.status = status; - this.result = result; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCallStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCallStatus.java deleted file mode 100644 index f48710e61ada..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCallStatus.java +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Defines values for InputItemImageGenToolCallStatus. - */ -public enum InputItemImageGenToolCallStatus { - /** - * Enum value in_progress. - */ - IN_PROGRESS("in_progress"), - - /** - * Enum value completed. - */ - COMPLETED("completed"), - - /** - * Enum value generating. - */ - GENERATING("generating"), - - /** - * Enum value failed. - */ - FAILED("failed"); - - /** - * The actual serialized value for a InputItemImageGenToolCallStatus instance. - */ - private final String value; - - InputItemImageGenToolCallStatus(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a InputItemImageGenToolCallStatus instance. - * - * @param value the serialized value to parse. - * @return the parsed InputItemImageGenToolCallStatus object, or null if unable to parse. - */ - public static InputItemImageGenToolCallStatus fromString(String value) { - if (value == null) { - return null; - } - InputItemImageGenToolCallStatus[] items = InputItemImageGenToolCallStatus.values(); - for (InputItemImageGenToolCallStatus item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCall.java deleted file mode 100644 index 1a36ed3b7877..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCall.java +++ /dev/null @@ -1,175 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.ai.agents.models.LocalShellExecAction; -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Local shell call - * - * A tool call to run a command on the local shell. - */ -@Immutable -public final class InputItemLocalShellToolCall extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.LOCAL_SHELL_CALL; - - /* - * The unique ID of the local shell call. - */ - @Generated - private final String id; - - /* - * The unique ID of the local shell tool call generated by the model. - */ - @Generated - private final String callId; - - /* - * The action property. - */ - @Generated - private final LocalShellExecAction action; - - /* - * The status of the local shell call. - */ - @Generated - private final InputItemLocalShellToolCallStatus status; - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The unique ID of the local shell call. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Get the callId property: The unique ID of the local shell tool call generated by the model. - * - * @return the callId value. - */ - @Generated - public String getCallId() { - return this.callId; - } - - /** - * Get the action property: The action property. - * - * @return the action value. - */ - @Generated - public LocalShellExecAction getAction() { - return this.action; - } - - /** - * Get the status property: The status of the local shell call. - * - * @return the status value. - */ - @Generated - public InputItemLocalShellToolCallStatus getStatus() { - return this.status; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("call_id", this.callId); - jsonWriter.writeJsonField("action", this.action); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemLocalShellToolCall from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemLocalShellToolCall if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemLocalShellToolCall. - */ - @Generated - public static InputItemLocalShellToolCall fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String id = null; - String callId = null; - LocalShellExecAction action = null; - InputItemLocalShellToolCallStatus status = null; - InputItemType type = InputItemType.LOCAL_SHELL_CALL; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("call_id".equals(fieldName)) { - callId = reader.getString(); - } else if ("action".equals(fieldName)) { - action = LocalShellExecAction.fromJson(reader); - } else if ("status".equals(fieldName)) { - status = InputItemLocalShellToolCallStatus.fromString(reader.getString()); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - InputItemLocalShellToolCall deserializedInputItemLocalShellToolCall - = new InputItemLocalShellToolCall(id, callId, action, status); - deserializedInputItemLocalShellToolCall.type = type; - return deserializedInputItemLocalShellToolCall; - }); - } - - /** - * Creates an instance of InputItemLocalShellToolCall class. - * - * @param id the id value to set. - * @param callId the callId value to set. - * @param action the action value to set. - * @param status the status value to set. - */ - @Generated - public InputItemLocalShellToolCall(String id, String callId, LocalShellExecAction action, - InputItemLocalShellToolCallStatus status) { - this.id = id; - this.callId = callId; - this.action = action; - this.status = status; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutput.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutput.java deleted file mode 100644 index 3933ee173c51..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutput.java +++ /dev/null @@ -1,162 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Local shell call output - * - * The output of a local shell tool call. - */ -@Fluent -public final class InputItemLocalShellToolCallOutput extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.LOCAL_SHELL_CALL_OUTPUT; - - /* - * The unique ID of the local shell tool call generated by the model. - */ - @Generated - private final String id; - - /* - * A JSON string of the output of the local shell tool call. - */ - @Generated - private final String output; - - /* - * The status property. - */ - @Generated - private InputItemLocalShellToolCallOutputStatus status; - - /** - * Creates an instance of InputItemLocalShellToolCallOutput class. - * - * @param id the id value to set. - * @param output the output value to set. - */ - @Generated - public InputItemLocalShellToolCallOutput(String id, String output) { - this.id = id; - this.output = output; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The unique ID of the local shell tool call generated by the model. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Get the output property: A JSON string of the output of the local shell tool call. - * - * @return the output value. - */ - @Generated - public String getOutput() { - return this.output; - } - - /** - * Get the status property: The status property. - * - * @return the status value. - */ - @Generated - public InputItemLocalShellToolCallOutputStatus getStatus() { - return this.status; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("output", this.output); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemLocalShellToolCallOutput from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemLocalShellToolCallOutput if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemLocalShellToolCallOutput. - */ - @Generated - public static InputItemLocalShellToolCallOutput fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String id = null; - String output = null; - InputItemType type = InputItemType.LOCAL_SHELL_CALL_OUTPUT; - InputItemLocalShellToolCallOutputStatus status = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("output".equals(fieldName)) { - output = reader.getString(); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else if ("status".equals(fieldName)) { - status = InputItemLocalShellToolCallOutputStatus.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - InputItemLocalShellToolCallOutput deserializedInputItemLocalShellToolCallOutput - = new InputItemLocalShellToolCallOutput(id, output); - deserializedInputItemLocalShellToolCallOutput.type = type; - deserializedInputItemLocalShellToolCallOutput.status = status; - return deserializedInputItemLocalShellToolCallOutput; - }); - } - - /** - * Set the status property: The status property. - * - * @param status the status value to set. - * @return the InputItemLocalShellToolCallOutput object itself. - */ - @Generated - public InputItemLocalShellToolCallOutput setStatus(InputItemLocalShellToolCallOutputStatus status) { - this.status = status; - return this; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutputStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutputStatus.java deleted file mode 100644 index 9474f927f0b5..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutputStatus.java +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Defines values for InputItemLocalShellToolCallOutputStatus. - */ -public enum InputItemLocalShellToolCallOutputStatus { - /** - * Enum value in_progress. - */ - IN_PROGRESS("in_progress"), - - /** - * Enum value completed. - */ - COMPLETED("completed"), - - /** - * Enum value incomplete. - */ - INCOMPLETE("incomplete"); - - /** - * The actual serialized value for a InputItemLocalShellToolCallOutputStatus instance. - */ - private final String value; - - InputItemLocalShellToolCallOutputStatus(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a InputItemLocalShellToolCallOutputStatus instance. - * - * @param value the serialized value to parse. - * @return the parsed InputItemLocalShellToolCallOutputStatus object, or null if unable to parse. - */ - public static InputItemLocalShellToolCallOutputStatus fromString(String value) { - if (value == null) { - return null; - } - InputItemLocalShellToolCallOutputStatus[] items = InputItemLocalShellToolCallOutputStatus.values(); - for (InputItemLocalShellToolCallOutputStatus item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallStatus.java deleted file mode 100644 index 1a910d98a80a..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallStatus.java +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Defines values for InputItemLocalShellToolCallStatus. - */ -public enum InputItemLocalShellToolCallStatus { - /** - * Enum value in_progress. - */ - IN_PROGRESS("in_progress"), - - /** - * Enum value completed. - */ - COMPLETED("completed"), - - /** - * Enum value incomplete. - */ - INCOMPLETE("incomplete"); - - /** - * The actual serialized value for a InputItemLocalShellToolCallStatus instance. - */ - private final String value; - - InputItemLocalShellToolCallStatus(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a InputItemLocalShellToolCallStatus instance. - * - * @param value the serialized value to parse. - * @return the parsed InputItemLocalShellToolCallStatus object, or null if unable to parse. - */ - public static InputItemLocalShellToolCallStatus fromString(String value) { - if (value == null) { - return null; - } - InputItemLocalShellToolCallStatus[] items = InputItemLocalShellToolCallStatus.values(); - for (InputItemLocalShellToolCallStatus item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalRequest.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalRequest.java deleted file mode 100644 index 4b169a676c8d..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalRequest.java +++ /dev/null @@ -1,173 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * MCP approval request - * - * A request for human approval of a tool invocation. - */ -@Immutable -public final class InputItemMcpApprovalRequest extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.MCP_APPROVAL_REQUEST; - - /* - * The unique ID of the approval request. - */ - @Generated - private final String id; - - /* - * The label of the MCP server making the request. - */ - @Generated - private final String serverLabel; - - /* - * The name of the tool to run. - */ - @Generated - private final String name; - - /* - * A JSON string of arguments for the tool. - */ - @Generated - private final String arguments; - - /** - * Creates an instance of InputItemMcpApprovalRequest class. - * - * @param id the id value to set. - * @param serverLabel the serverLabel value to set. - * @param name the name value to set. - * @param arguments the arguments value to set. - */ - @Generated - public InputItemMcpApprovalRequest(String id, String serverLabel, String name, String arguments) { - this.id = id; - this.serverLabel = serverLabel; - this.name = name; - this.arguments = arguments; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The unique ID of the approval request. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Get the serverLabel property: The label of the MCP server making the request. - * - * @return the serverLabel value. - */ - @Generated - public String getServerLabel() { - return this.serverLabel; - } - - /** - * Get the name property: The name of the tool to run. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the arguments property: A JSON string of arguments for the tool. - * - * @return the arguments value. - */ - @Generated - public String getArguments() { - return this.arguments; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("server_label", this.serverLabel); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("arguments", this.arguments); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemMcpApprovalRequest from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemMcpApprovalRequest if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemMcpApprovalRequest. - */ - @Generated - public static InputItemMcpApprovalRequest fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String id = null; - String serverLabel = null; - String name = null; - String arguments = null; - InputItemType type = InputItemType.MCP_APPROVAL_REQUEST; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("server_label".equals(fieldName)) { - serverLabel = reader.getString(); - } else if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("arguments".equals(fieldName)) { - arguments = reader.getString(); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - InputItemMcpApprovalRequest deserializedInputItemMcpApprovalRequest - = new InputItemMcpApprovalRequest(id, serverLabel, name, arguments); - deserializedInputItemMcpApprovalRequest.type = type; - return deserializedInputItemMcpApprovalRequest; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalResponse.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalResponse.java deleted file mode 100644 index 34a1a5f8fc96..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalResponse.java +++ /dev/null @@ -1,195 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * MCP approval response - * - * A response to an MCP approval request. - */ -@Fluent -public final class InputItemMcpApprovalResponse extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.MCP_APPROVAL_RESPONSE; - - /* - * The id property. - */ - @Generated - private String id; - - /* - * The ID of the approval request being answered. - */ - @Generated - private final String approvalRequestId; - - /* - * Whether the request was approved. - */ - @Generated - private final boolean approved; - - /* - * The reason property. - */ - @Generated - private String reason; - - /** - * Creates an instance of InputItemMcpApprovalResponse class. - * - * @param approvalRequestId the approvalRequestId value to set. - * @param approved the approved value to set. - */ - @Generated - public InputItemMcpApprovalResponse(String approvalRequestId, boolean approved) { - this.approvalRequestId = approvalRequestId; - this.approved = approved; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The id property. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Set the id property: The id property. - * - * @param id the id value to set. - * @return the InputItemMcpApprovalResponse object itself. - */ - @Generated - public InputItemMcpApprovalResponse setId(String id) { - this.id = id; - return this; - } - - /** - * Get the approvalRequestId property: The ID of the approval request being answered. - * - * @return the approvalRequestId value. - */ - @Generated - public String getApprovalRequestId() { - return this.approvalRequestId; - } - - /** - * Get the approved property: Whether the request was approved. - * - * @return the approved value. - */ - @Generated - public boolean isApproved() { - return this.approved; - } - - /** - * Get the reason property: The reason property. - * - * @return the reason value. - */ - @Generated - public String getReason() { - return this.reason; - } - - /** - * Set the reason property: The reason property. - * - * @param reason the reason value to set. - * @return the InputItemMcpApprovalResponse object itself. - */ - @Generated - public InputItemMcpApprovalResponse setReason(String reason) { - this.reason = reason; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("approval_request_id", this.approvalRequestId); - jsonWriter.writeBooleanField("approve", this.approved); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("reason", this.reason); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemMcpApprovalResponse from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemMcpApprovalResponse if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemMcpApprovalResponse. - */ - @Generated - public static InputItemMcpApprovalResponse fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String approvalRequestId = null; - boolean approved = false; - InputItemType type = InputItemType.MCP_APPROVAL_RESPONSE; - String id = null; - String reason = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("approval_request_id".equals(fieldName)) { - approvalRequestId = reader.getString(); - } else if ("approve".equals(fieldName)) { - approved = reader.getBoolean(); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("reason".equals(fieldName)) { - reason = reader.getString(); - } else { - reader.skipChildren(); - } - } - InputItemMcpApprovalResponse deserializedInputItemMcpApprovalResponse - = new InputItemMcpApprovalResponse(approvalRequestId, approved); - deserializedInputItemMcpApprovalResponse.type = type; - deserializedInputItemMcpApprovalResponse.id = id; - deserializedInputItemMcpApprovalResponse.reason = reason; - return deserializedInputItemMcpApprovalResponse; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpListTools.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpListTools.java deleted file mode 100644 index d2ad8e60f642..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpListTools.java +++ /dev/null @@ -1,185 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.ai.agents.models.McpListToolsTool; -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * MCP list tools - * - * A list of tools available on an MCP server. - */ -@Fluent -public final class InputItemMcpListTools extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.MCP_LIST_TOOLS; - - /* - * The unique ID of the list. - */ - @Generated - private final String id; - - /* - * The label of the MCP server. - */ - @Generated - private final String serverLabel; - - /* - * The tools available on the server. - */ - @Generated - private final List tools; - - /* - * The error property. - */ - @Generated - private String error; - - /** - * Creates an instance of InputItemMcpListTools class. - * - * @param id the id value to set. - * @param serverLabel the serverLabel value to set. - * @param tools the tools value to set. - */ - @Generated - public InputItemMcpListTools(String id, String serverLabel, List tools) { - this.id = id; - this.serverLabel = serverLabel; - this.tools = tools; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The unique ID of the list. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Get the serverLabel property: The label of the MCP server. - * - * @return the serverLabel value. - */ - @Generated - public String getServerLabel() { - return this.serverLabel; - } - - /** - * Get the tools property: The tools available on the server. - * - * @return the tools value. - */ - @Generated - public List getTools() { - return this.tools; - } - - /** - * Get the error property: The error property. - * - * @return the error value. - */ - @Generated - public String getError() { - return this.error; - } - - /** - * Set the error property: The error property. - * - * @param error the error value to set. - * @return the InputItemMcpListTools object itself. - */ - @Generated - public InputItemMcpListTools setError(String error) { - this.error = error; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("server_label", this.serverLabel); - jsonWriter.writeArrayField("tools", this.tools, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("error", this.error); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemMcpListTools from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemMcpListTools if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemMcpListTools. - */ - @Generated - public static InputItemMcpListTools fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String id = null; - String serverLabel = null; - List tools = null; - InputItemType type = InputItemType.MCP_LIST_TOOLS; - String error = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("server_label".equals(fieldName)) { - serverLabel = reader.getString(); - } else if ("tools".equals(fieldName)) { - tools = reader.readArray(reader1 -> McpListToolsTool.fromJson(reader1)); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else if ("error".equals(fieldName)) { - error = reader.getString(); - } else { - reader.skipChildren(); - } - } - InputItemMcpListTools deserializedInputItemMcpListTools = new InputItemMcpListTools(id, serverLabel, tools); - deserializedInputItemMcpListTools.type = type; - deserializedInputItemMcpListTools.error = error; - return deserializedInputItemMcpListTools; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpToolCall.java deleted file mode 100644 index 739ef9bb5d32..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpToolCall.java +++ /dev/null @@ -1,317 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.ai.agents.models.McpToolCallStatus; -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.core.util.BinaryData; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.Map; - -/** - * MCP tool call - * - * An invocation of a tool on an MCP server. - */ -@Fluent -public final class InputItemMcpToolCall extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.MCP_CALL; - - /* - * The unique ID of the tool call. - */ - @Generated - private final String id; - - /* - * The label of the MCP server running the tool. - */ - @Generated - private final String serverLabel; - - /* - * The name of the tool that was run. - */ - @Generated - private final String name; - - /* - * A JSON string of the arguments passed to the tool. - */ - @Generated - private final String arguments; - - /* - * The output property. - */ - @Generated - private String output; - - /* - * The error property. - */ - @Generated - private Map error; - - /* - * The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`. - */ - @Generated - private McpToolCallStatus status; - - /* - * The approval_request_id property. - */ - @Generated - private String approvalRequestId; - - /** - * Creates an instance of InputItemMcpToolCall class. - * - * @param id the id value to set. - * @param serverLabel the serverLabel value to set. - * @param name the name value to set. - * @param arguments the arguments value to set. - */ - @Generated - public InputItemMcpToolCall(String id, String serverLabel, String name, String arguments) { - this.id = id; - this.serverLabel = serverLabel; - this.name = name; - this.arguments = arguments; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The unique ID of the tool call. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Get the serverLabel property: The label of the MCP server running the tool. - * - * @return the serverLabel value. - */ - @Generated - public String getServerLabel() { - return this.serverLabel; - } - - /** - * Get the name property: The name of the tool that was run. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the arguments property: A JSON string of the arguments passed to the tool. - * - * @return the arguments value. - */ - @Generated - public String getArguments() { - return this.arguments; - } - - /** - * Get the output property: The output property. - * - * @return the output value. - */ - @Generated - public String getOutput() { - return this.output; - } - - /** - * Set the output property: The output property. - * - * @param output the output value to set. - * @return the InputItemMcpToolCall object itself. - */ - @Generated - public InputItemMcpToolCall setOutput(String output) { - this.output = output; - return this; - } - - /** - * Get the error property: The error property. - * - * @return the error value. - */ - @Generated - public Map getError() { - return this.error; - } - - /** - * Set the error property: The error property. - * - * @param error the error value to set. - * @return the InputItemMcpToolCall object itself. - */ - @Generated - public InputItemMcpToolCall setError(Map error) { - this.error = error; - return this; - } - - /** - * Get the status property: The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, - * or `failed`. - * - * @return the status value. - */ - @Generated - public McpToolCallStatus getStatus() { - return this.status; - } - - /** - * Set the status property: The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, - * or `failed`. - * - * @param status the status value to set. - * @return the InputItemMcpToolCall object itself. - */ - @Generated - public InputItemMcpToolCall setStatus(McpToolCallStatus status) { - this.status = status; - return this; - } - - /** - * Get the approvalRequestId property: The approval_request_id property. - * - * @return the approvalRequestId value. - */ - @Generated - public String getApprovalRequestId() { - return this.approvalRequestId; - } - - /** - * Set the approvalRequestId property: The approval_request_id property. - * - * @param approvalRequestId the approvalRequestId value to set. - * @return the InputItemMcpToolCall object itself. - */ - @Generated - public InputItemMcpToolCall setApprovalRequestId(String approvalRequestId) { - this.approvalRequestId = approvalRequestId; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("server_label", this.serverLabel); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("arguments", this.arguments); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("output", this.output); - jsonWriter.writeMapField("error", this.error, (writer, element) -> { - if (element == null) { - writer.writeNull(); - } else { - element.writeTo(writer); - } - }); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - jsonWriter.writeStringField("approval_request_id", this.approvalRequestId); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemMcpToolCall from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemMcpToolCall if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemMcpToolCall. - */ - @Generated - public static InputItemMcpToolCall fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String id = null; - String serverLabel = null; - String name = null; - String arguments = null; - InputItemType type = InputItemType.MCP_CALL; - String output = null; - Map error = null; - McpToolCallStatus status = null; - String approvalRequestId = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("server_label".equals(fieldName)) { - serverLabel = reader.getString(); - } else if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("arguments".equals(fieldName)) { - arguments = reader.getString(); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else if ("output".equals(fieldName)) { - output = reader.getString(); - } else if ("error".equals(fieldName)) { - error = reader.readMap(reader1 -> reader1 - .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); - } else if ("status".equals(fieldName)) { - status = McpToolCallStatus.fromString(reader.getString()); - } else if ("approval_request_id".equals(fieldName)) { - approvalRequestId = reader.getString(); - } else { - reader.skipChildren(); - } - } - InputItemMcpToolCall deserializedInputItemMcpToolCall - = new InputItemMcpToolCall(id, serverLabel, name, arguments); - deserializedInputItemMcpToolCall.type = type; - deserializedInputItemMcpToolCall.output = output; - deserializedInputItemMcpToolCall.error = error; - deserializedInputItemMcpToolCall.status = status; - deserializedInputItemMcpToolCall.approvalRequestId = approvalRequestId; - return deserializedInputItemMcpToolCall; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessage.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessage.java deleted file mode 100644 index 39be7a75366e..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessage.java +++ /dev/null @@ -1,171 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.ai.agents.models.OutputMessageContent; -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Output message - * - * An output message from the model. - */ -@Immutable -public final class InputItemOutputMessage extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.OUTPUT_MESSAGE; - - /* - * The unique ID of the output message. - */ - @Generated - private final String id; - - /* - * The role of the output message. Always `assistant`. - */ - @Generated - private final String role = "assistant"; - - /* - * The content of the output message. - */ - @Generated - private final List content; - - /* - * The status of the message input. One of `in_progress`, `completed`, or - * `incomplete`. Populated when input items are returned via API. - */ - @Generated - private final InputItemOutputMessageStatus status; - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The unique ID of the output message. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Get the role property: The role of the output message. Always `assistant`. - * - * @return the role value. - */ - @Generated - public String getRole() { - return this.role; - } - - /** - * Get the content property: The content of the output message. - * - * @return the content value. - */ - @Generated - public List getContent() { - return this.content; - } - - /** - * Get the status property: The status of the message input. One of `in_progress`, `completed`, or - * `incomplete`. Populated when input items are returned via API. - * - * @return the status value. - */ - @Generated - public InputItemOutputMessageStatus getStatus() { - return this.status; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("role", this.role); - jsonWriter.writeArrayField("content", this.content, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemOutputMessage from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemOutputMessage if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemOutputMessage. - */ - @Generated - public static InputItemOutputMessage fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String id = null; - List content = null; - InputItemOutputMessageStatus status = null; - InputItemType type = InputItemType.OUTPUT_MESSAGE; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("content".equals(fieldName)) { - content = reader.readArray(reader1 -> OutputMessageContent.fromJson(reader1)); - } else if ("status".equals(fieldName)) { - status = InputItemOutputMessageStatus.fromString(reader.getString()); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - InputItemOutputMessage deserializedInputItemOutputMessage = new InputItemOutputMessage(id, content, status); - deserializedInputItemOutputMessage.type = type; - return deserializedInputItemOutputMessage; - }); - } - - /** - * Creates an instance of InputItemOutputMessage class. - * - * @param id the id value to set. - * @param content the content value to set. - * @param status the status value to set. - */ - @Generated - public InputItemOutputMessage(String id, List content, InputItemOutputMessageStatus status) { - this.id = id; - this.content = content; - this.status = status; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessageStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessageStatus.java deleted file mode 100644 index 9dcfdd8dd276..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessageStatus.java +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Defines values for InputItemOutputMessageStatus. - */ -public enum InputItemOutputMessageStatus { - /** - * Enum value in_progress. - */ - IN_PROGRESS("in_progress"), - - /** - * Enum value completed. - */ - COMPLETED("completed"), - - /** - * Enum value incomplete. - */ - INCOMPLETE("incomplete"); - - /** - * The actual serialized value for a InputItemOutputMessageStatus instance. - */ - private final String value; - - InputItemOutputMessageStatus(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a InputItemOutputMessageStatus instance. - * - * @param value the serialized value to parse. - * @return the parsed InputItemOutputMessageStatus object, or null if unable to parse. - */ - public static InputItemOutputMessageStatus fromString(String value) { - if (value == null) { - return null; - } - InputItemOutputMessageStatus[] items = InputItemOutputMessageStatus.values(); - for (InputItemOutputMessageStatus item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItem.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItem.java deleted file mode 100644 index 9cfd82f0fe8c..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItem.java +++ /dev/null @@ -1,236 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.ai.agents.models.ReasoningTextContent; -import com.azure.ai.agents.models.SummaryTextContent; -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Reasoning - * - * A description of the chain of thought used by a reasoning model while generating - * a response. Be sure to include these items in your `input` to the Responses API - * for subsequent turns of a conversation if you are manually - * [managing context](/docs/guides/conversation-state). - */ -@Fluent -public final class InputItemReasoningItem extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.REASONING; - - /* - * The unique identifier of the reasoning content. - */ - @Generated - private final String id; - - /* - * The encrypted_content property. - */ - @Generated - private String encryptedContent; - - /* - * Reasoning summary content. - */ - @Generated - private final List summary; - - /* - * Reasoning text content. - */ - @Generated - private List content; - - /* - * The status of the item. One of `in_progress`, `completed`, or - * `incomplete`. Populated when items are returned via API. - */ - @Generated - private InputItemReasoningItemStatus status; - - /** - * Creates an instance of InputItemReasoningItem class. - * - * @param id the id value to set. - * @param summary the summary value to set. - */ - @Generated - public InputItemReasoningItem(String id, List summary) { - this.id = id; - this.summary = summary; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The unique identifier of the reasoning content. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Get the encryptedContent property: The encrypted_content property. - * - * @return the encryptedContent value. - */ - @Generated - public String getEncryptedContent() { - return this.encryptedContent; - } - - /** - * Set the encryptedContent property: The encrypted_content property. - * - * @param encryptedContent the encryptedContent value to set. - * @return the InputItemReasoningItem object itself. - */ - @Generated - public InputItemReasoningItem setEncryptedContent(String encryptedContent) { - this.encryptedContent = encryptedContent; - return this; - } - - /** - * Get the summary property: Reasoning summary content. - * - * @return the summary value. - */ - @Generated - public List getSummary() { - return this.summary; - } - - /** - * Get the content property: Reasoning text content. - * - * @return the content value. - */ - @Generated - public List getContent() { - return this.content; - } - - /** - * Set the content property: Reasoning text content. - * - * @param content the content value to set. - * @return the InputItemReasoningItem object itself. - */ - @Generated - public InputItemReasoningItem setContent(List content) { - this.content = content; - return this; - } - - /** - * Get the status property: The status of the item. One of `in_progress`, `completed`, or - * `incomplete`. Populated when items are returned via API. - * - * @return the status value. - */ - @Generated - public InputItemReasoningItemStatus getStatus() { - return this.status; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeArrayField("summary", this.summary, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("encrypted_content", this.encryptedContent); - jsonWriter.writeArrayField("content", this.content, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemReasoningItem from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemReasoningItem if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemReasoningItem. - */ - @Generated - public static InputItemReasoningItem fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String id = null; - List summary = null; - InputItemType type = InputItemType.REASONING; - String encryptedContent = null; - List content = null; - InputItemReasoningItemStatus status = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("summary".equals(fieldName)) { - summary = reader.readArray(reader1 -> SummaryTextContent.fromJson(reader1)); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else if ("encrypted_content".equals(fieldName)) { - encryptedContent = reader.getString(); - } else if ("content".equals(fieldName)) { - content = reader.readArray(reader1 -> ReasoningTextContent.fromJson(reader1)); - } else if ("status".equals(fieldName)) { - status = InputItemReasoningItemStatus.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - InputItemReasoningItem deserializedInputItemReasoningItem = new InputItemReasoningItem(id, summary); - deserializedInputItemReasoningItem.type = type; - deserializedInputItemReasoningItem.encryptedContent = encryptedContent; - deserializedInputItemReasoningItem.content = content; - deserializedInputItemReasoningItem.status = status; - return deserializedInputItemReasoningItem; - }); - } - - /** - * Set the status property: The status of the item. One of `in_progress`, `completed`, or - * `incomplete`. Populated when items are returned via API. - * - * @param status the status value to set. - * @return the InputItemReasoningItem object itself. - */ - @Generated - public InputItemReasoningItem setStatus(InputItemReasoningItemStatus status) { - this.status = status; - return this; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItemStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItemStatus.java deleted file mode 100644 index 49ceac55ce3c..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItemStatus.java +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Defines values for InputItemReasoningItemStatus. - */ -public enum InputItemReasoningItemStatus { - /** - * Enum value in_progress. - */ - IN_PROGRESS("in_progress"), - - /** - * Enum value completed. - */ - COMPLETED("completed"), - - /** - * Enum value incomplete. - */ - INCOMPLETE("incomplete"); - - /** - * The actual serialized value for a InputItemReasoningItemStatus instance. - */ - private final String value; - - InputItemReasoningItemStatus(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a InputItemReasoningItemStatus instance. - * - * @param value the serialized value to parse. - * @return the parsed InputItemReasoningItemStatus object, or null if unable to parse. - */ - public static InputItemReasoningItemStatus fromString(String value) { - if (value == null) { - return null; - } - InputItemReasoningItemStatus[] items = InputItemReasoningItemStatus.values(); - for (InputItemReasoningItemStatus item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemType.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemType.java deleted file mode 100644 index 86e7f4e6e66e..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemType.java +++ /dev/null @@ -1,195 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Defines values for InputItemType. - */ -public final class InputItemType extends ExpandableStringEnum { - - /** - * Static value message for InputItemType. - */ - @Generated - public static final InputItemType MESSAGE = fromString("message"); - - /** - * Static value output_message for InputItemType. - */ - @Generated - public static final InputItemType OUTPUT_MESSAGE = fromString("output_message"); - - /** - * Static value file_search_call for InputItemType. - */ - @Generated - public static final InputItemType FILE_SEARCH_CALL = fromString("file_search_call"); - - /** - * Static value computer_call for InputItemType. - */ - @Generated - public static final InputItemType COMPUTER_CALL = fromString("computer_call"); - - /** - * Static value computer_call_output for InputItemType. - */ - @Generated - public static final InputItemType COMPUTER_CALL_OUTPUT = fromString("computer_call_output"); - - /** - * Static value web_search_call for InputItemType. - */ - @Generated - public static final InputItemType WEB_SEARCH_CALL = fromString("web_search_call"); - - /** - * Static value function_call for InputItemType. - */ - @Generated - public static final InputItemType FUNCTION_CALL = fromString("function_call"); - - /** - * Static value function_call_output for InputItemType. - */ - @Generated - public static final InputItemType FUNCTION_CALL_OUTPUT = fromString("function_call_output"); - - /** - * Static value reasoning for InputItemType. - */ - @Generated - public static final InputItemType REASONING = fromString("reasoning"); - - /** - * Static value compaction for InputItemType. - */ - @Generated - public static final InputItemType COMPACTION = fromString("compaction"); - - /** - * Static value image_generation_call for InputItemType. - */ - @Generated - public static final InputItemType IMAGE_GENERATION_CALL = fromString("image_generation_call"); - - /** - * Static value code_interpreter_call for InputItemType. - */ - @Generated - public static final InputItemType CODE_INTERPRETER_CALL = fromString("code_interpreter_call"); - - /** - * Static value local_shell_call for InputItemType. - */ - @Generated - public static final InputItemType LOCAL_SHELL_CALL = fromString("local_shell_call"); - - /** - * Static value local_shell_call_output for InputItemType. - */ - @Generated - public static final InputItemType LOCAL_SHELL_CALL_OUTPUT = fromString("local_shell_call_output"); - - /** - * Static value shell_call for InputItemType. - */ - @Generated - public static final InputItemType SHELL_CALL = fromString("shell_call"); - - /** - * Static value shell_call_output for InputItemType. - */ - @Generated - public static final InputItemType SHELL_CALL_OUTPUT = fromString("shell_call_output"); - - /** - * Static value apply_patch_call for InputItemType. - */ - @Generated - public static final InputItemType APPLY_PATCH_CALL = fromString("apply_patch_call"); - - /** - * Static value apply_patch_call_output for InputItemType. - */ - @Generated - public static final InputItemType APPLY_PATCH_CALL_OUTPUT = fromString("apply_patch_call_output"); - - /** - * Static value mcp_list_tools for InputItemType. - */ - @Generated - public static final InputItemType MCP_LIST_TOOLS = fromString("mcp_list_tools"); - - /** - * Static value mcp_approval_request for InputItemType. - */ - @Generated - public static final InputItemType MCP_APPROVAL_REQUEST = fromString("mcp_approval_request"); - - /** - * Static value mcp_approval_response for InputItemType. - */ - @Generated - public static final InputItemType MCP_APPROVAL_RESPONSE = fromString("mcp_approval_response"); - - /** - * Static value mcp_call for InputItemType. - */ - @Generated - public static final InputItemType MCP_CALL = fromString("mcp_call"); - - /** - * Static value custom_tool_call_output for InputItemType. - */ - @Generated - public static final InputItemType CUSTOM_TOOL_CALL_OUTPUT = fromString("custom_tool_call_output"); - - /** - * Static value custom_tool_call for InputItemType. - */ - @Generated - public static final InputItemType CUSTOM_TOOL_CALL = fromString("custom_tool_call"); - - /** - * Static value item_reference for InputItemType. - */ - @Generated - public static final InputItemType ITEM_REFERENCE = fromString("item_reference"); - - /** - * Creates a new instance of InputItemType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public InputItemType() { - } - - /** - * Creates or finds a InputItemType from its string representation. - * - * @param name a name to look for. - * @return the corresponding InputItemType. - */ - @Generated - public static InputItemType fromString(String name) { - return fromString(name, InputItemType.class); - } - - /** - * Gets known InputItemType values. - * - * @return known InputItemType values. - */ - @Generated - public static Collection values() { - return values(InputItemType.class); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCall.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCall.java deleted file mode 100644 index 995b41cad529..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCall.java +++ /dev/null @@ -1,156 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.core.util.BinaryData; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Web search tool call - * - * The results of a web search tool call. See the - * [web search guide](/docs/guides/tools-web-search) for more information. - */ -@Immutable -public final class InputItemWebSearchToolCall extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.WEB_SEARCH_CALL; - - /* - * The unique ID of the web search tool call. - */ - @Generated - private final String id; - - /* - * The status of the web search tool call. - */ - @Generated - private final InputItemWebSearchToolCallStatus status; - - /* - * An object describing the specific action taken in this web search call. - * Includes details on how the model used the web (search, open_page, find_in_page). - */ - @Generated - private final BinaryData action; - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The unique ID of the web search tool call. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Get the status property: The status of the web search tool call. - * - * @return the status value. - */ - @Generated - public InputItemWebSearchToolCallStatus getStatus() { - return this.status; - } - - /** - * Get the action property: An object describing the specific action taken in this web search call. - * Includes details on how the model used the web (search, open_page, find_in_page). - * - * @return the action value. - */ - @Generated - public BinaryData getAction() { - return this.action; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - jsonWriter.writeFieldName("action"); - this.action.writeTo(jsonWriter); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputItemWebSearchToolCall from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputItemWebSearchToolCall if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputItemWebSearchToolCall. - */ - @Generated - public static InputItemWebSearchToolCall fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String id = null; - InputItemWebSearchToolCallStatus status = null; - BinaryData action = null; - InputItemType type = InputItemType.WEB_SEARCH_CALL; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("status".equals(fieldName)) { - status = InputItemWebSearchToolCallStatus.fromString(reader.getString()); - } else if ("action".equals(fieldName)) { - action = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - InputItemWebSearchToolCall deserializedInputItemWebSearchToolCall - = new InputItemWebSearchToolCall(id, status, action); - deserializedInputItemWebSearchToolCall.type = type; - return deserializedInputItemWebSearchToolCall; - }); - } - - /** - * Creates an instance of InputItemWebSearchToolCall class. - * - * @param id the id value to set. - * @param status the status value to set. - * @param action the action value to set. - */ - @Generated - public InputItemWebSearchToolCall(String id, InputItemWebSearchToolCallStatus status, BinaryData action) { - this.id = id; - this.status = status; - this.action = action; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCallStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCallStatus.java deleted file mode 100644 index 8fd1af03409b..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCallStatus.java +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Defines values for InputItemWebSearchToolCallStatus. - */ -public enum InputItemWebSearchToolCallStatus { - /** - * Enum value in_progress. - */ - IN_PROGRESS("in_progress"), - - /** - * Enum value searching. - */ - SEARCHING("searching"), - - /** - * Enum value completed. - */ - COMPLETED("completed"), - - /** - * Enum value failed. - */ - FAILED("failed"); - - /** - * The actual serialized value for a InputItemWebSearchToolCallStatus instance. - */ - private final String value; - - InputItemWebSearchToolCallStatus(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a InputItemWebSearchToolCallStatus instance. - * - * @param value the serialized value to parse. - * @return the parsed InputItemWebSearchToolCallStatus object, or null if unable to parse. - */ - public static InputItemWebSearchToolCallStatus fromString(String value) { - if (value == null) { - return null; - } - InputItemWebSearchToolCallStatus[] items = InputItemWebSearchToolCallStatus.values(); - for (InputItemWebSearchToolCallStatus item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputTextContentParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputTextContentParam.java deleted file mode 100644 index f54947c16b79..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/InputTextContentParam.java +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Input text - * - * A text input to the model. - */ -@Immutable -public final class InputTextContentParam implements JsonSerializable { - - /* - * The type of the input item. Always `input_text`. - */ - @Generated - private final String type = "input_text"; - - /* - * The text input to the model. - */ - @Generated - private final String text; - - /** - * Creates an instance of InputTextContentParam class. - * - * @param text the text value to set. - */ - @Generated - public InputTextContentParam(String text) { - this.text = text; - } - - /** - * Get the type property: The type of the input item. Always `input_text`. - * - * @return the type value. - */ - @Generated - public String getType() { - return this.type; - } - - /** - * Get the text property: The text input to the model. - * - * @return the text value. - */ - @Generated - public String getText() { - return this.text; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type); - jsonWriter.writeStringField("text", this.text); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InputTextContentParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InputTextContentParam if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InputTextContentParam. - */ - @Generated - public static InputTextContentParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String text = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("text".equals(fieldName)) { - text = reader.getString(); - } else { - reader.skipChildren(); - } - } - return new InputTextContentParam(text); - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ItemReferenceParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ItemReferenceParam.java deleted file mode 100644 index a1f4b369863d..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ItemReferenceParam.java +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Item reference - * - * An internal identifier for an item to reference. - */ -@Immutable -public final class ItemReferenceParam extends InputItem { - - /* - * The type property. - */ - @Generated - private InputItemType type = InputItemType.ITEM_REFERENCE; - - /* - * The ID of the item to reference. - */ - @Generated - private final String id; - - /** - * Creates an instance of ItemReferenceParam class. - * - * @param id the id value to set. - */ - @Generated - public ItemReferenceParam(String id) { - this.id = id; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public InputItemType getType() { - return this.type; - } - - /** - * Get the id property: The ID of the item to reference. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ItemReferenceParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ItemReferenceParam if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ItemReferenceParam. - */ - @Generated - public static ItemReferenceParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String id = null; - InputItemType type = InputItemType.ITEM_REFERENCE; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("type".equals(fieldName)) { - type = InputItemType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - ItemReferenceParam deserializedItemReferenceParam = new ItemReferenceParam(id); - deserializedItemReferenceParam.type = type; - return deserializedItemReferenceParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/KeyPressAction.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/KeyPressAction.java deleted file mode 100644 index 7af41eaafe46..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/KeyPressAction.java +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * KeyPress - * - * A collection of keypresses the model would like to perform. - */ -@Immutable -public final class KeyPressAction extends ComputerAction { - - /* - * The type property. - */ - @Generated - private ComputerActionType type = ComputerActionType.KEYPRESS; - - /* - * The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a - * key. - */ - @Generated - private final List keys; - - /** - * Creates an instance of KeyPressAction class. - * - * @param keys the keys value to set. - */ - @Generated - public KeyPressAction(List keys) { - this.keys = keys; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ComputerActionType getType() { - return this.type; - } - - /** - * Get the keys property: The combination of keys the model is requesting to be pressed. This is an array of - * strings, each representing a key. - * - * @return the keys value. - */ - @Generated - public List getKeys() { - return this.keys; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeArrayField("keys", this.keys, (writer, element) -> writer.writeString(element)); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of KeyPressAction from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of KeyPressAction if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the KeyPressAction. - */ - @Generated - public static KeyPressAction fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - List keys = null; - ComputerActionType type = ComputerActionType.KEYPRESS; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("keys".equals(fieldName)) { - keys = reader.readArray(reader1 -> reader1.getString()); - } else if ("type".equals(fieldName)) { - type = ComputerActionType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - KeyPressAction deserializedKeyPressAction = new KeyPressAction(keys); - deserializedKeyPressAction.type = type; - return deserializedKeyPressAction; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/LocalShellExecAction.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/LocalShellExecAction.java deleted file mode 100644 index b3863c972805..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/LocalShellExecAction.java +++ /dev/null @@ -1,225 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; -import java.util.Map; - -/** - * Local shell exec action - * - * Execute a shell command on the server. - */ -@Fluent -public final class LocalShellExecAction implements JsonSerializable { - - /* - * The type of the local shell action. Always `exec`. - */ - @Generated - private final String type = "exec"; - - /* - * The command to run. - */ - @Generated - private final List command; - - /* - * The timeout_ms property. - */ - @Generated - private Long duration; - - /* - * The working_directory property. - */ - @Generated - private String workingDirectory; - - /* - * Environment variables to set for the command. - */ - @Generated - private final Map env; - - /* - * The user property. - */ - @Generated - private String user; - - /** - * Creates an instance of LocalShellExecAction class. - * - * @param command the command value to set. - * @param env the env value to set. - */ - @Generated - public LocalShellExecAction(List command, Map env) { - this.command = command; - this.env = env; - } - - /** - * Get the type property: The type of the local shell action. Always `exec`. - * - * @return the type value. - */ - @Generated - public String getType() { - return this.type; - } - - /** - * Get the command property: The command to run. - * - * @return the command value. - */ - @Generated - public List getCommand() { - return this.command; - } - - /** - * Get the duration property: The timeout_ms property. - * - * @return the duration value. - */ - @Generated - public Long getDuration() { - return this.duration; - } - - /** - * Set the duration property: The timeout_ms property. - * - * @param duration the duration value to set. - * @return the LocalShellExecAction object itself. - */ - @Generated - public LocalShellExecAction setDuration(Long duration) { - this.duration = duration; - return this; - } - - /** - * Get the workingDirectory property: The working_directory property. - * - * @return the workingDirectory value. - */ - @Generated - public String getWorkingDirectory() { - return this.workingDirectory; - } - - /** - * Set the workingDirectory property: The working_directory property. - * - * @param workingDirectory the workingDirectory value to set. - * @return the LocalShellExecAction object itself. - */ - @Generated - public LocalShellExecAction setWorkingDirectory(String workingDirectory) { - this.workingDirectory = workingDirectory; - return this; - } - - /** - * Get the env property: Environment variables to set for the command. - * - * @return the env value. - */ - @Generated - public Map getEnv() { - return this.env; - } - - /** - * Get the user property: The user property. - * - * @return the user value. - */ - @Generated - public String getUser() { - return this.user; - } - - /** - * Set the user property: The user property. - * - * @param user the user value to set. - * @return the LocalShellExecAction object itself. - */ - @Generated - public LocalShellExecAction setUser(String user) { - this.user = user; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type); - jsonWriter.writeArrayField("command", this.command, (writer, element) -> writer.writeString(element)); - jsonWriter.writeMapField("env", this.env, (writer, element) -> writer.writeString(element)); - jsonWriter.writeNumberField("timeout_ms", this.duration); - jsonWriter.writeStringField("working_directory", this.workingDirectory); - jsonWriter.writeStringField("user", this.user); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of LocalShellExecAction from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of LocalShellExecAction if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the LocalShellExecAction. - */ - @Generated - public static LocalShellExecAction fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - List command = null; - Map env = null; - Long duration = null; - String workingDirectory = null; - String user = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("command".equals(fieldName)) { - command = reader.readArray(reader1 -> reader1.getString()); - } else if ("env".equals(fieldName)) { - env = reader.readMap(reader1 -> reader1.getString()); - } else if ("timeout_ms".equals(fieldName)) { - duration = reader.getNullable(JsonReader::getLong); - } else if ("working_directory".equals(fieldName)) { - workingDirectory = reader.getString(); - } else if ("user".equals(fieldName)) { - user = reader.getString(); - } else { - reader.skipChildren(); - } - } - LocalShellExecAction deserializedLocalShellExecAction = new LocalShellExecAction(command, env); - deserializedLocalShellExecAction.duration = duration; - deserializedLocalShellExecAction.workingDirectory = workingDirectory; - deserializedLocalShellExecAction.user = user; - return deserializedLocalShellExecAction; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/LogProb.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/LogProb.java deleted file mode 100644 index 445c07cf1f77..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/LogProb.java +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Log probability - * - * The log probability of a token. - */ -@Immutable -public final class LogProb implements JsonSerializable { - - /* - * The token property. - */ - @Generated - private final String token; - - /* - * The logprob property. - */ - @Generated - private final double logProb; - - /* - * The bytes property. - */ - @Generated - private final List bytes; - - /* - * The top_logprobs property. - */ - @Generated - private final List topLogprobs; - - /** - * Creates an instance of LogProb class. - * - * @param token the token value to set. - * @param logProb the logProb value to set. - * @param bytes the bytes value to set. - * @param topLogprobs the topLogprobs value to set. - */ - @Generated - public LogProb(String token, double logProb, List bytes, List topLogprobs) { - this.token = token; - this.logProb = logProb; - this.bytes = bytes; - this.topLogprobs = topLogprobs; - } - - /** - * Get the token property: The token property. - * - * @return the token value. - */ - @Generated - public String getToken() { - return this.token; - } - - /** - * Get the logProb property: The logprob property. - * - * @return the logProb value. - */ - @Generated - public double getLogProb() { - return this.logProb; - } - - /** - * Get the bytes property: The bytes property. - * - * @return the bytes value. - */ - @Generated - public List getBytes() { - return this.bytes; - } - - /** - * Get the topLogprobs property: The top_logprobs property. - * - * @return the topLogprobs value. - */ - @Generated - public List getTopLogprobs() { - return this.topLogprobs; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("token", this.token); - jsonWriter.writeDoubleField("logprob", this.logProb); - jsonWriter.writeArrayField("bytes", this.bytes, (writer, element) -> writer.writeLong(element)); - jsonWriter.writeArrayField("top_logprobs", this.topLogprobs, (writer, element) -> writer.writeJson(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of LogProb from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of LogProb if the JsonReader was pointing to an instance of it, or null if it was pointing to - * JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the LogProb. - */ - @Generated - public static LogProb fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String token = null; - double logProb = 0.0; - List bytes = null; - List topLogprobs = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("token".equals(fieldName)) { - token = reader.getString(); - } else if ("logprob".equals(fieldName)) { - logProb = reader.getDouble(); - } else if ("bytes".equals(fieldName)) { - bytes = reader.readArray(reader1 -> reader1.getLong()); - } else if ("top_logprobs".equals(fieldName)) { - topLogprobs = reader.readArray(reader1 -> TopLogProb.fromJson(reader1)); - } else { - reader.skipChildren(); - } - } - return new LogProb(token, logProb, bytes, topLogprobs); - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/McpListToolsTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/McpListToolsTool.java deleted file mode 100644 index 3439e2a1849c..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/McpListToolsTool.java +++ /dev/null @@ -1,173 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * MCP list tools tool - * - * A tool available on an MCP server. - */ -@Fluent -public final class McpListToolsTool implements JsonSerializable { - - /* - * The name of the tool. - */ - @Generated - private final String name; - - /* - * The description property. - */ - @Generated - private String description; - - /* - * The JSON schema describing the tool's input. - */ - @Generated - private final McpListToolsToolInputSchema inputSchema; - - /* - * The annotations property. - */ - @Generated - private McpListToolsToolAnnotations annotations; - - /** - * Creates an instance of McpListToolsTool class. - * - * @param name the name value to set. - * @param inputSchema the inputSchema value to set. - */ - @Generated - public McpListToolsTool(String name, McpListToolsToolInputSchema inputSchema) { - this.name = name; - this.inputSchema = inputSchema; - } - - /** - * Get the name property: The name of the tool. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the description property: The description property. - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: The description property. - * - * @param description the description value to set. - * @return the McpListToolsTool object itself. - */ - @Generated - public McpListToolsTool setDescription(String description) { - this.description = description; - return this; - } - - /** - * Get the inputSchema property: The JSON schema describing the tool's input. - * - * @return the inputSchema value. - */ - @Generated - public McpListToolsToolInputSchema getInputSchema() { - return this.inputSchema; - } - - /** - * Get the annotations property: The annotations property. - * - * @return the annotations value. - */ - @Generated - public McpListToolsToolAnnotations getAnnotations() { - return this.annotations; - } - - /** - * Set the annotations property: The annotations property. - * - * @param annotations the annotations value to set. - * @return the McpListToolsTool object itself. - */ - @Generated - public McpListToolsTool setAnnotations(McpListToolsToolAnnotations annotations) { - this.annotations = annotations; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeJsonField("input_schema", this.inputSchema); - jsonWriter.writeStringField("description", this.description); - jsonWriter.writeJsonField("annotations", this.annotations); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of McpListToolsTool from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of McpListToolsTool if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the McpListToolsTool. - */ - @Generated - public static McpListToolsTool fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String name = null; - McpListToolsToolInputSchema inputSchema = null; - String description = null; - McpListToolsToolAnnotations annotations = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("input_schema".equals(fieldName)) { - inputSchema = McpListToolsToolInputSchema.fromJson(reader); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("annotations".equals(fieldName)) { - annotations = McpListToolsToolAnnotations.fromJson(reader); - } else { - reader.skipChildren(); - } - } - McpListToolsTool deserializedMcpListToolsTool = new McpListToolsTool(name, inputSchema); - deserializedMcpListToolsTool.description = description; - deserializedMcpListToolsTool.annotations = annotations; - return deserializedMcpListToolsTool; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolAnnotations.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolAnnotations.java deleted file mode 100644 index 5a1c5bd58827..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolAnnotations.java +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The McpListToolsToolAnnotations model. - */ -@Immutable -public final class McpListToolsToolAnnotations implements JsonSerializable { - - /** - * Creates an instance of McpListToolsToolAnnotations class. - */ - @Generated - public McpListToolsToolAnnotations() { - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of McpListToolsToolAnnotations from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of McpListToolsToolAnnotations if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the McpListToolsToolAnnotations. - */ - @Generated - public static McpListToolsToolAnnotations fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - McpListToolsToolAnnotations deserializedMcpListToolsToolAnnotations = new McpListToolsToolAnnotations(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - reader.skipChildren(); - } - return deserializedMcpListToolsToolAnnotations; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolInputSchema.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolInputSchema.java deleted file mode 100644 index ac4f7cdc903d..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolInputSchema.java +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The McpListToolsToolInputSchema model. - */ -@Immutable -public final class McpListToolsToolInputSchema implements JsonSerializable { - - /** - * Creates an instance of McpListToolsToolInputSchema class. - */ - @Generated - public McpListToolsToolInputSchema() { - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of McpListToolsToolInputSchema from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of McpListToolsToolInputSchema if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the McpListToolsToolInputSchema. - */ - @Generated - public static McpListToolsToolInputSchema fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - McpListToolsToolInputSchema deserializedMcpListToolsToolInputSchema = new McpListToolsToolInputSchema(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - reader.skipChildren(); - } - return deserializedMcpListToolsToolInputSchema; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/McpToolCallStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/McpToolCallStatus.java deleted file mode 100644 index 4d476db72ff2..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/McpToolCallStatus.java +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.agents.implementation.models; - -/** - * Defines values for McpToolCallStatus. - */ -public enum McpToolCallStatus { - /** - * Enum value in_progress. - */ - IN_PROGRESS("in_progress"), - - /** - * Enum value completed. - */ - COMPLETED("completed"), - - /** - * Enum value incomplete. - */ - INCOMPLETE("incomplete"), - - /** - * Enum value calling. - */ - CALLING("calling"), - - /** - * Enum value failed. - */ - FAILED("failed"); - - /** - * The actual serialized value for a McpToolCallStatus instance. - */ - private final String value; - - McpToolCallStatus(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a McpToolCallStatus instance. - * - * @param value the serialized value to parse. - * @return the parsed McpToolCallStatus object, or null if unable to parse. - */ - public static McpToolCallStatus fromString(String value) { - if (value == null) { - return null; - } - McpToolCallStatus[] items = McpToolCallStatus.values(); - for (McpToolCallStatus item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/MessageContent.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/MessageContent.java deleted file mode 100644 index c73b246a0728..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/MessageContent.java +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * A content part that makes up an input or output item. - */ -@Immutable -public class MessageContent implements JsonSerializable { - - /* - * The type property. - */ - @Generated - private MessageContentType type = MessageContentType.fromString("MessageContent"); - - /** - * Creates an instance of MessageContent class. - */ - @Generated - public MessageContent() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - public MessageContentType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of MessageContent from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of MessageContent if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the MessageContent. - */ - @Generated - public static MessageContent fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("summary_text".equals(discriminatorValue)) { - return SummaryTextContent.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static MessageContent fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - MessageContent deserializedMessageContent = new MessageContent(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedMessageContent.type = MessageContentType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedMessageContent; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/MessageContentType.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/MessageContentType.java deleted file mode 100644 index 3089ebcf34fb..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/MessageContentType.java +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Defines values for MessageContentType. - */ -public final class MessageContentType extends ExpandableStringEnum { - - /** - * Static value input_text for MessageContentType. - */ - @Generated - public static final MessageContentType INPUT_TEXT = fromString("input_text"); - - /** - * Static value output_text for MessageContentType. - */ - @Generated - public static final MessageContentType OUTPUT_TEXT = fromString("output_text"); - - /** - * Static value text for MessageContentType. - */ - @Generated - public static final MessageContentType TEXT = fromString("text"); - - /** - * Static value summary_text for MessageContentType. - */ - @Generated - public static final MessageContentType SUMMARY_TEXT = fromString("summary_text"); - - /** - * Static value reasoning_text for MessageContentType. - */ - @Generated - public static final MessageContentType REASONING_TEXT = fromString("reasoning_text"); - - /** - * Static value refusal for MessageContentType. - */ - @Generated - public static final MessageContentType REFUSAL = fromString("refusal"); - - /** - * Static value input_image for MessageContentType. - */ - @Generated - public static final MessageContentType INPUT_IMAGE = fromString("input_image"); - - /** - * Static value computer_screenshot for MessageContentType. - */ - @Generated - public static final MessageContentType COMPUTER_SCREENSHOT = fromString("computer_screenshot"); - - /** - * Static value input_file for MessageContentType. - */ - @Generated - public static final MessageContentType INPUT_FILE = fromString("input_file"); - - /** - * Creates a new instance of MessageContentType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public MessageContentType() { - } - - /** - * Creates or finds a MessageContentType from its string representation. - * - * @param name a name to look for. - * @return the corresponding MessageContentType. - */ - @Generated - public static MessageContentType fromString(String name) { - return fromString(name, MessageContentType.class); - } - - /** - * Gets known MessageContentType values. - * - * @return known MessageContentType values. - */ - @Generated - public static Collection values() { - return values(MessageContentType.class); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/MoveParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/MoveParam.java deleted file mode 100644 index 8c0459250505..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/MoveParam.java +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Move - * - * A mouse move action. - */ -@Immutable -public final class MoveParam extends ComputerAction { - - /* - * The type property. - */ - @Generated - private ComputerActionType type = ComputerActionType.MOVE; - - /* - * The x-coordinate to move to. - */ - @Generated - private final long x; - - /* - * The y-coordinate to move to. - */ - @Generated - private final long y; - - /** - * Creates an instance of MoveParam class. - * - * @param x the x value to set. - * @param y the y value to set. - */ - @Generated - public MoveParam(long x, long y) { - this.x = x; - this.y = y; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ComputerActionType getType() { - return this.type; - } - - /** - * Get the x property: The x-coordinate to move to. - * - * @return the x value. - */ - @Generated - public long getX() { - return this.x; - } - - /** - * Get the y property: The y-coordinate to move to. - * - * @return the y value. - */ - @Generated - public long getY() { - return this.y; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeLongField("x", this.x); - jsonWriter.writeLongField("y", this.y); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of MoveParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of MoveParam if the JsonReader was pointing to an instance of it, or null if it was pointing - * to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the MoveParam. - */ - @Generated - public static MoveParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - long x = 0L; - long y = 0L; - ComputerActionType type = ComputerActionType.MOVE; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("x".equals(fieldName)) { - x = reader.getLong(); - } else if ("y".equals(fieldName)) { - y = reader.getLong(); - } else if ("type".equals(fieldName)) { - type = ComputerActionType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - MoveParam deserializedMoveParam = new MoveParam(x, y); - deserializedMoveParam.type = type; - return deserializedMoveParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContent.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContent.java deleted file mode 100644 index 0105c569543d..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContent.java +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The OutputMessageContent model. - */ -@Immutable -public class OutputMessageContent implements JsonSerializable { - - /* - * The type property. - */ - @Generated - private OutputMessageContentType type = OutputMessageContentType.fromString("OutputMessageContent"); - - /** - * Creates an instance of OutputMessageContent class. - */ - @Generated - public OutputMessageContent() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - public OutputMessageContentType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of OutputMessageContent from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of OutputMessageContent if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IOException If an error occurs while reading the OutputMessageContent. - */ - @Generated - public static OutputMessageContent fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("output_text".equals(discriminatorValue)) { - return OutputMessageContentOutputTextContent.fromJson(readerToUse.reset()); - } else if ("refusal".equals(discriminatorValue)) { - return OutputMessageContentRefusalContent.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static OutputMessageContent fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - OutputMessageContent deserializedOutputMessageContent = new OutputMessageContent(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedOutputMessageContent.type = OutputMessageContentType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedOutputMessageContent; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentOutputTextContent.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentOutputTextContent.java deleted file mode 100644 index 410572cff1d5..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentOutputTextContent.java +++ /dev/null @@ -1,152 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Output text - * - * A text output from the model. - */ -@Immutable -public final class OutputMessageContentOutputTextContent extends OutputMessageContent { - - /* - * The type property. - */ - @Generated - private OutputMessageContentType type = OutputMessageContentType.OUTPUT_TEXT; - - /* - * The text output from the model. - */ - @Generated - private final String text; - - /* - * The annotations of the text output. - */ - @Generated - private final List annotations; - - /* - * The logprobs property. - */ - @Generated - private final List logProbs; - - /** - * Creates an instance of OutputMessageContentOutputTextContent class. - * - * @param text the text value to set. - * @param annotations the annotations value to set. - * @param logProbs the logProbs value to set. - */ - @Generated - public OutputMessageContentOutputTextContent(String text, List annotations, List logProbs) { - this.text = text; - this.annotations = annotations; - this.logProbs = logProbs; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public OutputMessageContentType getType() { - return this.type; - } - - /** - * Get the text property: The text output from the model. - * - * @return the text value. - */ - @Generated - public String getText() { - return this.text; - } - - /** - * Get the annotations property: The annotations of the text output. - * - * @return the annotations value. - */ - @Generated - public List getAnnotations() { - return this.annotations; - } - - /** - * Get the logProbs property: The logprobs property. - * - * @return the logProbs value. - */ - @Generated - public List getLogProbs() { - return this.logProbs; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("text", this.text); - jsonWriter.writeArrayField("annotations", this.annotations, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeArrayField("logprobs", this.logProbs, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of OutputMessageContentOutputTextContent from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of OutputMessageContentOutputTextContent if the JsonReader was pointing to an instance of it, - * or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the OutputMessageContentOutputTextContent. - */ - @Generated - public static OutputMessageContentOutputTextContent fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String text = null; - List annotations = null; - List logProbs = null; - OutputMessageContentType type = OutputMessageContentType.OUTPUT_TEXT; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("text".equals(fieldName)) { - text = reader.getString(); - } else if ("annotations".equals(fieldName)) { - annotations = reader.readArray(reader1 -> Annotation.fromJson(reader1)); - } else if ("logprobs".equals(fieldName)) { - logProbs = reader.readArray(reader1 -> LogProb.fromJson(reader1)); - } else if ("type".equals(fieldName)) { - type = OutputMessageContentType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - OutputMessageContentOutputTextContent deserializedOutputMessageContentOutputTextContent - = new OutputMessageContentOutputTextContent(text, annotations, logProbs); - deserializedOutputMessageContentOutputTextContent.type = type; - return deserializedOutputMessageContentOutputTextContent; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentRefusalContent.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentRefusalContent.java deleted file mode 100644 index 457b0c6c4662..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentRefusalContent.java +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Refusal - * - * A refusal from the model. - */ -@Immutable -public final class OutputMessageContentRefusalContent extends OutputMessageContent { - - /* - * The type property. - */ - @Generated - private OutputMessageContentType type = OutputMessageContentType.REFUSAL; - - /* - * The refusal explanation from the model. - */ - @Generated - private final String refusal; - - /** - * Creates an instance of OutputMessageContentRefusalContent class. - * - * @param refusal the refusal value to set. - */ - @Generated - public OutputMessageContentRefusalContent(String refusal) { - this.refusal = refusal; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public OutputMessageContentType getType() { - return this.type; - } - - /** - * Get the refusal property: The refusal explanation from the model. - * - * @return the refusal value. - */ - @Generated - public String getRefusal() { - return this.refusal; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("refusal", this.refusal); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of OutputMessageContentRefusalContent from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of OutputMessageContentRefusalContent if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the OutputMessageContentRefusalContent. - */ - @Generated - public static OutputMessageContentRefusalContent fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String refusal = null; - OutputMessageContentType type = OutputMessageContentType.REFUSAL; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("refusal".equals(fieldName)) { - refusal = reader.getString(); - } else if ("type".equals(fieldName)) { - type = OutputMessageContentType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - OutputMessageContentRefusalContent deserializedOutputMessageContentRefusalContent - = new OutputMessageContentRefusalContent(refusal); - deserializedOutputMessageContentRefusalContent.type = type; - return deserializedOutputMessageContentRefusalContent; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentType.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentType.java deleted file mode 100644 index ec2ec10e1d06..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentType.java +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Defines values for OutputMessageContentType. - */ -public final class OutputMessageContentType extends ExpandableStringEnum { - - /** - * Static value output_text for OutputMessageContentType. - */ - @Generated - public static final OutputMessageContentType OUTPUT_TEXT = fromString("output_text"); - - /** - * Static value refusal for OutputMessageContentType. - */ - @Generated - public static final OutputMessageContentType REFUSAL = fromString("refusal"); - - /** - * Creates a new instance of OutputMessageContentType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public OutputMessageContentType() { - } - - /** - * Creates or finds a OutputMessageContentType from its string representation. - * - * @param name a name to look for. - * @return the corresponding OutputMessageContentType. - */ - @Generated - public static OutputMessageContentType fromString(String name) { - return fromString(name, OutputMessageContentType.class); - } - - /** - * Gets known OutputMessageContentType values. - * - * @return known OutputMessageContentType values. - */ - @Generated - public static Collection values() { - return values(OutputMessageContentType.class); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ReasoningTextContent.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ReasoningTextContent.java deleted file mode 100644 index 45245ed77f88..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ReasoningTextContent.java +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Reasoning text - * - * Reasoning text from the model. - */ -@Immutable -public final class ReasoningTextContent implements JsonSerializable { - - /* - * The type of the reasoning text. Always `reasoning_text`. - */ - @Generated - private final String type = "reasoning_text"; - - /* - * The reasoning text from the model. - */ - @Generated - private final String text; - - /** - * Creates an instance of ReasoningTextContent class. - * - * @param text the text value to set. - */ - @Generated - public ReasoningTextContent(String text) { - this.text = text; - } - - /** - * Get the type property: The type of the reasoning text. Always `reasoning_text`. - * - * @return the type value. - */ - @Generated - public String getType() { - return this.type; - } - - /** - * Get the text property: The reasoning text from the model. - * - * @return the text value. - */ - @Generated - public String getText() { - return this.text; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type); - jsonWriter.writeStringField("text", this.text); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ReasoningTextContent from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ReasoningTextContent if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ReasoningTextContent. - */ - @Generated - public static ReasoningTextContent fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String text = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("text".equals(fieldName)) { - text = reader.getString(); - } else { - reader.skipChildren(); - } - } - return new ReasoningTextContent(text); - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ScreenshotParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ScreenshotParam.java deleted file mode 100644 index b287a9cdc35d..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ScreenshotParam.java +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Screenshot - * - * A screenshot action. - */ -@Immutable -public final class ScreenshotParam extends ComputerAction { - - /* - * The type property. - */ - @Generated - private ComputerActionType type = ComputerActionType.SCREENSHOT; - - /** - * Creates an instance of ScreenshotParam class. - */ - @Generated - public ScreenshotParam() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ComputerActionType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ScreenshotParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ScreenshotParam if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the ScreenshotParam. - */ - @Generated - public static ScreenshotParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ScreenshotParam deserializedScreenshotParam = new ScreenshotParam(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedScreenshotParam.type = ComputerActionType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedScreenshotParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ScrollParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ScrollParam.java deleted file mode 100644 index 6ccb209b8111..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/ScrollParam.java +++ /dev/null @@ -1,172 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Scroll - * - * A scroll action. - */ -@Immutable -public final class ScrollParam extends ComputerAction { - - /* - * The type property. - */ - @Generated - private ComputerActionType type = ComputerActionType.SCROLL; - - /* - * The x-coordinate where the scroll occurred. - */ - @Generated - private final long x; - - /* - * The y-coordinate where the scroll occurred. - */ - @Generated - private final long y; - - /* - * The horizontal scroll distance. - */ - @Generated - private final long scrollX; - - /* - * The vertical scroll distance. - */ - @Generated - private final long scrollY; - - /** - * Creates an instance of ScrollParam class. - * - * @param x the x value to set. - * @param y the y value to set. - * @param scrollX the scrollX value to set. - * @param scrollY the scrollY value to set. - */ - @Generated - public ScrollParam(long x, long y, long scrollX, long scrollY) { - this.x = x; - this.y = y; - this.scrollX = scrollX; - this.scrollY = scrollY; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ComputerActionType getType() { - return this.type; - } - - /** - * Get the x property: The x-coordinate where the scroll occurred. - * - * @return the x value. - */ - @Generated - public long getX() { - return this.x; - } - - /** - * Get the y property: The y-coordinate where the scroll occurred. - * - * @return the y value. - */ - @Generated - public long getY() { - return this.y; - } - - /** - * Get the scrollX property: The horizontal scroll distance. - * - * @return the scrollX value. - */ - @Generated - public long getScrollX() { - return this.scrollX; - } - - /** - * Get the scrollY property: The vertical scroll distance. - * - * @return the scrollY value. - */ - @Generated - public long getScrollY() { - return this.scrollY; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeLongField("x", this.x); - jsonWriter.writeLongField("y", this.y); - jsonWriter.writeLongField("scroll_x", this.scrollX); - jsonWriter.writeLongField("scroll_y", this.scrollY); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ScrollParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ScrollParam if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ScrollParam. - */ - @Generated - public static ScrollParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - long x = 0L; - long y = 0L; - long scrollX = 0L; - long scrollY = 0L; - ComputerActionType type = ComputerActionType.SCROLL; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("x".equals(fieldName)) { - x = reader.getLong(); - } else if ("y".equals(fieldName)) { - y = reader.getLong(); - } else if ("scroll_x".equals(fieldName)) { - scrollX = reader.getLong(); - } else if ("scroll_y".equals(fieldName)) { - scrollY = reader.getLong(); - } else if ("type".equals(fieldName)) { - type = ComputerActionType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - ScrollParam deserializedScrollParam = new ScrollParam(x, y, scrollX, scrollY); - deserializedScrollParam.type = type; - return deserializedScrollParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java index 098d38474abd..cbbfb7943ac6 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java @@ -6,6 +6,7 @@ import com.azure.ai.agents.models.MemorySearchOptions; import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -29,7 +30,7 @@ public final class SearchMemoriesRequest implements JsonSerializable items; + private List items; /* * The unique ID of the previous search request, enabling incremental memory search from where the last operation @@ -70,7 +71,7 @@ public String getScope() { * @return the items value. */ @Generated - public List getItems() { + public List getItems() { return this.items; } @@ -81,7 +82,7 @@ public List getItems() { * @return the SearchMemoriesRequest object itself. */ @Generated - public SearchMemoriesRequest setItems(List items) { + public SearchMemoriesRequest setItems(List items) { this.items = items; return this; } @@ -140,7 +141,13 @@ public SearchMemoriesRequest setOptions(MemorySearchOptions options) { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("scope", this.scope); - jsonWriter.writeArrayField("items", this.items, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeArrayField("items", this.items, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); jsonWriter.writeStringField("previous_search_id", this.previousSearchId); jsonWriter.writeJsonField("options", this.options); return jsonWriter.writeEndObject(); @@ -159,7 +166,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { public static SearchMemoriesRequest fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String scope = null; - List items = null; + List items = null; String previousSearchId = null; MemorySearchOptions options = null; while (reader.nextToken() != JsonToken.END_OBJECT) { @@ -168,7 +175,8 @@ public static SearchMemoriesRequest fromJson(JsonReader jsonReader) throws IOExc if ("scope".equals(fieldName)) { scope = reader.getString(); } else if ("items".equals(fieldName)) { - items = reader.readArray(reader1 -> InputItem.fromJson(reader1)); + items = reader.readArray(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); } else if ("previous_search_id".equals(fieldName)) { previousSearchId = reader.getString(); } else if ("options".equals(fieldName)) { diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/SummaryTextContent.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/SummaryTextContent.java deleted file mode 100644 index c4c1a7aabbd2..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/SummaryTextContent.java +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Summary text - * - * A summary text from the model. - */ -@Immutable -public final class SummaryTextContent extends MessageContent { - - /* - * The type property. - */ - @Generated - private MessageContentType type = MessageContentType.SUMMARY_TEXT; - - /* - * A summary of the reasoning output from the model so far. - */ - @Generated - private final String text; - - /** - * Creates an instance of SummaryTextContent class. - * - * @param text the text value to set. - */ - @Generated - public SummaryTextContent(String text) { - this.text = text; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public MessageContentType getType() { - return this.type; - } - - /** - * Get the text property: A summary of the reasoning output from the model so far. - * - * @return the text value. - */ - @Generated - public String getText() { - return this.text; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("text", this.text); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of SummaryTextContent from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of SummaryTextContent if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the SummaryTextContent. - */ - @Generated - public static SummaryTextContent fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String text = null; - MessageContentType type = MessageContentType.SUMMARY_TEXT; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("text".equals(fieldName)) { - text = reader.getString(); - } else if ("type".equals(fieldName)) { - type = MessageContentType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - SummaryTextContent deserializedSummaryTextContent = new SummaryTextContent(text); - deserializedSummaryTextContent.type = type; - return deserializedSummaryTextContent; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/TopLogProb.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/TopLogProb.java deleted file mode 100644 index 909c84c97fbd..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/TopLogProb.java +++ /dev/null @@ -1,129 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Top log probability - * - * The top log probability of a token. - */ -@Immutable -public final class TopLogProb implements JsonSerializable { - - /* - * The token property. - */ - @Generated - private final String token; - - /* - * The logprob property. - */ - @Generated - private final double logprob; - - /* - * The bytes property. - */ - @Generated - private final List bytes; - - /** - * Creates an instance of TopLogProb class. - * - * @param token the token value to set. - * @param logprob the logprob value to set. - * @param bytes the bytes value to set. - */ - @Generated - public TopLogProb(String token, double logprob, List bytes) { - this.token = token; - this.logprob = logprob; - this.bytes = bytes; - } - - /** - * Get the token property: The token property. - * - * @return the token value. - */ - @Generated - public String getToken() { - return this.token; - } - - /** - * Get the logprob property: The logprob property. - * - * @return the logprob value. - */ - @Generated - public double getLogprob() { - return this.logprob; - } - - /** - * Get the bytes property: The bytes property. - * - * @return the bytes value. - */ - @Generated - public List getBytes() { - return this.bytes; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("token", this.token); - jsonWriter.writeDoubleField("logprob", this.logprob); - jsonWriter.writeArrayField("bytes", this.bytes, (writer, element) -> writer.writeLong(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of TopLogProb from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of TopLogProb if the JsonReader was pointing to an instance of it, or null if it was pointing - * to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the TopLogProb. - */ - @Generated - public static TopLogProb fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String token = null; - double logprob = 0.0; - List bytes = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("token".equals(fieldName)) { - token = reader.getString(); - } else if ("logprob".equals(fieldName)) { - logprob = reader.getDouble(); - } else if ("bytes".equals(fieldName)) { - bytes = reader.readArray(reader1 -> reader1.getLong()); - } else { - reader.skipChildren(); - } - } - return new TopLogProb(token, logprob, bytes); - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/TypeParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/TypeParam.java deleted file mode 100644 index 424c23ded435..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/TypeParam.java +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Type - * - * An action to type in text. - */ -@Immutable -public final class TypeParam extends ComputerAction { - - /* - * The type property. - */ - @Generated - private ComputerActionType type = ComputerActionType.TYPE; - - /* - * The text to type. - */ - @Generated - private final String text; - - /** - * Creates an instance of TypeParam class. - * - * @param text the text value to set. - */ - @Generated - public TypeParam(String text) { - this.text = text; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ComputerActionType getType() { - return this.type; - } - - /** - * Get the text property: The text to type. - * - * @return the text value. - */ - @Generated - public String getText() { - return this.text; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("text", this.text); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of TypeParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of TypeParam if the JsonReader was pointing to an instance of it, or null if it was pointing - * to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the TypeParam. - */ - @Generated - public static TypeParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String text = null; - ComputerActionType type = ComputerActionType.TYPE; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("text".equals(fieldName)) { - text = reader.getString(); - } else if ("type".equals(fieldName)) { - type = ComputerActionType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - TypeParam deserializedTypeParam = new TypeParam(text); - deserializedTypeParam.type = type; - return deserializedTypeParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java index 6166c818404e..ef0196f5de65 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java @@ -5,6 +5,7 @@ import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -28,7 +29,7 @@ public final class UpdateMemoriesRequest implements JsonSerializable items; + private List items; /* * The unique ID of the previous update request, enabling incremental memory updates from where the last operation @@ -72,7 +73,7 @@ public String getScope() { * @return the items value. */ @Generated - public List getItems() { + public List getItems() { return this.items; } @@ -83,7 +84,7 @@ public List getItems() { * @return the UpdateMemoriesRequest object itself. */ @Generated - public UpdateMemoriesRequest setItems(List items) { + public UpdateMemoriesRequest setItems(List items) { this.items = items; return this; } @@ -148,7 +149,13 @@ public UpdateMemoriesRequest setUpdateDelay(Integer updateDelay) { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("scope", this.scope); - jsonWriter.writeArrayField("items", this.items, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeArrayField("items", this.items, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); jsonWriter.writeStringField("previous_update_id", this.previousUpdateId); jsonWriter.writeNumberField("update_delay", this.updateDelay); return jsonWriter.writeEndObject(); @@ -167,7 +174,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { public static UpdateMemoriesRequest fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String scope = null; - List items = null; + List items = null; String previousUpdateId = null; Integer updateDelay = null; while (reader.nextToken() != JsonToken.END_OBJECT) { @@ -176,7 +183,8 @@ public static UpdateMemoriesRequest fromJson(JsonReader jsonReader) throws IOExc if ("scope".equals(fieldName)) { scope = reader.getString(); } else if ("items".equals(fieldName)) { - items = reader.readArray(reader1 -> InputItem.fromJson(reader1)); + items = reader.readArray(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); } else if ("previous_update_id".equals(fieldName)) { previousUpdateId = reader.getString(); } else if ("update_delay".equals(fieldName)) { diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/UrlCitationBody.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/UrlCitationBody.java deleted file mode 100644 index 0f5224240a27..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/UrlCitationBody.java +++ /dev/null @@ -1,172 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * URL citation - * - * A citation for a web resource used to generate a model response. - */ -@Immutable -public final class UrlCitationBody extends Annotation { - - /* - * The type property. - */ - @Generated - private AnnotationType type = AnnotationType.URL_CITATION; - - /* - * The URL of the web resource. - */ - @Generated - private final String url; - - /* - * The index of the first character of the URL citation in the message. - */ - @Generated - private final long startIndex; - - /* - * The index of the last character of the URL citation in the message. - */ - @Generated - private final long endIndex; - - /* - * The title of the web resource. - */ - @Generated - private final String title; - - /** - * Creates an instance of UrlCitationBody class. - * - * @param url the url value to set. - * @param startIndex the startIndex value to set. - * @param endIndex the endIndex value to set. - * @param title the title value to set. - */ - @Generated - public UrlCitationBody(String url, long startIndex, long endIndex, String title) { - this.url = url; - this.startIndex = startIndex; - this.endIndex = endIndex; - this.title = title; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public AnnotationType getType() { - return this.type; - } - - /** - * Get the url property: The URL of the web resource. - * - * @return the url value. - */ - @Generated - public String getUrl() { - return this.url; - } - - /** - * Get the startIndex property: The index of the first character of the URL citation in the message. - * - * @return the startIndex value. - */ - @Generated - public long getStartIndex() { - return this.startIndex; - } - - /** - * Get the endIndex property: The index of the last character of the URL citation in the message. - * - * @return the endIndex value. - */ - @Generated - public long getEndIndex() { - return this.endIndex; - } - - /** - * Get the title property: The title of the web resource. - * - * @return the title value. - */ - @Generated - public String getTitle() { - return this.title; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("url", this.url); - jsonWriter.writeLongField("start_index", this.startIndex); - jsonWriter.writeLongField("end_index", this.endIndex); - jsonWriter.writeStringField("title", this.title); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of UrlCitationBody from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of UrlCitationBody if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the UrlCitationBody. - */ - @Generated - public static UrlCitationBody fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String url = null; - long startIndex = 0L; - long endIndex = 0L; - String title = null; - AnnotationType type = AnnotationType.URL_CITATION; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("url".equals(fieldName)) { - url = reader.getString(); - } else if ("start_index".equals(fieldName)) { - startIndex = reader.getLong(); - } else if ("end_index".equals(fieldName)) { - endIndex = reader.getLong(); - } else if ("title".equals(fieldName)) { - title = reader.getString(); - } else if ("type".equals(fieldName)) { - type = AnnotationType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - UrlCitationBody deserializedUrlCitationBody = new UrlCitationBody(url, startIndex, endIndex, title); - deserializedUrlCitationBody.type = type; - return deserializedUrlCitationBody; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/VectorStoreFileAttributes.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/VectorStoreFileAttributes.java deleted file mode 100644 index a6ad5ae86d11..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/VectorStoreFileAttributes.java +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.core.util.BinaryData; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.LinkedHashMap; -import java.util.Map; - -/** - * Set of 16 key-value pairs that can be attached to an object. This can be - * useful for storing additional information about the object in a structured - * format, and querying for objects via API or the dashboard. Keys are strings - * with a maximum length of 64 characters. Values are strings with a maximum - * length of 512 characters, booleans, or numbers. - */ -@Fluent -public final class VectorStoreFileAttributes implements JsonSerializable { - - /* - * Set of 16 key-value pairs that can be attached to an object. This can be - * useful for storing additional information about the object in a structured - * format, and querying for objects via API or the dashboard. Keys are strings - * with a maximum length of 64 characters. Values are strings with a maximum - * length of 512 characters, booleans, or numbers. - */ - @Generated - private Map additionalProperties; - - /** - * Creates an instance of VectorStoreFileAttributes class. - */ - @Generated - public VectorStoreFileAttributes() { - } - - /** - * Get the additionalProperties property: Set of 16 key-value pairs that can be attached to an object. This can be - * useful for storing additional information about the object in a structured - * format, and querying for objects via API or the dashboard. Keys are strings - * with a maximum length of 64 characters. Values are strings with a maximum - * length of 512 characters, booleans, or numbers. - * - * @return the additionalProperties value. - */ - @Generated - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - /** - * Set the additionalProperties property: Set of 16 key-value pairs that can be attached to an object. This can be - * useful for storing additional information about the object in a structured - * format, and querying for objects via API or the dashboard. Keys are strings - * with a maximum length of 64 characters. Values are strings with a maximum - * length of 512 characters, booleans, or numbers. - * - * @param additionalProperties the additionalProperties value to set. - * @return the VectorStoreFileAttributes object itself. - */ - @Generated - public VectorStoreFileAttributes setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - if (additionalProperties != null) { - for (Map.Entry additionalProperty : additionalProperties.entrySet()) { - jsonWriter.writeFieldName(additionalProperty.getKey()); - if (additionalProperty.getValue() == null) { - jsonWriter.writeNull(); - } else { - additionalProperty.getValue().writeTo(jsonWriter); - } - } - } - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of VectorStoreFileAttributes from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of VectorStoreFileAttributes if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IOException If an error occurs while reading the VectorStoreFileAttributes. - */ - @Generated - public static VectorStoreFileAttributes fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - VectorStoreFileAttributes deserializedVectorStoreFileAttributes = new VectorStoreFileAttributes(); - Map additionalProperties = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if (additionalProperties == null) { - additionalProperties = new LinkedHashMap<>(); - } - additionalProperties.put(fieldName, - reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); - } - deserializedVectorStoreFileAttributes.additionalProperties = additionalProperties; - return deserializedVectorStoreFileAttributes; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WaitParam.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WaitParam.java deleted file mode 100644 index 793b138b18c7..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WaitParam.java +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Wait - * - * A wait action. - */ -@Immutable -public final class WaitParam extends ComputerAction { - - /* - * The type property. - */ - @Generated - private ComputerActionType type = ComputerActionType.WAIT; - - /** - * Creates an instance of WaitParam class. - */ - @Generated - public WaitParam() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ComputerActionType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of WaitParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of WaitParam if the JsonReader was pointing to an instance of it, or null if it was pointing - * to JSON null. - * @throws IOException If an error occurs while reading the WaitParam. - */ - @Generated - public static WaitParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - WaitParam deserializedWaitParam = new WaitParam(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedWaitParam.type = ComputerActionType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedWaitParam; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionFind.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionFind.java deleted file mode 100644 index 70ba0d69ce09..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionFind.java +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Find action - * - * Action type "find_in_page": Searches for a pattern within a loaded page. - */ -@Immutable -public final class WebSearchActionFind implements JsonSerializable { - - /* - * The action type. - */ - @Generated - private final String type = "find_in_page"; - - /* - * The URL of the page searched for the pattern. - */ - @Generated - private final String url; - - /* - * The pattern or text to search for within the page. - */ - @Generated - private final String pattern; - - /** - * Creates an instance of WebSearchActionFind class. - * - * @param url the url value to set. - * @param pattern the pattern value to set. - */ - @Generated - public WebSearchActionFind(String url, String pattern) { - this.url = url; - this.pattern = pattern; - } - - /** - * Get the type property: The action type. - * - * @return the type value. - */ - @Generated - public String getType() { - return this.type; - } - - /** - * Get the url property: The URL of the page searched for the pattern. - * - * @return the url value. - */ - @Generated - public String getUrl() { - return this.url; - } - - /** - * Get the pattern property: The pattern or text to search for within the page. - * - * @return the pattern value. - */ - @Generated - public String getPattern() { - return this.pattern; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type); - jsonWriter.writeStringField("url", this.url); - jsonWriter.writeStringField("pattern", this.pattern); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of WebSearchActionFind from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of WebSearchActionFind if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the WebSearchActionFind. - */ - @Generated - public static WebSearchActionFind fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String url = null; - String pattern = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("url".equals(fieldName)) { - url = reader.getString(); - } else if ("pattern".equals(fieldName)) { - pattern = reader.getString(); - } else { - reader.skipChildren(); - } - } - return new WebSearchActionFind(url, pattern); - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionOpenPage.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionOpenPage.java deleted file mode 100644 index e8d7599e90c1..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionOpenPage.java +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Open page action - * - * Action type "open_page" - Opens a specific URL from search results. - */ -@Fluent -public final class WebSearchActionOpenPage implements JsonSerializable { - - /* - * The action type. - */ - @Generated - private final String type = "open_page"; - - /* - * The URL opened by the model. - */ - @Generated - private String url; - - /** - * Creates an instance of WebSearchActionOpenPage class. - */ - @Generated - public WebSearchActionOpenPage() { - } - - /** - * Get the type property: The action type. - * - * @return the type value. - */ - @Generated - public String getType() { - return this.type; - } - - /** - * Get the url property: The URL opened by the model. - * - * @return the url value. - */ - @Generated - public String getUrl() { - return this.url; - } - - /** - * Set the url property: The URL opened by the model. - * - * @param url the url value to set. - * @return the WebSearchActionOpenPage object itself. - */ - @Generated - public WebSearchActionOpenPage setUrl(String url) { - this.url = url; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type); - jsonWriter.writeStringField("url", this.url); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of WebSearchActionOpenPage from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of WebSearchActionOpenPage if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the WebSearchActionOpenPage. - */ - @Generated - public static WebSearchActionOpenPage fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - WebSearchActionOpenPage deserializedWebSearchActionOpenPage = new WebSearchActionOpenPage(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("url".equals(fieldName)) { - deserializedWebSearchActionOpenPage.url = reader.getString(); - } else { - reader.skipChildren(); - } - } - return deserializedWebSearchActionOpenPage; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearch.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearch.java deleted file mode 100644 index 9d0df0dca1a4..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearch.java +++ /dev/null @@ -1,181 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Search action - * - * Action type "search" - Performs a web search query. - */ -@Fluent -public final class WebSearchActionSearch implements JsonSerializable { - - /* - * The action type. - */ - @Generated - private final String type = "search"; - - /* - * [DEPRECATED] The search query. - */ - @Generated - private final String query; - - /* - * Search queries - * - * The search queries. - */ - @Generated - private List queries; - - /* - * Web search sources - * - * The sources used in the search. - */ - @Generated - private List sources; - - /** - * Creates an instance of WebSearchActionSearch class. - * - * @param query the query value to set. - */ - @Generated - public WebSearchActionSearch(String query) { - this.query = query; - } - - /** - * Get the type property: The action type. - * - * @return the type value. - */ - @Generated - public String getType() { - return this.type; - } - - /** - * Get the query property: [DEPRECATED] The search query. - * - * @return the query value. - */ - @Generated - public String getQuery() { - return this.query; - } - - /** - * Get the queries property: Search queries - * - * The search queries. - * - * @return the queries value. - */ - @Generated - public List getQueries() { - return this.queries; - } - - /** - * Set the queries property: Search queries - * - * The search queries. - * - * @param queries the queries value to set. - * @return the WebSearchActionSearch object itself. - */ - @Generated - public WebSearchActionSearch setQueries(List queries) { - this.queries = queries; - return this; - } - - /** - * Get the sources property: Web search sources - * - * The sources used in the search. - * - * @return the sources value. - */ - @Generated - public List getSources() { - return this.sources; - } - - /** - * Set the sources property: Web search sources - * - * The sources used in the search. - * - * @param sources the sources value to set. - * @return the WebSearchActionSearch object itself. - */ - @Generated - public WebSearchActionSearch setSources(List sources) { - this.sources = sources; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type); - jsonWriter.writeStringField("query", this.query); - jsonWriter.writeArrayField("queries", this.queries, (writer, element) -> writer.writeString(element)); - jsonWriter.writeArrayField("sources", this.sources, (writer, element) -> writer.writeJson(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of WebSearchActionSearch from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of WebSearchActionSearch if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the WebSearchActionSearch. - */ - @Generated - public static WebSearchActionSearch fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String query = null; - List queries = null; - List sources = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("query".equals(fieldName)) { - query = reader.getString(); - } else if ("queries".equals(fieldName)) { - queries = reader.readArray(reader1 -> reader1.getString()); - } else if ("sources".equals(fieldName)) { - sources = reader.readArray(reader1 -> WebSearchActionSearchSources.fromJson(reader1)); - } else { - reader.skipChildren(); - } - } - WebSearchActionSearch deserializedWebSearchActionSearch = new WebSearchActionSearch(query); - deserializedWebSearchActionSearch.queries = queries; - deserializedWebSearchActionSearch.sources = sources; - return deserializedWebSearchActionSearch; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearchSources.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearchSources.java deleted file mode 100644 index 16b4ca1760de..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearchSources.java +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The WebSearchActionSearchSources model. - */ -@Immutable -public final class WebSearchActionSearchSources implements JsonSerializable { - - /* - * The type property. - */ - @Generated - private final String type = "url"; - - /* - * The url property. - */ - @Generated - private final String url; - - /** - * Creates an instance of WebSearchActionSearchSources class. - * - * @param url the url value to set. - */ - @Generated - public WebSearchActionSearchSources(String url) { - this.url = url; - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - public String getType() { - return this.type; - } - - /** - * Get the url property: The url property. - * - * @return the url value. - */ - @Generated - public String getUrl() { - return this.url; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type); - jsonWriter.writeStringField("url", this.url); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of WebSearchActionSearchSources from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of WebSearchActionSearchSources if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the WebSearchActionSearchSources. - */ - @Generated - public static WebSearchActionSearchSources fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String url = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("url".equals(fieldName)) { - url = reader.getString(); - } else { - reader.skipChildren(); - } - } - return new WebSearchActionSearchSources(url); - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetItem.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetItem.java index d95a956de837..15ba74ba3e40 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetItem.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetItem.java @@ -10,9 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.openai.models.responses.ResponseOutputItem; import java.io.IOException; -import java.util.ArrayList; import java.util.List; /** @@ -165,67 +163,24 @@ public DatasetItem setEvalResults(List evalResults) { * * @return the responseItems value. */ + @Generated public List getResponseItems() { - // AI Tooling: union type return this.responseItems; } /** * Set the responseItems property: Pre-computed agent response output items. Captures the full trajectory (function * calls, tool outputs, messages) from a prior agent run. - *

- * Use this method when passing Azure-specific tool call types (e.g., {@link BingGroundingToolCall}, - * {@link SharepointGroundingToolCall}, {@link AzureAISearchToolCall}) as {@code BinaryData.fromObject(toolCall)}. - * For standard OpenAI output items, prefer {@link #setResponseOutputItems(List)}. * * @param responseItems the responseItems value to set. * @return the DatasetItem object itself. */ + @Generated public DatasetItem setResponseItems(List responseItems) { - // AI Tooling: union type this.responseItems = responseItems; return this; } - /** - * Set the responseItems property: Pre-computed agent response output items. Captures the full trajectory (function - * calls, tool outputs, messages) from a prior agent run. - * - * @param responseItems the list of {@link ResponseOutputItem} values to set. - * @return the DatasetItem object itself. - */ - public DatasetItem setResponseOutputItems(List responseItems) { - // AI Tooling: union type - if (responseItems == null) { - this.responseItems = null; - } else { - List binaryDataList = new ArrayList<>(responseItems.size()); - for (ResponseOutputItem item : responseItems) { - binaryDataList.add(BinaryData.fromObject(item)); - } - this.responseItems = binaryDataList; - } - return this; - } - - /** - * Get the responseItems property as a list of {@link ResponseOutputItem}: Pre-computed agent response output - * items. Captures the full trajectory (function calls, tool outputs, messages) from a prior agent run. - * - * @return the responseItems value as a list of {@link ResponseOutputItem}. - */ - public List getResponseItemsAsResponseOutputItems() { - // AI Tooling: union type - if (this.responseItems == null) { - return null; - } - List result = new ArrayList<>(this.responseItems.size()); - for (BinaryData item : this.responseItems) { - result.add(item.toObject(ResponseOutputItem.class)); - } - return result; - } - /** * {@inheritDoc} */ diff --git a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json index 4dec9eb63967..2e1c019f061e 100644 --- a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json +++ b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"504427446e9a","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.Annotation":"OpenAI.Annotation","com.azure.ai.agents.implementation.models.AnnotationType":"OpenAI.AnnotationType","com.azure.ai.agents.implementation.models.ApplyPatchCallOutputStatusParam":"OpenAI.ApplyPatchCallOutputStatusParam","com.azure.ai.agents.implementation.models.ApplyPatchCallStatusParam":"OpenAI.ApplyPatchCallStatusParam","com.azure.ai.agents.implementation.models.ApplyPatchCreateFileOperationParam":"OpenAI.ApplyPatchCreateFileOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchDeleteFileOperationParam":"OpenAI.ApplyPatchDeleteFileOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchOperationParam":"OpenAI.ApplyPatchOperationParam","com.azure.ai.agents.implementation.models.ApplyPatchOperationParamType":"OpenAI.ApplyPatchOperationParamType","com.azure.ai.agents.implementation.models.ApplyPatchUpdateFileOperationParam":"OpenAI.ApplyPatchUpdateFileOperationParam","com.azure.ai.agents.implementation.models.ClickButtonType":"OpenAI.ClickButtonType","com.azure.ai.agents.implementation.models.ClickParam":"OpenAI.ClickParam","com.azure.ai.agents.implementation.models.CodeInterpreterOutputImage":"OpenAI.CodeInterpreterOutputImage","com.azure.ai.agents.implementation.models.CodeInterpreterOutputLogs":"OpenAI.CodeInterpreterOutputLogs","com.azure.ai.agents.implementation.models.ComputerAction":"OpenAI.ComputerAction","com.azure.ai.agents.implementation.models.ComputerActionType":"OpenAI.ComputerActionType","com.azure.ai.agents.implementation.models.ComputerCallSafetyCheckParam":"OpenAI.ComputerCallSafetyCheckParam","com.azure.ai.agents.implementation.models.ComputerScreenshotImage":"OpenAI.ComputerScreenshotImage","com.azure.ai.agents.implementation.models.ContainerFileCitationBody":"OpenAI.ContainerFileCitationBody","com.azure.ai.agents.implementation.models.CoordParam":"OpenAI.CoordParam","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.DoubleClickAction":"OpenAI.DoubleClickAction","com.azure.ai.agents.implementation.models.DragParam":"OpenAI.DragParam","com.azure.ai.agents.implementation.models.EasyInputMessage":"OpenAI.EasyInputMessage","com.azure.ai.agents.implementation.models.EasyInputMessageRole":"OpenAI.EasyInputMessage.role.anonymous","com.azure.ai.agents.implementation.models.EasyInputMessageStatus":"OpenAI.EasyInputMessage.status.anonymous","com.azure.ai.agents.implementation.models.FileCitationBody":"OpenAI.FileCitationBody","com.azure.ai.agents.implementation.models.FilePath":"OpenAI.FilePath","com.azure.ai.agents.implementation.models.FileSearchToolCallResults":"OpenAI.FileSearchToolCallResults","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutput":"OpenAI.FunctionAndCustomToolCallOutput","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputFileContent":"OpenAI.FunctionAndCustomToolCallOutputInputFileContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputImageContent":"OpenAI.FunctionAndCustomToolCallOutputInputImageContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputInputTextContent":"OpenAI.FunctionAndCustomToolCallOutputInputTextContent","com.azure.ai.agents.implementation.models.FunctionAndCustomToolCallOutputType":"OpenAI.FunctionAndCustomToolCallOutputType","com.azure.ai.agents.implementation.models.FunctionCallItemStatus":"OpenAI.FunctionCallItemStatus","com.azure.ai.agents.implementation.models.FunctionShellActionParam":"OpenAI.FunctionShellActionParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironment":"OpenAI.FunctionShellCallItemParamEnvironment","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentContainerReferenceParam":"OpenAI.FunctionShellCallItemParamEnvironmentContainerReferenceParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentLocalEnvironmentParam":"OpenAI.FunctionShellCallItemParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.implementation.models.FunctionShellCallItemParamEnvironmentType":"OpenAI.FunctionShellCallItemParamEnvironmentType","com.azure.ai.agents.implementation.models.FunctionShellCallItemStatus":"OpenAI.FunctionShellCallItemStatus","com.azure.ai.agents.implementation.models.FunctionShellCallOutputContentParam":"OpenAI.FunctionShellCallOutputContentParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputExitOutcomeParam":"OpenAI.FunctionShellCallOutputExitOutcomeParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputOutcomeParam":"OpenAI.FunctionShellCallOutputOutcomeParam","com.azure.ai.agents.implementation.models.FunctionShellCallOutputOutcomeParamType":"OpenAI.FunctionShellCallOutputOutcomeParamType","com.azure.ai.agents.implementation.models.FunctionShellCallOutputTimeoutOutcomeParam":"OpenAI.FunctionShellCallOutputTimeoutOutcomeParam","com.azure.ai.agents.implementation.models.ImageDetail":"OpenAI.ImageDetail","com.azure.ai.agents.implementation.models.ImageDetailLevel":"OpenAI.DetailEnum","com.azure.ai.agents.implementation.models.InputContent":"OpenAI.InputContent","com.azure.ai.agents.implementation.models.InputContentInputFileContent":"OpenAI.InputContentInputFileContent","com.azure.ai.agents.implementation.models.InputContentInputImageContent":"OpenAI.InputContentInputImageContent","com.azure.ai.agents.implementation.models.InputContentInputTextContent":"OpenAI.InputContentInputTextContent","com.azure.ai.agents.implementation.models.InputContentType":"OpenAI.InputContentType","com.azure.ai.agents.implementation.models.InputFileContentParam":"OpenAI.InputFileContentParam","com.azure.ai.agents.implementation.models.InputImageContentParamAutoParam":"OpenAI.InputImageContentParamAutoParam","com.azure.ai.agents.implementation.models.InputItem":"OpenAI.InputItem","com.azure.ai.agents.implementation.models.InputItemApplyPatchToolCallItemParam":"OpenAI.InputItemApplyPatchToolCallItemParam","com.azure.ai.agents.implementation.models.InputItemApplyPatchToolCallOutputItemParam":"OpenAI.InputItemApplyPatchToolCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemCodeInterpreterToolCall":"OpenAI.InputItemCodeInterpreterToolCall","com.azure.ai.agents.implementation.models.InputItemCodeInterpreterToolCallStatus":"OpenAI.InputItemCodeInterpreterToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemCompactionSummaryItemParam":"OpenAI.InputItemCompactionSummaryItemParam","com.azure.ai.agents.implementation.models.InputItemComputerCallOutputItemParam":"OpenAI.InputItemComputerCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemComputerToolCall":"OpenAI.InputItemComputerToolCall","com.azure.ai.agents.implementation.models.InputItemComputerToolCallStatus":"OpenAI.InputItemComputerToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemCustomToolCall":"OpenAI.InputItemCustomToolCall","com.azure.ai.agents.implementation.models.InputItemCustomToolCallOutput":"OpenAI.InputItemCustomToolCallOutput","com.azure.ai.agents.implementation.models.InputItemFileSearchToolCall":"OpenAI.InputItemFileSearchToolCall","com.azure.ai.agents.implementation.models.InputItemFileSearchToolCallStatus":"OpenAI.InputItemFileSearchToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemFunctionCallOutputItemParam":"OpenAI.InputItemFunctionCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionShellCallItemParam":"OpenAI.InputItemFunctionShellCallItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionShellCallOutputItemParam":"OpenAI.InputItemFunctionShellCallOutputItemParam","com.azure.ai.agents.implementation.models.InputItemFunctionToolCall":"OpenAI.InputItemFunctionToolCall","com.azure.ai.agents.implementation.models.InputItemFunctionToolCallStatus":"OpenAI.InputItemFunctionToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemImageGenToolCall":"OpenAI.InputItemImageGenToolCall","com.azure.ai.agents.implementation.models.InputItemImageGenToolCallStatus":"OpenAI.InputItemImageGenToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCall":"OpenAI.InputItemLocalShellToolCall","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallOutput":"OpenAI.InputItemLocalShellToolCallOutput","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallOutputStatus":"OpenAI.InputItemLocalShellToolCallOutput.status.anonymous","com.azure.ai.agents.implementation.models.InputItemLocalShellToolCallStatus":"OpenAI.InputItemLocalShellToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputItemMcpApprovalRequest":"OpenAI.InputItemMcpApprovalRequest","com.azure.ai.agents.implementation.models.InputItemMcpApprovalResponse":"OpenAI.InputItemMcpApprovalResponse","com.azure.ai.agents.implementation.models.InputItemMcpListTools":"OpenAI.InputItemMcpListTools","com.azure.ai.agents.implementation.models.InputItemMcpToolCall":"OpenAI.InputItemMcpToolCall","com.azure.ai.agents.implementation.models.InputItemOutputMessage":"OpenAI.InputItemOutputMessage","com.azure.ai.agents.implementation.models.InputItemOutputMessageStatus":"OpenAI.InputItemOutputMessage.status.anonymous","com.azure.ai.agents.implementation.models.InputItemReasoningItem":"OpenAI.InputItemReasoningItem","com.azure.ai.agents.implementation.models.InputItemReasoningItemStatus":"OpenAI.InputItemReasoningItem.status.anonymous","com.azure.ai.agents.implementation.models.InputItemType":"OpenAI.InputItemType","com.azure.ai.agents.implementation.models.InputItemWebSearchToolCall":"OpenAI.InputItemWebSearchToolCall","com.azure.ai.agents.implementation.models.InputItemWebSearchToolCallStatus":"OpenAI.InputItemWebSearchToolCall.status.anonymous","com.azure.ai.agents.implementation.models.InputTextContentParam":"OpenAI.InputTextContentParam","com.azure.ai.agents.implementation.models.ItemReferenceParam":"OpenAI.ItemReferenceParam","com.azure.ai.agents.implementation.models.KeyPressAction":"OpenAI.KeyPressAction","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.LocalShellExecAction":"OpenAI.LocalShellExecAction","com.azure.ai.agents.implementation.models.LogProb":"OpenAI.LogProb","com.azure.ai.agents.implementation.models.McpListToolsTool":"OpenAI.MCPListToolsTool","com.azure.ai.agents.implementation.models.McpListToolsToolAnnotations":"OpenAI.MCPListToolsToolAnnotations","com.azure.ai.agents.implementation.models.McpListToolsToolInputSchema":"OpenAI.MCPListToolsToolInputSchema","com.azure.ai.agents.implementation.models.McpToolCallStatus":"OpenAI.MCPToolCallStatus","com.azure.ai.agents.implementation.models.MessageContent":"OpenAI.MessageContent","com.azure.ai.agents.implementation.models.MessageContentType":"OpenAI.MessageContentType","com.azure.ai.agents.implementation.models.MoveParam":"OpenAI.MoveParam","com.azure.ai.agents.implementation.models.OutputMessageContent":"OpenAI.OutputMessageContent","com.azure.ai.agents.implementation.models.OutputMessageContentOutputTextContent":"OpenAI.OutputMessageContentOutputTextContent","com.azure.ai.agents.implementation.models.OutputMessageContentRefusalContent":"OpenAI.OutputMessageContentRefusalContent","com.azure.ai.agents.implementation.models.OutputMessageContentType":"OpenAI.OutputMessageContentType","com.azure.ai.agents.implementation.models.ReasoningTextContent":"OpenAI.ReasoningTextContent","com.azure.ai.agents.implementation.models.ScreenshotParam":"OpenAI.ScreenshotParam","com.azure.ai.agents.implementation.models.ScrollParam":"OpenAI.ScrollParam","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SummaryTextContent":"OpenAI.SummaryTextContent","com.azure.ai.agents.implementation.models.TopLogProb":"OpenAI.TopLogProb","com.azure.ai.agents.implementation.models.TypeParam":"OpenAI.TypeParam","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.implementation.models.UrlCitationBody":"OpenAI.UrlCitationBody","com.azure.ai.agents.implementation.models.VectorStoreFileAttributes":"OpenAI.VectorStoreFileAttributes","com.azure.ai.agents.implementation.models.WaitParam":"OpenAI.WaitParam","com.azure.ai.agents.implementation.models.WebSearchActionFind":"OpenAI.WebSearchActionFind","com.azure.ai.agents.implementation.models.WebSearchActionOpenPage":"OpenAI.WebSearchActionOpenPage","com.azure.ai.agents.implementation.models.WebSearchActionSearch":"OpenAI.WebSearchActionSearch","com.azure.ai.agents.implementation.models.WebSearchActionSearchSources":"OpenAI.WebSearchActionSearchSources","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetItem":"Azure.AI.Projects.DatasetItem","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvalRunOutputItemResult":"Azure.AI.Projects.EvalRunOutputItemResult","com.azure.ai.agents.models.EvalRunOutputItemResultStatus":"Azure.AI.Projects.EvalRunOutputItemResultStatus","com.azure.ai.agents.models.EvaluationCriterion":"Azure.AI.Projects.EvaluationCriterion","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationAgentSkill":"Azure.AI.Projects.OptimizationAgentSkill","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationMode":"Azure.AI.Projects.OptimizationMode","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationStrategy":"Azure.AI.Projects.OptimizationStrategy","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/Annotation.java","src/main/java/com/azure/ai/agents/implementation/models/AnnotationType.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallOutputStatusParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCallStatusParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchCreateFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchDeleteFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchOperationParamType.java","src/main/java/com/azure/ai/agents/implementation/models/ApplyPatchUpdateFileOperationParam.java","src/main/java/com/azure/ai/agents/implementation/models/ClickButtonType.java","src/main/java/com/azure/ai/agents/implementation/models/ClickParam.java","src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputImage.java","src/main/java/com/azure/ai/agents/implementation/models/CodeInterpreterOutputLogs.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerAction.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerActionType.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerCallSafetyCheckParam.java","src/main/java/com/azure/ai/agents/implementation/models/ComputerScreenshotImage.java","src/main/java/com/azure/ai/agents/implementation/models/ContainerFileCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/CoordParam.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/DoubleClickAction.java","src/main/java/com/azure/ai/agents/implementation/models/DragParam.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessage.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageRole.java","src/main/java/com/azure/ai/agents/implementation/models/EasyInputMessageStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FileCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/FilePath.java","src/main/java/com/azure/ai/agents/implementation/models/FileSearchToolCallResults.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputFileContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputImageContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputInputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionAndCustomToolCallOutputType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionCallItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellActionParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironment.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentContainerReferenceParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentLocalEnvironmentParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemParamEnvironmentType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputExitOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputOutcomeParamType.java","src/main/java/com/azure/ai/agents/implementation/models/FunctionShellCallOutputTimeoutOutcomeParam.java","src/main/java/com/azure/ai/agents/implementation/models/ImageDetail.java","src/main/java/com/azure/ai/agents/implementation/models/ImageDetailLevel.java","src/main/java/com/azure/ai/agents/implementation/models/InputContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputFileContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputImageContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentInputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/InputContentType.java","src/main/java/com/azure/ai/agents/implementation/models/InputFileContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputImageContentParamAutoParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItem.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemApplyPatchToolCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCodeInterpreterToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCompactionSummaryItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemComputerToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemCustomToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFileSearchToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionShellCallOutputItemParam.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemFunctionToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemImageGenToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutput.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallOutputStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemLocalShellToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalRequest.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpApprovalResponse.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpListTools.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemMcpToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessage.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemOutputMessageStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItem.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemReasoningItemStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemType.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCall.java","src/main/java/com/azure/ai/agents/implementation/models/InputItemWebSearchToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/InputTextContentParam.java","src/main/java/com/azure/ai/agents/implementation/models/ItemReferenceParam.java","src/main/java/com/azure/ai/agents/implementation/models/KeyPressAction.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/LocalShellExecAction.java","src/main/java/com/azure/ai/agents/implementation/models/LogProb.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsTool.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolAnnotations.java","src/main/java/com/azure/ai/agents/implementation/models/McpListToolsToolInputSchema.java","src/main/java/com/azure/ai/agents/implementation/models/McpToolCallStatus.java","src/main/java/com/azure/ai/agents/implementation/models/MessageContent.java","src/main/java/com/azure/ai/agents/implementation/models/MessageContentType.java","src/main/java/com/azure/ai/agents/implementation/models/MoveParam.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentOutputTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentRefusalContent.java","src/main/java/com/azure/ai/agents/implementation/models/OutputMessageContentType.java","src/main/java/com/azure/ai/agents/implementation/models/ReasoningTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/ScreenshotParam.java","src/main/java/com/azure/ai/agents/implementation/models/ScrollParam.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SummaryTextContent.java","src/main/java/com/azure/ai/agents/implementation/models/TopLogProb.java","src/main/java/com/azure/ai/agents/implementation/models/TypeParam.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UrlCitationBody.java","src/main/java/com/azure/ai/agents/implementation/models/VectorStoreFileAttributes.java","src/main/java/com/azure/ai/agents/implementation/models/WaitParam.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionFind.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionOpenPage.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearch.java","src/main/java/com/azure/ai/agents/implementation/models/WebSearchActionSearchSources.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetItem.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResult.java","src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResultStatus.java","src/main/java/com/azure/ai/agents/models/EvaluationCriterion.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentSkill.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationMode.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationStrategy.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"7bb0a897201d","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetItem":"Azure.AI.Projects.DatasetItem","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvalRunOutputItemResult":"Azure.AI.Projects.EvalRunOutputItemResult","com.azure.ai.agents.models.EvalRunOutputItemResultStatus":"Azure.AI.Projects.EvalRunOutputItemResultStatus","com.azure.ai.agents.models.EvaluationCriterion":"Azure.AI.Projects.EvaluationCriterion","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationAgentSkill":"Azure.AI.Projects.OptimizationAgentSkill","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationMode":"Azure.AI.Projects.OptimizationMode","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationStrategy":"Azure.AI.Projects.OptimizationStrategy","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetItem.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResult.java","src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResultStatus.java","src/main/java/com/azure/ai/agents/models/EvaluationCriterion.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentSkill.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationMode.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationStrategy.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index a17626468693..1afaf42ddd6d 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: bd618202ac42e97bcb3fdb7da09a47d9fa391d54 +commit: fffba63105aca23bd8123e53f77accd77be08653 repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents From 29a74405d0302380a94fc1e0bf3a36491d83f282 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Fri, 22 May 2026 01:39:37 -0700 Subject: [PATCH 26/74] fix tests, samples --- .../azure/ai/agents/models/DatasetItem.java | 43 +++++++++++++++++-- .../hostedagents/CodeAgentAsyncSample.java | 15 +++---- .../agents/hostedagents/CodeAgentSample.java | 14 +++--- .../hostedagents/CodeAgentSampleUtils.java | 5 --- .../hostedagents/CodeAgentSamplesTests.java | 25 +++++------ 5 files changed, 63 insertions(+), 39 deletions(-) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetItem.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetItem.java index 15ba74ba3e40..23e47ba9e9a3 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetItem.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetItem.java @@ -10,8 +10,10 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.openai.models.responses.ResponseOutputItem; import java.io.IOException; import java.util.List; +import java.util.stream.Collectors; /** * A single evaluation task with input query, expected output, and evaluation criteria. @@ -163,8 +165,8 @@ public DatasetItem setEvalResults(List evalResults) { * * @return the responseItems value. */ - @Generated - public List getResponseItems() { + List getResponseItems() { + // AI Tooling: union type return this.responseItems; } @@ -175,12 +177,45 @@ public List getResponseItems() { * @param responseItems the responseItems value to set. * @return the DatasetItem object itself. */ - @Generated - public DatasetItem setResponseItems(List responseItems) { + DatasetItem setResponseItems(List responseItems) { + // AI Tooling: union type this.responseItems = responseItems; return this; } + /** + * Get the responseItems property as a list of {@link ResponseOutputItem}: Pre-computed agent response output items. + * Captures the full trajectory (function calls, tool outputs, messages) from a prior agent run. + * + * @return the responseItems value as a list of ResponseOutputItem, or null if not set. + */ + public List getResponseItemsAsResponseOutputItems() { + // AI Tooling: union type + if (this.responseItems == null) { + return null; + } + return this.responseItems.stream() + .map(item -> item.toObject(ResponseOutputItem.class)) + .collect(Collectors.toList()); + } + + /** + * Set the responseItems property: Pre-computed agent response output items. Captures the full trajectory (function + * calls, tool outputs, messages) from a prior agent run. + * + * @param responseItems the list of ResponseOutputItem values to set. + * @return the DatasetItem object itself. + */ + public DatasetItem setResponseOutputItems(List responseItems) { + // AI Tooling: union type + if (responseItems == null) { + this.responseItems = null; + } else { + this.responseItems = responseItems.stream().map(BinaryData::fromObject).collect(Collectors.toList()); + } + return this; + } + /** * {@inheritDoc} */ diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentAsyncSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentAsyncSample.java index ad53e802de6e..c8f94d81bf63 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentAsyncSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentAsyncSample.java @@ -40,20 +40,19 @@ public static void main(String[] args) { .flatMap(codeZip -> { String codeZipSha256 = CodeAgentSampleUtils.sha256(codeZip); - // BEGIN: com.azure.ai.agents.hostedagents.CodeAgentAsyncSample.createAgentFromCode + // BEGIN: com.azure.ai.agents.hostedagents.CodeAgentAsyncSample.createAgentVersionFromCode_initial - return agentsAsyncClient.createAgentFromCode( + return agentsAsyncClient.createAgentVersionFromCode( agentName, codeZipSha256, - CodeAgentSampleUtils.createAgentFromCodeContent(codeZip), + CodeAgentSampleUtils.createAgentVersionFromCodeContent(codeZip), AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW) - .doOnNext(agent -> { - AgentVersionDetails latestVersion = agent.getVersions().getLatest(); - System.out.printf("Created code-based agent: %s%n", agent.getName()); - CodeAgentSampleUtils.printLatestVersion(latestVersion); + .doOnNext(version -> { + System.out.printf("Created code-based agent: %s%n", version.getName()); + CodeAgentSampleUtils.printLatestVersion(version); }) - // END: com.azure.ai.agents.hostedagents.CodeAgentAsyncSample.createAgentFromCode + // END: com.azure.ai.agents.hostedagents.CodeAgentAsyncSample.createAgentVersionFromCode_initial // BEGIN: com.azure.ai.agents.hostedagents.CodeAgentAsyncSample.downloadAgentCode diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSample.java index ac2d4eacc6a1..3ec16591718d 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSample.java @@ -6,7 +6,6 @@ import com.azure.ai.agents.AgentsClient; import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.models.AgentDefinitionOptInKeys; -import com.azure.ai.agents.models.AgentDetails; import com.azure.ai.agents.models.AgentVersionDetails; import com.azure.core.exception.ResourceNotFoundException; import com.azure.core.util.BinaryData; @@ -40,22 +39,21 @@ public static void main(String[] args) throws IOException { } try { - // BEGIN: com.azure.ai.agents.hostedagents.CodeAgentSample.createAgentFromCode + // BEGIN: com.azure.ai.agents.hostedagents.CodeAgentSample.createAgentVersionFromCode_initial BinaryData codeZip = CodeAgentSampleUtils.createCodeZip(); String codeZipSha256 = CodeAgentSampleUtils.sha256(codeZip); - AgentDetails agent = agentsClient.createAgentFromCode( + AgentVersionDetails version = agentsClient.createAgentVersionFromCode( agentName, codeZipSha256, - CodeAgentSampleUtils.createAgentFromCodeContent(codeZip), + CodeAgentSampleUtils.createAgentVersionFromCodeContent(codeZip), AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW); - AgentVersionDetails latestVersion = agent.getVersions().getLatest(); - System.out.printf("Created code-based agent: %s%n", agent.getName()); - CodeAgentSampleUtils.printLatestVersion(latestVersion); + System.out.printf("Created code-based agent: %s%n", version.getName()); + CodeAgentSampleUtils.printLatestVersion(version); - // END: com.azure.ai.agents.hostedagents.CodeAgentSample.createAgentFromCode + // END: com.azure.ai.agents.hostedagents.CodeAgentSample.createAgentVersionFromCode_initial // BEGIN: com.azure.ai.agents.hostedagents.CodeAgentSample.downloadAgentCode diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSampleUtils.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSampleUtils.java index 57b87e72d930..4d58d7ebd9ff 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSampleUtils.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSampleUtils.java @@ -8,7 +8,6 @@ import com.azure.ai.agents.models.CodeConfiguration; import com.azure.ai.agents.models.CodeDependencyResolution; import com.azure.ai.agents.models.CodeFileDetails; -import com.azure.ai.agents.models.CreateAgentFromCodeContent; import com.azure.ai.agents.models.CreateAgentVersionFromCodeContent; import com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata; import com.azure.ai.agents.models.HostedAgentDefinition; @@ -33,10 +32,6 @@ final class CodeAgentSampleUtils { private CodeAgentSampleUtils() { } - static CreateAgentFromCodeContent createAgentFromCodeContent(BinaryData codeZip) { - return new CreateAgentFromCodeContent(createMetadata(), createCodeFileDetails(codeZip)); - } - static CreateAgentVersionFromCodeContent createAgentVersionFromCodeContent(BinaryData codeZip) { return new CreateAgentVersionFromCodeContent(createMetadata(), createCodeFileDetails(codeZip)); } diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/CodeAgentSamplesTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/CodeAgentSamplesTests.java index 9591947c42fb..9a3343f903a8 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/CodeAgentSamplesTests.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/CodeAgentSamplesTests.java @@ -9,7 +9,6 @@ import com.azure.ai.agents.AgentsServiceVersion; import com.azure.ai.agents.ClientTestBase; import com.azure.ai.agents.models.AgentDefinitionOptInKeys; -import com.azure.ai.agents.models.AgentDetails; import com.azure.ai.agents.models.AgentVersionDetails; import com.azure.core.exception.ResourceNotFoundException; import com.azure.core.http.HttpClient; @@ -56,13 +55,12 @@ public void codeAgentSample(HttpClient httpClient, AgentsServiceVersion serviceV BinaryData codeZip = CodeAgentSampleUtils.createCodeZip(); String codeZipSha256 = CodeAgentSampleUtils.sha256(codeZip); - AgentDetails agent = agentsClient.createAgentFromCode(agentName, codeZipSha256, - CodeAgentSampleUtils.createAgentFromCodeContent(codeZip), + AgentVersionDetails version = agentsClient.createAgentVersionFromCode(agentName, codeZipSha256, + CodeAgentSampleUtils.createAgentVersionFromCodeContent(codeZip), AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW); - Assertions.assertNotNull(agent); - Assertions.assertEquals(agentName, agent.getName()); - Assertions.assertNotNull(agent.getVersions()); - Assertions.assertNotNull(agent.getVersions().getLatest()); + Assertions.assertNotNull(version); + Assertions.assertEquals(agentName, version.getName()); + Assertions.assertNotNull(version.getVersion()); BinaryData downloadedCode = agentsClient.downloadAgentCode(agentName, AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW, null); @@ -100,14 +98,13 @@ public void codeAgentAsyncSample(HttpClient httpClient, AgentsServiceVersion ser Mono testFlow = agentsAsyncClient.deleteAgent(agentName) .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()) - .then(agentsAsyncClient.createAgentFromCode(agentName, codeZipSha256, - CodeAgentSampleUtils.createAgentFromCodeContent(codeZip), + .then(agentsAsyncClient.createAgentVersionFromCode(agentName, codeZipSha256, + CodeAgentSampleUtils.createAgentVersionFromCodeContent(codeZip), AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW)) - .flatMap(agent -> { - Assertions.assertNotNull(agent); - Assertions.assertEquals(agentName, agent.getName()); - Assertions.assertNotNull(agent.getVersions()); - Assertions.assertNotNull(agent.getVersions().getLatest()); + .flatMap(version -> { + Assertions.assertNotNull(version); + Assertions.assertEquals(agentName, version.getName()); + Assertions.assertNotNull(version.getVersion()); return agentsAsyncClient.downloadAgentCode(agentName, AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW, null); From 22c78b78cf867ad1302e741534d49d0df11908c0 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Fri, 22 May 2026 01:46:50 -0700 Subject: [PATCH 27/74] disable session log tests --- .../src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java | 3 +++ .../src/test/java/com/azure/ai/agents/SessionLogSyncTest.java | 3 +++ 2 files changed, 6 insertions(+) diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java index e22f107f6caf..6a13602623ad 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java @@ -13,6 +13,8 @@ import com.azure.core.http.rest.RequestOptions; import com.azure.core.test.annotation.RecordWithoutRequestBody; import com.azure.core.util.BinaryData; + +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; import reactor.core.Disposable; @@ -34,6 +36,7 @@ public class SessionLogAsyncTest extends ClientTestBase { @RecordWithoutRequestBody @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.agents.TestUtils#getTestParameters") + @Disabled("Disabled for lack of recordings.") public void validatesSessionLogStream(HttpClient httpClient, AgentsServiceVersion serviceVersion) { AgentsAsyncClient client = getAgentsAsyncClient(httpClient, serviceVersion); RequestOptions featureOptions = new RequestOptions().setHeader(HttpHeaderName.fromString("Foundry-Features"), diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java index ed98aa1c101b..35ff934c6950 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java @@ -14,6 +14,8 @@ import com.azure.core.test.TestMode; import com.azure.core.test.annotation.RecordWithoutRequestBody; import com.azure.core.util.BinaryData; + +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; @@ -39,6 +41,7 @@ public class SessionLogSyncTest extends ClientTestBase { @RecordWithoutRequestBody @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.agents.TestUtils#getTestParameters") + @Disabled("Disabled for lack of recordings.") public void validatesSessionLogStream(HttpClient httpClient, AgentsServiceVersion serviceVersion) { AgentsClient client = getAgentsSyncClient(httpClient, serviceVersion); RequestOptions featureOptions = new RequestOptions().setHeader(HttpHeaderName.fromString("Foundry-Features"), From 75a647427f0c32d95b59cd426e8b884b8cd122b1 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Fri, 22 May 2026 01:52:08 -0700 Subject: [PATCH 28/74] suppress checkstyle --- .../com/azure/ai/agents/hostedagents/CodeAgentAsyncSample.java | 1 - 1 file changed, 1 deletion(-) diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentAsyncSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentAsyncSample.java index c8f94d81bf63..facac1250f23 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentAsyncSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentAsyncSample.java @@ -6,7 +6,6 @@ import com.azure.ai.agents.AgentsAsyncClient; import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.models.AgentDefinitionOptInKeys; -import com.azure.ai.agents.models.AgentVersionDetails; import com.azure.core.exception.ResourceNotFoundException; import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; From 3287ea8bc1cedf33e71030a5ca42779071ea0cc1 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Fri, 22 May 2026 01:54:17 -0700 Subject: [PATCH 29/74] suppression --- sdk/ai/azure-ai-agents/checkstyle-suppressions.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/ai/azure-ai-agents/checkstyle-suppressions.xml b/sdk/ai/azure-ai-agents/checkstyle-suppressions.xml index bbd1468e1eb1..fa252792d711 100644 --- a/sdk/ai/azure-ai-agents/checkstyle-suppressions.xml +++ b/sdk/ai/azure-ai-agents/checkstyle-suppressions.xml @@ -31,4 +31,5 @@ + From 9a8bd421a9f39e7841b5417f52ebe21982921aac Mon Sep 17 00:00:00 2001 From: Jose Alvarez Date: Fri, 22 May 2026 12:35:35 +0200 Subject: [PATCH 30/74] Jpalvarezl/fix/samples for 210 release (#49243) * Restored session log tests and added missing WebSearchAPIKeySample * Removed left over artifacts from other code review --- sdk/ai/azure-ai-agents/CHANGELOG.md | 2 ++ sdk/ai/azure-ai-agents/assets.json | 2 +- .../src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java | 2 -- .../src/test/java/com/azure/ai/agents/SessionLogSyncTest.java | 2 -- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/sdk/ai/azure-ai-agents/CHANGELOG.md b/sdk/ai/azure-ai-agents/CHANGELOG.md index 6a3c9a299b51..b081e9431528 100644 --- a/sdk/ai/azure-ai-agents/CHANGELOG.md +++ b/sdk/ai/azure-ai-agents/CHANGELOG.md @@ -10,6 +10,8 @@ ### Other Changes +- Re-enabled `SessionLogSyncTest` and `SessionLogAsyncTest`; both tests are recordable via `@RecordWithoutRequestBody` and run live against the configured Foundry project. + ## 2.1.0-beta.1 (2026-05-12) ### Features Added diff --git a/sdk/ai/azure-ai-agents/assets.json b/sdk/ai/azure-ai-agents/assets.json index 87e9dbe90acc..bf21adf5156b 100644 --- a/sdk/ai/azure-ai-agents/assets.json +++ b/sdk/ai/azure-ai-agents/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "java", "TagPrefix": "java/ai/azure-ai-agents", - "Tag": "java/ai/azure-ai-agents_69308f6d56" + "Tag": "java/ai/azure-ai-agents_5238437e7d" } diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java index 6a13602623ad..6da6380e804f 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java @@ -14,7 +14,6 @@ import com.azure.core.test.annotation.RecordWithoutRequestBody; import com.azure.core.util.BinaryData; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; import reactor.core.Disposable; @@ -36,7 +35,6 @@ public class SessionLogAsyncTest extends ClientTestBase { @RecordWithoutRequestBody @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.agents.TestUtils#getTestParameters") - @Disabled("Disabled for lack of recordings.") public void validatesSessionLogStream(HttpClient httpClient, AgentsServiceVersion serviceVersion) { AgentsAsyncClient client = getAgentsAsyncClient(httpClient, serviceVersion); RequestOptions featureOptions = new RequestOptions().setHeader(HttpHeaderName.fromString("Foundry-Features"), diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java index 35ff934c6950..73bca3e70def 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java @@ -15,7 +15,6 @@ import com.azure.core.test.annotation.RecordWithoutRequestBody; import com.azure.core.util.BinaryData; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; @@ -41,7 +40,6 @@ public class SessionLogSyncTest extends ClientTestBase { @RecordWithoutRequestBody @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.agents.TestUtils#getTestParameters") - @Disabled("Disabled for lack of recordings.") public void validatesSessionLogStream(HttpClient httpClient, AgentsServiceVersion serviceVersion) { AgentsClient client = getAgentsSyncClient(httpClient, serviceVersion); RequestOptions featureOptions = new RequestOptions().setHeader(HttpHeaderName.fromString("Foundry-Features"), From 0fa9bf324e354543bb336fedd3d49cf9bcd82dba Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 26 May 2026 11:30:32 -0700 Subject: [PATCH 31/74] fix type collisions --- .../ai/projects/models/ComparisonFilter.java | 147 ------------------ .../ai/projects/models/CompoundFilter.java | 115 -------------- .../models/CustomGrammarFormatParam.java | 10 +- .../models/FileSearchToolFiltersType.java | 76 --------- .../models/FileSearchToolFiltersType1.java | 56 ------- .../ai/projects/models/GrammarSyntax.java | 57 +++++++ .../ai/projects/models/GrammarSyntax1.java | 56 ------- .../META-INF/azure-ai-projects_metadata.json | 2 +- sdk/ai/azure-ai-projects/tsp-location.yaml | 2 +- 9 files changed, 64 insertions(+), 457 deletions(-) delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComparisonFilter.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CompoundFilter.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType1.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GrammarSyntax.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GrammarSyntax1.java diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComparisonFilter.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComparisonFilter.java deleted file mode 100644 index 9c980c1e04ec..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComparisonFilter.java +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.core.util.BinaryData; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Comparison Filter - * - * A filter used to compare a specified attribute key to a given value using a defined comparison operation. - */ -@Immutable -public final class ComparisonFilter implements JsonSerializable { - - /* - * Specifies the comparison operator: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`. - * - `eq`: equals - * - `ne`: not equal - * - `gt`: greater than - * - `gte`: greater than or equal - * - `lt`: less than - * - `lte`: less than or equal - * - `in`: in - * - `nin`: not in - */ - @Generated - private final FileSearchToolFiltersType type; - - /* - * The key to compare against the value. - */ - @Generated - private final String key; - - /* - * The value to compare against the attribute key; supports string, number, or boolean types. - */ - @Generated - private final BinaryData value; - - /** - * Get the type property: Specifies the comparison operator: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`. - * - `eq`: equals - * - `ne`: not equal - * - `gt`: greater than - * - `gte`: greater than or equal - * - `lt`: less than - * - `lte`: less than or equal - * - `in`: in - * - `nin`: not in. - * - * @return the type value. - */ - @Generated - public FileSearchToolFiltersType getType() { - return this.type; - } - - /** - * Get the key property: The key to compare against the value. - * - * @return the key value. - */ - @Generated - public String getKey() { - return this.key; - } - - /** - * Get the value property: The value to compare against the attribute key; supports string, number, or boolean - * types. - * - * @return the value value. - */ - @Generated - public BinaryData getValue() { - return this.value; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("key", this.key); - jsonWriter.writeFieldName("value"); - this.value.writeTo(jsonWriter); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ComparisonFilter from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ComparisonFilter if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ComparisonFilter. - */ - @Generated - public static ComparisonFilter fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - FileSearchToolFiltersType type = null; - String key = null; - BinaryData value = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - type = FileSearchToolFiltersType.fromString(reader.getString()); - } else if ("key".equals(fieldName)) { - key = reader.getString(); - } else if ("value".equals(fieldName)) { - value = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); - } else { - reader.skipChildren(); - } - } - return new ComparisonFilter(type, key, value); - }); - } - - /** - * Creates an instance of ComparisonFilter class. - * - * @param type the type value to set. - * @param key the key value to set. - * @param value the value value to set. - */ - @Generated - public ComparisonFilter(FileSearchToolFiltersType type, String key, BinaryData value) { - this.type = type; - this.key = key; - this.value = value; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CompoundFilter.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CompoundFilter.java deleted file mode 100644 index 59b7715fe7ce..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CompoundFilter.java +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.core.util.BinaryData; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Compound Filter - * - * Combine multiple filters using `and` or `or`. - */ -@Immutable -public final class CompoundFilter implements JsonSerializable { - - /* - * Type of operation: `and` or `or`. - */ - @Generated - private final FileSearchToolFiltersType1 type; - - /* - * Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`. - */ - @Generated - private final List filters; - - /** - * Get the type property: Type of operation: `and` or `or`. - * - * @return the type value. - */ - @Generated - public FileSearchToolFiltersType1 getType() { - return this.type; - } - - /** - * Get the filters property: Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`. - * - * @return the filters value. - */ - @Generated - public List getFilters() { - return this.filters; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeArrayField("filters", this.filters, (writer, element) -> { - if (element == null) { - writer.writeNull(); - } else { - element.writeTo(writer); - } - }); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of CompoundFilter from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of CompoundFilter if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the CompoundFilter. - */ - @Generated - public static CompoundFilter fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - FileSearchToolFiltersType1 type = null; - List filters = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - type = FileSearchToolFiltersType1.fromString(reader.getString()); - } else if ("filters".equals(fieldName)) { - filters = reader.readArray(reader1 -> reader1 - .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); - } else { - reader.skipChildren(); - } - } - return new CompoundFilter(type, filters); - }); - } - - /** - * Creates an instance of CompoundFilter class. - * - * @param type the type value to set. - * @param filters the filters value to set. - */ - @Generated - public CompoundFilter(FileSearchToolFiltersType1 type, List filters) { - this.type = type; - this.filters = filters; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java index e5566e1fffa9..e1e94542fa69 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java @@ -28,7 +28,7 @@ public final class CustomGrammarFormatParam extends CustomToolParamFormat { * The syntax of the grammar definition. One of `lark` or `regex`. */ @Generated - private final GrammarSyntax1 syntax; + private final GrammarSyntax syntax; /* * The grammar definition. @@ -53,7 +53,7 @@ public CustomToolParamFormatType getType() { * @return the syntax value. */ @Generated - public GrammarSyntax1 getSyntax() { + public GrammarSyntax getSyntax() { return this.syntax; } @@ -92,14 +92,14 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { @Generated public static CustomGrammarFormatParam fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - GrammarSyntax1 syntax = null; + GrammarSyntax syntax = null; String definition = null; CustomToolParamFormatType type = CustomToolParamFormatType.GRAMMAR; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("syntax".equals(fieldName)) { - syntax = GrammarSyntax1.fromString(reader.getString()); + syntax = GrammarSyntax.fromString(reader.getString()); } else if ("definition".equals(fieldName)) { definition = reader.getString(); } else if ("type".equals(fieldName)) { @@ -122,7 +122,7 @@ public static CustomGrammarFormatParam fromJson(JsonReader jsonReader) throws IO * @param definition the definition value to set. */ @Generated - public CustomGrammarFormatParam(GrammarSyntax1 syntax, String definition) { + public CustomGrammarFormatParam(GrammarSyntax syntax, String definition) { this.syntax = syntax; this.definition = definition; } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType.java deleted file mode 100644 index 184ca64e85a7..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType.java +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.models; - -/** - * Defines values for FileSearchToolFiltersType. - */ -public enum FileSearchToolFiltersType { - /** - * Enum value eq. - */ - EQ("eq"), - - /** - * Enum value ne. - */ - NE("ne"), - - /** - * Enum value gt. - */ - GT("gt"), - - /** - * Enum value gte. - */ - GTE("gte"), - - /** - * Enum value lt. - */ - LT("lt"), - - /** - * Enum value lte. - */ - LTE("lte"); - - /** - * The actual serialized value for a FileSearchToolFiltersType instance. - */ - private final String value; - - FileSearchToolFiltersType(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a FileSearchToolFiltersType instance. - * - * @param value the serialized value to parse. - * @return the parsed FileSearchToolFiltersType object, or null if unable to parse. - */ - public static FileSearchToolFiltersType fromString(String value) { - if (value == null) { - return null; - } - FileSearchToolFiltersType[] items = FileSearchToolFiltersType.values(); - for (FileSearchToolFiltersType item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType1.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType1.java deleted file mode 100644 index 8a21edd5d7b9..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType1.java +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.models; - -/** - * Defines values for FileSearchToolFiltersType1. - */ -public enum FileSearchToolFiltersType1 { - /** - * Enum value and. - */ - AND("and"), - - /** - * Enum value or. - */ - OR("or"); - - /** - * The actual serialized value for a FileSearchToolFiltersType1 instance. - */ - private final String value; - - FileSearchToolFiltersType1(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a FileSearchToolFiltersType1 instance. - * - * @param value the serialized value to parse. - * @return the parsed FileSearchToolFiltersType1 object, or null if unable to parse. - */ - public static FileSearchToolFiltersType1 fromString(String value) { - if (value == null) { - return null; - } - FileSearchToolFiltersType1[] items = FileSearchToolFiltersType1.values(); - for (FileSearchToolFiltersType1 item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GrammarSyntax.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GrammarSyntax.java new file mode 100644 index 000000000000..7525e7ff1c8d --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GrammarSyntax.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Defines values for GrammarSyntax. + */ +public final class GrammarSyntax extends ExpandableStringEnum { + + /** + * Static value lark for GrammarSyntax. + */ + @Generated + public static final GrammarSyntax LARK = fromString("lark"); + + /** + * Static value regex for GrammarSyntax. + */ + @Generated + public static final GrammarSyntax REGEX = fromString("regex"); + + /** + * Creates a new instance of GrammarSyntax value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public GrammarSyntax() { + } + + /** + * Creates or finds a GrammarSyntax from its string representation. + * + * @param name a name to look for. + * @return the corresponding GrammarSyntax. + */ + @Generated + public static GrammarSyntax fromString(String name) { + return fromString(name, GrammarSyntax.class); + } + + /** + * Gets known GrammarSyntax values. + * + * @return known GrammarSyntax values. + */ + @Generated + public static Collection values() { + return values(GrammarSyntax.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GrammarSyntax1.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GrammarSyntax1.java deleted file mode 100644 index 6125ea825e11..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GrammarSyntax1.java +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.models; - -/** - * Defines values for GrammarSyntax1. - */ -public enum GrammarSyntax1 { - /** - * Enum value lark. - */ - LARK("lark"), - - /** - * Enum value regex. - */ - REGEX("regex"); - - /** - * The actual serialized value for a GrammarSyntax1 instance. - */ - private final String value; - - GrammarSyntax1(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a GrammarSyntax1 instance. - * - * @param value the serialized value to parse. - * @return the parsed GrammarSyntax1 object, or null if unable to parse. - */ - public static GrammarSyntax1 fromString(String value) { - if (value == null) { - return null; - } - GrammarSyntax1[] items = GrammarSyntax1.values(); - for (GrammarSyntax1 item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json index 0f3fc4696605..515fd74c6c04 100644 --- a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json +++ b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"78c171c00382","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillRequest":"Azure.AI.Projects.createSkill.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ApplyPatchToolParam":"OpenAI.ApplyPatchToolParam","com.azure.ai.projects.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AutoCodeInterpreterToolParam":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.projects.models.ComparisonFilter":"OpenAI.ComparisonFilter","com.azure.ai.projects.models.CompoundFilter":"OpenAI.CompoundFilter","com.azure.ai.projects.models.ComputerEnvironment":"OpenAI.ComputerEnvironment","com.azure.ai.projects.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContainerAutoParam":"OpenAI.ContainerAutoParam","com.azure.ai.projects.models.ContainerMemoryLimit":"OpenAI.ContainerMemoryLimit","com.azure.ai.projects.models.ContainerNetworkPolicyAllowlistParam":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.projects.models.ContainerNetworkPolicyDisabledParam":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.projects.models.ContainerNetworkPolicyDomainSecretParam":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.projects.models.ContainerNetworkPolicyParam":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.projects.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.projects.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.projects.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.CustomGrammarFormatParam":"OpenAI.CustomGrammarFormatParam","com.azure.ai.projects.models.CustomTextFormatParam":"OpenAI.CustomTextFormatParam","com.azure.ai.projects.models.CustomToolParam":"OpenAI.CustomToolParam","com.azure.ai.projects.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.projects.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetDataGenerationJobSource":"Azure.AI.Projects.DatasetDataGenerationJobSource","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.projects.models.FileSearchToolFiltersType":"OpenAI.FileSearchTool.filters.type.anonymous","com.azure.ai.projects.models.FileSearchToolFiltersType1":"OpenAI.FileSearchTool.filters.type.anonymous","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.FunctionShellToolParam":"OpenAI.FunctionShellToolParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentContainerReferenceParam":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentLocalEnvironmentParam":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.projects.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.projects.models.GitHubIssueOpenedRoutineTrigger":"Azure.AI.Projects.GitHubIssueOpenedRoutineTrigger","com.azure.ai.projects.models.GrammarSyntax1":"OpenAI.GrammarSyntax1","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.projects.models.ImageGenActionEnum":"OpenAI.ImageGenActionEnum","com.azure.ai.projects.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.projects.models.ImageGenToolBackground":"OpenAI.ImageGenTool.background.anonymous","com.azure.ai.projects.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.projects.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.projects.models.ImageGenToolModeration":"OpenAI.ImageGenTool.moderation.anonymous","com.azure.ai.projects.models.ImageGenToolOutputFormat":"OpenAI.ImageGenTool.output_format.anonymous","com.azure.ai.projects.models.ImageGenToolQuality":"OpenAI.ImageGenTool.quality.anonymous","com.azure.ai.projects.models.ImageGenToolSize":"OpenAI.ImageGenTool.size.anonymous","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.InlineSkillParam":"OpenAI.InlineSkillParam","com.azure.ai.projects.models.InlineSkillSourceParam":"OpenAI.InlineSkillSourceParam","com.azure.ai.projects.models.InputFidelity":"OpenAI.InputFidelity","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LocalShellToolParam":"OpenAI.LocalShellToolParam","com.azure.ai.projects.models.LocalSkillParam":"OpenAI.LocalSkillParam","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.MCPTool":"OpenAI.MCPTool","com.azure.ai.projects.models.MCPToolConnectorId":"OpenAI.MCPTool.connector_id.anonymous","com.azure.ai.projects.models.MCPToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.projects.models.MCPToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RankerVersionType":"OpenAI.RankerVersionType","com.azure.ai.projects.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunDiagnostics":"Azure.AI.Projects.RoutineRunDiagnostics","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SearchContextSize":"OpenAI.SearchContextSize","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.SkillDetails":"Azure.AI.Projects.SkillObject","com.azure.ai.projects.models.SkillReferenceParam":"OpenAI.SkillReferenceParam","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.Tool":"OpenAI.Tool","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolType":"OpenAI.ToolType","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.projects.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.projects.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.projects.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.projects.models.WebSearchToolSearchContextSize":"OpenAI.WebSearchTool.search_context_size.anonymous","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java","src/main/java/com/azure/ai/projects/models/ApproximateLocation.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/projects/models/ComparisonFilter.java","src/main/java/com/azure/ai/projects/models/CompoundFilter.java","src/main/java/com/azure/ai/projects/models/ComputerEnvironment.java","src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java","src/main/java/com/azure/ai/projects/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/projects/models/ContainerSkill.java","src/main/java/com/azure/ai/projects/models/ContainerSkillType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java","src/main/java/com/azure/ai/projects/models/CustomTextFormatParam.java","src/main/java/com/azure/ai/projects/models/CustomToolParam.java","src/main/java/com/azure/ai/projects/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FileSearchTool.java","src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType.java","src/main/java/com/azure/ai/projects/models/FileSearchToolFiltersType1.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/projects/models/FunctionTool.java","src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GrammarSyntax1.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java","src/main/java/com/azure/ai/projects/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/projects/models/ImageGenTool.java","src/main/java/com/azure/ai/projects/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/projects/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java","src/main/java/com/azure/ai/projects/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/projects/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/projects/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/projects/models/ImageGenToolSize.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/InlineSkillParam.java","src/main/java/com/azure/ai/projects/models/InlineSkillSourceParam.java","src/main/java/com/azure/ai/projects/models/InputFidelity.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java","src/main/java/com/azure/ai/projects/models/LocalSkillParam.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/MCPTool.java","src/main/java/com/azure/ai/projects/models/MCPToolConnectorId.java","src/main/java/com/azure/ai/projects/models/MCPToolFilter.java","src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RankerVersionType.java","src/main/java/com/azure/ai/projects/models/RankingOptions.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SearchContextSize.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/SkillDetails.java","src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/Tool.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolType.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/projects/models/WebSearchTool.java","src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/projects/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"81ed11d53aa0","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillRequest":"Azure.AI.Projects.createSkill.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ApplyPatchToolParam":"OpenAI.ApplyPatchToolParam","com.azure.ai.projects.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AutoCodeInterpreterToolParam":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.projects.models.ComputerEnvironment":"OpenAI.ComputerEnvironment","com.azure.ai.projects.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContainerAutoParam":"OpenAI.ContainerAutoParam","com.azure.ai.projects.models.ContainerMemoryLimit":"OpenAI.ContainerMemoryLimit","com.azure.ai.projects.models.ContainerNetworkPolicyAllowlistParam":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.projects.models.ContainerNetworkPolicyDisabledParam":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.projects.models.ContainerNetworkPolicyDomainSecretParam":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.projects.models.ContainerNetworkPolicyParam":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.projects.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.projects.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.projects.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.CustomGrammarFormatParam":"OpenAI.CustomGrammarFormatParam","com.azure.ai.projects.models.CustomTextFormatParam":"OpenAI.CustomTextFormatParam","com.azure.ai.projects.models.CustomToolParam":"OpenAI.CustomToolParam","com.azure.ai.projects.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.projects.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetDataGenerationJobSource":"Azure.AI.Projects.DatasetDataGenerationJobSource","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.FunctionShellToolParam":"OpenAI.FunctionShellToolParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentContainerReferenceParam":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentLocalEnvironmentParam":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.projects.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.projects.models.GitHubIssueOpenedRoutineTrigger":"Azure.AI.Projects.GitHubIssueOpenedRoutineTrigger","com.azure.ai.projects.models.GrammarSyntax":"Azure.AI.Projects.GrammarSyntaxExpandable","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.projects.models.ImageGenActionEnum":"OpenAI.ImageGenActionEnum","com.azure.ai.projects.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.projects.models.ImageGenToolBackground":"OpenAI.ImageGenTool.background.anonymous","com.azure.ai.projects.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.projects.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.projects.models.ImageGenToolModeration":"OpenAI.ImageGenTool.moderation.anonymous","com.azure.ai.projects.models.ImageGenToolOutputFormat":"OpenAI.ImageGenTool.output_format.anonymous","com.azure.ai.projects.models.ImageGenToolQuality":"OpenAI.ImageGenTool.quality.anonymous","com.azure.ai.projects.models.ImageGenToolSize":"OpenAI.ImageGenTool.size.anonymous","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.InlineSkillParam":"OpenAI.InlineSkillParam","com.azure.ai.projects.models.InlineSkillSourceParam":"OpenAI.InlineSkillSourceParam","com.azure.ai.projects.models.InputFidelity":"OpenAI.InputFidelity","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LocalShellToolParam":"OpenAI.LocalShellToolParam","com.azure.ai.projects.models.LocalSkillParam":"OpenAI.LocalSkillParam","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.MCPTool":"OpenAI.MCPTool","com.azure.ai.projects.models.MCPToolConnectorId":"OpenAI.MCPTool.connector_id.anonymous","com.azure.ai.projects.models.MCPToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.projects.models.MCPToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RankerVersionType":"OpenAI.RankerVersionType","com.azure.ai.projects.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunDiagnostics":"Azure.AI.Projects.RoutineRunDiagnostics","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SearchContextSize":"OpenAI.SearchContextSize","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.SkillDetails":"Azure.AI.Projects.SkillObject","com.azure.ai.projects.models.SkillReferenceParam":"OpenAI.SkillReferenceParam","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.Tool":"OpenAI.Tool","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolType":"OpenAI.ToolType","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.projects.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.projects.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.projects.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.projects.models.WebSearchToolSearchContextSize":"OpenAI.WebSearchTool.search_context_size.anonymous","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java","src/main/java/com/azure/ai/projects/models/ApproximateLocation.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/projects/models/ComputerEnvironment.java","src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java","src/main/java/com/azure/ai/projects/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/projects/models/ContainerSkill.java","src/main/java/com/azure/ai/projects/models/ContainerSkillType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java","src/main/java/com/azure/ai/projects/models/CustomTextFormatParam.java","src/main/java/com/azure/ai/projects/models/CustomToolParam.java","src/main/java/com/azure/ai/projects/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FileSearchTool.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/projects/models/FunctionTool.java","src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GrammarSyntax.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java","src/main/java/com/azure/ai/projects/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/projects/models/ImageGenTool.java","src/main/java/com/azure/ai/projects/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/projects/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java","src/main/java/com/azure/ai/projects/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/projects/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/projects/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/projects/models/ImageGenToolSize.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/InlineSkillParam.java","src/main/java/com/azure/ai/projects/models/InlineSkillSourceParam.java","src/main/java/com/azure/ai/projects/models/InputFidelity.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java","src/main/java/com/azure/ai/projects/models/LocalSkillParam.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/MCPTool.java","src/main/java/com/azure/ai/projects/models/MCPToolConnectorId.java","src/main/java/com/azure/ai/projects/models/MCPToolFilter.java","src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RankerVersionType.java","src/main/java/com/azure/ai/projects/models/RankingOptions.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SearchContextSize.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/SkillDetails.java","src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/Tool.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolType.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/projects/models/WebSearchTool.java","src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/projects/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml b/sdk/ai/azure-ai-projects/tsp-location.yaml index e1a6cc0862d0..a4ab88e9aeab 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: 1e8c4c9ff13811e42d00b897a36b19fa4c95bc4c +commit: 8d41b329aa3b400034815b2facbff1e281fd9dba repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From aa282ca3dff14aa5cf41e28a66711fa61c879482 Mon Sep 17 00:00:00 2001 From: Kaylie <50653231+kaylieee@users.noreply.github.com> Date: Tue, 26 May 2026 15:25:28 -0700 Subject: [PATCH 32/74] ingest latest spec (#49273) * ingest latest spec * add toolbox customizations --- .../src/main/java/AgentsCustomizations.java | 16 + .../azure/ai/agents/AgentsAsyncClient.java | 2173 ++++++------ .../com/azure/ai/agents/AgentsClient.java | 1952 ++++++----- .../azure/ai/agents/ToolboxesAsyncClient.java | 122 +- .../com/azure/ai/agents/ToolboxesClient.java | 157 +- .../ai/agents/implementation/AgentsImpl.java | 3101 +++++++---------- .../agents/implementation/ToolboxesImpl.java | 50 + .../models/CreateToolboxVersionRequest.java | 37 + .../agents/models/AgentEndpointProtocol.java | 6 + .../ai/agents/models/AgentIdentifier.java | 117 + .../azure/ai/agents/models/AgentProtocol.java | 6 + .../ai/agents/models/AgentSessionStatus.java | 6 + .../agents/models/CandidateDeployConfig.java | 48 +- .../ai/agents/models/CandidateFileInfo.java | 126 + .../ai/agents/models/CandidateMetadata.java | 293 ++ .../ai/agents/models/CandidateResults.java | 4 +- .../azure/ai/agents/models/DatasetInfo.java | 147 + .../azure/ai/agents/models/DatasetItem.java | 287 -- .../models/EvalRunOutputItemResult.java | 451 --- .../models/EvalRunOutputItemResultStatus.java | 63 - .../ai/agents/models/EvaluationCriterion.java | 104 - .../ai/agents/models/EvaluationLevel.java | 57 + .../models/FoundryFeaturesOptInKeys.java | 19 +- .../agents/models/HostedAgentDefinition.java | 69 - .../models/MemoryStoreDefaultOptions.java | 25 +- .../models/OptimizationAgentDefinition.java | 179 +- .../agents/models/OptimizationAgentSkill.java | 116 - .../agents/models/OptimizationCandidate.java | 222 +- .../ai/agents/models/OptimizationJob.java | 50 +- .../agents/models/OptimizationJobInputs.java | 140 +- .../models/OptimizationJobProgress.java | 130 +- .../agents/models/OptimizationJobResult.java | 111 +- .../ai/agents/models/OptimizationMode.java | 51 - .../ai/agents/models/OptimizationOptions.java | 457 +-- .../agents/models/OptimizationStrategy.java | 63 - .../agents/models/OptimizationTaskResult.java | 20 +- .../models/PromoteCandidateRequest.java | 104 + .../models/PromoteCandidateResponse.java | 178 + .../azure/ai/agents/models/PromotionInfo.java | 133 + .../agents/models/PromptAgentDefinition.java | 21 +- .../models/StructuredInputDefinition.java | 6 +- .../azure/ai/agents/models/ToolboxSkill.java | 105 + .../agents/models/ToolboxSkillReference.java | 140 + .../agents/models/ToolboxVersionDetails.java | 21 + .../META-INF/azure-ai-agents_metadata.json | 2 +- sdk/ai/azure-ai-agents/tsp-location.yaml | 3 +- .../DataGenerationJobsAsyncClient.java | 153 +- .../ai/projects/DataGenerationJobsClient.java | 132 +- .../azure/ai/projects/ModelsAsyncClient.java | 49 +- .../com/azure/ai/projects/ModelsClient.java | 48 +- .../azure/ai/projects/SkillsAsyncClient.java | 644 +++- .../com/azure/ai/projects/SkillsClient.java | 606 +++- .../DataGenerationJobsImpl.java | 40 +- .../projects/implementation/ModelsImpl.java | 70 +- .../MultipartFormDataHelper.java | 209 ++ .../projects/implementation/SkillsImpl.java | 1003 ++++-- .../models/CreateSkillRequest.java | 198 -- .../models/CreateSkillVersionRequest.java | 126 + .../models/UpdateSkillRequest.java | 157 +- .../CreateSkillVersionFromFilesBody.java | 72 + .../azure/ai/projects/models/CronTrigger.java | 6 +- .../models/DataGenerationJobSource.java | 2 - .../models/DataGenerationJobSourceType.java | 6 - .../DatasetDataGenerationJobSource.java | 174 - .../models/DeleteSkillVersionResponse.java | 149 + .../azure/ai/projects/models/Dimension.java | 6 +- .../ai/projects/models/FilesFileDetails.java | 137 + .../ai/projects/models/OneTimeTrigger.java | 6 +- .../ai/projects/models/RecurrenceTrigger.java | 6 +- .../com/azure/ai/projects/models/Skill.java | 201 ++ .../ai/projects/models/SkillDetails.java | 180 - .../projects/models/SkillInlineContent.java | 244 ++ .../ai/projects/models/SkillVersion.java | 201 ++ .../META-INF/azure-ai-projects_metadata.json | 2 +- sdk/ai/azure-ai-projects/tsp-location.yaml | 2 +- 75 files changed, 8809 insertions(+), 7708 deletions(-) create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentIdentifier.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateMetadata.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetInfo.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetItem.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResult.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResultStatus.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvaluationCriterion.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvaluationLevel.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationAgentSkill.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationMode.java delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationStrategy.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromotionInfo.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxSkill.java create mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateSkillRequest.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DeleteSkillVersionResponse.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FilesFileDetails.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Skill.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillDetails.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillInlineContent.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillVersion.java diff --git a/sdk/ai/azure-ai-agents/customizations/src/main/java/AgentsCustomizations.java b/sdk/ai/azure-ai-agents/customizations/src/main/java/AgentsCustomizations.java index 592020d63a72..f96d1cfea5aa 100644 --- a/sdk/ai/azure-ai-agents/customizations/src/main/java/AgentsCustomizations.java +++ b/sdk/ai/azure-ai-agents/customizations/src/main/java/AgentsCustomizations.java @@ -15,6 +15,7 @@ public class AgentsCustomizations extends Customization { public void customize(LibraryCustomization libraryCustomization, Logger logger) { renameImageGenToolSize(libraryCustomization, logger); modifyPollingStrategies(libraryCustomization, logger); + addToolboxesV1PreviewEnumValue(libraryCustomization, logger); } private void renameImageGenToolSize(LibraryCustomization customization, Logger logger) { @@ -53,4 +54,19 @@ private void modifyPollingStrategies(LibraryCustomization customization, Logger clazz.addMember(StaticJavaParser.parseMethodDeclaration("@Override public PollResponse poll(PollingContext pollingContext, TypeReference pollResponseType) { return AgentsServicePollUtils.remapStatus(super.poll(pollingContext, pollResponseType)); }")); })); } + + private void addToolboxesV1PreviewEnumValue(LibraryCustomization customization, Logger logger) { + customization.getClass("com.azure.ai.agents.models", "FoundryFeaturesOptInKeys") + .customizeAst(ast -> ast.getEnumByName("FoundryFeaturesOptInKeys") + .ifPresent(clazz -> { + // Add TOOLBOXES_V1_PREVIEW enum constant if not already present + boolean alreadyExists = clazz.getEntries().stream() + .anyMatch(entry -> "TOOLBOXES_V1_PREVIEW".equals(entry.getName().getIdentifier())); + if (!alreadyExists) { + clazz.addEnumConstant("TOOLBOXES_V1_PREVIEW") + .addArgument("\"Toolboxes=V1Preview\"") + .setJavadocComment("Toolboxes V1 Preview."); + } + })); + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java index 02867e148431..d076ebd3948b 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java @@ -25,14 +25,17 @@ import com.azure.ai.agents.models.AgentVersionDetails; import com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate; import com.azure.ai.agents.models.CandidateDeployConfig; +import com.azure.ai.agents.models.CandidateMetadata; import com.azure.ai.agents.models.CandidateResults; import com.azure.ai.agents.models.CreateAgentVersionFromCodeContent; import com.azure.ai.agents.models.CreateAgentVersionInput; import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.JobStatus; -import com.azure.ai.agents.models.OptimizationCandidate; import com.azure.ai.agents.models.OptimizationJob; +import com.azure.ai.agents.models.OptimizationJobInputs; import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.agents.models.PromoteCandidateRequest; +import com.azure.ai.agents.models.PromoteCandidateResponse; import com.azure.ai.agents.models.SessionLogEvent; import com.azure.ai.agents.models.UpdateAgentDetailsOptions; import com.azure.ai.agents.models.VersionIndicator; @@ -117,7 +120,7 @@ public final class AgentsAsyncClient { * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -523,7 +526,7 @@ public Mono createAgentVersion(String agentName, AgentDefin * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -599,7 +602,7 @@ public Mono createAgentVersion(String agentName, AgentDefin * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -727,7 +730,7 @@ Mono> createAgentWithResponse(BinaryData createAgentRequest * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -877,7 +880,7 @@ Mono updateAgent(String agentName, AgentDefinition definition) { * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -992,7 +995,7 @@ Mono> createAgentFromManifestWithResponse(BinaryData create * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1542,7 +1545,7 @@ public PagedFlux listAgentVersions(String agentName, Intege * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1774,8 +1777,8 @@ public Mono> deleteAgentWithResponse(String agentName, RequestOpt * Query Parameters * NameTypeRequiredDescription * forceBooleanNoFor Hosted Agents, if true, force-deletes the agent even if its - * versions have active sessions, cascading deletion to all associated sessions. This value is not relevant for - * other Agent types. Defaults to false. + * versions have active sessions, cascading deletion to all associated sessions. Defaults to `false`. This value is + * not relevant for other Agent types. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -1813,8 +1816,8 @@ Mono> internalDeleteAgentWithResponse(String agentName, Req * Query Parameters * NameTypeRequiredDescription * forceBooleanNoFor Hosted Agents, if true, force-deletes the version even if it - * has active sessions, cascading deletion to all associated sessions. This value is not relevant for other Agent - * types. Defaults to false. + * has active sessions, cascading deletion to all associated sessions. Defaults to `false`. This value is not + * relevant for other Agent types. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -1856,6 +1859,8 @@ Mono> internalDeleteAgentVersionWithResponse(String agentNa * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1867,7 +1872,7 @@ Mono> internalDeleteAgentVersionWithResponse(String agentNa * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -1922,6 +1927,8 @@ public Mono> getSessionWithResponse(String agentName, Strin * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1933,7 +1940,7 @@ public Mono> getSessionWithResponse(String agentName, Strin * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -2075,35 +2082,6 @@ public Mono createAgentVersion(String agentName, AgentDefin .map(protocolMethodData -> protocolMethodData.toObject(AgentVersionDetails.class)); } - /** - * Retrieves a session by ID. - * - * @param agentName The name of the agent. - * @param sessionId The session identifier. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an agent session providing a long-lived compute sandbox for hosted agent invocations on successful - * completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getSession(String agentName, String sessionId, - AgentDefinitionOptInKeys foundryFeatures) { - // Generated convenience method for getSessionWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return getSessionWithResponse(agentName, sessionId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(AgentSessionResource.class)); - } - /** * Retrieves a session by ID. * @@ -2127,67 +2105,6 @@ public Mono getSession(String agentName, String sessionId) .map(protocolMethodData -> protocolMethodData.toObject(AgentSessionResource.class)); } - /** - * Returns a list of sessions for the specified agent. - * - * @param agentName The name of the agent. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the - * default is 20. - * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` - * for descending order. - * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list. - * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listSessions(String agentName, AgentDefinitionOptInKeys foundryFeatures, - Integer limit, PageOrder order, String after, String before) { - // Generated convenience method for listSessions - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (limit != null) { - requestOptions.addQueryParam("limit", String.valueOf(limit), false); - } - if (order != null) { - requestOptions.addQueryParam("order", order.toString(), false); - } - if (after != null) { - requestOptions.addQueryParam("after", after, false); - } - if (before != null) { - requestOptions.addQueryParam("before", before, false); - } - PagedFlux pagedFluxResponse = listSessions(agentName, requestOptions); - return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { - Flux> flux = (continuationTokenParam == null) - ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationTokenParam).take(1); - return flux - .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), - pagedResponse.getStatusCode(), pagedResponse.getHeaders(), - pagedResponse.getValue() - .stream() - .map(protocolMethodData -> protocolMethodData.toObject(AgentSessionResource.class)) - .collect(Collectors.toList()), - pagedResponse.getContinuationToken(), null)); - }); - } - /** * Returns a list of sessions for the specified agent. * @@ -2352,7 +2269,7 @@ public Mono> getSessionLogStreamWithResponse(String agentNa * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2428,7 +2345,7 @@ public Mono> getSessionLogStreamWithResponse(String agentNa * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2680,7 +2597,7 @@ public Mono updateAgentDetails(String agentName, UpdateAgentDetail * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2797,7 +2714,7 @@ Mono> createAgentFromCodeWithResponse(String agentName, Str * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2985,6 +2902,8 @@ public Mono> downloadAgentCodeWithResponse(String agentName * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -3009,7 +2928,7 @@ public Mono> downloadAgentCodeWithResponse(String agentName * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -3045,6 +2964,8 @@ public Mono> createSessionWithResponse(String agentName, Bi * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -3323,37 +3244,6 @@ public Mono downloadAgentCode(String agentName) { return downloadAgentCodeWithResponse(agentName, requestOptions).flatMap(FluxUtil::toMono); } - /** - * Creates a new session for an agent endpoint. - * The endpoint resolves the backing agent version from `version_indicator` and - * enforces session ownership using the provided isolation key for session-mutating operations. - * - * @param agentName The name of the agent to create a session for. - * @param versionIndicator Determines which agent version backs the session. - * @param agentSessionId Optional caller-provided session ID. If specified, it must be unique within the agent - * endpoint. Auto-generated if omitted. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an agent session providing a long-lived compute sandbox for hosted agent invocations on successful - * completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createSession(String agentName, VersionIndicator versionIndicator, - String agentSessionId) { - // Generated convenience method for createSessionWithResponse - RequestOptions requestOptions = new RequestOptions(); - CreateSessionRequest createSessionRequestObj - = new CreateSessionRequest(versionIndicator).setAgentSessionId(agentSessionId); - BinaryData createSessionRequest = BinaryData.fromObject(createSessionRequestObj); - return createSessionWithResponse(agentName, createSessionRequest, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(AgentSessionResource.class)); - } - /** * Creates a new session for an agent endpoint. * The endpoint resolves the backing agent version from `version_indicator` and @@ -3381,33 +3271,6 @@ public Mono createSession(String agentName, VersionIndicat .map(protocolMethodData -> protocolMethodData.toObject(AgentSessionResource.class)); } - /** - * Deletes a session synchronously. - * Returns 204 No Content when the session is deleted or does not exist. - * - * @param agentName The name of the agent. - * @param sessionId The session identifier. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteSession(String agentName, String sessionId, AgentDefinitionOptInKeys foundryFeatures) { - // Generated convenience method for deleteSessionWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return deleteSessionWithResponse(agentName, sessionId, requestOptions).flatMap(FluxUtil::toMono); - } - /** * Deletes a session synchronously. * Returns 204 No Content when the session is deleted or does not exist. @@ -3622,361 +3485,178 @@ public PagedFlux listAgentConversations(Integer limit, PageOrder o *
      * {@code
      * {
+     *     agent (Required): {
+     *         agentName: String (Required)
+     *         agentVersion: String (Optional)
+     *     }
+     *     trainDatasetReference (Required): {
+     *         name: String (Required)
+     *         version: String (Optional)
+     *     }
+     *     validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above)
+     *     evaluators (Optional): [
+     *         String (Optional)
+     *     ]
+     *     options (Optional): {
+     *         maxIterations: Integer (Optional)
+     *         optimizationConfig (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *         evalModel: String (Optional)
+     *         optimizationModel: String (Optional)
+     *         evaluationLevel: String(turn/conversation) (Optional)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
      *     id: String (Required)
-     *     inputs (Optional): {
-     *         agent (Required): {
-     *             agent_name: String (Required)
-     *             agent_version: String (Optional)
-     *             model: String (Optional)
-     *             system_prompt: String (Optional)
-     *             skills (Optional): [
-     *                  (Optional){
-     *                     name: String (Required)
-     *                     description: String (Optional)
-     *                 }
-     *             ]
+     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
+     *     error (Optional): {
+     *         code: String (Required)
+     *         message: String (Required)
+     *         param: String (Optional)
+     *         type: String (Optional)
+     *         details (Optional): [
+     *             (recursive schema, see above)
+     *         ]
+     *         additionalInfo (Optional): {
+     *             String: BinaryData (Required)
      *         }
-     *         dataset (Optional): [
-     *              (Optional){
-     *                 name: String (Required)
-     *                 query: String (Required)
-     *                 ground_truth: String (Optional)
-     *                 criteria (Optional): [
+     *         debugInfo (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidateId: String (Optional)
+     *             name: String (Required)
+     *             config (Required): {
+     *                 agentName: String (Optional)
+     *                 agentVersion: String (Optional)
+     *                 model: String (Optional)
+     *                 systemPrompt: String (Optional)
+     *                 skills (Optional): [
      *                      (Optional){
-     *                         name: String (Required)
-     *                         instruction: String (Required)
+     *                         String: BinaryData (Required)
      *                     }
      *                 ]
-     *                 eval_results (Optional): [
+     *                 tools (Optional): [
      *                      (Optional){
-     *                         name: String (Required)
-     *                         type: String (Optional)
-     *                         score: double (Required)
-     *                         passed: boolean (Required)
-     *                         sample (Optional): {
-     *                             String: BinaryData (Required)
-     *                         }
-     *                         status: String(completed/errored/skipped) (Optional)
-     *                         metric: String (Optional)
-     *                         label: String (Optional)
-     *                         threshold: Double (Optional)
-     *                         reason: String (Optional)
-     *                         properties (Optional): {
-     *                             String: String (Required)
-     *                         }
-     *                          (Optional): {
-     *                             String: BinaryData (Required)
-     *                         }
+     *                         String: BinaryData (Required)
      *                     }
      *                 ]
-     *                 response_items (Optional): [
-     *                     BinaryData (Optional)
-     *                 ]
      *             }
-     *         ]
-     *         train_dataset_reference (Optional): {
-     *             name: String (Required)
-     *             version: String (Optional)
-     *         }
-     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
-     *         evaluators (Optional): [
-     *             String (Optional)
-     *         ]
-     *         criteria (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         options (Optional): {
-     *             strategies (Optional): [
-     *                 String(instruction/model/skill) (Optional)
-     *             ]
-     *             budget: Integer (Optional)
-     *             max_iterations: Integer (Optional)
-     *             tasks_per_iteration: Integer (Optional)
-     *             max_reflection_tasks: Integer (Optional)
-     *             min_improvement: Double (Optional)
-     *             pass_threshold: Double (Optional)
-     *             improvement_threshold: Double (Optional)
-     *             mode: String(optimize) (Optional)
-     *             eval_model: String (Optional)
-     *             reflection_model: String (Optional)
-     *             task_timeout_seconds: Long (Optional)
-     *             keep_versions: Boolean (Optional)
-     *         }
-     *     }
-     *     result (Optional): {
-     *         baseline (Optional): {
-     *             candidate_id: String (Optional)
-     *             name: String (Required)
-     *             config (Required): (recursive schema, see config above)
      *             mutations (Required): {
      *                 String: BinaryData (Required)
      *             }
-     *             rationale: String (Required)
-     *             avg_score: double (Required)
-     *             avg_tokens: double (Required)
-     *             pass_rate: double (Required)
-     *             task_scores (Required): [
+     *             avgScore: double (Required)
+     *             avgTokens: double (Required)
+     *             passRate: double (Required)
+     *             taskScores (Required): [
      *                  (Required){
-     *                     task_name: String (Required)
+     *                     taskName: String (Required)
      *                     query: String (Optional)
      *                     scores (Required): {
      *                         String: double (Required)
      *                     }
-     *                     composite_score: double (Required)
+     *                     compositeScore: double (Required)
      *                     tokens: int (Required)
-     *                     duration_seconds: double (Required)
+     *                     durationSeconds: double (Required)
      *                     passed: boolean (Required)
-     *                     error_message: String (Optional)
+     *                     errorMessage: String (Optional)
      *                     rationales (Optional): {
      *                         String: String (Required)
      *                     }
      *                     response: String (Optional)
-     *                     run_id: String (Optional)
+     *                     runId: String (Optional)
      *                 }
      *             ]
-     *             is_pareto_optimal: boolean (Required)
-     *             sample_avg_score: Double (Optional)
-     *             sample_size: Integer (Optional)
-     *             evaluation_type: String (Optional)
-     *             strategy: String(instruction/model/skill) (Optional)
-     *             eval_id: String (Optional)
-     *             eval_run_id: String (Optional)
+     *             isParetoOptimal: boolean (Required)
+     *             evalId: String (Optional)
+     *             evalRunId: String (Optional)
+     *             promotion (Optional): {
+     *                 promotedAt: long (Required)
+     *                 agentName: String (Required)
+     *                 agentVersion: String (Required)
+     *             }
      *         }
      *         best (Optional): (recursive schema, see best above)
      *         candidates (Optional): [
      *             (recursive schema, see above)
      *         ]
-     *         pareto_frontier (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         validation_score (Optional): (recursive schema, see validation_score above)
-     *         options (Optional): (recursive schema, see options above)
-     *         sample_size: Integer (Optional)
+     *         options (Optional): {
+     *             maxIterations: Integer (Optional)
+     *             optimizationConfig (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             evalModel: String (Optional)
+     *             optimizationModel: String (Optional)
+     *             evaluationLevel: String(turn/conversation) (Optional)
+     *         }
      *         warnings (Optional): [
      *             String (Optional)
      *         ]
-     *         all_strategies_failed: Boolean (Optional)
+     *         allTargetAttributesFailed: Boolean (Optional)
      *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agentName: String (Required)
+     *             agentVersion: String (Optional)
      *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
+     *         trainDatasetReference (Required): {
+     *             name: String (Required)
+     *             version: String (Optional)
      *         }
+     *         validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         options (Optional): (recursive schema, see options above)
      *     }
-     *     created_at: long (Required)
-     *     updated_at: Long (Optional)
+     *     createdAt: long (Required)
+     *     updatedAt: Long (Optional)
      *     progress (Optional): {
-     *         current_strategy: String(instruction/model/skill) (Required)
-     *         current_iteration: int (Required)
-     *         tasks_completed: int (Required)
-     *         tasks_total: int (Required)
-     *         best_score: double (Required)
-     *         elapsed_seconds: double (Required)
-     *     }
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         agent (Required): {
-     *             agent_name: String (Required)
-     *             agent_version: String (Optional)
-     *             model: String (Optional)
-     *             system_prompt: String (Optional)
-     *             skills (Optional): [
-     *                  (Optional){
-     *                     name: String (Required)
-     *                     description: String (Optional)
-     *                 }
-     *             ]
-     *         }
-     *         dataset (Optional): [
-     *              (Optional){
-     *                 name: String (Required)
-     *                 query: String (Required)
-     *                 ground_truth: String (Optional)
-     *                 criteria (Optional): [
-     *                      (Optional){
-     *                         name: String (Required)
-     *                         instruction: String (Required)
-     *                     }
-     *                 ]
-     *                 eval_results (Optional): [
-     *                      (Optional){
-     *                         name: String (Required)
-     *                         type: String (Optional)
-     *                         score: double (Required)
-     *                         passed: boolean (Required)
-     *                         sample (Optional): {
-     *                             String: BinaryData (Required)
-     *                         }
-     *                         status: String(completed/errored/skipped) (Optional)
-     *                         metric: String (Optional)
-     *                         label: String (Optional)
-     *                         threshold: Double (Optional)
-     *                         reason: String (Optional)
-     *                         properties (Optional): {
-     *                             String: String (Required)
-     *                         }
-     *                          (Optional): {
-     *                             String: BinaryData (Required)
-     *                         }
-     *                     }
-     *                 ]
-     *                 response_items (Optional): [
-     *                     BinaryData (Optional)
-     *                 ]
-     *             }
-     *         ]
-     *         train_dataset_reference (Optional): {
-     *             name: String (Required)
-     *             version: String (Optional)
-     *         }
-     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
-     *         evaluators (Optional): [
-     *             String (Optional)
-     *         ]
-     *         criteria (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         options (Optional): {
-     *             strategies (Optional): [
-     *                 String(instruction/model/skill) (Optional)
-     *             ]
-     *             budget: Integer (Optional)
-     *             max_iterations: Integer (Optional)
-     *             tasks_per_iteration: Integer (Optional)
-     *             max_reflection_tasks: Integer (Optional)
-     *             min_improvement: Double (Optional)
-     *             pass_threshold: Double (Optional)
-     *             improvement_threshold: Double (Optional)
-     *             mode: String(optimize) (Optional)
-     *             eval_model: String (Optional)
-     *             reflection_model: String (Optional)
-     *             task_timeout_seconds: Long (Optional)
-     *             keep_versions: Boolean (Optional)
-     *         }
-     *     }
-     *     result (Optional): {
-     *         baseline (Optional): {
-     *             candidate_id: String (Optional)
-     *             name: String (Required)
-     *             config (Required): (recursive schema, see config above)
-     *             mutations (Required): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             rationale: String (Required)
-     *             avg_score: double (Required)
-     *             avg_tokens: double (Required)
-     *             pass_rate: double (Required)
-     *             task_scores (Required): [
-     *                  (Required){
-     *                     task_name: String (Required)
-     *                     query: String (Optional)
-     *                     scores (Required): {
-     *                         String: double (Required)
-     *                     }
-     *                     composite_score: double (Required)
-     *                     tokens: int (Required)
-     *                     duration_seconds: double (Required)
-     *                     passed: boolean (Required)
-     *                     error_message: String (Optional)
-     *                     rationales (Optional): {
-     *                         String: String (Required)
-     *                     }
-     *                     response: String (Optional)
-     *                     run_id: String (Optional)
-     *                 }
-     *             ]
-     *             is_pareto_optimal: boolean (Required)
-     *             sample_avg_score: Double (Optional)
-     *             sample_size: Integer (Optional)
-     *             evaluation_type: String (Optional)
-     *             strategy: String(instruction/model/skill) (Optional)
-     *             eval_id: String (Optional)
-     *             eval_run_id: String (Optional)
-     *         }
-     *         best (Optional): (recursive schema, see best above)
-     *         candidates (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         pareto_frontier (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         validation_score (Optional): (recursive schema, see validation_score above)
-     *         options (Optional): (recursive schema, see options above)
-     *         sample_size: Integer (Optional)
-     *         warnings (Optional): [
-     *             String (Optional)
-     *         ]
-     *         all_strategies_failed: Boolean (Optional)
-     *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
-     *         }
-     *     }
-     *     created_at: long (Required)
-     *     updated_at: Long (Optional)
-     *     progress (Optional): {
-     *         current_strategy: String(instruction/model/skill) (Required)
-     *         current_iteration: int (Required)
-     *         tasks_completed: int (Required)
-     *         tasks_total: int (Required)
-     *         best_score: double (Required)
-     *         elapsed_seconds: double (Required)
+     *         currentIteration: int (Required)
+     *         bestScore: double (Required)
+     *         elapsedSeconds: double (Required)
+     *     }
+     *     dataset (Optional): {
+     *         name: String (Optional)
+     *         version: String (Optional)
+     *         taskCount: int (Required)
+     *         isInline: boolean (Required)
      *     }
      * }
      * }
      * 
* - * @param job The job to create. + * @param body The optimization job inputs. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @return agent optimization job resource — a long-running job that optimizes an agent's configuration - * (instructions, model, skills) to maximize evaluation scores along with {@link Response} on successful completion - * of {@link Mono}. + * (instructions, model, skills, tools) to maximize evaluation scores along with {@link Response} on successful + * completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createOptimizationJobWithResponse(BinaryData job, RequestOptions requestOptions) { - return this.serviceClient.createOptimizationJobWithResponseAsync(job, requestOptions); + public Mono> createOptimizationJobWithResponse(BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.createOptimizationJobWithResponseAsync(body, requestOptions); } /** * Get info about an agent optimization job. * - * Get an optimization job by id. Emits `Retry-After` while the job is non-terminal. + * Get an optimization job by id. Returns 202 while in progress, 200 when terminal. *

Header Parameters

* * @@ -3994,165 +3674,121 @@ public Mono> createOptimizationJobWithResponse(BinaryData j * {@code * { * id: String (Required) - * inputs (Optional): { - * agent (Required): { - * agent_name: String (Required) - * agent_version: String (Optional) - * model: String (Optional) - * system_prompt: String (Optional) - * skills (Optional): [ - * (Optional){ - * name: String (Required) - * description: String (Optional) - * } - * ] + * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) + * error (Optional): { + * code: String (Required) + * message: String (Required) + * param: String (Optional) + * type: String (Optional) + * details (Optional): [ + * (recursive schema, see above) + * ] + * additionalInfo (Optional): { + * String: BinaryData (Required) * } - * dataset (Optional): [ - * (Optional){ - * name: String (Required) - * query: String (Required) - * ground_truth: String (Optional) - * criteria (Optional): [ + * debugInfo (Optional): { + * String: BinaryData (Required) + * } + * } + * result (Optional): { + * baseline (Optional): { + * candidateId: String (Optional) + * name: String (Required) + * config (Required): { + * agentName: String (Optional) + * agentVersion: String (Optional) + * model: String (Optional) + * systemPrompt: String (Optional) + * skills (Optional): [ * (Optional){ - * name: String (Required) - * instruction: String (Required) + * String: BinaryData (Required) * } * ] - * eval_results (Optional): [ + * tools (Optional): [ * (Optional){ - * name: String (Required) - * type: String (Optional) - * score: double (Required) - * passed: boolean (Required) - * sample (Optional): { - * String: BinaryData (Required) - * } - * status: String(completed/errored/skipped) (Optional) - * metric: String (Optional) - * label: String (Optional) - * threshold: Double (Optional) - * reason: String (Optional) - * properties (Optional): { - * String: String (Required) - * } - * (Optional): { - * String: BinaryData (Required) - * } + * String: BinaryData (Required) * } * ] - * response_items (Optional): [ - * BinaryData (Optional) - * ] * } - * ] - * train_dataset_reference (Optional): { - * name: String (Required) - * version: String (Optional) - * } - * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) - * evaluators (Optional): [ - * String (Optional) - * ] - * criteria (Optional): [ - * (recursive schema, see above) - * ] - * options (Optional): { - * strategies (Optional): [ - * String(instruction/model/skill) (Optional) - * ] - * budget: Integer (Optional) - * max_iterations: Integer (Optional) - * tasks_per_iteration: Integer (Optional) - * max_reflection_tasks: Integer (Optional) - * min_improvement: Double (Optional) - * pass_threshold: Double (Optional) - * improvement_threshold: Double (Optional) - * mode: String(optimize) (Optional) - * eval_model: String (Optional) - * reflection_model: String (Optional) - * task_timeout_seconds: Long (Optional) - * keep_versions: Boolean (Optional) - * } - * } - * result (Optional): { - * baseline (Optional): { - * candidate_id: String (Optional) - * name: String (Required) - * config (Required): (recursive schema, see config above) * mutations (Required): { * String: BinaryData (Required) * } - * rationale: String (Required) - * avg_score: double (Required) - * avg_tokens: double (Required) - * pass_rate: double (Required) - * task_scores (Required): [ + * avgScore: double (Required) + * avgTokens: double (Required) + * passRate: double (Required) + * taskScores (Required): [ * (Required){ - * task_name: String (Required) + * taskName: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * composite_score: double (Required) + * compositeScore: double (Required) * tokens: int (Required) - * duration_seconds: double (Required) + * durationSeconds: double (Required) * passed: boolean (Required) - * error_message: String (Optional) + * errorMessage: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * run_id: String (Optional) + * runId: String (Optional) * } * ] - * is_pareto_optimal: boolean (Required) - * sample_avg_score: Double (Optional) - * sample_size: Integer (Optional) - * evaluation_type: String (Optional) - * strategy: String(instruction/model/skill) (Optional) - * eval_id: String (Optional) - * eval_run_id: String (Optional) + * isParetoOptimal: boolean (Required) + * evalId: String (Optional) + * evalRunId: String (Optional) + * promotion (Optional): { + * promotedAt: long (Required) + * agentName: String (Required) + * agentVersion: String (Required) + * } * } * best (Optional): (recursive schema, see best above) * candidates (Optional): [ * (recursive schema, see above) * ] - * pareto_frontier (Optional): [ - * (recursive schema, see above) - * ] - * validation_score (Optional): (recursive schema, see validation_score above) - * options (Optional): (recursive schema, see options above) - * sample_size: Integer (Optional) + * options (Optional): { + * maxIterations: Integer (Optional) + * optimizationConfig (Optional): { + * String: BinaryData (Required) + * } + * evalModel: String (Optional) + * optimizationModel: String (Optional) + * evaluationLevel: String(turn/conversation) (Optional) + * } * warnings (Optional): [ * String (Optional) * ] - * all_strategies_failed: Boolean (Optional) + * allTargetAttributesFailed: Boolean (Optional) * } - * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) - * error (Optional): { - * code: String (Required) - * message: String (Required) - * param: String (Optional) - * type: String (Optional) - * details (Optional): [ - * (recursive schema, see above) - * ] - * additionalInfo (Optional): { - * String: BinaryData (Required) + * inputs (Optional): { + * agent (Required): { + * agentName: String (Required) + * agentVersion: String (Optional) * } - * debugInfo (Optional): { - * String: BinaryData (Required) + * trainDatasetReference (Required): { + * name: String (Required) + * version: String (Optional) * } + * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * evaluators (Optional): [ + * String (Optional) + * ] + * options (Optional): (recursive schema, see options above) * } - * created_at: long (Required) - * updated_at: Long (Optional) + * createdAt: long (Required) + * updatedAt: Long (Optional) * progress (Optional): { - * current_strategy: String(instruction/model/skill) (Required) - * current_iteration: int (Required) - * tasks_completed: int (Required) - * tasks_total: int (Required) - * best_score: double (Required) - * elapsed_seconds: double (Required) + * currentIteration: int (Required) + * bestScore: double (Required) + * elapsedSeconds: double (Required) + * } + * dataset (Optional): { + * name: String (Optional) + * version: String (Optional) + * taskCount: int (Required) + * isInline: boolean (Required) * } * } * } @@ -4177,7 +3813,7 @@ public Mono> getOptimizationJobWithResponse(String jobId, R /** * Returns a list of agent optimization jobs. * - * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters. + * List optimization jobs. Supports cursor pagination and optional status / agentName filters. *

Query Parameters

*
Header Parameters
* @@ -4198,7 +3834,7 @@ public Mono> getOptimizationJobWithResponse(String jobId, R * subsequent call can include before=obj_foo in order to fetch the previous page of the list. * - * + * *
Query Parameters
statusStringNoFilter to jobs in this lifecycle state. Allowed values: * "queued", "in_progress", "succeeded", "failed", "cancelled".
agent_nameStringNoFilter to jobs targeting this agent name.
agentNameStringNoFilter to jobs targeting this agent name.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -4218,165 +3854,121 @@ public Mono> getOptimizationJobWithResponse(String jobId, R * {@code * { * id: String (Required) - * inputs (Optional): { - * agent (Required): { - * agent_name: String (Required) - * agent_version: String (Optional) - * model: String (Optional) - * system_prompt: String (Optional) - * skills (Optional): [ - * (Optional){ - * name: String (Required) - * description: String (Optional) - * } - * ] + * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) + * error (Optional): { + * code: String (Required) + * message: String (Required) + * param: String (Optional) + * type: String (Optional) + * details (Optional): [ + * (recursive schema, see above) + * ] + * additionalInfo (Optional): { + * String: BinaryData (Required) * } - * dataset (Optional): [ - * (Optional){ - * name: String (Required) - * query: String (Required) - * ground_truth: String (Optional) - * criteria (Optional): [ + * debugInfo (Optional): { + * String: BinaryData (Required) + * } + * } + * result (Optional): { + * baseline (Optional): { + * candidateId: String (Optional) + * name: String (Required) + * config (Required): { + * agentName: String (Optional) + * agentVersion: String (Optional) + * model: String (Optional) + * systemPrompt: String (Optional) + * skills (Optional): [ * (Optional){ - * name: String (Required) - * instruction: String (Required) + * String: BinaryData (Required) * } * ] - * eval_results (Optional): [ + * tools (Optional): [ * (Optional){ - * name: String (Required) - * type: String (Optional) - * score: double (Required) - * passed: boolean (Required) - * sample (Optional): { - * String: BinaryData (Required) - * } - * status: String(completed/errored/skipped) (Optional) - * metric: String (Optional) - * label: String (Optional) - * threshold: Double (Optional) - * reason: String (Optional) - * properties (Optional): { - * String: String (Required) - * } - * (Optional): { - * String: BinaryData (Required) - * } + * String: BinaryData (Required) * } * ] - * response_items (Optional): [ - * BinaryData (Optional) - * ] * } - * ] - * train_dataset_reference (Optional): { - * name: String (Required) - * version: String (Optional) - * } - * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) - * evaluators (Optional): [ - * String (Optional) - * ] - * criteria (Optional): [ - * (recursive schema, see above) - * ] - * options (Optional): { - * strategies (Optional): [ - * String(instruction/model/skill) (Optional) - * ] - * budget: Integer (Optional) - * max_iterations: Integer (Optional) - * tasks_per_iteration: Integer (Optional) - * max_reflection_tasks: Integer (Optional) - * min_improvement: Double (Optional) - * pass_threshold: Double (Optional) - * improvement_threshold: Double (Optional) - * mode: String(optimize) (Optional) - * eval_model: String (Optional) - * reflection_model: String (Optional) - * task_timeout_seconds: Long (Optional) - * keep_versions: Boolean (Optional) - * } - * } - * result (Optional): { - * baseline (Optional): { - * candidate_id: String (Optional) - * name: String (Required) - * config (Required): (recursive schema, see config above) * mutations (Required): { * String: BinaryData (Required) * } - * rationale: String (Required) - * avg_score: double (Required) - * avg_tokens: double (Required) - * pass_rate: double (Required) - * task_scores (Required): [ + * avgScore: double (Required) + * avgTokens: double (Required) + * passRate: double (Required) + * taskScores (Required): [ * (Required){ - * task_name: String (Required) + * taskName: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * composite_score: double (Required) + * compositeScore: double (Required) * tokens: int (Required) - * duration_seconds: double (Required) + * durationSeconds: double (Required) * passed: boolean (Required) - * error_message: String (Optional) + * errorMessage: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * run_id: String (Optional) + * runId: String (Optional) * } * ] - * is_pareto_optimal: boolean (Required) - * sample_avg_score: Double (Optional) - * sample_size: Integer (Optional) - * evaluation_type: String (Optional) - * strategy: String(instruction/model/skill) (Optional) - * eval_id: String (Optional) - * eval_run_id: String (Optional) + * isParetoOptimal: boolean (Required) + * evalId: String (Optional) + * evalRunId: String (Optional) + * promotion (Optional): { + * promotedAt: long (Required) + * agentName: String (Required) + * agentVersion: String (Required) + * } * } * best (Optional): (recursive schema, see best above) * candidates (Optional): [ * (recursive schema, see above) * ] - * pareto_frontier (Optional): [ - * (recursive schema, see above) - * ] - * validation_score (Optional): (recursive schema, see validation_score above) - * options (Optional): (recursive schema, see options above) - * sample_size: Integer (Optional) + * options (Optional): { + * maxIterations: Integer (Optional) + * optimizationConfig (Optional): { + * String: BinaryData (Required) + * } + * evalModel: String (Optional) + * optimizationModel: String (Optional) + * evaluationLevel: String(turn/conversation) (Optional) + * } * warnings (Optional): [ * String (Optional) * ] - * all_strategies_failed: Boolean (Optional) + * allTargetAttributesFailed: Boolean (Optional) * } - * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) - * error (Optional): { - * code: String (Required) - * message: String (Required) - * param: String (Optional) - * type: String (Optional) - * details (Optional): [ - * (recursive schema, see above) - * ] - * additionalInfo (Optional): { - * String: BinaryData (Required) + * inputs (Optional): { + * agent (Required): { + * agentName: String (Required) + * agentVersion: String (Optional) * } - * debugInfo (Optional): { - * String: BinaryData (Required) + * trainDatasetReference (Required): { + * name: String (Required) + * version: String (Optional) * } + * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * evaluators (Optional): [ + * String (Optional) + * ] + * options (Optional): (recursive schema, see options above) * } - * created_at: long (Required) - * updated_at: Long (Optional) + * createdAt: long (Required) + * updatedAt: Long (Optional) * progress (Optional): { - * current_strategy: String(instruction/model/skill) (Required) - * current_iteration: int (Required) - * tasks_completed: int (Required) - * tasks_total: int (Required) - * best_score: double (Required) - * elapsed_seconds: double (Required) + * currentIteration: int (Required) + * bestScore: double (Required) + * elapsedSeconds: double (Required) + * } + * dataset (Optional): { + * name: String (Optional) + * version: String (Optional) + * taskCount: int (Required) + * isInline: boolean (Required) * } * } * } @@ -4416,165 +4008,121 @@ public PagedFlux listOptimizationJobs(RequestOptions requestOptions) * {@code * { * id: String (Required) - * inputs (Optional): { - * agent (Required): { - * agent_name: String (Required) - * agent_version: String (Optional) - * model: String (Optional) - * system_prompt: String (Optional) - * skills (Optional): [ - * (Optional){ - * name: String (Required) - * description: String (Optional) - * } - * ] + * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) + * error (Optional): { + * code: String (Required) + * message: String (Required) + * param: String (Optional) + * type: String (Optional) + * details (Optional): [ + * (recursive schema, see above) + * ] + * additionalInfo (Optional): { + * String: BinaryData (Required) * } - * dataset (Optional): [ - * (Optional){ - * name: String (Required) - * query: String (Required) - * ground_truth: String (Optional) - * criteria (Optional): [ + * debugInfo (Optional): { + * String: BinaryData (Required) + * } + * } + * result (Optional): { + * baseline (Optional): { + * candidateId: String (Optional) + * name: String (Required) + * config (Required): { + * agentName: String (Optional) + * agentVersion: String (Optional) + * model: String (Optional) + * systemPrompt: String (Optional) + * skills (Optional): [ * (Optional){ - * name: String (Required) - * instruction: String (Required) + * String: BinaryData (Required) * } * ] - * eval_results (Optional): [ + * tools (Optional): [ * (Optional){ - * name: String (Required) - * type: String (Optional) - * score: double (Required) - * passed: boolean (Required) - * sample (Optional): { - * String: BinaryData (Required) - * } - * status: String(completed/errored/skipped) (Optional) - * metric: String (Optional) - * label: String (Optional) - * threshold: Double (Optional) - * reason: String (Optional) - * properties (Optional): { - * String: String (Required) - * } - * (Optional): { - * String: BinaryData (Required) - * } + * String: BinaryData (Required) * } * ] - * response_items (Optional): [ - * BinaryData (Optional) - * ] * } - * ] - * train_dataset_reference (Optional): { - * name: String (Required) - * version: String (Optional) - * } - * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) - * evaluators (Optional): [ - * String (Optional) - * ] - * criteria (Optional): [ - * (recursive schema, see above) - * ] - * options (Optional): { - * strategies (Optional): [ - * String(instruction/model/skill) (Optional) - * ] - * budget: Integer (Optional) - * max_iterations: Integer (Optional) - * tasks_per_iteration: Integer (Optional) - * max_reflection_tasks: Integer (Optional) - * min_improvement: Double (Optional) - * pass_threshold: Double (Optional) - * improvement_threshold: Double (Optional) - * mode: String(optimize) (Optional) - * eval_model: String (Optional) - * reflection_model: String (Optional) - * task_timeout_seconds: Long (Optional) - * keep_versions: Boolean (Optional) - * } - * } - * result (Optional): { - * baseline (Optional): { - * candidate_id: String (Optional) - * name: String (Required) - * config (Required): (recursive schema, see config above) * mutations (Required): { * String: BinaryData (Required) * } - * rationale: String (Required) - * avg_score: double (Required) - * avg_tokens: double (Required) - * pass_rate: double (Required) - * task_scores (Required): [ + * avgScore: double (Required) + * avgTokens: double (Required) + * passRate: double (Required) + * taskScores (Required): [ * (Required){ - * task_name: String (Required) + * taskName: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * composite_score: double (Required) + * compositeScore: double (Required) * tokens: int (Required) - * duration_seconds: double (Required) + * durationSeconds: double (Required) * passed: boolean (Required) - * error_message: String (Optional) + * errorMessage: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * run_id: String (Optional) + * runId: String (Optional) * } * ] - * is_pareto_optimal: boolean (Required) - * sample_avg_score: Double (Optional) - * sample_size: Integer (Optional) - * evaluation_type: String (Optional) - * strategy: String(instruction/model/skill) (Optional) - * eval_id: String (Optional) - * eval_run_id: String (Optional) + * isParetoOptimal: boolean (Required) + * evalId: String (Optional) + * evalRunId: String (Optional) + * promotion (Optional): { + * promotedAt: long (Required) + * agentName: String (Required) + * agentVersion: String (Required) + * } * } * best (Optional): (recursive schema, see best above) * candidates (Optional): [ * (recursive schema, see above) * ] - * pareto_frontier (Optional): [ - * (recursive schema, see above) - * ] - * validation_score (Optional): (recursive schema, see validation_score above) - * options (Optional): (recursive schema, see options above) - * sample_size: Integer (Optional) + * options (Optional): { + * maxIterations: Integer (Optional) + * optimizationConfig (Optional): { + * String: BinaryData (Required) + * } + * evalModel: String (Optional) + * optimizationModel: String (Optional) + * evaluationLevel: String(turn/conversation) (Optional) + * } * warnings (Optional): [ * String (Optional) * ] - * all_strategies_failed: Boolean (Optional) + * allTargetAttributesFailed: Boolean (Optional) * } - * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) - * error (Optional): { - * code: String (Required) - * message: String (Required) - * param: String (Optional) - * type: String (Optional) - * details (Optional): [ - * (recursive schema, see above) - * ] - * additionalInfo (Optional): { - * String: BinaryData (Required) + * inputs (Optional): { + * agent (Required): { + * agentName: String (Required) + * agentVersion: String (Optional) * } - * debugInfo (Optional): { - * String: BinaryData (Required) + * trainDatasetReference (Required): { + * name: String (Required) + * version: String (Optional) * } + * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * evaluators (Optional): [ + * String (Optional) + * ] + * options (Optional): (recursive schema, see options above) * } - * created_at: long (Required) - * updated_at: Long (Optional) + * createdAt: long (Required) + * updatedAt: Long (Optional) * progress (Optional): { - * current_strategy: String(instruction/model/skill) (Required) - * current_iteration: int (Required) - * tasks_completed: int (Required) - * tasks_total: int (Required) - * best_score: double (Required) - * elapsed_seconds: double (Required) + * currentIteration: int (Required) + * bestScore: double (Required) + * elapsedSeconds: double (Required) + * } + * dataset (Optional): { + * name: String (Optional) + * version: String (Optional) + * taskCount: int (Required) + * isInline: boolean (Required) * } * } * } @@ -4587,8 +4135,8 @@ public PagedFlux listOptimizationJobs(RequestOptions requestOptions) * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @return agent optimization job resource — a long-running job that optimizes an agent's configuration - * (instructions, model, skills) to maximize evaluation scores along with {@link Response} on successful completion - * of {@link Mono}. + * (instructions, model, skills, tools) to maximize evaluation scores along with {@link Response} on successful + * completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) @@ -4600,6 +4148,14 @@ public Mono> cancelOptimizationJobWithResponse(String jobId * Deletes an agent optimization job. * * Delete the job and its candidate artifacts. Cancels first if non-terminal. + *

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
forceBooleanNoWhen true, force-delete even if the job is in a non-terminal + * state.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * @@ -4668,53 +4224,57 @@ public Mono> deleteOptimizationJobWithResponse(String jobId, Requ * { * data (Required): [ * (Required){ - * candidate_id: String (Optional) + * candidateId: String (Optional) * name: String (Required) * config (Required): { - * agent_name: String (Required) - * agent_version: String (Optional) + * agentName: String (Optional) + * agentVersion: String (Optional) * model: String (Optional) - * system_prompt: String (Optional) + * systemPrompt: String (Optional) * skills (Optional): [ * (Optional){ - * name: String (Required) - * description: String (Optional) + * String: BinaryData (Required) + * } + * ] + * tools (Optional): [ + * (Optional){ + * String: BinaryData (Required) * } * ] * } * mutations (Required): { * String: BinaryData (Required) * } - * rationale: String (Required) - * avg_score: double (Required) - * avg_tokens: double (Required) - * pass_rate: double (Required) - * task_scores (Required): [ + * avgScore: double (Required) + * avgTokens: double (Required) + * passRate: double (Required) + * taskScores (Required): [ * (Required){ - * task_name: String (Required) + * taskName: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * composite_score: double (Required) + * compositeScore: double (Required) * tokens: int (Required) - * duration_seconds: double (Required) + * durationSeconds: double (Required) * passed: boolean (Required) - * error_message: String (Optional) + * errorMessage: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * run_id: String (Optional) + * runId: String (Optional) * } * ] - * is_pareto_optimal: boolean (Required) - * sample_avg_score: Double (Optional) - * sample_size: Integer (Optional) - * evaluation_type: String (Optional) - * strategy: String(instruction/model/skill) (Optional) - * eval_id: String (Optional) - * eval_run_id: String (Optional) + * isParetoOptimal: boolean (Required) + * evalId: String (Optional) + * evalRunId: String (Optional) + * promotion (Optional): { + * promotedAt: long (Required) + * agentName: String (Required) + * agentVersion: String (Required) + * } * } * ] * first_id: String (Optional) @@ -4743,7 +4303,7 @@ public Mono> listOptimizationCandidatesWithResponse(String /** * Get a candidate by id. * - * Get a single candidate manifest and aggregated evaluation summary. + * Get a single candidate's metadata, manifest, and promotion info. *

Header Parameters

*
Header Parameters
* @@ -4760,53 +4320,26 @@ public Mono> listOptimizationCandidatesWithResponse(String *
      * {@code
      * {
-     *     candidate_id: String (Optional)
-     *     name: String (Required)
-     *     config (Required): {
-     *         agent_name: String (Required)
-     *         agent_version: String (Optional)
-     *         model: String (Optional)
-     *         system_prompt: String (Optional)
-     *         skills (Optional): [
-     *              (Optional){
-     *                 name: String (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     mutations (Required): {
-     *         String: BinaryData (Required)
+     *     candidateId: String (Required)
+     *     jobId: String (Required)
+     *     candidateName: String (Required)
+     *     status: String (Required)
+     *     score: Double (Optional)
+     *     hasResults: boolean (Required)
+     *     createdAt: long (Required)
+     *     updatedAt: long (Required)
+     *     promotion (Optional): {
+     *         promotedAt: long (Required)
+     *         agentName: String (Required)
+     *         agentVersion: String (Required)
      *     }
-     *     rationale: String (Required)
-     *     avg_score: double (Required)
-     *     avg_tokens: double (Required)
-     *     pass_rate: double (Required)
-     *     task_scores (Required): [
+     *     files (Required): [
      *          (Required){
-     *             task_name: String (Required)
-     *             query: String (Optional)
-     *             scores (Required): {
-     *                 String: double (Required)
-     *             }
-     *             composite_score: double (Required)
-     *             tokens: int (Required)
-     *             duration_seconds: double (Required)
-     *             passed: boolean (Required)
-     *             error_message: String (Optional)
-     *             rationales (Optional): {
-     *                 String: String (Required)
-     *             }
-     *             response: String (Optional)
-     *             run_id: String (Optional)
+     *             path: String (Required)
+     *             type: String (Required)
+     *             sizeBytes: long (Required)
      *         }
      *     ]
-     *     is_pareto_optimal: boolean (Required)
-     *     sample_avg_score: Double (Optional)
-     *     sample_size: Integer (Optional)
-     *     evaluation_type: String (Optional)
-     *     strategy: String(instruction/model/skill) (Optional)
-     *     eval_id: String (Optional)
-     *     eval_run_id: String (Optional)
      * }
      * }
      * 
@@ -4820,7 +4353,7 @@ public Mono> listOptimizationCandidatesWithResponse(String * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @return a candidate by id. * - * Get a single candidate manifest and aggregated evaluation summary along with {@link Response} on successful + * Get a single candidate's metadata, manifest, and promotion info along with {@link Response} on successful * completion of {@link Mono}. */ @Generated @@ -4855,8 +4388,12 @@ public Mono> getOptimizationCandidateWithResponse(String jo * temperature: Double (Optional) * skills (Optional): [ * (Optional){ - * name: String (Required) - * description: String (Optional) + * String: BinaryData (Required) + * } + * ] + * tools (Optional): [ + * (Optional){ + * String: BinaryData (Required) * } * ] * } @@ -4901,24 +4438,24 @@ public Mono> getOptimizationCandidateConfigWithResponse(Str *
      * {@code
      * {
-     *     candidate_id: String (Required)
+     *     candidateId: String (Required)
      *     results (Required): [
      *          (Required){
-     *             task_name: String (Required)
+     *             taskName: String (Required)
      *             query: String (Optional)
      *             scores (Required): {
      *                 String: double (Required)
      *             }
-     *             composite_score: double (Required)
+     *             compositeScore: double (Required)
      *             tokens: int (Required)
-     *             duration_seconds: double (Required)
+     *             durationSeconds: double (Required)
      *             passed: boolean (Required)
-     *             error_message: String (Optional)
+     *             errorMessage: String (Optional)
      *             rationales (Optional): {
      *                 String: String (Required)
      *             }
      *             response: String (Optional)
-     *             run_id: String (Optional)
+     *             runId: String (Optional)
      *         }
      *     ]
      * }
@@ -4944,69 +4481,10 @@ public Mono> getOptimizationCandidateResultsWithResponse(St
         return this.serviceClient.getOptimizationCandidateResultsWithResponseAsync(jobId, candidateId, requestOptions);
     }
 
-    /**
-     * Creates an agent optimization job.
-     *
-     * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry.
-     *
-     * @param job The job to create.
-     * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted
-     * preview resources.
-     * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job
-     * unconditionally.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return agent optimization job resource — a long-running job that optimizes an agent's configuration
-     * (instructions, model, skills) to maximize evaluation scores on successful completion of {@link Mono}.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono createOptimizationJob(OptimizationJob job, FoundryFeaturesOptInKeys foundryFeatures,
-        String operationId) {
-        // Generated convenience method for createOptimizationJobWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        if (foundryFeatures != null) {
-            requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString());
-        }
-        if (operationId != null) {
-            requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId);
-        }
-        return createOptimizationJobWithResponse(BinaryData.fromObject(job), requestOptions).flatMap(FluxUtil::toMono)
-            .map(protocolMethodData -> protocolMethodData.toObject(OptimizationJob.class));
-    }
-
-    /**
-     * Creates an agent optimization job.
-     *
-     * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry.
-     *
-     * @param job The job to create.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return agent optimization job resource — a long-running job that optimizes an agent's configuration
-     * (instructions, model, skills) to maximize evaluation scores on successful completion of {@link Mono}.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono createOptimizationJob(OptimizationJob job) {
-        // Generated convenience method for createOptimizationJobWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        return createOptimizationJobWithResponse(BinaryData.fromObject(job), requestOptions).flatMap(FluxUtil::toMono)
-            .map(protocolMethodData -> protocolMethodData.toObject(OptimizationJob.class));
-    }
-
     /**
      * Get info about an agent optimization job.
      *
-     * Get an optimization job by id. Emits `Retry-After` while the job is non-terminal.
+     * Get an optimization job by id. Returns 202 while in progress, 200 when terminal.
      *
      * @param jobId The ID of the job.
      * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted
@@ -5036,7 +4514,7 @@ public Mono getOptimizationJob(String jobId, FoundryFeaturesOpt
     /**
      * Get info about an agent optimization job.
      *
-     * Get an optimization job by id. Emits `Retry-After` while the job is non-terminal.
+     * Get an optimization job by id. Returns 202 while in progress, 200 when terminal.
      *
      * @param jobId The ID of the job.
      * @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -5061,7 +4539,7 @@ public Mono getOptimizationJob(String jobId) {
     /**
      * Returns a list of agent optimization jobs.
      *
-     * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters.
+     * List optimization jobs. Supports cursor pagination and optional status / agentName filters.
      *
      * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted
      * preview resources.
@@ -5110,7 +4588,7 @@ public PagedFlux listOptimizationJobs(FoundryFeaturesOptInKeys
             requestOptions.addQueryParam("status", status.toString(), false);
         }
         if (agentName != null) {
-            requestOptions.addQueryParam("agent_name", agentName, false);
+            requestOptions.addQueryParam("agentName", agentName, false);
         }
         PagedFlux pagedFluxResponse = listOptimizationJobs(requestOptions);
         return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> {
@@ -5130,7 +4608,7 @@ public PagedFlux listOptimizationJobs(FoundryFeaturesOptInKeys
     /**
      * Returns a list of agent optimization jobs.
      *
-     * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters.
+     * List optimization jobs. Supports cursor pagination and optional status / agentName filters.
      *
      * @throws HttpResponseException thrown if the request is rejected by server.
      * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
@@ -5174,7 +4652,7 @@ public PagedFlux listOptimizationJobs() {
      * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
      * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
      * @return agent optimization job resource — a long-running job that optimizes an agent's configuration
-     * (instructions, model, skills) to maximize evaluation scores on successful completion of {@link Mono}.
+     * (instructions, model, skills, tools) to maximize evaluation scores on successful completion of {@link Mono}.
      */
     @Generated
     @ServiceMethod(returns = ReturnType.SINGLE)
@@ -5184,40 +4662,443 @@ public Mono cancelOptimizationJob(String jobId, FoundryFeatures
         if (foundryFeatures != null) {
             requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString());
         }
-        return cancelOptimizationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono)
-            .map(protocolMethodData -> protocolMethodData.toObject(OptimizationJob.class));
+        return cancelOptimizationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono)
+            .map(protocolMethodData -> protocolMethodData.toObject(OptimizationJob.class));
+    }
+
+    /**
+     * Cancels an agent optimization job.
+     *
+     * Request cancellation. Idempotent on terminal states.
+     *
+     * @param jobId The ID of the job to cancel.
+     * @throws IllegalArgumentException thrown if parameters fail the validation.
+     * @throws HttpResponseException thrown if the request is rejected by server.
+     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+     * @return agent optimization job resource — a long-running job that optimizes an agent's configuration
+     * (instructions, model, skills, tools) to maximize evaluation scores on successful completion of {@link Mono}.
+     */
+    @Generated
+    @ServiceMethod(returns = ReturnType.SINGLE)
+    public Mono cancelOptimizationJob(String jobId) {
+        // Generated convenience method for cancelOptimizationJobWithResponse
+        RequestOptions requestOptions = new RequestOptions();
+        return cancelOptimizationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono)
+            .map(protocolMethodData -> protocolMethodData.toObject(OptimizationJob.class));
+    }
+
+    /**
+     * Deletes an agent optimization job.
+     *
+     * Delete the job and its candidate artifacts. Cancels first if non-terminal.
+     *
+     * @param jobId The ID of the job to delete.
+     * @throws IllegalArgumentException thrown if parameters fail the validation.
+     * @throws HttpResponseException thrown if the request is rejected by server.
+     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+     * @return A {@link Mono} that completes when a successful response is received.
+     */
+    @Generated
+    @ServiceMethod(returns = ReturnType.SINGLE)
+    public Mono deleteOptimizationJob(String jobId) {
+        // Generated convenience method for deleteOptimizationJobWithResponse
+        RequestOptions requestOptions = new RequestOptions();
+        return deleteOptimizationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono);
+    }
+
+    /**
+     * Returns a list of candidates for an optimization job.
+     *
+     * List candidates produced by a job.
+     *
+     * @param jobId The optimization job id.
+     * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted
+     * preview resources.
+     * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the
+     * default is 20.
+     * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`
+     * for descending order.
+     * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list.
+     * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
+     * subsequent call can include after=obj_foo in order to fetch the next page of the list.
+     * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list.
+     * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
+     * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+     * @throws IllegalArgumentException thrown if parameters fail the validation.
+     * @throws HttpResponseException thrown if the request is rejected by server.
+     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+     * @return the response data for a requested list of items on successful completion of {@link Mono}.
+     */
+    @Generated
+    @ServiceMethod(returns = ReturnType.SINGLE)
+    public Mono listOptimizationCandidates(String jobId,
+        FoundryFeaturesOptInKeys foundryFeatures, Integer limit, PageOrder order, String after, String before) {
+        // Generated convenience method for listOptimizationCandidatesWithResponse
+        RequestOptions requestOptions = new RequestOptions();
+        if (foundryFeatures != null) {
+            requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString());
+        }
+        if (limit != null) {
+            requestOptions.addQueryParam("limit", String.valueOf(limit), false);
+        }
+        if (order != null) {
+            requestOptions.addQueryParam("order", order.toString(), false);
+        }
+        if (after != null) {
+            requestOptions.addQueryParam("after", after, false);
+        }
+        if (before != null) {
+            requestOptions.addQueryParam("before", before, false);
+        }
+        return listOptimizationCandidatesWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono)
+            .map(protocolMethodData -> protocolMethodData.toObject(AgentsPagedResultOptimizationCandidate.class));
+    }
+
+    /**
+     * Returns a list of candidates for an optimization job.
+     *
+     * List candidates produced by a job.
+     *
+     * @param jobId The optimization job id.
+     * @throws IllegalArgumentException thrown if parameters fail the validation.
+     * @throws HttpResponseException thrown if the request is rejected by server.
+     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+     * @return the response data for a requested list of items on successful completion of {@link Mono}.
+     */
+    @Generated
+    @ServiceMethod(returns = ReturnType.SINGLE)
+    public Mono listOptimizationCandidates(String jobId) {
+        // Generated convenience method for listOptimizationCandidatesWithResponse
+        RequestOptions requestOptions = new RequestOptions();
+        return listOptimizationCandidatesWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono)
+            .map(protocolMethodData -> protocolMethodData.toObject(AgentsPagedResultOptimizationCandidate.class));
+    }
+
+    /**
+     * Get a candidate by id.
+     *
+     * Get a single candidate's metadata, manifest, and promotion info.
+     *
+     * @param jobId The optimization job id.
+     * @param candidateId The candidate id.
+     * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted
+     * preview resources.
+     * @throws IllegalArgumentException thrown if parameters fail the validation.
+     * @throws HttpResponseException thrown if the request is rejected by server.
+     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+     * @return a candidate by id.
+     *
+     * Get a single candidate's metadata, manifest, and promotion info on successful completion of {@link Mono}.
+     */
+    @Generated
+    @ServiceMethod(returns = ReturnType.SINGLE)
+    public Mono getOptimizationCandidate(String jobId, String candidateId,
+        FoundryFeaturesOptInKeys foundryFeatures) {
+        // Generated convenience method for getOptimizationCandidateWithResponse
+        RequestOptions requestOptions = new RequestOptions();
+        if (foundryFeatures != null) {
+            requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString());
+        }
+        return getOptimizationCandidateWithResponse(jobId, candidateId, requestOptions).flatMap(FluxUtil::toMono)
+            .map(protocolMethodData -> protocolMethodData.toObject(CandidateMetadata.class));
+    }
+
+    /**
+     * Get a candidate by id.
+     *
+     * Get a single candidate's metadata, manifest, and promotion info.
+     *
+     * @param jobId The optimization job id.
+     * @param candidateId The candidate id.
+     * @throws IllegalArgumentException thrown if parameters fail the validation.
+     * @throws HttpResponseException thrown if the request is rejected by server.
+     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+     * @return a candidate by id.
+     *
+     * Get a single candidate's metadata, manifest, and promotion info on successful completion of {@link Mono}.
+     */
+    @Generated
+    @ServiceMethod(returns = ReturnType.SINGLE)
+    public Mono getOptimizationCandidate(String jobId, String candidateId) {
+        // Generated convenience method for getOptimizationCandidateWithResponse
+        RequestOptions requestOptions = new RequestOptions();
+        return getOptimizationCandidateWithResponse(jobId, candidateId, requestOptions).flatMap(FluxUtil::toMono)
+            .map(protocolMethodData -> protocolMethodData.toObject(CandidateMetadata.class));
+    }
+
+    /**
+     * Get candidate deploy config.
+     *
+     * Get the candidate's deploy config JSON. Used to compose `agents.create_version(...)` from a candidate.
+     *
+     * @param jobId The optimization job id.
+     * @param candidateId The candidate id.
+     * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted
+     * preview resources.
+     * @throws IllegalArgumentException thrown if parameters fail the validation.
+     * @throws HttpResponseException thrown if the request is rejected by server.
+     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+     * @return candidate deploy config.
+     *
+     * Get the candidate's deploy config JSON on successful completion of {@link Mono}.
+     */
+    @Generated
+    @ServiceMethod(returns = ReturnType.SINGLE)
+    public Mono getOptimizationCandidateConfig(String jobId, String candidateId,
+        FoundryFeaturesOptInKeys foundryFeatures) {
+        // Generated convenience method for getOptimizationCandidateConfigWithResponse
+        RequestOptions requestOptions = new RequestOptions();
+        if (foundryFeatures != null) {
+            requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString());
+        }
+        return getOptimizationCandidateConfigWithResponse(jobId, candidateId, requestOptions).flatMap(FluxUtil::toMono)
+            .map(protocolMethodData -> protocolMethodData.toObject(CandidateDeployConfig.class));
+    }
+
+    /**
+     * Get candidate deploy config.
+     *
+     * Get the candidate's deploy config JSON. Used to compose `agents.create_version(...)` from a candidate.
+     *
+     * @param jobId The optimization job id.
+     * @param candidateId The candidate id.
+     * @throws IllegalArgumentException thrown if parameters fail the validation.
+     * @throws HttpResponseException thrown if the request is rejected by server.
+     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+     * @return candidate deploy config.
+     *
+     * Get the candidate's deploy config JSON on successful completion of {@link Mono}.
+     */
+    @Generated
+    @ServiceMethod(returns = ReturnType.SINGLE)
+    public Mono getOptimizationCandidateConfig(String jobId, String candidateId) {
+        // Generated convenience method for getOptimizationCandidateConfigWithResponse
+        RequestOptions requestOptions = new RequestOptions();
+        return getOptimizationCandidateConfigWithResponse(jobId, candidateId, requestOptions).flatMap(FluxUtil::toMono)
+            .map(protocolMethodData -> protocolMethodData.toObject(CandidateDeployConfig.class));
+    }
+
+    /**
+     * Get candidate evaluation results.
+     *
+     * Get full per-task evaluation results for a candidate.
+     *
+     * @param jobId The optimization job id.
+     * @param candidateId The candidate id.
+     * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted
+     * preview resources.
+     * @throws IllegalArgumentException thrown if parameters fail the validation.
+     * @throws HttpResponseException thrown if the request is rejected by server.
+     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+     * @return candidate evaluation results.
+     *
+     * Get full per-task evaluation results for a candidate on successful completion of {@link Mono}.
+     */
+    @Generated
+    @ServiceMethod(returns = ReturnType.SINGLE)
+    public Mono getOptimizationCandidateResults(String jobId, String candidateId,
+        FoundryFeaturesOptInKeys foundryFeatures) {
+        // Generated convenience method for getOptimizationCandidateResultsWithResponse
+        RequestOptions requestOptions = new RequestOptions();
+        if (foundryFeatures != null) {
+            requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString());
+        }
+        return getOptimizationCandidateResultsWithResponse(jobId, candidateId, requestOptions).flatMap(FluxUtil::toMono)
+            .map(protocolMethodData -> protocolMethodData.toObject(CandidateResults.class));
+    }
+
+    /**
+     * Get candidate evaluation results.
+     *
+     * Get full per-task evaluation results for a candidate.
+     *
+     * @param jobId The optimization job id.
+     * @param candidateId The candidate id.
+     * @throws IllegalArgumentException thrown if parameters fail the validation.
+     * @throws HttpResponseException thrown if the request is rejected by server.
+     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+     * @return candidate evaluation results.
+     *
+     * Get full per-task evaluation results for a candidate on successful completion of {@link Mono}.
+     */
+    @Generated
+    @ServiceMethod(returns = ReturnType.SINGLE)
+    public Mono getOptimizationCandidateResults(String jobId, String candidateId) {
+        // Generated convenience method for getOptimizationCandidateResultsWithResponse
+        RequestOptions requestOptions = new RequestOptions();
+        return getOptimizationCandidateResultsWithResponse(jobId, candidateId, requestOptions).flatMap(FluxUtil::toMono)
+            .map(protocolMethodData -> protocolMethodData.toObject(CandidateResults.class));
+    }
+
+    /**
+     * Stops a session.
+     * Returns 204 No Content when the stop succeeds.
+     * 

Header Parameters

+ *
Header Parameters
+ * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param agentName The name of the agent. + * @param sessionId The session identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> stopSessionWithResponse(String agentName, String sessionId, + RequestOptions requestOptions) { + return this.serviceClient.stopSessionWithResponseAsync(agentName, sessionId, requestOptions); + } + + /** + * Creates a new session for an agent endpoint. + * The endpoint resolves the backing agent version from `version_indicator` and + * enforces session ownership using the provided isolation key for session-mutating operations. + * + * @param agentName The name of the agent to create a session for. + * @param versionIndicator Determines which agent version backs the session. + * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, + * conversations, sessions) to a specific end user. + * @param agentSessionId Optional caller-provided session ID. If specified, it must be unique within the agent + * endpoint. Auto-generated if omitted. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return an agent session providing a long-lived compute sandbox for hosted agent invocations on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createSession(String agentName, VersionIndicator versionIndicator, + String userIsolationKey, String agentSessionId) { + // Generated convenience method for createSessionWithResponse + RequestOptions requestOptions = new RequestOptions(); + CreateSessionRequest createSessionRequestObj + = new CreateSessionRequest(versionIndicator).setAgentSessionId(agentSessionId); + BinaryData createSessionRequest = BinaryData.fromObject(createSessionRequestObj); + if (userIsolationKey != null) { + requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); + } + return createSessionWithResponse(agentName, createSessionRequest, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(AgentSessionResource.class)); + } + + /** + * Retrieves a session by ID. + * + * @param agentName The name of the agent. + * @param sessionId The session identifier. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, + * conversations, sessions) to a specific end user. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return an agent session providing a long-lived compute sandbox for hosted agent invocations on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSession(String agentName, String sessionId, + AgentDefinitionOptInKeys foundryFeatures, String userIsolationKey) { + // Generated convenience method for getSessionWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (userIsolationKey != null) { + requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); + } + return getSessionWithResponse(agentName, sessionId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(AgentSessionResource.class)); } /** - * Cancels an agent optimization job. - * - * Request cancellation. Idempotent on terminal states. + * Deletes a session synchronously. + * Returns 204 No Content when the session is deleted or does not exist. * - * @param jobId The ID of the job to cancel. + * @param agentName The name of the agent. + * @param sessionId The session identifier. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, + * conversations, sessions) to a specific end user. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return agent optimization job resource — a long-running job that optimizes an agent's configuration - * (instructions, model, skills) to maximize evaluation scores on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono cancelOptimizationJob(String jobId) { - // Generated convenience method for cancelOptimizationJobWithResponse + public Mono deleteSession(String agentName, String sessionId, AgentDefinitionOptInKeys foundryFeatures, + String userIsolationKey) { + // Generated convenience method for deleteSessionWithResponse RequestOptions requestOptions = new RequestOptions(); - return cancelOptimizationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(OptimizationJob.class)); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (userIsolationKey != null) { + requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); + } + return deleteSessionWithResponse(agentName, sessionId, requestOptions).flatMap(FluxUtil::toMono); } /** - * Deletes an agent optimization job. - * - * Delete the job and its candidate artifacts. Cancels first if non-terminal. + * Stops a session. + * Returns 204 No Content when the stop succeeds. * - * @param jobId The ID of the job to delete. + * @param agentName The name of the agent. + * @param sessionId The session identifier. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5230,21 +5111,21 @@ public Mono cancelOptimizationJob(String jobId) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteOptimizationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for deleteOptimizationJobWithResponse + public Mono stopSession(String agentName, String sessionId, AgentDefinitionOptInKeys foundryFeatures) { + // Generated convenience method for stopSessionWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - return deleteOptimizationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); + return stopSessionWithResponse(agentName, sessionId, requestOptions).flatMap(FluxUtil::toMono); } /** - * Deletes an agent optimization job. - * - * Delete the job and its candidate artifacts. Cancels first if non-terminal. + * Stops a session. + * Returns 204 No Content when the stop succeeds. * - * @param jobId The ID of the job to delete. + * @param agentName The name of the agent. + * @param sessionId The session identifier. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5255,20 +5136,20 @@ public Mono deleteOptimizationJob(String jobId, FoundryFeaturesOptInKeys f */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteOptimizationJob(String jobId) { - // Generated convenience method for deleteOptimizationJobWithResponse + public Mono stopSession(String agentName, String sessionId) { + // Generated convenience method for stopSessionWithResponse RequestOptions requestOptions = new RequestOptions(); - return deleteOptimizationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); + return stopSessionWithResponse(agentName, sessionId, requestOptions).flatMap(FluxUtil::toMono); } /** - * Returns a list of candidates for an optimization job. - * - * List candidates produced by a job. + * Returns a list of sessions for the specified agent. * - * @param jobId The optimization job id. + * @param agentName The name of the agent. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. + * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, + * conversations, sessions) to a specific end user. * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the * default is 20. * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` @@ -5285,17 +5166,20 @@ public Mono deleteOptimizationJob(String jobId) { * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items on successful completion of {@link Mono}. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. */ @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listOptimizationCandidates(String jobId, - FoundryFeaturesOptInKeys foundryFeatures, Integer limit, PageOrder order, String after, String before) { - // Generated convenience method for listOptimizationCandidatesWithResponse + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listSessions(String agentName, AgentDefinitionOptInKeys foundryFeatures, + String userIsolationKey, Integer limit, PageOrder order, String after, String before) { + // Generated convenience method for listSessions RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } + if (userIsolationKey != null) { + requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); + } if (limit != null) { requestOptions.addQueryParam("limit", String.valueOf(limit), false); } @@ -5308,98 +5192,178 @@ public Mono listOptimizationCandidates(S if (before != null) { requestOptions.addQueryParam("before", before, false); } - return listOptimizationCandidatesWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(AgentsPagedResultOptimizationCandidate.class)); + PagedFlux pagedFluxResponse = listSessions(agentName, requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux + .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(AgentSessionResource.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); } /** - * Returns a list of candidates for an optimization job. + * Creates an agent optimization job. * - * List candidates produced by a job. + * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry. * - * @param jobId The optimization job id. + * @param body The optimization job inputs. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job + * unconditionally. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items on successful completion of {@link Mono}. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills, tools) to maximize evaluation scores on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listOptimizationCandidates(String jobId) { - // Generated convenience method for listOptimizationCandidatesWithResponse + public Mono createOptimizationJob(OptimizationJobInputs body, + FoundryFeaturesOptInKeys foundryFeatures, String operationId) { + // Generated convenience method for createOptimizationJobWithResponse RequestOptions requestOptions = new RequestOptions(); - return listOptimizationCandidatesWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(AgentsPagedResultOptimizationCandidate.class)); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (operationId != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); + } + return createOptimizationJobWithResponse(BinaryData.fromObject(body), requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(OptimizationJob.class)); } /** - * Get a candidate by id. + * Creates an agent optimization job. * - * Get a single candidate manifest and aggregated evaluation summary. + * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry. * - * @param jobId The optimization job id. - * @param candidateId The candidate id. + * @param body The optimization job inputs. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills, tools) to maximize evaluation scores on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createOptimizationJob(OptimizationJobInputs body) { + // Generated convenience method for createOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createOptimizationJobWithResponse(BinaryData.fromObject(body), requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(OptimizationJob.class)); + } + + /** + * Deletes an agent optimization job. + * + * Delete the job and its candidate artifacts. Cancels first if non-terminal. + * + * @param jobId The ID of the job to delete. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. + * @param force When true, force-delete even if the job is in a non-terminal state. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a candidate by id. - * - * Get a single candidate manifest and aggregated evaluation summary on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getOptimizationCandidate(String jobId, String candidateId, - FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for getOptimizationCandidateWithResponse + public Mono deleteOptimizationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures, Boolean force) { + // Generated convenience method for deleteOptimizationJobWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - return getOptimizationCandidateWithResponse(jobId, candidateId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(OptimizationCandidate.class)); + if (force != null) { + requestOptions.addQueryParam("force", String.valueOf(force), false); + } + return deleteOptimizationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); } /** - * Get a candidate by id. + * Promote a candidate. * - * Get a single candidate manifest and aggregated evaluation summary. + * Promotes a candidate, recording the deployment timestamp and target agent version. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     agentName: String (Required)
+     *     agentVersion: String (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     candidateId: String (Required)
+     *     status: String (Required)
+     *     promotedAt: long (Required)
+     *     agentName: String (Required)
+     *     agentVersion: String (Required)
+     * }
+     * }
+     * 
* * @param jobId The optimization job id. - * @param candidateId The candidate id. - * @throws IllegalArgumentException thrown if parameters fail the validation. + * @param candidateId The candidate id to promote. + * @param body Promotion details. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a candidate by id. - * - * Get a single candidate manifest and aggregated evaluation summary on successful completion of {@link Mono}. + * @return response after successfully promoting a candidate along with {@link Response} on successful completion of + * {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getOptimizationCandidate(String jobId, String candidateId) { - // Generated convenience method for getOptimizationCandidateWithResponse - RequestOptions requestOptions = new RequestOptions(); - return getOptimizationCandidateWithResponse(jobId, candidateId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(OptimizationCandidate.class)); + public Mono> promoteCandidateWithResponse(String jobId, String candidateId, BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.promoteCandidateWithResponseAsync(jobId, candidateId, body, requestOptions); } /** - * Get candidate deploy config. + * Promote a candidate. * - * Get the candidate's deploy config JSON. Used to compose `agents.create_version(...)` from a candidate. + * Promotes a candidate, recording the deployment timestamp and target agent version. * * @param jobId The optimization job id. - * @param candidateId The candidate id. + * @param candidateId The candidate id to promote. + * @param body Promotion details. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5408,56 +5372,100 @@ public Mono getOptimizationCandidate(String jobId, String * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return candidate deploy config. - * - * Get the candidate's deploy config JSON on successful completion of {@link Mono}. + * @return response after successfully promoting a candidate on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getOptimizationCandidateConfig(String jobId, String candidateId, - FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for getOptimizationCandidateConfigWithResponse + public Mono promoteCandidate(String jobId, String candidateId, + PromoteCandidateRequest body, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for promoteCandidateWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - return getOptimizationCandidateConfigWithResponse(jobId, candidateId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(CandidateDeployConfig.class)); + return promoteCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(PromoteCandidateResponse.class)); } /** - * Get candidate deploy config. + * Promote a candidate. * - * Get the candidate's deploy config JSON. Used to compose `agents.create_version(...)` from a candidate. + * Promotes a candidate, recording the deployment timestamp and target agent version. * * @param jobId The optimization job id. - * @param candidateId The candidate id. + * @param candidateId The candidate id to promote. + * @param body Promotion details. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return candidate deploy config. - * - * Get the candidate's deploy config JSON on successful completion of {@link Mono}. + * @return response after successfully promoting a candidate on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getOptimizationCandidateConfig(String jobId, String candidateId) { - // Generated convenience method for getOptimizationCandidateConfigWithResponse + public Mono promoteCandidate(String jobId, String candidateId, + PromoteCandidateRequest body) { + // Generated convenience method for promoteCandidateWithResponse RequestOptions requestOptions = new RequestOptions(); - return getOptimizationCandidateConfigWithResponse(jobId, candidateId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(CandidateDeployConfig.class)); + return promoteCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(PromoteCandidateResponse.class)); } /** - * Get candidate evaluation results. + * Get a candidate file. * - * Get full per-task evaluation results for a candidate. + * Stream a specific file from the candidate's blob directory. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
* * @param jobId The optimization job id. * @param candidateId The candidate id. + * @param path Relative path of the file to download (e.g. 'files/examples.jsonl'). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a candidate file. + * + * Stream a specific file from the candidate's blob directory along with {@link Response} on successful completion + * of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCandidateFileWithResponse(String jobId, String candidateId, String path, + RequestOptions requestOptions) { + return this.serviceClient.getCandidateFileWithResponseAsync(jobId, candidateId, path, requestOptions); + } + + /** + * Get a candidate file. + * + * Stream a specific file from the candidate's blob directory. + * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param path Relative path of the file to download (e.g. 'files/examples.jsonl'). * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5466,46 +5474,45 @@ public Mono getOptimizationCandidateConfig(String jobId, * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return candidate evaluation results. + * @return a candidate file. * - * Get full per-task evaluation results for a candidate on successful completion of {@link Mono}. + * Stream a specific file from the candidate's blob directory on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getOptimizationCandidateResults(String jobId, String candidateId, + public Mono getCandidateFile(String jobId, String candidateId, String path, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for getOptimizationCandidateResultsWithResponse + // Generated convenience method for getCandidateFileWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - return getOptimizationCandidateResultsWithResponse(jobId, candidateId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(CandidateResults.class)); + return getCandidateFileWithResponse(jobId, candidateId, path, requestOptions).flatMap(FluxUtil::toMono); } /** - * Get candidate evaluation results. + * Get a candidate file. * - * Get full per-task evaluation results for a candidate. + * Stream a specific file from the candidate's blob directory. * * @param jobId The optimization job id. * @param candidateId The candidate id. + * @param path Relative path of the file to download (e.g. 'files/examples.jsonl'). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return candidate evaluation results. + * @return a candidate file. * - * Get full per-task evaluation results for a candidate on successful completion of {@link Mono}. + * Stream a specific file from the candidate's blob directory on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getOptimizationCandidateResults(String jobId, String candidateId) { - // Generated convenience method for getOptimizationCandidateResultsWithResponse + public Mono getCandidateFile(String jobId, String candidateId, String path) { + // Generated convenience method for getCandidateFileWithResponse RequestOptions requestOptions = new RequestOptions(); - return getOptimizationCandidateResultsWithResponse(jobId, candidateId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(CandidateResults.class)); + return getCandidateFileWithResponse(jobId, candidateId, path, requestOptions).flatMap(FluxUtil::toMono); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java index 93c2a001fbaf..466b79b31ee1 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java @@ -25,14 +25,17 @@ import com.azure.ai.agents.models.AgentVersionDetails; import com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate; import com.azure.ai.agents.models.CandidateDeployConfig; +import com.azure.ai.agents.models.CandidateMetadata; import com.azure.ai.agents.models.CandidateResults; import com.azure.ai.agents.models.CreateAgentVersionFromCodeContent; import com.azure.ai.agents.models.CreateAgentVersionInput; import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.JobStatus; -import com.azure.ai.agents.models.OptimizationCandidate; import com.azure.ai.agents.models.OptimizationJob; +import com.azure.ai.agents.models.OptimizationJobInputs; import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.agents.models.PromoteCandidateRequest; +import com.azure.ai.agents.models.PromoteCandidateResponse; import com.azure.ai.agents.models.SessionLogEvent; import com.azure.ai.agents.models.UpdateAgentDetailsOptions; import com.azure.ai.agents.models.VersionIndicator; @@ -112,7 +115,7 @@ public final class AgentsClient { * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -491,7 +494,7 @@ public AgentVersionDetails createAgentVersion(String agentName, AgentDefinition * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -567,7 +570,7 @@ public AgentVersionDetails createAgentVersion(String agentName, AgentDefinition * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -695,7 +698,7 @@ Response createAgentWithResponse(BinaryData createAgentRequest, Requ * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -845,7 +848,7 @@ AgentDetails updateAgent(String agentName, AgentDefinition definition) { * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -959,7 +962,7 @@ Response createAgentFromManifestWithResponse(BinaryData createAgentF * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1479,7 +1482,7 @@ public PagedIterable listAgentVersions(String agentName, In * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1697,8 +1700,8 @@ public Response deleteAgentWithResponse(String agentName, RequestOptions r * Query Parameters * NameTypeRequiredDescription * forceBooleanNoFor Hosted Agents, if true, force-deletes the agent even if its - * versions have active sessions, cascading deletion to all associated sessions. This value is not relevant for - * other Agent types. Defaults to false. + * versions have active sessions, cascading deletion to all associated sessions. Defaults to `false`. This value is + * not relevant for other Agent types. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -1736,8 +1739,8 @@ Response internalDeleteAgentWithResponse(String agentName, RequestOp * Query Parameters * NameTypeRequiredDescription * forceBooleanNoFor Hosted Agents, if true, force-deletes the version even if it - * has active sessions, cascading deletion to all associated sessions. This value is not relevant for other Agent - * types. Defaults to false. + * has active sessions, cascading deletion to all associated sessions. Defaults to `false`. This value is not + * relevant for other Agent types. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -1779,6 +1782,8 @@ Response internalDeleteAgentVersionWithResponse(String agentName, St * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1790,7 +1795,7 @@ Response internalDeleteAgentVersionWithResponse(String agentName, St * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -1845,6 +1850,8 @@ public Response getSessionWithResponse(String agentName, String sess * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1856,7 +1863,7 @@ public Response getSessionWithResponse(String agentName, String sess * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -1995,34 +2002,6 @@ public AgentVersionDetails createAgentVersion(String agentName, AgentDefinition .toObject(AgentVersionDetails.class); } - /** - * Retrieves a session by ID. - * - * @param agentName The name of the agent. - * @param sessionId The session identifier. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an agent session providing a long-lived compute sandbox for hosted agent invocations. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public AgentSessionResource getSession(String agentName, String sessionId, - AgentDefinitionOptInKeys foundryFeatures) { - // Generated convenience method for getSessionWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return getSessionWithResponse(agentName, sessionId, requestOptions).getValue() - .toObject(AgentSessionResource.class); - } - /** * Retrieves a session by ID. * @@ -2045,55 +2024,6 @@ public AgentSessionResource getSession(String agentName, String sessionId) { .toObject(AgentSessionResource.class); } - /** - * Returns a list of sessions for the specified agent. - * - * @param agentName The name of the agent. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the - * default is 20. - * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` - * for descending order. - * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list. - * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listSessions(String agentName, AgentDefinitionOptInKeys foundryFeatures, - Integer limit, PageOrder order, String after, String before) { - // Generated convenience method for listSessions - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (limit != null) { - requestOptions.addQueryParam("limit", String.valueOf(limit), false); - } - if (order != null) { - requestOptions.addQueryParam("order", order.toString(), false); - } - if (after != null) { - requestOptions.addQueryParam("after", after, false); - } - if (before != null) { - requestOptions.addQueryParam("before", before, false); - } - return serviceClient.listSessions(agentName, requestOptions) - .mapPage(bodyItemValue -> bodyItemValue.toObject(AgentSessionResource.class)); - } - /** * Returns a list of sessions for the specified agent. * @@ -2246,7 +2176,7 @@ public Response getSessionLogStreamWithResponse(String agentName, St * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2322,7 +2252,7 @@ public Response getSessionLogStreamWithResponse(String agentName, St * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2569,7 +2499,7 @@ public AgentDetails updateAgentDetails(String agentName, UpdateAgentDetailsOptio * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2685,7 +2615,7 @@ Response createAgentFromCodeWithResponse(String agentName, String co * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2872,6 +2802,8 @@ public Response downloadAgentCodeWithResponse(String agentName, Requ * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -2896,7 +2828,7 @@ public Response downloadAgentCodeWithResponse(String agentName, Requ * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -2932,6 +2864,8 @@ public Response createSessionWithResponse(String agentName, BinaryDa * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -3203,36 +3137,6 @@ public BinaryData downloadAgentCode(String agentName) { return downloadAgentCodeWithResponse(agentName, requestOptions).getValue(); } - /** - * Creates a new session for an agent endpoint. - * The endpoint resolves the backing agent version from `version_indicator` and - * enforces session ownership using the provided isolation key for session-mutating operations. - * - * @param agentName The name of the agent to create a session for. - * @param versionIndicator Determines which agent version backs the session. - * @param agentSessionId Optional caller-provided session ID. If specified, it must be unique within the agent - * endpoint. Auto-generated if omitted. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an agent session providing a long-lived compute sandbox for hosted agent invocations. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public AgentSessionResource createSession(String agentName, VersionIndicator versionIndicator, - String agentSessionId) { - // Generated convenience method for createSessionWithResponse - RequestOptions requestOptions = new RequestOptions(); - CreateSessionRequest createSessionRequestObj - = new CreateSessionRequest(versionIndicator).setAgentSessionId(agentSessionId); - BinaryData createSessionRequest = BinaryData.fromObject(createSessionRequestObj); - return createSessionWithResponse(agentName, createSessionRequest, requestOptions).getValue() - .toObject(AgentSessionResource.class); - } - /** * Creates a new session for an agent endpoint. * The endpoint resolves the backing agent version from `version_indicator` and @@ -3259,32 +3163,6 @@ public AgentSessionResource createSession(String agentName, VersionIndicator ver .toObject(AgentSessionResource.class); } - /** - * Deletes a session synchronously. - * Returns 204 No Content when the session is deleted or does not exist. - * - * @param agentName The name of the agent. - * @param sessionId The session identifier. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteSession(String agentName, String sessionId, AgentDefinitionOptInKeys foundryFeatures) { - // Generated convenience method for deleteSessionWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - deleteSessionWithResponse(agentName, sessionId, requestOptions).getValue(); - } - /** * Deletes a session synchronously. * Returns 204 No Content when the session is deleted or does not exist. @@ -3476,141 +3354,37 @@ public PagedIterable listAgentConversations(Integer limit, PageOrd *
      * {@code
      * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         agent (Required): {
-     *             agent_name: String (Required)
-     *             agent_version: String (Optional)
-     *             model: String (Optional)
-     *             system_prompt: String (Optional)
-     *             skills (Optional): [
-     *                  (Optional){
-     *                     name: String (Required)
-     *                     description: String (Optional)
-     *                 }
-     *             ]
-     *         }
-     *         dataset (Optional): [
-     *              (Optional){
-     *                 name: String (Required)
-     *                 query: String (Required)
-     *                 ground_truth: String (Optional)
-     *                 criteria (Optional): [
-     *                      (Optional){
-     *                         name: String (Required)
-     *                         instruction: String (Required)
-     *                     }
-     *                 ]
-     *                 eval_results (Optional): [
-     *                      (Optional){
-     *                         name: String (Required)
-     *                         type: String (Optional)
-     *                         score: double (Required)
-     *                         passed: boolean (Required)
-     *                         sample (Optional): {
-     *                             String: BinaryData (Required)
-     *                         }
-     *                         status: String(completed/errored/skipped) (Optional)
-     *                         metric: String (Optional)
-     *                         label: String (Optional)
-     *                         threshold: Double (Optional)
-     *                         reason: String (Optional)
-     *                         properties (Optional): {
-     *                             String: String (Required)
-     *                         }
-     *                          (Optional): {
-     *                             String: BinaryData (Required)
-     *                         }
-     *                     }
-     *                 ]
-     *                 response_items (Optional): [
-     *                     BinaryData (Optional)
-     *                 ]
-     *             }
-     *         ]
-     *         train_dataset_reference (Optional): {
-     *             name: String (Required)
-     *             version: String (Optional)
-     *         }
-     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
-     *         evaluators (Optional): [
-     *             String (Optional)
-     *         ]
-     *         criteria (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         options (Optional): {
-     *             strategies (Optional): [
-     *                 String(instruction/model/skill) (Optional)
-     *             ]
-     *             budget: Integer (Optional)
-     *             max_iterations: Integer (Optional)
-     *             tasks_per_iteration: Integer (Optional)
-     *             max_reflection_tasks: Integer (Optional)
-     *             min_improvement: Double (Optional)
-     *             pass_threshold: Double (Optional)
-     *             improvement_threshold: Double (Optional)
-     *             mode: String(optimize) (Optional)
-     *             eval_model: String (Optional)
-     *             reflection_model: String (Optional)
-     *             task_timeout_seconds: Long (Optional)
-     *             keep_versions: Boolean (Optional)
-     *         }
+     *     agent (Required): {
+     *         agentName: String (Required)
+     *         agentVersion: String (Optional)
      *     }
-     *     result (Optional): {
-     *         baseline (Optional): {
-     *             candidate_id: String (Optional)
-     *             name: String (Required)
-     *             config (Required): (recursive schema, see config above)
-     *             mutations (Required): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             rationale: String (Required)
-     *             avg_score: double (Required)
-     *             avg_tokens: double (Required)
-     *             pass_rate: double (Required)
-     *             task_scores (Required): [
-     *                  (Required){
-     *                     task_name: String (Required)
-     *                     query: String (Optional)
-     *                     scores (Required): {
-     *                         String: double (Required)
-     *                     }
-     *                     composite_score: double (Required)
-     *                     tokens: int (Required)
-     *                     duration_seconds: double (Required)
-     *                     passed: boolean (Required)
-     *                     error_message: String (Optional)
-     *                     rationales (Optional): {
-     *                         String: String (Required)
-     *                     }
-     *                     response: String (Optional)
-     *                     run_id: String (Optional)
-     *                 }
-     *             ]
-     *             is_pareto_optimal: boolean (Required)
-     *             sample_avg_score: Double (Optional)
-     *             sample_size: Integer (Optional)
-     *             evaluation_type: String (Optional)
-     *             strategy: String(instruction/model/skill) (Optional)
-     *             eval_id: String (Optional)
-     *             eval_run_id: String (Optional)
+     *     trainDatasetReference (Required): {
+     *         name: String (Required)
+     *         version: String (Optional)
+     *     }
+     *     validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above)
+     *     evaluators (Optional): [
+     *         String (Optional)
+     *     ]
+     *     options (Optional): {
+     *         maxIterations: Integer (Optional)
+     *         optimizationConfig (Optional): {
+     *             String: BinaryData (Required)
      *         }
-     *         best (Optional): (recursive schema, see best above)
-     *         candidates (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         pareto_frontier (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         validation_score (Optional): (recursive schema, see validation_score above)
-     *         options (Optional): (recursive schema, see options above)
-     *         sample_size: Integer (Optional)
-     *         warnings (Optional): [
-     *             String (Optional)
-     *         ]
-     *         all_strategies_failed: Boolean (Optional)
+     *         evalModel: String (Optional)
+     *         optimizationModel: String (Optional)
+     *         evaluationLevel: String(turn/conversation) (Optional)
      *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
      *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
      *     error (Optional): {
      *         code: String (Required)
@@ -3627,209 +3401,129 @@ public PagedIterable listAgentConversations(Integer limit, PageOrd
      *             String: BinaryData (Required)
      *         }
      *     }
-     *     created_at: long (Required)
-     *     updated_at: Long (Optional)
-     *     progress (Optional): {
-     *         current_strategy: String(instruction/model/skill) (Required)
-     *         current_iteration: int (Required)
-     *         tasks_completed: int (Required)
-     *         tasks_total: int (Required)
-     *         best_score: double (Required)
-     *         elapsed_seconds: double (Required)
-     *     }
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         agent (Required): {
-     *             agent_name: String (Required)
-     *             agent_version: String (Optional)
-     *             model: String (Optional)
-     *             system_prompt: String (Optional)
-     *             skills (Optional): [
-     *                  (Optional){
-     *                     name: String (Required)
-     *                     description: String (Optional)
-     *                 }
-     *             ]
-     *         }
-     *         dataset (Optional): [
-     *              (Optional){
-     *                 name: String (Required)
-     *                 query: String (Required)
-     *                 ground_truth: String (Optional)
-     *                 criteria (Optional): [
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidateId: String (Optional)
+     *             name: String (Required)
+     *             config (Required): {
+     *                 agentName: String (Optional)
+     *                 agentVersion: String (Optional)
+     *                 model: String (Optional)
+     *                 systemPrompt: String (Optional)
+     *                 skills (Optional): [
      *                      (Optional){
-     *                         name: String (Required)
-     *                         instruction: String (Required)
+     *                         String: BinaryData (Required)
      *                     }
      *                 ]
-     *                 eval_results (Optional): [
+     *                 tools (Optional): [
      *                      (Optional){
-     *                         name: String (Required)
-     *                         type: String (Optional)
-     *                         score: double (Required)
-     *                         passed: boolean (Required)
-     *                         sample (Optional): {
-     *                             String: BinaryData (Required)
-     *                         }
-     *                         status: String(completed/errored/skipped) (Optional)
-     *                         metric: String (Optional)
-     *                         label: String (Optional)
-     *                         threshold: Double (Optional)
-     *                         reason: String (Optional)
-     *                         properties (Optional): {
-     *                             String: String (Required)
-     *                         }
-     *                          (Optional): {
-     *                             String: BinaryData (Required)
-     *                         }
+     *                         String: BinaryData (Required)
      *                     }
      *                 ]
-     *                 response_items (Optional): [
-     *                     BinaryData (Optional)
-     *                 ]
      *             }
-     *         ]
-     *         train_dataset_reference (Optional): {
-     *             name: String (Required)
-     *             version: String (Optional)
-     *         }
-     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
-     *         evaluators (Optional): [
-     *             String (Optional)
-     *         ]
-     *         criteria (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         options (Optional): {
-     *             strategies (Optional): [
-     *                 String(instruction/model/skill) (Optional)
-     *             ]
-     *             budget: Integer (Optional)
-     *             max_iterations: Integer (Optional)
-     *             tasks_per_iteration: Integer (Optional)
-     *             max_reflection_tasks: Integer (Optional)
-     *             min_improvement: Double (Optional)
-     *             pass_threshold: Double (Optional)
-     *             improvement_threshold: Double (Optional)
-     *             mode: String(optimize) (Optional)
-     *             eval_model: String (Optional)
-     *             reflection_model: String (Optional)
-     *             task_timeout_seconds: Long (Optional)
-     *             keep_versions: Boolean (Optional)
-     *         }
-     *     }
-     *     result (Optional): {
-     *         baseline (Optional): {
-     *             candidate_id: String (Optional)
-     *             name: String (Required)
-     *             config (Required): (recursive schema, see config above)
      *             mutations (Required): {
      *                 String: BinaryData (Required)
      *             }
-     *             rationale: String (Required)
-     *             avg_score: double (Required)
-     *             avg_tokens: double (Required)
-     *             pass_rate: double (Required)
-     *             task_scores (Required): [
+     *             avgScore: double (Required)
+     *             avgTokens: double (Required)
+     *             passRate: double (Required)
+     *             taskScores (Required): [
      *                  (Required){
-     *                     task_name: String (Required)
+     *                     taskName: String (Required)
      *                     query: String (Optional)
      *                     scores (Required): {
      *                         String: double (Required)
      *                     }
-     *                     composite_score: double (Required)
+     *                     compositeScore: double (Required)
      *                     tokens: int (Required)
-     *                     duration_seconds: double (Required)
+     *                     durationSeconds: double (Required)
      *                     passed: boolean (Required)
-     *                     error_message: String (Optional)
+     *                     errorMessage: String (Optional)
      *                     rationales (Optional): {
      *                         String: String (Required)
      *                     }
      *                     response: String (Optional)
-     *                     run_id: String (Optional)
+     *                     runId: String (Optional)
      *                 }
      *             ]
-     *             is_pareto_optimal: boolean (Required)
-     *             sample_avg_score: Double (Optional)
-     *             sample_size: Integer (Optional)
-     *             evaluation_type: String (Optional)
-     *             strategy: String(instruction/model/skill) (Optional)
-     *             eval_id: String (Optional)
-     *             eval_run_id: String (Optional)
+     *             isParetoOptimal: boolean (Required)
+     *             evalId: String (Optional)
+     *             evalRunId: String (Optional)
+     *             promotion (Optional): {
+     *                 promotedAt: long (Required)
+     *                 agentName: String (Required)
+     *                 agentVersion: String (Required)
+     *             }
      *         }
      *         best (Optional): (recursive schema, see best above)
      *         candidates (Optional): [
      *             (recursive schema, see above)
      *         ]
-     *         pareto_frontier (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         validation_score (Optional): (recursive schema, see validation_score above)
-     *         options (Optional): (recursive schema, see options above)
-     *         sample_size: Integer (Optional)
+     *         options (Optional): {
+     *             maxIterations: Integer (Optional)
+     *             optimizationConfig (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             evalModel: String (Optional)
+     *             optimizationModel: String (Optional)
+     *             evaluationLevel: String(turn/conversation) (Optional)
+     *         }
      *         warnings (Optional): [
      *             String (Optional)
      *         ]
-     *         all_strategies_failed: Boolean (Optional)
+     *         allTargetAttributesFailed: Boolean (Optional)
      *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agentName: String (Required)
+     *             agentVersion: String (Optional)
      *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
+     *         trainDatasetReference (Required): {
+     *             name: String (Required)
+     *             version: String (Optional)
      *         }
+     *         validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         options (Optional): (recursive schema, see options above)
      *     }
-     *     created_at: long (Required)
-     *     updated_at: Long (Optional)
+     *     createdAt: long (Required)
+     *     updatedAt: Long (Optional)
      *     progress (Optional): {
-     *         current_strategy: String(instruction/model/skill) (Required)
-     *         current_iteration: int (Required)
-     *         tasks_completed: int (Required)
-     *         tasks_total: int (Required)
-     *         best_score: double (Required)
-     *         elapsed_seconds: double (Required)
+     *         currentIteration: int (Required)
+     *         bestScore: double (Required)
+     *         elapsedSeconds: double (Required)
+     *     }
+     *     dataset (Optional): {
+     *         name: String (Optional)
+     *         version: String (Optional)
+     *         taskCount: int (Required)
+     *         isInline: boolean (Required)
      *     }
      * }
      * }
      * 
* - * @param job The job to create. + * @param body The optimization job inputs. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @return agent optimization job resource — a long-running job that optimizes an agent's configuration - * (instructions, model, skills) to maximize evaluation scores along with {@link Response}. + * (instructions, model, skills, tools) to maximize evaluation scores along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response createOptimizationJobWithResponse(BinaryData job, RequestOptions requestOptions) { - return this.serviceClient.createOptimizationJobWithResponse(job, requestOptions); + public Response createOptimizationJobWithResponse(BinaryData body, RequestOptions requestOptions) { + return this.serviceClient.createOptimizationJobWithResponse(body, requestOptions); } /** * Get info about an agent optimization job. * - * Get an optimization job by id. Emits `Retry-After` while the job is non-terminal. + * Get an optimization job by id. Returns 202 while in progress, 200 when terminal. *

Header Parameters

* * @@ -3847,165 +3541,121 @@ public Response createOptimizationJobWithResponse(BinaryData job, Re * {@code * { * id: String (Required) - * inputs (Optional): { - * agent (Required): { - * agent_name: String (Required) - * agent_version: String (Optional) - * model: String (Optional) - * system_prompt: String (Optional) - * skills (Optional): [ - * (Optional){ - * name: String (Required) - * description: String (Optional) - * } - * ] + * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) + * error (Optional): { + * code: String (Required) + * message: String (Required) + * param: String (Optional) + * type: String (Optional) + * details (Optional): [ + * (recursive schema, see above) + * ] + * additionalInfo (Optional): { + * String: BinaryData (Required) * } - * dataset (Optional): [ - * (Optional){ - * name: String (Required) - * query: String (Required) - * ground_truth: String (Optional) - * criteria (Optional): [ + * debugInfo (Optional): { + * String: BinaryData (Required) + * } + * } + * result (Optional): { + * baseline (Optional): { + * candidateId: String (Optional) + * name: String (Required) + * config (Required): { + * agentName: String (Optional) + * agentVersion: String (Optional) + * model: String (Optional) + * systemPrompt: String (Optional) + * skills (Optional): [ * (Optional){ - * name: String (Required) - * instruction: String (Required) + * String: BinaryData (Required) * } * ] - * eval_results (Optional): [ + * tools (Optional): [ * (Optional){ - * name: String (Required) - * type: String (Optional) - * score: double (Required) - * passed: boolean (Required) - * sample (Optional): { - * String: BinaryData (Required) - * } - * status: String(completed/errored/skipped) (Optional) - * metric: String (Optional) - * label: String (Optional) - * threshold: Double (Optional) - * reason: String (Optional) - * properties (Optional): { - * String: String (Required) - * } - * (Optional): { - * String: BinaryData (Required) - * } + * String: BinaryData (Required) * } * ] - * response_items (Optional): [ - * BinaryData (Optional) - * ] * } - * ] - * train_dataset_reference (Optional): { - * name: String (Required) - * version: String (Optional) - * } - * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) - * evaluators (Optional): [ - * String (Optional) - * ] - * criteria (Optional): [ - * (recursive schema, see above) - * ] - * options (Optional): { - * strategies (Optional): [ - * String(instruction/model/skill) (Optional) - * ] - * budget: Integer (Optional) - * max_iterations: Integer (Optional) - * tasks_per_iteration: Integer (Optional) - * max_reflection_tasks: Integer (Optional) - * min_improvement: Double (Optional) - * pass_threshold: Double (Optional) - * improvement_threshold: Double (Optional) - * mode: String(optimize) (Optional) - * eval_model: String (Optional) - * reflection_model: String (Optional) - * task_timeout_seconds: Long (Optional) - * keep_versions: Boolean (Optional) - * } - * } - * result (Optional): { - * baseline (Optional): { - * candidate_id: String (Optional) - * name: String (Required) - * config (Required): (recursive schema, see config above) * mutations (Required): { * String: BinaryData (Required) * } - * rationale: String (Required) - * avg_score: double (Required) - * avg_tokens: double (Required) - * pass_rate: double (Required) - * task_scores (Required): [ + * avgScore: double (Required) + * avgTokens: double (Required) + * passRate: double (Required) + * taskScores (Required): [ * (Required){ - * task_name: String (Required) + * taskName: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * composite_score: double (Required) + * compositeScore: double (Required) * tokens: int (Required) - * duration_seconds: double (Required) + * durationSeconds: double (Required) * passed: boolean (Required) - * error_message: String (Optional) + * errorMessage: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * run_id: String (Optional) + * runId: String (Optional) * } * ] - * is_pareto_optimal: boolean (Required) - * sample_avg_score: Double (Optional) - * sample_size: Integer (Optional) - * evaluation_type: String (Optional) - * strategy: String(instruction/model/skill) (Optional) - * eval_id: String (Optional) - * eval_run_id: String (Optional) + * isParetoOptimal: boolean (Required) + * evalId: String (Optional) + * evalRunId: String (Optional) + * promotion (Optional): { + * promotedAt: long (Required) + * agentName: String (Required) + * agentVersion: String (Required) + * } * } * best (Optional): (recursive schema, see best above) * candidates (Optional): [ * (recursive schema, see above) * ] - * pareto_frontier (Optional): [ - * (recursive schema, see above) - * ] - * validation_score (Optional): (recursive schema, see validation_score above) - * options (Optional): (recursive schema, see options above) - * sample_size: Integer (Optional) + * options (Optional): { + * maxIterations: Integer (Optional) + * optimizationConfig (Optional): { + * String: BinaryData (Required) + * } + * evalModel: String (Optional) + * optimizationModel: String (Optional) + * evaluationLevel: String(turn/conversation) (Optional) + * } * warnings (Optional): [ * String (Optional) * ] - * all_strategies_failed: Boolean (Optional) + * allTargetAttributesFailed: Boolean (Optional) * } - * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) - * error (Optional): { - * code: String (Required) - * message: String (Required) - * param: String (Optional) - * type: String (Optional) - * details (Optional): [ - * (recursive schema, see above) - * ] - * additionalInfo (Optional): { - * String: BinaryData (Required) + * inputs (Optional): { + * agent (Required): { + * agentName: String (Required) + * agentVersion: String (Optional) * } - * debugInfo (Optional): { - * String: BinaryData (Required) + * trainDatasetReference (Required): { + * name: String (Required) + * version: String (Optional) * } + * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * evaluators (Optional): [ + * String (Optional) + * ] + * options (Optional): (recursive schema, see options above) * } - * created_at: long (Required) - * updated_at: Long (Optional) + * createdAt: long (Required) + * updatedAt: Long (Optional) * progress (Optional): { - * current_strategy: String(instruction/model/skill) (Required) - * current_iteration: int (Required) - * tasks_completed: int (Required) - * tasks_total: int (Required) - * best_score: double (Required) - * elapsed_seconds: double (Required) + * currentIteration: int (Required) + * bestScore: double (Required) + * elapsedSeconds: double (Required) + * } + * dataset (Optional): { + * name: String (Optional) + * version: String (Optional) + * taskCount: int (Required) + * isInline: boolean (Required) * } * } * } @@ -4030,7 +3680,7 @@ public Response getOptimizationJobWithResponse(String jobId, Request /** * Returns a list of agent optimization jobs. * - * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters. + * List optimization jobs. Supports cursor pagination and optional status / agentName filters. *

Query Parameters

*
Header Parameters
* @@ -4051,7 +3701,7 @@ public Response getOptimizationJobWithResponse(String jobId, Request * subsequent call can include before=obj_foo in order to fetch the previous page of the list. * - * + * *
Query Parameters
statusStringNoFilter to jobs in this lifecycle state. Allowed values: * "queued", "in_progress", "succeeded", "failed", "cancelled".
agent_nameStringNoFilter to jobs targeting this agent name.
agentNameStringNoFilter to jobs targeting this agent name.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -4071,165 +3721,121 @@ public Response getOptimizationJobWithResponse(String jobId, Request * {@code * { * id: String (Required) - * inputs (Optional): { - * agent (Required): { - * agent_name: String (Required) - * agent_version: String (Optional) - * model: String (Optional) - * system_prompt: String (Optional) - * skills (Optional): [ - * (Optional){ - * name: String (Required) - * description: String (Optional) - * } - * ] + * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) + * error (Optional): { + * code: String (Required) + * message: String (Required) + * param: String (Optional) + * type: String (Optional) + * details (Optional): [ + * (recursive schema, see above) + * ] + * additionalInfo (Optional): { + * String: BinaryData (Required) * } - * dataset (Optional): [ - * (Optional){ - * name: String (Required) - * query: String (Required) - * ground_truth: String (Optional) - * criteria (Optional): [ + * debugInfo (Optional): { + * String: BinaryData (Required) + * } + * } + * result (Optional): { + * baseline (Optional): { + * candidateId: String (Optional) + * name: String (Required) + * config (Required): { + * agentName: String (Optional) + * agentVersion: String (Optional) + * model: String (Optional) + * systemPrompt: String (Optional) + * skills (Optional): [ * (Optional){ - * name: String (Required) - * instruction: String (Required) + * String: BinaryData (Required) * } * ] - * eval_results (Optional): [ + * tools (Optional): [ * (Optional){ - * name: String (Required) - * type: String (Optional) - * score: double (Required) - * passed: boolean (Required) - * sample (Optional): { - * String: BinaryData (Required) - * } - * status: String(completed/errored/skipped) (Optional) - * metric: String (Optional) - * label: String (Optional) - * threshold: Double (Optional) - * reason: String (Optional) - * properties (Optional): { - * String: String (Required) - * } - * (Optional): { - * String: BinaryData (Required) - * } + * String: BinaryData (Required) * } * ] - * response_items (Optional): [ - * BinaryData (Optional) - * ] * } - * ] - * train_dataset_reference (Optional): { - * name: String (Required) - * version: String (Optional) - * } - * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) - * evaluators (Optional): [ - * String (Optional) - * ] - * criteria (Optional): [ - * (recursive schema, see above) - * ] - * options (Optional): { - * strategies (Optional): [ - * String(instruction/model/skill) (Optional) - * ] - * budget: Integer (Optional) - * max_iterations: Integer (Optional) - * tasks_per_iteration: Integer (Optional) - * max_reflection_tasks: Integer (Optional) - * min_improvement: Double (Optional) - * pass_threshold: Double (Optional) - * improvement_threshold: Double (Optional) - * mode: String(optimize) (Optional) - * eval_model: String (Optional) - * reflection_model: String (Optional) - * task_timeout_seconds: Long (Optional) - * keep_versions: Boolean (Optional) - * } - * } - * result (Optional): { - * baseline (Optional): { - * candidate_id: String (Optional) - * name: String (Required) - * config (Required): (recursive schema, see config above) * mutations (Required): { * String: BinaryData (Required) * } - * rationale: String (Required) - * avg_score: double (Required) - * avg_tokens: double (Required) - * pass_rate: double (Required) - * task_scores (Required): [ + * avgScore: double (Required) + * avgTokens: double (Required) + * passRate: double (Required) + * taskScores (Required): [ * (Required){ - * task_name: String (Required) + * taskName: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * composite_score: double (Required) + * compositeScore: double (Required) * tokens: int (Required) - * duration_seconds: double (Required) + * durationSeconds: double (Required) * passed: boolean (Required) - * error_message: String (Optional) + * errorMessage: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * run_id: String (Optional) + * runId: String (Optional) * } * ] - * is_pareto_optimal: boolean (Required) - * sample_avg_score: Double (Optional) - * sample_size: Integer (Optional) - * evaluation_type: String (Optional) - * strategy: String(instruction/model/skill) (Optional) - * eval_id: String (Optional) - * eval_run_id: String (Optional) + * isParetoOptimal: boolean (Required) + * evalId: String (Optional) + * evalRunId: String (Optional) + * promotion (Optional): { + * promotedAt: long (Required) + * agentName: String (Required) + * agentVersion: String (Required) + * } * } * best (Optional): (recursive schema, see best above) * candidates (Optional): [ * (recursive schema, see above) * ] - * pareto_frontier (Optional): [ - * (recursive schema, see above) - * ] - * validation_score (Optional): (recursive schema, see validation_score above) - * options (Optional): (recursive schema, see options above) - * sample_size: Integer (Optional) + * options (Optional): { + * maxIterations: Integer (Optional) + * optimizationConfig (Optional): { + * String: BinaryData (Required) + * } + * evalModel: String (Optional) + * optimizationModel: String (Optional) + * evaluationLevel: String(turn/conversation) (Optional) + * } * warnings (Optional): [ * String (Optional) * ] - * all_strategies_failed: Boolean (Optional) + * allTargetAttributesFailed: Boolean (Optional) * } - * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) - * error (Optional): { - * code: String (Required) - * message: String (Required) - * param: String (Optional) - * type: String (Optional) - * details (Optional): [ - * (recursive schema, see above) - * ] - * additionalInfo (Optional): { - * String: BinaryData (Required) + * inputs (Optional): { + * agent (Required): { + * agentName: String (Required) + * agentVersion: String (Optional) * } - * debugInfo (Optional): { - * String: BinaryData (Required) + * trainDatasetReference (Required): { + * name: String (Required) + * version: String (Optional) * } + * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * evaluators (Optional): [ + * String (Optional) + * ] + * options (Optional): (recursive schema, see options above) * } - * created_at: long (Required) - * updated_at: Long (Optional) + * createdAt: long (Required) + * updatedAt: Long (Optional) * progress (Optional): { - * current_strategy: String(instruction/model/skill) (Required) - * current_iteration: int (Required) - * tasks_completed: int (Required) - * tasks_total: int (Required) - * best_score: double (Required) - * elapsed_seconds: double (Required) + * currentIteration: int (Required) + * bestScore: double (Required) + * elapsedSeconds: double (Required) + * } + * dataset (Optional): { + * name: String (Optional) + * version: String (Optional) + * taskCount: int (Required) + * isInline: boolean (Required) * } * } * } @@ -4269,165 +3875,121 @@ public PagedIterable listOptimizationJobs(RequestOptions requestOpti * {@code * { * id: String (Required) - * inputs (Optional): { - * agent (Required): { - * agent_name: String (Required) - * agent_version: String (Optional) - * model: String (Optional) - * system_prompt: String (Optional) - * skills (Optional): [ - * (Optional){ - * name: String (Required) - * description: String (Optional) - * } - * ] + * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) + * error (Optional): { + * code: String (Required) + * message: String (Required) + * param: String (Optional) + * type: String (Optional) + * details (Optional): [ + * (recursive schema, see above) + * ] + * additionalInfo (Optional): { + * String: BinaryData (Required) * } - * dataset (Optional): [ - * (Optional){ - * name: String (Required) - * query: String (Required) - * ground_truth: String (Optional) - * criteria (Optional): [ + * debugInfo (Optional): { + * String: BinaryData (Required) + * } + * } + * result (Optional): { + * baseline (Optional): { + * candidateId: String (Optional) + * name: String (Required) + * config (Required): { + * agentName: String (Optional) + * agentVersion: String (Optional) + * model: String (Optional) + * systemPrompt: String (Optional) + * skills (Optional): [ * (Optional){ - * name: String (Required) - * instruction: String (Required) + * String: BinaryData (Required) * } * ] - * eval_results (Optional): [ + * tools (Optional): [ * (Optional){ - * name: String (Required) - * type: String (Optional) - * score: double (Required) - * passed: boolean (Required) - * sample (Optional): { - * String: BinaryData (Required) - * } - * status: String(completed/errored/skipped) (Optional) - * metric: String (Optional) - * label: String (Optional) - * threshold: Double (Optional) - * reason: String (Optional) - * properties (Optional): { - * String: String (Required) - * } - * (Optional): { - * String: BinaryData (Required) - * } + * String: BinaryData (Required) * } * ] - * response_items (Optional): [ - * BinaryData (Optional) - * ] * } - * ] - * train_dataset_reference (Optional): { - * name: String (Required) - * version: String (Optional) - * } - * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) - * evaluators (Optional): [ - * String (Optional) - * ] - * criteria (Optional): [ - * (recursive schema, see above) - * ] - * options (Optional): { - * strategies (Optional): [ - * String(instruction/model/skill) (Optional) - * ] - * budget: Integer (Optional) - * max_iterations: Integer (Optional) - * tasks_per_iteration: Integer (Optional) - * max_reflection_tasks: Integer (Optional) - * min_improvement: Double (Optional) - * pass_threshold: Double (Optional) - * improvement_threshold: Double (Optional) - * mode: String(optimize) (Optional) - * eval_model: String (Optional) - * reflection_model: String (Optional) - * task_timeout_seconds: Long (Optional) - * keep_versions: Boolean (Optional) - * } - * } - * result (Optional): { - * baseline (Optional): { - * candidate_id: String (Optional) - * name: String (Required) - * config (Required): (recursive schema, see config above) * mutations (Required): { * String: BinaryData (Required) * } - * rationale: String (Required) - * avg_score: double (Required) - * avg_tokens: double (Required) - * pass_rate: double (Required) - * task_scores (Required): [ + * avgScore: double (Required) + * avgTokens: double (Required) + * passRate: double (Required) + * taskScores (Required): [ * (Required){ - * task_name: String (Required) + * taskName: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * composite_score: double (Required) + * compositeScore: double (Required) * tokens: int (Required) - * duration_seconds: double (Required) + * durationSeconds: double (Required) * passed: boolean (Required) - * error_message: String (Optional) + * errorMessage: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * run_id: String (Optional) + * runId: String (Optional) * } * ] - * is_pareto_optimal: boolean (Required) - * sample_avg_score: Double (Optional) - * sample_size: Integer (Optional) - * evaluation_type: String (Optional) - * strategy: String(instruction/model/skill) (Optional) - * eval_id: String (Optional) - * eval_run_id: String (Optional) + * isParetoOptimal: boolean (Required) + * evalId: String (Optional) + * evalRunId: String (Optional) + * promotion (Optional): { + * promotedAt: long (Required) + * agentName: String (Required) + * agentVersion: String (Required) + * } * } * best (Optional): (recursive schema, see best above) * candidates (Optional): [ * (recursive schema, see above) * ] - * pareto_frontier (Optional): [ - * (recursive schema, see above) - * ] - * validation_score (Optional): (recursive schema, see validation_score above) - * options (Optional): (recursive schema, see options above) - * sample_size: Integer (Optional) + * options (Optional): { + * maxIterations: Integer (Optional) + * optimizationConfig (Optional): { + * String: BinaryData (Required) + * } + * evalModel: String (Optional) + * optimizationModel: String (Optional) + * evaluationLevel: String(turn/conversation) (Optional) + * } * warnings (Optional): [ * String (Optional) * ] - * all_strategies_failed: Boolean (Optional) + * allTargetAttributesFailed: Boolean (Optional) * } - * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) - * error (Optional): { - * code: String (Required) - * message: String (Required) - * param: String (Optional) - * type: String (Optional) - * details (Optional): [ - * (recursive schema, see above) - * ] - * additionalInfo (Optional): { - * String: BinaryData (Required) + * inputs (Optional): { + * agent (Required): { + * agentName: String (Required) + * agentVersion: String (Optional) * } - * debugInfo (Optional): { - * String: BinaryData (Required) + * trainDatasetReference (Required): { + * name: String (Required) + * version: String (Optional) * } + * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * evaluators (Optional): [ + * String (Optional) + * ] + * options (Optional): (recursive schema, see options above) * } - * created_at: long (Required) - * updated_at: Long (Optional) + * createdAt: long (Required) + * updatedAt: Long (Optional) * progress (Optional): { - * current_strategy: String(instruction/model/skill) (Required) - * current_iteration: int (Required) - * tasks_completed: int (Required) - * tasks_total: int (Required) - * best_score: double (Required) - * elapsed_seconds: double (Required) + * currentIteration: int (Required) + * bestScore: double (Required) + * elapsedSeconds: double (Required) + * } + * dataset (Optional): { + * name: String (Optional) + * version: String (Optional) + * taskCount: int (Required) + * isInline: boolean (Required) * } * } * } @@ -4440,7 +4002,7 @@ public PagedIterable listOptimizationJobs(RequestOptions requestOpti * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @return agent optimization job resource — a long-running job that optimizes an agent's configuration - * (instructions, model, skills) to maximize evaluation scores along with {@link Response}. + * (instructions, model, skills, tools) to maximize evaluation scores along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) @@ -4452,6 +4014,14 @@ public Response cancelOptimizationJobWithResponse(String jobId, Requ * Deletes an agent optimization job. * * Delete the job and its candidate artifacts. Cancels first if non-terminal. + *

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
forceBooleanNoWhen true, force-delete even if the job is in a non-terminal + * state.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * @@ -4520,53 +4090,57 @@ public Response deleteOptimizationJobWithResponse(String jobId, RequestOpt * { * data (Required): [ * (Required){ - * candidate_id: String (Optional) + * candidateId: String (Optional) * name: String (Required) * config (Required): { - * agent_name: String (Required) - * agent_version: String (Optional) + * agentName: String (Optional) + * agentVersion: String (Optional) * model: String (Optional) - * system_prompt: String (Optional) + * systemPrompt: String (Optional) * skills (Optional): [ * (Optional){ - * name: String (Required) - * description: String (Optional) + * String: BinaryData (Required) + * } + * ] + * tools (Optional): [ + * (Optional){ + * String: BinaryData (Required) * } * ] * } * mutations (Required): { * String: BinaryData (Required) * } - * rationale: String (Required) - * avg_score: double (Required) - * avg_tokens: double (Required) - * pass_rate: double (Required) - * task_scores (Required): [ + * avgScore: double (Required) + * avgTokens: double (Required) + * passRate: double (Required) + * taskScores (Required): [ * (Required){ - * task_name: String (Required) + * taskName: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * composite_score: double (Required) + * compositeScore: double (Required) * tokens: int (Required) - * duration_seconds: double (Required) + * durationSeconds: double (Required) * passed: boolean (Required) - * error_message: String (Optional) + * errorMessage: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * run_id: String (Optional) + * runId: String (Optional) * } * ] - * is_pareto_optimal: boolean (Required) - * sample_avg_score: Double (Optional) - * sample_size: Integer (Optional) - * evaluation_type: String (Optional) - * strategy: String(instruction/model/skill) (Optional) - * eval_id: String (Optional) - * eval_run_id: String (Optional) + * isParetoOptimal: boolean (Required) + * evalId: String (Optional) + * evalRunId: String (Optional) + * promotion (Optional): { + * promotedAt: long (Required) + * agentName: String (Required) + * agentVersion: String (Required) + * } * } * ] * first_id: String (Optional) @@ -4593,7 +4167,7 @@ public Response listOptimizationCandidatesWithResponse(String jobId, /** * Get a candidate by id. * - * Get a single candidate manifest and aggregated evaluation summary. + * Get a single candidate's metadata, manifest, and promotion info. *

Header Parameters

*
Header Parameters
* @@ -4610,53 +4184,26 @@ public Response listOptimizationCandidatesWithResponse(String jobId, *
      * {@code
      * {
-     *     candidate_id: String (Optional)
-     *     name: String (Required)
-     *     config (Required): {
-     *         agent_name: String (Required)
-     *         agent_version: String (Optional)
-     *         model: String (Optional)
-     *         system_prompt: String (Optional)
-     *         skills (Optional): [
-     *              (Optional){
-     *                 name: String (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
+     *     candidateId: String (Required)
+     *     jobId: String (Required)
+     *     candidateName: String (Required)
+     *     status: String (Required)
+     *     score: Double (Optional)
+     *     hasResults: boolean (Required)
+     *     createdAt: long (Required)
+     *     updatedAt: long (Required)
+     *     promotion (Optional): {
+     *         promotedAt: long (Required)
+     *         agentName: String (Required)
+     *         agentVersion: String (Required)
      *     }
-     *     mutations (Required): {
-     *         String: BinaryData (Required)
-     *     }
-     *     rationale: String (Required)
-     *     avg_score: double (Required)
-     *     avg_tokens: double (Required)
-     *     pass_rate: double (Required)
-     *     task_scores (Required): [
+     *     files (Required): [
      *          (Required){
-     *             task_name: String (Required)
-     *             query: String (Optional)
-     *             scores (Required): {
-     *                 String: double (Required)
-     *             }
-     *             composite_score: double (Required)
-     *             tokens: int (Required)
-     *             duration_seconds: double (Required)
-     *             passed: boolean (Required)
-     *             error_message: String (Optional)
-     *             rationales (Optional): {
-     *                 String: String (Required)
-     *             }
-     *             response: String (Optional)
-     *             run_id: String (Optional)
+     *             path: String (Required)
+     *             type: String (Required)
+     *             sizeBytes: long (Required)
      *         }
      *     ]
-     *     is_pareto_optimal: boolean (Required)
-     *     sample_avg_score: Double (Optional)
-     *     sample_size: Integer (Optional)
-     *     evaluation_type: String (Optional)
-     *     strategy: String(instruction/model/skill) (Optional)
-     *     eval_id: String (Optional)
-     *     eval_run_id: String (Optional)
      * }
      * }
      * 
@@ -4670,7 +4217,7 @@ public Response listOptimizationCandidatesWithResponse(String jobId, * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @return a candidate by id. * - * Get a single candidate manifest and aggregated evaluation summary along with {@link Response}. + * Get a single candidate's metadata, manifest, and promotion info along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) @@ -4704,8 +4251,12 @@ public Response getOptimizationCandidateWithResponse(String jobId, S * temperature: Double (Optional) * skills (Optional): [ * (Optional){ - * name: String (Required) - * description: String (Optional) + * String: BinaryData (Required) + * } + * ] + * tools (Optional): [ + * (Optional){ + * String: BinaryData (Required) * } * ] * } @@ -4750,24 +4301,24 @@ public Response getOptimizationCandidateConfigWithResponse(String jo *
      * {@code
      * {
-     *     candidate_id: String (Required)
+     *     candidateId: String (Required)
      *     results (Required): [
      *          (Required){
-     *             task_name: String (Required)
+     *             taskName: String (Required)
      *             query: String (Optional)
      *             scores (Required): {
      *                 String: double (Required)
      *             }
-     *             composite_score: double (Required)
+     *             compositeScore: double (Required)
      *             tokens: int (Required)
-     *             duration_seconds: double (Required)
+     *             durationSeconds: double (Required)
      *             passed: boolean (Required)
-     *             error_message: String (Optional)
+     *             errorMessage: String (Optional)
      *             rationales (Optional): {
      *                 String: String (Required)
      *             }
      *             response: String (Optional)
-     *             run_id: String (Optional)
+     *             runId: String (Optional)
      *         }
      *     ]
      * }
@@ -4792,69 +4343,10 @@ public Response getOptimizationCandidateResultsWithResponse(String j
         return this.serviceClient.getOptimizationCandidateResultsWithResponse(jobId, candidateId, requestOptions);
     }
 
-    /**
-     * Creates an agent optimization job.
-     *
-     * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry.
-     *
-     * @param job The job to create.
-     * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted
-     * preview resources.
-     * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job
-     * unconditionally.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return agent optimization job resource — a long-running job that optimizes an agent's configuration
-     * (instructions, model, skills) to maximize evaluation scores.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public OptimizationJob createOptimizationJob(OptimizationJob job, FoundryFeaturesOptInKeys foundryFeatures,
-        String operationId) {
-        // Generated convenience method for createOptimizationJobWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        if (foundryFeatures != null) {
-            requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString());
-        }
-        if (operationId != null) {
-            requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId);
-        }
-        return createOptimizationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue()
-            .toObject(OptimizationJob.class);
-    }
-
-    /**
-     * Creates an agent optimization job.
-     *
-     * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry.
-     *
-     * @param job The job to create.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return agent optimization job resource — a long-running job that optimizes an agent's configuration
-     * (instructions, model, skills) to maximize evaluation scores.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public OptimizationJob createOptimizationJob(OptimizationJob job) {
-        // Generated convenience method for createOptimizationJobWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        return createOptimizationJobWithResponse(BinaryData.fromObject(job), requestOptions).getValue()
-            .toObject(OptimizationJob.class);
-    }
-
     /**
      * Get info about an agent optimization job.
      *
-     * Get an optimization job by id. Emits `Retry-After` while the job is non-terminal.
+     * Get an optimization job by id. Returns 202 while in progress, 200 when terminal.
      *
      * @param jobId The ID of the job.
      * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted
@@ -4883,7 +4375,7 @@ public OptimizationJob getOptimizationJob(String jobId, FoundryFeaturesOptInKeys
     /**
      * Get info about an agent optimization job.
      *
-     * Get an optimization job by id. Emits `Retry-After` while the job is non-terminal.
+     * Get an optimization job by id. Returns 202 while in progress, 200 when terminal.
      *
      * @param jobId The ID of the job.
      * @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -4907,7 +4399,7 @@ public OptimizationJob getOptimizationJob(String jobId) {
     /**
      * Returns a list of agent optimization jobs.
      *
-     * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters.
+     * List optimization jobs. Supports cursor pagination and optional status / agentName filters.
      *
      * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted
      * preview resources.
@@ -4956,7 +4448,7 @@ public PagedIterable listOptimizationJobs(FoundryFeaturesOptInK
             requestOptions.addQueryParam("status", status.toString(), false);
         }
         if (agentName != null) {
-            requestOptions.addQueryParam("agent_name", agentName, false);
+            requestOptions.addQueryParam("agentName", agentName, false);
         }
         return serviceClient.listOptimizationJobs(requestOptions)
             .mapPage(bodyItemValue -> bodyItemValue.toObject(OptimizationJob.class));
@@ -4965,7 +4457,7 @@ public PagedIterable listOptimizationJobs(FoundryFeaturesOptInK
     /**
      * Returns a list of agent optimization jobs.
      *
-     * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters.
+     * List optimization jobs. Supports cursor pagination and optional status / agentName filters.
      *
      * @throws HttpResponseException thrown if the request is rejected by server.
      * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
@@ -4998,7 +4490,7 @@ public PagedIterable listOptimizationJobs() {
      * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
      * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
      * @return agent optimization job resource — a long-running job that optimizes an agent's configuration
-     * (instructions, model, skills) to maximize evaluation scores.
+     * (instructions, model, skills, tools) to maximize evaluation scores.
      */
     @Generated
     @ServiceMethod(returns = ReturnType.SINGLE)
@@ -5024,7 +4516,7 @@ public OptimizationJob cancelOptimizationJob(String jobId, FoundryFeaturesOptInK
      * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
      * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
      * @return agent optimization job resource — a long-running job that optimizes an agent's configuration
-     * (instructions, model, skills) to maximize evaluation scores.
+     * (instructions, model, skills, tools) to maximize evaluation scores.
      */
     @Generated
     @ServiceMethod(returns = ReturnType.SINGLE)
@@ -5034,32 +4526,6 @@ public OptimizationJob cancelOptimizationJob(String jobId) {
         return cancelOptimizationJobWithResponse(jobId, requestOptions).getValue().toObject(OptimizationJob.class);
     }
 
-    /**
-     * Deletes an agent optimization job.
-     *
-     * Delete the job and its candidate artifacts. Cancels first if non-terminal.
-     *
-     * @param jobId The ID of the job to delete.
-     * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted
-     * preview resources.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public void deleteOptimizationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures) {
-        // Generated convenience method for deleteOptimizationJobWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        if (foundryFeatures != null) {
-            requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString());
-        }
-        deleteOptimizationJobWithResponse(jobId, requestOptions).getValue();
-    }
-
     /**
      * Deletes an agent optimization job.
      *
@@ -5158,7 +4624,7 @@ public AgentsPagedResultOptimizationCandidate listOptimizationCandidates(String
     /**
      * Get a candidate by id.
      *
-     * Get a single candidate manifest and aggregated evaluation summary.
+     * Get a single candidate's metadata, manifest, and promotion info.
      *
      * @param jobId The optimization job id.
      * @param candidateId The candidate id.
@@ -5172,11 +4638,11 @@ public AgentsPagedResultOptimizationCandidate listOptimizationCandidates(String
      * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
      * @return a candidate by id.
      *
-     * Get a single candidate manifest and aggregated evaluation summary.
+     * Get a single candidate's metadata, manifest, and promotion info.
      */
     @Generated
     @ServiceMethod(returns = ReturnType.SINGLE)
-    public OptimizationCandidate getOptimizationCandidate(String jobId, String candidateId,
+    public CandidateMetadata getOptimizationCandidate(String jobId, String candidateId,
         FoundryFeaturesOptInKeys foundryFeatures) {
         // Generated convenience method for getOptimizationCandidateWithResponse
         RequestOptions requestOptions = new RequestOptions();
@@ -5184,13 +4650,13 @@ public OptimizationCandidate getOptimizationCandidate(String jobId, String candi
             requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString());
         }
         return getOptimizationCandidateWithResponse(jobId, candidateId, requestOptions).getValue()
-            .toObject(OptimizationCandidate.class);
+            .toObject(CandidateMetadata.class);
     }
 
     /**
      * Get a candidate by id.
      *
-     * Get a single candidate manifest and aggregated evaluation summary.
+     * Get a single candidate's metadata, manifest, and promotion info.
      *
      * @param jobId The optimization job id.
      * @param candidateId The candidate id.
@@ -5202,15 +4668,15 @@ public OptimizationCandidate getOptimizationCandidate(String jobId, String candi
      * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
      * @return a candidate by id.
      *
-     * Get a single candidate manifest and aggregated evaluation summary.
+     * Get a single candidate's metadata, manifest, and promotion info.
      */
     @Generated
     @ServiceMethod(returns = ReturnType.SINGLE)
-    public OptimizationCandidate getOptimizationCandidate(String jobId, String candidateId) {
+    public CandidateMetadata getOptimizationCandidate(String jobId, String candidateId) {
         // Generated convenience method for getOptimizationCandidateWithResponse
         RequestOptions requestOptions = new RequestOptions();
         return getOptimizationCandidateWithResponse(jobId, candidateId, requestOptions).getValue()
-            .toObject(OptimizationCandidate.class);
+            .toObject(CandidateMetadata.class);
     }
 
     /**
@@ -5328,4 +4794,536 @@ public CandidateResults getOptimizationCandidateResults(String jobId, String can
         return getOptimizationCandidateResultsWithResponse(jobId, candidateId, requestOptions).getValue()
             .toObject(CandidateResults.class);
     }
+
+    /**
+     * Stops a session.
+     * Returns 204 No Content when the stop succeeds.
+     * 

Header Parameters

+ *
Header Parameters
+ * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param agentName The name of the agent. + * @param sessionId The session identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response stopSessionWithResponse(String agentName, String sessionId, RequestOptions requestOptions) { + return this.serviceClient.stopSessionWithResponse(agentName, sessionId, requestOptions); + } + + /** + * Creates a new session for an agent endpoint. + * The endpoint resolves the backing agent version from `version_indicator` and + * enforces session ownership using the provided isolation key for session-mutating operations. + * + * @param agentName The name of the agent to create a session for. + * @param versionIndicator Determines which agent version backs the session. + * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, + * conversations, sessions) to a specific end user. + * @param agentSessionId Optional caller-provided session ID. If specified, it must be unique within the agent + * endpoint. Auto-generated if omitted. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return an agent session providing a long-lived compute sandbox for hosted agent invocations. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public AgentSessionResource createSession(String agentName, VersionIndicator versionIndicator, + String userIsolationKey, String agentSessionId) { + // Generated convenience method for createSessionWithResponse + RequestOptions requestOptions = new RequestOptions(); + CreateSessionRequest createSessionRequestObj + = new CreateSessionRequest(versionIndicator).setAgentSessionId(agentSessionId); + BinaryData createSessionRequest = BinaryData.fromObject(createSessionRequestObj); + if (userIsolationKey != null) { + requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); + } + return createSessionWithResponse(agentName, createSessionRequest, requestOptions).getValue() + .toObject(AgentSessionResource.class); + } + + /** + * Retrieves a session by ID. + * + * @param agentName The name of the agent. + * @param sessionId The session identifier. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, + * conversations, sessions) to a specific end user. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return an agent session providing a long-lived compute sandbox for hosted agent invocations. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public AgentSessionResource getSession(String agentName, String sessionId, AgentDefinitionOptInKeys foundryFeatures, + String userIsolationKey) { + // Generated convenience method for getSessionWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (userIsolationKey != null) { + requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); + } + return getSessionWithResponse(agentName, sessionId, requestOptions).getValue() + .toObject(AgentSessionResource.class); + } + + /** + * Deletes a session synchronously. + * Returns 204 No Content when the session is deleted or does not exist. + * + * @param agentName The name of the agent. + * @param sessionId The session identifier. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, + * conversations, sessions) to a specific end user. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteSession(String agentName, String sessionId, AgentDefinitionOptInKeys foundryFeatures, + String userIsolationKey) { + // Generated convenience method for deleteSessionWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (userIsolationKey != null) { + requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); + } + deleteSessionWithResponse(agentName, sessionId, requestOptions).getValue(); + } + + /** + * Stops a session. + * Returns 204 No Content when the stop succeeds. + * + * @param agentName The name of the agent. + * @param sessionId The session identifier. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void stopSession(String agentName, String sessionId, AgentDefinitionOptInKeys foundryFeatures) { + // Generated convenience method for stopSessionWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + stopSessionWithResponse(agentName, sessionId, requestOptions).getValue(); + } + + /** + * Stops a session. + * Returns 204 No Content when the stop succeeds. + * + * @param agentName The name of the agent. + * @param sessionId The session identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void stopSession(String agentName, String sessionId) { + // Generated convenience method for stopSessionWithResponse + RequestOptions requestOptions = new RequestOptions(); + stopSessionWithResponse(agentName, sessionId, requestOptions).getValue(); + } + + /** + * Returns a list of sessions for the specified agent. + * + * @param agentName The name of the agent. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, + * conversations, sessions) to a specific end user. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listSessions(String agentName, AgentDefinitionOptInKeys foundryFeatures, + String userIsolationKey, Integer limit, PageOrder order, String after, String before) { + // Generated convenience method for listSessions + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (userIsolationKey != null) { + requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + return serviceClient.listSessions(agentName, requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(AgentSessionResource.class)); + } + + /** + * Creates an agent optimization job. + * + * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry. + * + * @param body The optimization job inputs. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job + * unconditionally. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills, tools) to maximize evaluation scores. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public OptimizationJob createOptimizationJob(OptimizationJobInputs body, FoundryFeaturesOptInKeys foundryFeatures, + String operationId) { + // Generated convenience method for createOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (operationId != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId); + } + return createOptimizationJobWithResponse(BinaryData.fromObject(body), requestOptions).getValue() + .toObject(OptimizationJob.class); + } + + /** + * Creates an agent optimization job. + * + * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry. + * + * @param body The optimization job inputs. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return agent optimization job resource — a long-running job that optimizes an agent's configuration + * (instructions, model, skills, tools) to maximize evaluation scores. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public OptimizationJob createOptimizationJob(OptimizationJobInputs body) { + // Generated convenience method for createOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + return createOptimizationJobWithResponse(BinaryData.fromObject(body), requestOptions).getValue() + .toObject(OptimizationJob.class); + } + + /** + * Deletes an agent optimization job. + * + * Delete the job and its candidate artifacts. Cancels first if non-terminal. + * + * @param jobId The ID of the job to delete. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param force When true, force-delete even if the job is in a non-terminal state. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteOptimizationJob(String jobId, FoundryFeaturesOptInKeys foundryFeatures, Boolean force) { + // Generated convenience method for deleteOptimizationJobWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (force != null) { + requestOptions.addQueryParam("force", String.valueOf(force), false); + } + deleteOptimizationJobWithResponse(jobId, requestOptions).getValue(); + } + + /** + * Promote a candidate. + * + * Promotes a candidate, recording the deployment timestamp and target agent version. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     agentName: String (Required)
+     *     agentVersion: String (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     candidateId: String (Required)
+     *     status: String (Required)
+     *     promotedAt: long (Required)
+     *     agentName: String (Required)
+     *     agentVersion: String (Required)
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id to promote. + * @param body Promotion details. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response after successfully promoting a candidate along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response promoteCandidateWithResponse(String jobId, String candidateId, BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.promoteCandidateWithResponse(jobId, candidateId, body, requestOptions); + } + + /** + * Promote a candidate. + * + * Promotes a candidate, recording the deployment timestamp and target agent version. + * + * @param jobId The optimization job id. + * @param candidateId The candidate id to promote. + * @param body Promotion details. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response after successfully promoting a candidate. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public PromoteCandidateResponse promoteCandidate(String jobId, String candidateId, PromoteCandidateRequest body, + FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for promoteCandidateWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return promoteCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(body), requestOptions).getValue() + .toObject(PromoteCandidateResponse.class); + } + + /** + * Promote a candidate. + * + * Promotes a candidate, recording the deployment timestamp and target agent version. + * + * @param jobId The optimization job id. + * @param candidateId The candidate id to promote. + * @param body Promotion details. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response after successfully promoting a candidate. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public PromoteCandidateResponse promoteCandidate(String jobId, String candidateId, PromoteCandidateRequest body) { + // Generated convenience method for promoteCandidateWithResponse + RequestOptions requestOptions = new RequestOptions(); + return promoteCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(body), requestOptions).getValue() + .toObject(PromoteCandidateResponse.class); + } + + /** + * Get a candidate file. + * + * Stream a specific file from the candidate's blob directory. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param path Relative path of the file to download (e.g. 'files/examples.jsonl'). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a candidate file. + * + * Stream a specific file from the candidate's blob directory along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCandidateFileWithResponse(String jobId, String candidateId, String path, + RequestOptions requestOptions) { + return this.serviceClient.getCandidateFileWithResponse(jobId, candidateId, path, requestOptions); + } + + /** + * Get a candidate file. + * + * Stream a specific file from the candidate's blob directory. + * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param path Relative path of the file to download (e.g. 'files/examples.jsonl'). + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a candidate file. + * + * Stream a specific file from the candidate's blob directory. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCandidateFile(String jobId, String candidateId, String path, + FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getCandidateFileWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getCandidateFileWithResponse(jobId, candidateId, path, requestOptions).getValue(); + } + + /** + * Get a candidate file. + * + * Stream a specific file from the candidate's blob directory. + * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param path Relative path of the file to download (e.g. 'files/examples.jsonl'). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a candidate file. + * + * Stream a specific file from the candidate's blob directory. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCandidateFile(String jobId, String candidateId, String path) { + // Generated convenience method for getCandidateFileWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCandidateFileWithResponse(jobId, candidateId, path, requestOptions).getValue(); + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java index ecc5ca171573..a8e11d06bd0c 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java @@ -6,10 +6,10 @@ import com.azure.ai.agents.implementation.ToolboxesImpl; import com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest; import com.azure.ai.agents.implementation.models.UpdateToolboxRequest; +import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.PageOrder; import com.azure.ai.agents.models.Tool; import com.azure.ai.agents.models.ToolboxDetails; -import com.azure.ai.agents.models.ToolboxPolicies; import com.azure.ai.agents.models.ToolboxVersionDetails; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; @@ -19,6 +19,7 @@ import com.azure.core.exception.HttpResponseException; import com.azure.core.exception.ResourceModifiedException; import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpHeaderName; import com.azure.core.http.rest.PagedFlux; import com.azure.core.http.rest.PagedResponse; import com.azure.core.http.rest.PagedResponseBase; @@ -27,7 +28,6 @@ import com.azure.core.util.BinaryData; import com.azure.core.util.FluxUtil; import java.util.List; -import java.util.Map; import java.util.stream.Collectors; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,6 +67,11 @@ public final class ToolboxesAsyncClient { * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] + * skills (Optional): [ + * (Optional){ + * type: String (Required) + * } + * ] * policies (Optional): { * rai_config (Optional): { * rai_policy_name: String (Required) @@ -94,6 +99,11 @@ public final class ToolboxesAsyncClient { * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] + * skills (Optional): [ + * (Optional){ + * type: String (Required) + * } + * ] * policies (Optional): { * rai_config (Optional): { * rai_policy_name: String (Required) @@ -236,6 +246,11 @@ public PagedFlux listToolboxes(RequestOptions requestOptions) { * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] + * skills (Optional): [ + * (Optional){ + * type: String (Required) + * } + * ] * policies (Optional): { * rai_config (Optional): { * rai_policy_name: String (Required) @@ -279,6 +294,11 @@ public PagedFlux listToolboxVersions(String name, RequestOptions req * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] + * skills (Optional): [ + * (Optional){ + * type: String (Required) + * } + * ] * policies (Optional): { * rai_config (Optional): { * rai_policy_name: String (Required) @@ -386,9 +406,6 @@ public Mono> deleteToolboxVersionWithResponse(String name, String * * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param tools The list of tools to include in this version. - * @param description A human-readable description of the toolbox. - * @param metadata Arbitrary key-value metadata to associate with the toolbox. - * @param policies Policy configuration for this toolbox version. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -397,40 +414,14 @@ public Mono> deleteToolboxVersionWithResponse(String name, String * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a specific version of a toolbox on successful completion of {@link Mono}. */ - @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createToolboxVersion(String name, List tools, String description, - Map metadata, ToolboxPolicies policies) { - // Generated convenience method for createToolboxVersionWithResponse - RequestOptions requestOptions = new RequestOptions(); - CreateToolboxVersionRequest createToolboxVersionRequestObj - = new CreateToolboxVersionRequest(tools).setDescription(description) - .setMetadata(metadata) - .setPolicies(policies); - BinaryData createToolboxVersionRequest = BinaryData.fromObject(createToolboxVersionRequestObj); - return createToolboxVersionWithResponse(name, createToolboxVersionRequest, requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(ToolboxVersionDetails.class)); - } - - /** - * Create a new version of a toolbox. If the toolbox does not exist, it will be created. - * - * @param name The name of the toolbox. If the toolbox does not exist, it will be created. - * @param tools The list of tools to include in this version. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a specific version of a toolbox on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createToolboxVersion(String name, List tools) { + public Mono createToolboxVersion(String name, List tools, + FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for createToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } CreateToolboxVersionRequest createToolboxVersionRequestObj = new CreateToolboxVersionRequest(tools); BinaryData createToolboxVersionRequest = BinaryData.fromObject(createToolboxVersionRequestObj); return createToolboxVersionWithResponse(name, createToolboxVersionRequest, requestOptions) @@ -450,11 +441,13 @@ public Mono createToolboxVersion(String name, List * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a toolbox that stores reusable tool definitions for agents on successful completion of {@link Mono}. */ - @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getToolbox(String name) { + public Mono getToolbox(String name, FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for getToolboxWithResponse RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } return getToolboxWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(ToolboxDetails.class)); } @@ -480,11 +473,14 @@ public Mono getToolbox(String name) { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. */ - @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listToolboxes(Integer limit, PageOrder order, String after, String before) { + public PagedFlux listToolboxes(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, + PageOrder order, String after, String before) { // Generated convenience method for listToolboxes RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } if (limit != null) { requestOptions.addQueryParam("limit", String.valueOf(limit), false); } @@ -522,11 +518,13 @@ public PagedFlux listToolboxes(Integer limit, PageOrder order, S * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. */ - @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listToolboxes() { + public PagedFlux listToolboxes(FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for listToolboxes RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } PagedFlux pagedFluxResponse = listToolboxes(requestOptions); return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { Flux> flux = (continuationTokenParam == null) @@ -564,12 +562,14 @@ public PagedFlux listToolboxes() { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. */ - @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listToolboxVersions(String name, Integer limit, PageOrder order, - String after, String before) { + public PagedFlux listToolboxVersions(String name, FoundryFeaturesOptInKeys foundryFeatures, + Integer limit, PageOrder order, String after, String before) { // Generated convenience method for listToolboxVersions RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } if (limit != null) { requestOptions.addQueryParam("limit", String.valueOf(limit), false); } @@ -610,11 +610,13 @@ public PagedFlux listToolboxVersions(String name, Integer * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. */ - @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listToolboxVersions(String name) { + public PagedFlux listToolboxVersions(String name, FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for listToolboxVersions RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } PagedFlux pagedFluxResponse = listToolboxVersions(name, requestOptions); return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { Flux> flux = (continuationTokenParam == null) @@ -644,11 +646,14 @@ public PagedFlux listToolboxVersions(String name) { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a specific version of a toolbox on successful completion of {@link Mono}. */ - @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getToolboxVersion(String name, String version) { + public Mono getToolboxVersion(String name, String version, + FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for getToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } return getToolboxVersionWithResponse(name, version, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(ToolboxVersionDetails.class)); } @@ -667,11 +672,14 @@ public Mono getToolboxVersion(String name, String version * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a toolbox that stores reusable tool definitions for agents on successful completion of {@link Mono}. */ - @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateToolbox(String name, String defaultVersion) { + public Mono updateToolbox(String name, String defaultVersion, + FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for updateToolboxWithResponse RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } UpdateToolboxRequest updateToolboxRequestObj = new UpdateToolboxRequest(defaultVersion); BinaryData updateToolboxRequest = BinaryData.fromObject(updateToolboxRequestObj); return updateToolboxWithResponse(name, updateToolboxRequest, requestOptions).flatMap(FluxUtil::toMono) @@ -690,11 +698,13 @@ public Mono updateToolbox(String name, String defaultVersion) { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return A {@link Mono} that completes when a successful response is received. */ - @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteToolbox(String name) { + public Mono deleteToolbox(String name, FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for deleteToolboxWithResponse RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } return deleteToolboxWithResponse(name, requestOptions).flatMap(FluxUtil::toMono); } @@ -711,11 +721,13 @@ public Mono deleteToolbox(String name) { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return A {@link Mono} that completes when a successful response is received. */ - @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteToolboxVersion(String name, String version) { + public Mono deleteToolboxVersion(String name, String version, FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for deleteToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } return deleteToolboxVersionWithResponse(name, version, requestOptions).flatMap(FluxUtil::toMono); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java index f07483a6da32..9ddb3b8fe77d 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java @@ -6,10 +6,12 @@ import com.azure.ai.agents.implementation.ToolboxesImpl; import com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest; import com.azure.ai.agents.implementation.models.UpdateToolboxRequest; +import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.PageOrder; import com.azure.ai.agents.models.Tool; import com.azure.ai.agents.models.ToolboxDetails; import com.azure.ai.agents.models.ToolboxPolicies; +import com.azure.ai.agents.models.ToolboxSkill; import com.azure.ai.agents.models.ToolboxVersionDetails; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; @@ -19,6 +21,7 @@ import com.azure.core.exception.HttpResponseException; import com.azure.core.exception.ResourceModifiedException; import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpHeaderName; import com.azure.core.http.rest.PagedIterable; import com.azure.core.http.rest.RequestOptions; import com.azure.core.http.rest.Response; @@ -61,6 +64,11 @@ public final class ToolboxesClient { * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] + * skills (Optional): [ + * (Optional){ + * type: String (Required) + * } + * ] * policies (Optional): { * rai_config (Optional): { * rai_policy_name: String (Required) @@ -88,6 +96,11 @@ public final class ToolboxesClient { * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] + * skills (Optional): [ + * (Optional){ + * type: String (Required) + * } + * ] * policies (Optional): { * rai_config (Optional): { * rai_policy_name: String (Required) @@ -228,6 +241,11 @@ public PagedIterable listToolboxes(RequestOptions requestOptions) { * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] + * skills (Optional): [ + * (Optional){ + * type: String (Required) + * } + * ] * policies (Optional): { * rai_config (Optional): { * rai_policy_name: String (Required) @@ -271,6 +289,11 @@ public PagedIterable listToolboxVersions(String name, RequestOptions * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] + * skills (Optional): [ + * (Optional){ + * type: String (Required) + * } + * ] * policies (Optional): { * rai_config (Optional): { * rai_policy_name: String (Required) @@ -371,37 +394,6 @@ public Response deleteToolboxVersionWithResponse(String name, String versi return this.serviceClient.deleteToolboxVersionWithResponse(name, version, requestOptions); } - /** - * Create a new version of a toolbox. If the toolbox does not exist, it will be created. - * - * @param name The name of the toolbox. If the toolbox does not exist, it will be created. - * @param tools The list of tools to include in this version. - * @param description A human-readable description of the toolbox. - * @param metadata Arbitrary key-value metadata to associate with the toolbox. - * @param policies Policy configuration for this toolbox version. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a specific version of a toolbox. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public ToolboxVersionDetails createToolboxVersion(String name, List tools, String description, - Map metadata, ToolboxPolicies policies) { - // Generated convenience method for createToolboxVersionWithResponse - RequestOptions requestOptions = new RequestOptions(); - CreateToolboxVersionRequest createToolboxVersionRequestObj - = new CreateToolboxVersionRequest(tools).setDescription(description) - .setMetadata(metadata) - .setPolicies(policies); - BinaryData createToolboxVersionRequest = BinaryData.fromObject(createToolboxVersionRequestObj); - return createToolboxVersionWithResponse(name, createToolboxVersionRequest, requestOptions).getValue() - .toObject(ToolboxVersionDetails.class); - } - /** * Create a new version of a toolbox. If the toolbox does not exist, it will be created. * @@ -415,11 +407,14 @@ public ToolboxVersionDetails createToolboxVersion(String name, List tools, * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a specific version of a toolbox. */ - @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public ToolboxVersionDetails createToolboxVersion(String name, List tools) { + public ToolboxVersionDetails createToolboxVersion(String name, List tools, + FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for createToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } CreateToolboxVersionRequest createToolboxVersionRequestObj = new CreateToolboxVersionRequest(tools); BinaryData createToolboxVersionRequest = BinaryData.fromObject(createToolboxVersionRequestObj); return createToolboxVersionWithResponse(name, createToolboxVersionRequest, requestOptions).getValue() @@ -438,11 +433,13 @@ public ToolboxVersionDetails createToolboxVersion(String name, List tools) * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a toolbox that stores reusable tool definitions for agents. */ - @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public ToolboxDetails getToolbox(String name) { + public ToolboxDetails getToolbox(String name, FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for getToolboxWithResponse RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } return getToolboxWithResponse(name, requestOptions).getValue().toObject(ToolboxDetails.class); } @@ -467,11 +464,14 @@ public ToolboxDetails getToolbox(String name) { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. */ - @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listToolboxes(Integer limit, PageOrder order, String after, String before) { + public PagedIterable listToolboxes(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, + PageOrder order, String after, String before) { // Generated convenience method for listToolboxes RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } if (limit != null) { requestOptions.addQueryParam("limit", String.valueOf(limit), false); } @@ -498,11 +498,13 @@ public PagedIterable listToolboxes(Integer limit, PageOrder orde * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. */ - @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listToolboxes() { + public PagedIterable listToolboxes(FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for listToolboxes RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } return serviceClient.listToolboxes(requestOptions) .mapPage(bodyItemValue -> bodyItemValue.toObject(ToolboxDetails.class)); } @@ -529,12 +531,14 @@ public PagedIterable listToolboxes() { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. */ - @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listToolboxVersions(String name, Integer limit, PageOrder order, - String after, String before) { + public PagedIterable listToolboxVersions(String name, + FoundryFeaturesOptInKeys foundryFeatures, Integer limit, PageOrder order, String after, String before) { // Generated convenience method for listToolboxVersions RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } if (limit != null) { requestOptions.addQueryParam("limit", String.valueOf(limit), false); } @@ -563,11 +567,14 @@ public PagedIterable listToolboxVersions(String name, Int * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. */ - @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listToolboxVersions(String name) { + public PagedIterable listToolboxVersions(String name, + FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for listToolboxVersions RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } return serviceClient.listToolboxVersions(name, requestOptions) .mapPage(bodyItemValue -> bodyItemValue.toObject(ToolboxVersionDetails.class)); } @@ -585,11 +592,14 @@ public PagedIterable listToolboxVersions(String name) { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a specific version of a toolbox. */ - @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public ToolboxVersionDetails getToolboxVersion(String name, String version) { + public ToolboxVersionDetails getToolboxVersion(String name, String version, + FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for getToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } return getToolboxVersionWithResponse(name, version, requestOptions).getValue() .toObject(ToolboxVersionDetails.class); } @@ -608,11 +618,13 @@ public ToolboxVersionDetails getToolboxVersion(String name, String version) { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a toolbox that stores reusable tool definitions for agents. */ - @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public ToolboxDetails updateToolbox(String name, String defaultVersion) { + public ToolboxDetails updateToolbox(String name, String defaultVersion, FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for updateToolboxWithResponse RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } UpdateToolboxRequest updateToolboxRequestObj = new UpdateToolboxRequest(defaultVersion); BinaryData updateToolboxRequest = BinaryData.fromObject(updateToolboxRequestObj); return updateToolboxWithResponse(name, updateToolboxRequest, requestOptions).getValue() @@ -630,11 +642,13 @@ public ToolboxDetails updateToolbox(String name, String defaultVersion) { * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ - @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteToolbox(String name) { + public void deleteToolbox(String name, FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for deleteToolboxWithResponse RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } deleteToolboxWithResponse(name, requestOptions).getValue(); } @@ -650,11 +664,50 @@ public void deleteToolbox(String name) { * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ - @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteToolboxVersion(String name, String version) { + public void deleteToolboxVersion(String name, String version, FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for deleteToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } deleteToolboxVersionWithResponse(name, version, requestOptions).getValue(); } + + /** + * Create a new version of a toolbox. If the toolbox does not exist, it will be created. + * + * @param name The name of the toolbox. If the toolbox does not exist, it will be created. + * @param tools The list of tools to include in this version. + * @param description A human-readable description of the toolbox. + * @param metadata Arbitrary key-value metadata to associate with the toolbox. + * @param skills The list of skill sources to include in this version. A skill reference specifies a skill name and + * optionally a version. If version is omitted, the skill's default version is used. + * @param policies Policy configuration for this toolbox version. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a specific version of a toolbox. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ToolboxVersionDetails createToolboxVersion(String name, List tools, String description, + Map metadata, List skills, ToolboxPolicies policies, + FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for createToolboxVersionWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + CreateToolboxVersionRequest createToolboxVersionRequestObj + = new CreateToolboxVersionRequest(tools).setDescription(description) + .setMetadata(metadata) + .setSkills(skills) + .setPolicies(policies); + BinaryData createToolboxVersionRequest = BinaryData.fromObject(createToolboxVersionRequestObj); + return createToolboxVersionWithResponse(name, createToolboxVersionRequest, requestOptions).getValue() + .toObject(ToolboxVersionDetails.class); + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java index ea904e393b65..7e0fb3f4c8a4 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java @@ -533,6 +533,26 @@ Response deleteSessionSync(@HostParam("endpoint") String endpoint, @PathParam("agent_name") String agentName, @PathParam("session_id") String sessionId, @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); + @Post("/agents/{agent_name}/endpoint/sessions/{session_id}:stop") + @ExpectedResponses({ 204 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> stopSession(@HostParam("endpoint") String endpoint, + @PathParam("agent_name") String agentName, @PathParam("session_id") String sessionId, + @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); + + @Post("/agents/{agent_name}/endpoint/sessions/{session_id}:stop") + @ExpectedResponses({ 204 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response stopSessionSync(@HostParam("endpoint") String endpoint, + @PathParam("agent_name") String agentName, @PathParam("session_id") String sessionId, + @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); + @Get("/agents/{agent_name}/endpoint/sessions") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @@ -583,7 +603,7 @@ Response getSessionLogStreamSync(@HostParam("endpoint") String endpo @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> createOptimizationJob(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); @Post("/agent_optimization_jobs") @@ -594,11 +614,11 @@ Mono> createOptimizationJob(@HostParam("endpoint") String e @UnexpectedResponseExceptionType(HttpResponseException.class) Response createOptimizationJobSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData job, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); @Get("/agent_optimization_jobs/{jobId}") - @ExpectedResponses({ 200 }) + @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @@ -608,7 +628,7 @@ Mono> getOptimizationJob(@HostParam("endpoint") String endp @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @Get("/agent_optimization_jobs/{jobId}") - @ExpectedResponses({ 200 }) + @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @@ -763,6 +783,52 @@ Response getOptimizationCandidateResultsSync(@HostParam("endpoint") @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @Get("/agent_optimization_jobs/{jobId}/candidates/{candidateId}/files") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCandidateFile(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @PathParam("candidateId") String candidateId, + @QueryParam("path") String path, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/agent_optimization_jobs/{jobId}/candidates/{candidateId}/files") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCandidateFileSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @PathParam("candidateId") String candidateId, + @QueryParam("path") String path, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Post("/agent_optimization_jobs/{jobId}/candidates/{candidateId}:promote") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> promoteCandidate(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @PathParam("candidateId") String candidateId, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + RequestOptions requestOptions, Context context); + + @Post("/agent_optimization_jobs/{jobId}/candidates/{candidateId}:promote") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response promoteCandidateSync(@HostParam("endpoint") String endpoint, + @PathParam("jobId") String jobId, @PathParam("candidateId") String candidateId, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + RequestOptions requestOptions, Context context); + @Get("/openai/v1/conversations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @@ -831,7 +897,7 @@ Response listAgentConversationsSync(@HostParam("endpoint") String en * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -927,7 +993,7 @@ public Mono> getAgentWithResponseAsync(String agentName, Re * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1015,7 +1081,7 @@ public Response getAgentWithResponse(String agentName, RequestOption * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1091,7 +1157,7 @@ public Response getAgentWithResponse(String agentName, RequestOption * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1182,7 +1248,7 @@ public Mono> createAgentWithResponseAsync(BinaryData create * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1258,7 +1324,7 @@ public Mono> createAgentWithResponseAsync(BinaryData create * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1370,7 +1436,7 @@ public Response createAgentWithResponse(BinaryData createAgentReques * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1488,7 +1554,7 @@ public Mono> createAgentFromCodeWithResponseAsync(String ag * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1623,7 +1689,7 @@ public Response createAgentFromCodeWithResponse(String agentName, St * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1756,7 +1822,7 @@ public Mono> updateAgentWithResponseAsync(String agentName, * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1870,7 +1936,7 @@ public Response updateAgentWithResponse(String agentName, BinaryData * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -1989,7 +2055,7 @@ public Mono> updateAgentFromCodeWithResponseAsync(String ag * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2111,7 +2177,7 @@ public Response updateAgentFromCodeWithResponse(String agentName, St * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2228,7 +2294,7 @@ public Mono> createAgentFromManifestWithResponseAsync( * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2345,7 +2411,7 @@ public Response createAgentFromManifestWithResponse(BinaryData creat * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2463,7 +2529,7 @@ public Mono> updateAgentFromManifestWithResponseAsync(Strin * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2523,8 +2589,8 @@ public Response updateAgentFromManifestWithResponse(String agentName * Query Parameters * NameTypeRequiredDescription * forceBooleanNoFor Hosted Agents, if true, force-deletes the agent even if its - * versions have active sessions, cascading deletion to all associated sessions. This value is not relevant for - * other Agent types. Defaults to false. + * versions have active sessions, cascading deletion to all associated sessions. Defaults to `false`. This value is + * not relevant for other Agent types. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -2564,8 +2630,8 @@ public Mono> internalDeleteAgentWithResponseAsync(String ag * Query Parameters * NameTypeRequiredDescription * forceBooleanNoFor Hosted Agents, if true, force-deletes the agent even if its - * versions have active sessions, cascading deletion to all associated sessions. This value is not relevant for - * other Agent types. Defaults to false. + * versions have active sessions, cascading deletion to all associated sessions. Defaults to `false`. This value is + * not relevant for other Agent types. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -2666,7 +2732,7 @@ public Response internalDeleteAgentWithResponse(String agentName, Re * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2787,7 +2853,7 @@ private Mono> listAgentsSinglePageAsync(RequestOptions * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -2902,7 +2968,7 @@ public PagedFlux listAgentsAsync(RequestOptions requestOptions) { * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -3021,7 +3087,7 @@ private PagedResponse listAgentsSinglePage(RequestOptions requestOpt * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -3510,8 +3576,8 @@ public Response getAgentVersionDetailsWithResponse(String agentName, * Query Parameters * NameTypeRequiredDescription * forceBooleanNoFor Hosted Agents, if true, force-deletes the version even if it - * has active sessions, cascading deletion to all associated sessions. This value is not relevant for other Agent - * types. Defaults to false. + * has active sessions, cascading deletion to all associated sessions. Defaults to `false`. This value is not + * relevant for other Agent types. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -3553,8 +3619,8 @@ public Mono> internalDeleteAgentVersionWithResponseAsync(St * Query Parameters * NameTypeRequiredDescription * forceBooleanNoFor Hosted Agents, if true, force-deletes the version even if it - * has active sessions, cascading deletion to all associated sessions. This value is not relevant for other Agent - * types. Defaults to false. + * has active sessions, cascading deletion to all associated sessions. Defaults to `false`. This value is not + * relevant for other Agent types. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -3901,7 +3967,7 @@ public PagedIterable listAgentVersions(String agentName, RequestOpti * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -3977,7 +4043,7 @@ public PagedIterable listAgentVersions(String agentName, RequestOpti * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -4055,7 +4121,7 @@ public Mono> updateAgentDetailsWithResponseAsync(String age * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -4131,7 +4197,7 @@ public Mono> updateAgentDetailsWithResponseAsync(String age * ] * } * protocols (Optional): [ - * String(activity/responses/a2a/mcp/invocations) (Optional) + * String(activity/responses/a2a/mcp/invocations/invocations_ws) (Optional) * ] * authorization_schemes (Optional): [ * (Optional){ @@ -4436,6 +4502,8 @@ public Response downloadAgentCodeWithResponse(String agentName, Requ * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -4460,7 +4528,7 @@ public Response downloadAgentCodeWithResponse(String agentName, Requ * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -4500,6 +4568,8 @@ public Mono> createSessionWithResponseAsync(String agentNam * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -4524,7 +4594,7 @@ public Mono> createSessionWithResponseAsync(String agentNam * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -4562,6 +4632,8 @@ public Response createSessionWithResponse(String agentName, BinaryDa * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -4573,7 +4645,7 @@ public Response createSessionWithResponse(String agentName, BinaryDa * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -4609,6 +4681,8 @@ public Mono> getSessionWithResponseAsync(String agentName, * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -4620,7 +4694,7 @@ public Mono> getSessionWithResponseAsync(String agentName, * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -4657,6 +4731,8 @@ public Response getSessionWithResponse(String agentName, String sess * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -4687,6 +4763,8 @@ public Mono> deleteSessionWithResponseAsync(String agentName, Str * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -4705,6 +4783,65 @@ public Response deleteSessionWithResponse(String agentName, String session this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); } + /** + * Stops a session. + * Returns 204 No Content when the stop succeeds. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param agentName The name of the agent. + * @param sessionId The session identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> stopSessionWithResponseAsync(String agentName, String sessionId, + RequestOptions requestOptions) { + return FluxUtil.withContext(context -> service.stopSession(this.client.getEndpoint(), agentName, sessionId, + this.client.getServiceVersion().getVersion(), requestOptions, context)); + } + + /** + * Stops a session. + * Returns 204 No Content when the stop succeeds. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + * + * @param agentName The name of the agent. + * @param sessionId The session identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response stopSessionWithResponse(String agentName, String sessionId, RequestOptions requestOptions) { + return service.stopSessionSync(this.client.getEndpoint(), agentName, sessionId, + this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); + } + /** * Returns a list of sessions for the specified agent. *

Query Parameters

@@ -4735,6 +4872,8 @@ public Response deleteSessionWithResponse(String agentName, String session * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -4746,7 +4885,7 @@ public Response deleteSessionWithResponse(String agentName, String session * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -4804,6 +4943,8 @@ private Mono> listSessionsSinglePageAsync(String agent * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -4815,7 +4956,7 @@ private Mono> listSessionsSinglePageAsync(String agent * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -4866,6 +5007,8 @@ public PagedFlux listSessionsAsync(String agentName, RequestOptions * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -4877,7 +5020,7 @@ public PagedFlux listSessionsAsync(String agentName, RequestOptions * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -4932,6 +5075,8 @@ private PagedResponse listSessionsSinglePage(String agentName, Reque * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", * "ExternalAgents=V1Preview". + * x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user. * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -4943,7 +5088,7 @@ private PagedResponse listSessionsSinglePage(String agentName, Reque * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -5126,141 +5271,37 @@ public Response getSessionLogStreamWithResponse(String agentName, St *
      * {@code
      * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         agent (Required): {
-     *             agent_name: String (Required)
-     *             agent_version: String (Optional)
-     *             model: String (Optional)
-     *             system_prompt: String (Optional)
-     *             skills (Optional): [
-     *                  (Optional){
-     *                     name: String (Required)
-     *                     description: String (Optional)
-     *                 }
-     *             ]
-     *         }
-     *         dataset (Optional): [
-     *              (Optional){
-     *                 name: String (Required)
-     *                 query: String (Required)
-     *                 ground_truth: String (Optional)
-     *                 criteria (Optional): [
-     *                      (Optional){
-     *                         name: String (Required)
-     *                         instruction: String (Required)
-     *                     }
-     *                 ]
-     *                 eval_results (Optional): [
-     *                      (Optional){
-     *                         name: String (Required)
-     *                         type: String (Optional)
-     *                         score: double (Required)
-     *                         passed: boolean (Required)
-     *                         sample (Optional): {
-     *                             String: BinaryData (Required)
-     *                         }
-     *                         status: String(completed/errored/skipped) (Optional)
-     *                         metric: String (Optional)
-     *                         label: String (Optional)
-     *                         threshold: Double (Optional)
-     *                         reason: String (Optional)
-     *                         properties (Optional): {
-     *                             String: String (Required)
-     *                         }
-     *                          (Optional): {
-     *                             String: BinaryData (Required)
-     *                         }
-     *                     }
-     *                 ]
-     *                 response_items (Optional): [
-     *                     BinaryData (Optional)
-     *                 ]
-     *             }
-     *         ]
-     *         train_dataset_reference (Optional): {
-     *             name: String (Required)
-     *             version: String (Optional)
-     *         }
-     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
-     *         evaluators (Optional): [
-     *             String (Optional)
-     *         ]
-     *         criteria (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         options (Optional): {
-     *             strategies (Optional): [
-     *                 String(instruction/model/skill) (Optional)
-     *             ]
-     *             budget: Integer (Optional)
-     *             max_iterations: Integer (Optional)
-     *             tasks_per_iteration: Integer (Optional)
-     *             max_reflection_tasks: Integer (Optional)
-     *             min_improvement: Double (Optional)
-     *             pass_threshold: Double (Optional)
-     *             improvement_threshold: Double (Optional)
-     *             mode: String(optimize) (Optional)
-     *             eval_model: String (Optional)
-     *             reflection_model: String (Optional)
-     *             task_timeout_seconds: Long (Optional)
-     *             keep_versions: Boolean (Optional)
-     *         }
+     *     agent (Required): {
+     *         agentName: String (Required)
+     *         agentVersion: String (Optional)
      *     }
-     *     result (Optional): {
-     *         baseline (Optional): {
-     *             candidate_id: String (Optional)
-     *             name: String (Required)
-     *             config (Required): (recursive schema, see config above)
-     *             mutations (Required): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             rationale: String (Required)
-     *             avg_score: double (Required)
-     *             avg_tokens: double (Required)
-     *             pass_rate: double (Required)
-     *             task_scores (Required): [
-     *                  (Required){
-     *                     task_name: String (Required)
-     *                     query: String (Optional)
-     *                     scores (Required): {
-     *                         String: double (Required)
-     *                     }
-     *                     composite_score: double (Required)
-     *                     tokens: int (Required)
-     *                     duration_seconds: double (Required)
-     *                     passed: boolean (Required)
-     *                     error_message: String (Optional)
-     *                     rationales (Optional): {
-     *                         String: String (Required)
-     *                     }
-     *                     response: String (Optional)
-     *                     run_id: String (Optional)
-     *                 }
-     *             ]
-     *             is_pareto_optimal: boolean (Required)
-     *             sample_avg_score: Double (Optional)
-     *             sample_size: Integer (Optional)
-     *             evaluation_type: String (Optional)
-     *             strategy: String(instruction/model/skill) (Optional)
-     *             eval_id: String (Optional)
-     *             eval_run_id: String (Optional)
+     *     trainDatasetReference (Required): {
+     *         name: String (Required)
+     *         version: String (Optional)
+     *     }
+     *     validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above)
+     *     evaluators (Optional): [
+     *         String (Optional)
+     *     ]
+     *     options (Optional): {
+     *         maxIterations: Integer (Optional)
+     *         optimizationConfig (Optional): {
+     *             String: BinaryData (Required)
      *         }
-     *         best (Optional): (recursive schema, see best above)
-     *         candidates (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         pareto_frontier (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         validation_score (Optional): (recursive schema, see validation_score above)
-     *         options (Optional): (recursive schema, see options above)
-     *         sample_size: Integer (Optional)
-     *         warnings (Optional): [
-     *             String (Optional)
-     *         ]
-     *         all_strategies_failed: Boolean (Optional)
+     *         evalModel: String (Optional)
+     *         optimizationModel: String (Optional)
+     *         evaluationLevel: String(turn/conversation) (Optional)
      *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
      *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
      *     error (Optional): {
      *         code: String (Required)
@@ -5277,207 +5318,127 @@ public Response getSessionLogStreamWithResponse(String agentName, St
      *             String: BinaryData (Required)
      *         }
      *     }
-     *     created_at: long (Required)
-     *     updated_at: Long (Optional)
-     *     progress (Optional): {
-     *         current_strategy: String(instruction/model/skill) (Required)
-     *         current_iteration: int (Required)
-     *         tasks_completed: int (Required)
-     *         tasks_total: int (Required)
-     *         best_score: double (Required)
-     *         elapsed_seconds: double (Required)
-     *     }
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         agent (Required): {
-     *             agent_name: String (Required)
-     *             agent_version: String (Optional)
-     *             model: String (Optional)
-     *             system_prompt: String (Optional)
-     *             skills (Optional): [
-     *                  (Optional){
-     *                     name: String (Required)
-     *                     description: String (Optional)
-     *                 }
-     *             ]
-     *         }
-     *         dataset (Optional): [
-     *              (Optional){
-     *                 name: String (Required)
-     *                 query: String (Required)
-     *                 ground_truth: String (Optional)
-     *                 criteria (Optional): [
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidateId: String (Optional)
+     *             name: String (Required)
+     *             config (Required): {
+     *                 agentName: String (Optional)
+     *                 agentVersion: String (Optional)
+     *                 model: String (Optional)
+     *                 systemPrompt: String (Optional)
+     *                 skills (Optional): [
      *                      (Optional){
-     *                         name: String (Required)
-     *                         instruction: String (Required)
+     *                         String: BinaryData (Required)
      *                     }
      *                 ]
-     *                 eval_results (Optional): [
+     *                 tools (Optional): [
      *                      (Optional){
-     *                         name: String (Required)
-     *                         type: String (Optional)
-     *                         score: double (Required)
-     *                         passed: boolean (Required)
-     *                         sample (Optional): {
-     *                             String: BinaryData (Required)
-     *                         }
-     *                         status: String(completed/errored/skipped) (Optional)
-     *                         metric: String (Optional)
-     *                         label: String (Optional)
-     *                         threshold: Double (Optional)
-     *                         reason: String (Optional)
-     *                         properties (Optional): {
-     *                             String: String (Required)
-     *                         }
-     *                          (Optional): {
-     *                             String: BinaryData (Required)
-     *                         }
+     *                         String: BinaryData (Required)
      *                     }
      *                 ]
-     *                 response_items (Optional): [
-     *                     BinaryData (Optional)
-     *                 ]
      *             }
-     *         ]
-     *         train_dataset_reference (Optional): {
-     *             name: String (Required)
-     *             version: String (Optional)
-     *         }
-     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
-     *         evaluators (Optional): [
-     *             String (Optional)
-     *         ]
-     *         criteria (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         options (Optional): {
-     *             strategies (Optional): [
-     *                 String(instruction/model/skill) (Optional)
-     *             ]
-     *             budget: Integer (Optional)
-     *             max_iterations: Integer (Optional)
-     *             tasks_per_iteration: Integer (Optional)
-     *             max_reflection_tasks: Integer (Optional)
-     *             min_improvement: Double (Optional)
-     *             pass_threshold: Double (Optional)
-     *             improvement_threshold: Double (Optional)
-     *             mode: String(optimize) (Optional)
-     *             eval_model: String (Optional)
-     *             reflection_model: String (Optional)
-     *             task_timeout_seconds: Long (Optional)
-     *             keep_versions: Boolean (Optional)
-     *         }
-     *     }
-     *     result (Optional): {
-     *         baseline (Optional): {
-     *             candidate_id: String (Optional)
-     *             name: String (Required)
-     *             config (Required): (recursive schema, see config above)
      *             mutations (Required): {
      *                 String: BinaryData (Required)
      *             }
-     *             rationale: String (Required)
-     *             avg_score: double (Required)
-     *             avg_tokens: double (Required)
-     *             pass_rate: double (Required)
-     *             task_scores (Required): [
+     *             avgScore: double (Required)
+     *             avgTokens: double (Required)
+     *             passRate: double (Required)
+     *             taskScores (Required): [
      *                  (Required){
-     *                     task_name: String (Required)
+     *                     taskName: String (Required)
      *                     query: String (Optional)
      *                     scores (Required): {
      *                         String: double (Required)
      *                     }
-     *                     composite_score: double (Required)
+     *                     compositeScore: double (Required)
      *                     tokens: int (Required)
-     *                     duration_seconds: double (Required)
+     *                     durationSeconds: double (Required)
      *                     passed: boolean (Required)
-     *                     error_message: String (Optional)
+     *                     errorMessage: String (Optional)
      *                     rationales (Optional): {
      *                         String: String (Required)
      *                     }
      *                     response: String (Optional)
-     *                     run_id: String (Optional)
+     *                     runId: String (Optional)
      *                 }
      *             ]
-     *             is_pareto_optimal: boolean (Required)
-     *             sample_avg_score: Double (Optional)
-     *             sample_size: Integer (Optional)
-     *             evaluation_type: String (Optional)
-     *             strategy: String(instruction/model/skill) (Optional)
-     *             eval_id: String (Optional)
-     *             eval_run_id: String (Optional)
+     *             isParetoOptimal: boolean (Required)
+     *             evalId: String (Optional)
+     *             evalRunId: String (Optional)
+     *             promotion (Optional): {
+     *                 promotedAt: long (Required)
+     *                 agentName: String (Required)
+     *                 agentVersion: String (Required)
+     *             }
      *         }
      *         best (Optional): (recursive schema, see best above)
      *         candidates (Optional): [
      *             (recursive schema, see above)
      *         ]
-     *         pareto_frontier (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         validation_score (Optional): (recursive schema, see validation_score above)
-     *         options (Optional): (recursive schema, see options above)
-     *         sample_size: Integer (Optional)
+     *         options (Optional): {
+     *             maxIterations: Integer (Optional)
+     *             optimizationConfig (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             evalModel: String (Optional)
+     *             optimizationModel: String (Optional)
+     *             evaluationLevel: String(turn/conversation) (Optional)
+     *         }
      *         warnings (Optional): [
      *             String (Optional)
      *         ]
-     *         all_strategies_failed: Boolean (Optional)
+     *         allTargetAttributesFailed: Boolean (Optional)
      *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agentName: String (Required)
+     *             agentVersion: String (Optional)
      *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
+     *         trainDatasetReference (Required): {
+     *             name: String (Required)
+     *             version: String (Optional)
      *         }
+     *         validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         options (Optional): (recursive schema, see options above)
      *     }
-     *     created_at: long (Required)
-     *     updated_at: Long (Optional)
+     *     createdAt: long (Required)
+     *     updatedAt: Long (Optional)
      *     progress (Optional): {
-     *         current_strategy: String(instruction/model/skill) (Required)
-     *         current_iteration: int (Required)
-     *         tasks_completed: int (Required)
-     *         tasks_total: int (Required)
-     *         best_score: double (Required)
-     *         elapsed_seconds: double (Required)
+     *         currentIteration: int (Required)
+     *         bestScore: double (Required)
+     *         elapsedSeconds: double (Required)
+     *     }
+     *     dataset (Optional): {
+     *         name: String (Optional)
+     *         version: String (Optional)
+     *         taskCount: int (Required)
+     *         isInline: boolean (Required)
      *     }
      * }
      * }
      * 
* - * @param job The job to create. + * @param body The optimization job inputs. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @return agent optimization job resource — a long-running job that optimizes an agent's configuration - * (instructions, model, skills) to maximize evaluation scores along with {@link Response} on successful completion - * of {@link Mono}. + * (instructions, model, skills, tools) to maximize evaluation scores along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createOptimizationJobWithResponseAsync(BinaryData job, + public Mono> createOptimizationJobWithResponseAsync(BinaryData body, RequestOptions requestOptions) { final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil.withContext(context -> service.createOptimizationJob(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), contentType, accept, job, requestOptions, context)); + this.client.getServiceVersion().getVersion(), contentType, accept, body, requestOptions, context)); } /** @@ -5502,141 +5463,37 @@ public Mono> createOptimizationJobWithResponseAsync(BinaryD *
      * {@code
      * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         agent (Required): {
-     *             agent_name: String (Required)
-     *             agent_version: String (Optional)
-     *             model: String (Optional)
-     *             system_prompt: String (Optional)
-     *             skills (Optional): [
-     *                  (Optional){
-     *                     name: String (Required)
-     *                     description: String (Optional)
-     *                 }
-     *             ]
-     *         }
-     *         dataset (Optional): [
-     *              (Optional){
-     *                 name: String (Required)
-     *                 query: String (Required)
-     *                 ground_truth: String (Optional)
-     *                 criteria (Optional): [
-     *                      (Optional){
-     *                         name: String (Required)
-     *                         instruction: String (Required)
-     *                     }
-     *                 ]
-     *                 eval_results (Optional): [
-     *                      (Optional){
-     *                         name: String (Required)
-     *                         type: String (Optional)
-     *                         score: double (Required)
-     *                         passed: boolean (Required)
-     *                         sample (Optional): {
-     *                             String: BinaryData (Required)
-     *                         }
-     *                         status: String(completed/errored/skipped) (Optional)
-     *                         metric: String (Optional)
-     *                         label: String (Optional)
-     *                         threshold: Double (Optional)
-     *                         reason: String (Optional)
-     *                         properties (Optional): {
-     *                             String: String (Required)
-     *                         }
-     *                          (Optional): {
-     *                             String: BinaryData (Required)
-     *                         }
-     *                     }
-     *                 ]
-     *                 response_items (Optional): [
-     *                     BinaryData (Optional)
-     *                 ]
-     *             }
-     *         ]
-     *         train_dataset_reference (Optional): {
-     *             name: String (Required)
-     *             version: String (Optional)
-     *         }
-     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
-     *         evaluators (Optional): [
-     *             String (Optional)
-     *         ]
-     *         criteria (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         options (Optional): {
-     *             strategies (Optional): [
-     *                 String(instruction/model/skill) (Optional)
-     *             ]
-     *             budget: Integer (Optional)
-     *             max_iterations: Integer (Optional)
-     *             tasks_per_iteration: Integer (Optional)
-     *             max_reflection_tasks: Integer (Optional)
-     *             min_improvement: Double (Optional)
-     *             pass_threshold: Double (Optional)
-     *             improvement_threshold: Double (Optional)
-     *             mode: String(optimize) (Optional)
-     *             eval_model: String (Optional)
-     *             reflection_model: String (Optional)
-     *             task_timeout_seconds: Long (Optional)
-     *             keep_versions: Boolean (Optional)
-     *         }
+     *     agent (Required): {
+     *         agentName: String (Required)
+     *         agentVersion: String (Optional)
      *     }
-     *     result (Optional): {
-     *         baseline (Optional): {
-     *             candidate_id: String (Optional)
-     *             name: String (Required)
-     *             config (Required): (recursive schema, see config above)
-     *             mutations (Required): {
-     *                 String: BinaryData (Required)
-     *             }
-     *             rationale: String (Required)
-     *             avg_score: double (Required)
-     *             avg_tokens: double (Required)
-     *             pass_rate: double (Required)
-     *             task_scores (Required): [
-     *                  (Required){
-     *                     task_name: String (Required)
-     *                     query: String (Optional)
-     *                     scores (Required): {
-     *                         String: double (Required)
-     *                     }
-     *                     composite_score: double (Required)
-     *                     tokens: int (Required)
-     *                     duration_seconds: double (Required)
-     *                     passed: boolean (Required)
-     *                     error_message: String (Optional)
-     *                     rationales (Optional): {
-     *                         String: String (Required)
-     *                     }
-     *                     response: String (Optional)
-     *                     run_id: String (Optional)
-     *                 }
-     *             ]
-     *             is_pareto_optimal: boolean (Required)
-     *             sample_avg_score: Double (Optional)
-     *             sample_size: Integer (Optional)
-     *             evaluation_type: String (Optional)
-     *             strategy: String(instruction/model/skill) (Optional)
-     *             eval_id: String (Optional)
-     *             eval_run_id: String (Optional)
+     *     trainDatasetReference (Required): {
+     *         name: String (Required)
+     *         version: String (Optional)
+     *     }
+     *     validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above)
+     *     evaluators (Optional): [
+     *         String (Optional)
+     *     ]
+     *     options (Optional): {
+     *         maxIterations: Integer (Optional)
+     *         optimizationConfig (Optional): {
+     *             String: BinaryData (Required)
      *         }
-     *         best (Optional): (recursive schema, see best above)
-     *         candidates (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         pareto_frontier (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         validation_score (Optional): (recursive schema, see validation_score above)
-     *         options (Optional): (recursive schema, see options above)
-     *         sample_size: Integer (Optional)
-     *         warnings (Optional): [
-     *             String (Optional)
-     *         ]
-     *         all_strategies_failed: Boolean (Optional)
+     *         evalModel: String (Optional)
+     *         optimizationModel: String (Optional)
+     *         evaluationLevel: String(turn/conversation) (Optional)
      *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
      *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
      *     error (Optional): {
      *         code: String (Required)
@@ -5653,211 +5510,131 @@ public Mono> createOptimizationJobWithResponseAsync(BinaryD
      *             String: BinaryData (Required)
      *         }
      *     }
-     *     created_at: long (Required)
-     *     updated_at: Long (Optional)
-     *     progress (Optional): {
-     *         current_strategy: String(instruction/model/skill) (Required)
-     *         current_iteration: int (Required)
-     *         tasks_completed: int (Required)
-     *         tasks_total: int (Required)
-     *         best_score: double (Required)
-     *         elapsed_seconds: double (Required)
-     *     }
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     id: String (Required)
-     *     inputs (Optional): {
-     *         agent (Required): {
-     *             agent_name: String (Required)
-     *             agent_version: String (Optional)
-     *             model: String (Optional)
-     *             system_prompt: String (Optional)
-     *             skills (Optional): [
-     *                  (Optional){
-     *                     name: String (Required)
-     *                     description: String (Optional)
-     *                 }
-     *             ]
-     *         }
-     *         dataset (Optional): [
-     *              (Optional){
-     *                 name: String (Required)
-     *                 query: String (Required)
-     *                 ground_truth: String (Optional)
-     *                 criteria (Optional): [
+     *     result (Optional): {
+     *         baseline (Optional): {
+     *             candidateId: String (Optional)
+     *             name: String (Required)
+     *             config (Required): {
+     *                 agentName: String (Optional)
+     *                 agentVersion: String (Optional)
+     *                 model: String (Optional)
+     *                 systemPrompt: String (Optional)
+     *                 skills (Optional): [
      *                      (Optional){
-     *                         name: String (Required)
-     *                         instruction: String (Required)
+     *                         String: BinaryData (Required)
      *                     }
      *                 ]
-     *                 eval_results (Optional): [
+     *                 tools (Optional): [
      *                      (Optional){
-     *                         name: String (Required)
-     *                         type: String (Optional)
-     *                         score: double (Required)
-     *                         passed: boolean (Required)
-     *                         sample (Optional): {
-     *                             String: BinaryData (Required)
-     *                         }
-     *                         status: String(completed/errored/skipped) (Optional)
-     *                         metric: String (Optional)
-     *                         label: String (Optional)
-     *                         threshold: Double (Optional)
-     *                         reason: String (Optional)
-     *                         properties (Optional): {
-     *                             String: String (Required)
-     *                         }
-     *                          (Optional): {
-     *                             String: BinaryData (Required)
-     *                         }
+     *                         String: BinaryData (Required)
      *                     }
      *                 ]
-     *                 response_items (Optional): [
-     *                     BinaryData (Optional)
-     *                 ]
      *             }
-     *         ]
-     *         train_dataset_reference (Optional): {
-     *             name: String (Required)
-     *             version: String (Optional)
-     *         }
-     *         validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above)
-     *         evaluators (Optional): [
-     *             String (Optional)
-     *         ]
-     *         criteria (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         options (Optional): {
-     *             strategies (Optional): [
-     *                 String(instruction/model/skill) (Optional)
-     *             ]
-     *             budget: Integer (Optional)
-     *             max_iterations: Integer (Optional)
-     *             tasks_per_iteration: Integer (Optional)
-     *             max_reflection_tasks: Integer (Optional)
-     *             min_improvement: Double (Optional)
-     *             pass_threshold: Double (Optional)
-     *             improvement_threshold: Double (Optional)
-     *             mode: String(optimize) (Optional)
-     *             eval_model: String (Optional)
-     *             reflection_model: String (Optional)
-     *             task_timeout_seconds: Long (Optional)
-     *             keep_versions: Boolean (Optional)
-     *         }
-     *     }
-     *     result (Optional): {
-     *         baseline (Optional): {
-     *             candidate_id: String (Optional)
-     *             name: String (Required)
-     *             config (Required): (recursive schema, see config above)
      *             mutations (Required): {
      *                 String: BinaryData (Required)
      *             }
-     *             rationale: String (Required)
-     *             avg_score: double (Required)
-     *             avg_tokens: double (Required)
-     *             pass_rate: double (Required)
-     *             task_scores (Required): [
+     *             avgScore: double (Required)
+     *             avgTokens: double (Required)
+     *             passRate: double (Required)
+     *             taskScores (Required): [
      *                  (Required){
-     *                     task_name: String (Required)
+     *                     taskName: String (Required)
      *                     query: String (Optional)
      *                     scores (Required): {
      *                         String: double (Required)
      *                     }
-     *                     composite_score: double (Required)
+     *                     compositeScore: double (Required)
      *                     tokens: int (Required)
-     *                     duration_seconds: double (Required)
+     *                     durationSeconds: double (Required)
      *                     passed: boolean (Required)
-     *                     error_message: String (Optional)
+     *                     errorMessage: String (Optional)
      *                     rationales (Optional): {
      *                         String: String (Required)
      *                     }
      *                     response: String (Optional)
-     *                     run_id: String (Optional)
+     *                     runId: String (Optional)
      *                 }
      *             ]
-     *             is_pareto_optimal: boolean (Required)
-     *             sample_avg_score: Double (Optional)
-     *             sample_size: Integer (Optional)
-     *             evaluation_type: String (Optional)
-     *             strategy: String(instruction/model/skill) (Optional)
-     *             eval_id: String (Optional)
-     *             eval_run_id: String (Optional)
+     *             isParetoOptimal: boolean (Required)
+     *             evalId: String (Optional)
+     *             evalRunId: String (Optional)
+     *             promotion (Optional): {
+     *                 promotedAt: long (Required)
+     *                 agentName: String (Required)
+     *                 agentVersion: String (Required)
+     *             }
      *         }
      *         best (Optional): (recursive schema, see best above)
      *         candidates (Optional): [
      *             (recursive schema, see above)
      *         ]
-     *         pareto_frontier (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         validation_score (Optional): (recursive schema, see validation_score above)
-     *         options (Optional): (recursive schema, see options above)
-     *         sample_size: Integer (Optional)
+     *         options (Optional): {
+     *             maxIterations: Integer (Optional)
+     *             optimizationConfig (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             evalModel: String (Optional)
+     *             optimizationModel: String (Optional)
+     *             evaluationLevel: String(turn/conversation) (Optional)
+     *         }
      *         warnings (Optional): [
      *             String (Optional)
      *         ]
-     *         all_strategies_failed: Boolean (Optional)
+     *         allTargetAttributesFailed: Boolean (Optional)
      *     }
-     *     status: String(queued/in_progress/succeeded/failed/cancelled) (Required)
-     *     error (Optional): {
-     *         code: String (Required)
-     *         message: String (Required)
-     *         param: String (Optional)
-     *         type: String (Optional)
-     *         details (Optional): [
-     *             (recursive schema, see above)
-     *         ]
-     *         additionalInfo (Optional): {
-     *             String: BinaryData (Required)
+     *     inputs (Optional): {
+     *         agent (Required): {
+     *             agentName: String (Required)
+     *             agentVersion: String (Optional)
      *         }
-     *         debugInfo (Optional): {
-     *             String: BinaryData (Required)
+     *         trainDatasetReference (Required): {
+     *             name: String (Required)
+     *             version: String (Optional)
      *         }
+     *         validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above)
+     *         evaluators (Optional): [
+     *             String (Optional)
+     *         ]
+     *         options (Optional): (recursive schema, see options above)
      *     }
-     *     created_at: long (Required)
-     *     updated_at: Long (Optional)
+     *     createdAt: long (Required)
+     *     updatedAt: Long (Optional)
      *     progress (Optional): {
-     *         current_strategy: String(instruction/model/skill) (Required)
-     *         current_iteration: int (Required)
-     *         tasks_completed: int (Required)
-     *         tasks_total: int (Required)
-     *         best_score: double (Required)
-     *         elapsed_seconds: double (Required)
+     *         currentIteration: int (Required)
+     *         bestScore: double (Required)
+     *         elapsedSeconds: double (Required)
+     *     }
+     *     dataset (Optional): {
+     *         name: String (Optional)
+     *         version: String (Optional)
+     *         taskCount: int (Required)
+     *         isInline: boolean (Required)
      *     }
      * }
      * }
      * 
* - * @param job The job to create. + * @param body The optimization job inputs. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @return agent optimization job resource — a long-running job that optimizes an agent's configuration - * (instructions, model, skills) to maximize evaluation scores along with {@link Response}. + * (instructions, model, skills, tools) to maximize evaluation scores along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response createOptimizationJobWithResponse(BinaryData job, RequestOptions requestOptions) { + public Response createOptimizationJobWithResponse(BinaryData body, RequestOptions requestOptions) { final String contentType = "application/json"; final String accept = "application/json"; return service.createOptimizationJobSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), contentType, accept, job, requestOptions, Context.NONE); + this.client.getServiceVersion().getVersion(), contentType, accept, body, requestOptions, Context.NONE); } /** * Get info about an agent optimization job. * - * Get an optimization job by id. Emits `Retry-After` while the job is non-terminal. + * Get an optimization job by id. Returns 202 while in progress, 200 when terminal. *

Header Parameters

* * @@ -5875,165 +5652,121 @@ public Response createOptimizationJobWithResponse(BinaryData job, Re * {@code * { * id: String (Required) - * inputs (Optional): { - * agent (Required): { - * agent_name: String (Required) - * agent_version: String (Optional) - * model: String (Optional) - * system_prompt: String (Optional) - * skills (Optional): [ - * (Optional){ - * name: String (Required) - * description: String (Optional) - * } - * ] + * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) + * error (Optional): { + * code: String (Required) + * message: String (Required) + * param: String (Optional) + * type: String (Optional) + * details (Optional): [ + * (recursive schema, see above) + * ] + * additionalInfo (Optional): { + * String: BinaryData (Required) * } - * dataset (Optional): [ - * (Optional){ - * name: String (Required) - * query: String (Required) - * ground_truth: String (Optional) - * criteria (Optional): [ + * debugInfo (Optional): { + * String: BinaryData (Required) + * } + * } + * result (Optional): { + * baseline (Optional): { + * candidateId: String (Optional) + * name: String (Required) + * config (Required): { + * agentName: String (Optional) + * agentVersion: String (Optional) + * model: String (Optional) + * systemPrompt: String (Optional) + * skills (Optional): [ * (Optional){ - * name: String (Required) - * instruction: String (Required) + * String: BinaryData (Required) * } * ] - * eval_results (Optional): [ + * tools (Optional): [ * (Optional){ - * name: String (Required) - * type: String (Optional) - * score: double (Required) - * passed: boolean (Required) - * sample (Optional): { - * String: BinaryData (Required) - * } - * status: String(completed/errored/skipped) (Optional) - * metric: String (Optional) - * label: String (Optional) - * threshold: Double (Optional) - * reason: String (Optional) - * properties (Optional): { - * String: String (Required) - * } - * (Optional): { - * String: BinaryData (Required) - * } + * String: BinaryData (Required) * } * ] - * response_items (Optional): [ - * BinaryData (Optional) - * ] * } - * ] - * train_dataset_reference (Optional): { - * name: String (Required) - * version: String (Optional) - * } - * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) - * evaluators (Optional): [ - * String (Optional) - * ] - * criteria (Optional): [ - * (recursive schema, see above) - * ] - * options (Optional): { - * strategies (Optional): [ - * String(instruction/model/skill) (Optional) - * ] - * budget: Integer (Optional) - * max_iterations: Integer (Optional) - * tasks_per_iteration: Integer (Optional) - * max_reflection_tasks: Integer (Optional) - * min_improvement: Double (Optional) - * pass_threshold: Double (Optional) - * improvement_threshold: Double (Optional) - * mode: String(optimize) (Optional) - * eval_model: String (Optional) - * reflection_model: String (Optional) - * task_timeout_seconds: Long (Optional) - * keep_versions: Boolean (Optional) - * } - * } - * result (Optional): { - * baseline (Optional): { - * candidate_id: String (Optional) - * name: String (Required) - * config (Required): (recursive schema, see config above) * mutations (Required): { * String: BinaryData (Required) * } - * rationale: String (Required) - * avg_score: double (Required) - * avg_tokens: double (Required) - * pass_rate: double (Required) - * task_scores (Required): [ + * avgScore: double (Required) + * avgTokens: double (Required) + * passRate: double (Required) + * taskScores (Required): [ * (Required){ - * task_name: String (Required) + * taskName: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * composite_score: double (Required) + * compositeScore: double (Required) * tokens: int (Required) - * duration_seconds: double (Required) + * durationSeconds: double (Required) * passed: boolean (Required) - * error_message: String (Optional) + * errorMessage: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * run_id: String (Optional) + * runId: String (Optional) * } * ] - * is_pareto_optimal: boolean (Required) - * sample_avg_score: Double (Optional) - * sample_size: Integer (Optional) - * evaluation_type: String (Optional) - * strategy: String(instruction/model/skill) (Optional) - * eval_id: String (Optional) - * eval_run_id: String (Optional) + * isParetoOptimal: boolean (Required) + * evalId: String (Optional) + * evalRunId: String (Optional) + * promotion (Optional): { + * promotedAt: long (Required) + * agentName: String (Required) + * agentVersion: String (Required) + * } * } * best (Optional): (recursive schema, see best above) * candidates (Optional): [ * (recursive schema, see above) * ] - * pareto_frontier (Optional): [ - * (recursive schema, see above) - * ] - * validation_score (Optional): (recursive schema, see validation_score above) - * options (Optional): (recursive schema, see options above) - * sample_size: Integer (Optional) + * options (Optional): { + * maxIterations: Integer (Optional) + * optimizationConfig (Optional): { + * String: BinaryData (Required) + * } + * evalModel: String (Optional) + * optimizationModel: String (Optional) + * evaluationLevel: String(turn/conversation) (Optional) + * } * warnings (Optional): [ * String (Optional) * ] - * all_strategies_failed: Boolean (Optional) + * allTargetAttributesFailed: Boolean (Optional) * } - * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) - * error (Optional): { - * code: String (Required) - * message: String (Required) - * param: String (Optional) - * type: String (Optional) - * details (Optional): [ - * (recursive schema, see above) - * ] - * additionalInfo (Optional): { - * String: BinaryData (Required) + * inputs (Optional): { + * agent (Required): { + * agentName: String (Required) + * agentVersion: String (Optional) * } - * debugInfo (Optional): { - * String: BinaryData (Required) + * trainDatasetReference (Required): { + * name: String (Required) + * version: String (Optional) * } + * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * evaluators (Optional): [ + * String (Optional) + * ] + * options (Optional): (recursive schema, see options above) * } - * created_at: long (Required) - * updated_at: Long (Optional) + * createdAt: long (Required) + * updatedAt: Long (Optional) * progress (Optional): { - * current_strategy: String(instruction/model/skill) (Required) - * current_iteration: int (Required) - * tasks_completed: int (Required) - * tasks_total: int (Required) - * best_score: double (Required) - * elapsed_seconds: double (Required) + * currentIteration: int (Required) + * bestScore: double (Required) + * elapsedSeconds: double (Required) + * } + * dataset (Optional): { + * name: String (Optional) + * version: String (Optional) + * taskCount: int (Required) + * isInline: boolean (Required) * } * } * } @@ -6059,7 +5792,7 @@ public Mono> getOptimizationJobWithResponseAsync(String job /** * Get info about an agent optimization job. * - * Get an optimization job by id. Emits `Retry-After` while the job is non-terminal. + * Get an optimization job by id. Returns 202 while in progress, 200 when terminal. *

Header Parameters

*
Header Parameters
* @@ -6077,165 +5810,121 @@ public Mono> getOptimizationJobWithResponseAsync(String job * {@code * { * id: String (Required) - * inputs (Optional): { - * agent (Required): { - * agent_name: String (Required) - * agent_version: String (Optional) - * model: String (Optional) - * system_prompt: String (Optional) - * skills (Optional): [ - * (Optional){ - * name: String (Required) - * description: String (Optional) - * } - * ] + * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) + * error (Optional): { + * code: String (Required) + * message: String (Required) + * param: String (Optional) + * type: String (Optional) + * details (Optional): [ + * (recursive schema, see above) + * ] + * additionalInfo (Optional): { + * String: BinaryData (Required) * } - * dataset (Optional): [ - * (Optional){ - * name: String (Required) - * query: String (Required) - * ground_truth: String (Optional) - * criteria (Optional): [ + * debugInfo (Optional): { + * String: BinaryData (Required) + * } + * } + * result (Optional): { + * baseline (Optional): { + * candidateId: String (Optional) + * name: String (Required) + * config (Required): { + * agentName: String (Optional) + * agentVersion: String (Optional) + * model: String (Optional) + * systemPrompt: String (Optional) + * skills (Optional): [ * (Optional){ - * name: String (Required) - * instruction: String (Required) + * String: BinaryData (Required) * } * ] - * eval_results (Optional): [ + * tools (Optional): [ * (Optional){ - * name: String (Required) - * type: String (Optional) - * score: double (Required) - * passed: boolean (Required) - * sample (Optional): { - * String: BinaryData (Required) - * } - * status: String(completed/errored/skipped) (Optional) - * metric: String (Optional) - * label: String (Optional) - * threshold: Double (Optional) - * reason: String (Optional) - * properties (Optional): { - * String: String (Required) - * } - * (Optional): { - * String: BinaryData (Required) - * } + * String: BinaryData (Required) * } * ] - * response_items (Optional): [ - * BinaryData (Optional) - * ] * } - * ] - * train_dataset_reference (Optional): { - * name: String (Required) - * version: String (Optional) - * } - * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) - * evaluators (Optional): [ - * String (Optional) - * ] - * criteria (Optional): [ - * (recursive schema, see above) - * ] - * options (Optional): { - * strategies (Optional): [ - * String(instruction/model/skill) (Optional) - * ] - * budget: Integer (Optional) - * max_iterations: Integer (Optional) - * tasks_per_iteration: Integer (Optional) - * max_reflection_tasks: Integer (Optional) - * min_improvement: Double (Optional) - * pass_threshold: Double (Optional) - * improvement_threshold: Double (Optional) - * mode: String(optimize) (Optional) - * eval_model: String (Optional) - * reflection_model: String (Optional) - * task_timeout_seconds: Long (Optional) - * keep_versions: Boolean (Optional) - * } - * } - * result (Optional): { - * baseline (Optional): { - * candidate_id: String (Optional) - * name: String (Required) - * config (Required): (recursive schema, see config above) * mutations (Required): { * String: BinaryData (Required) * } - * rationale: String (Required) - * avg_score: double (Required) - * avg_tokens: double (Required) - * pass_rate: double (Required) - * task_scores (Required): [ + * avgScore: double (Required) + * avgTokens: double (Required) + * passRate: double (Required) + * taskScores (Required): [ * (Required){ - * task_name: String (Required) + * taskName: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * composite_score: double (Required) + * compositeScore: double (Required) * tokens: int (Required) - * duration_seconds: double (Required) + * durationSeconds: double (Required) * passed: boolean (Required) - * error_message: String (Optional) + * errorMessage: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * run_id: String (Optional) + * runId: String (Optional) * } * ] - * is_pareto_optimal: boolean (Required) - * sample_avg_score: Double (Optional) - * sample_size: Integer (Optional) - * evaluation_type: String (Optional) - * strategy: String(instruction/model/skill) (Optional) - * eval_id: String (Optional) - * eval_run_id: String (Optional) + * isParetoOptimal: boolean (Required) + * evalId: String (Optional) + * evalRunId: String (Optional) + * promotion (Optional): { + * promotedAt: long (Required) + * agentName: String (Required) + * agentVersion: String (Required) + * } * } * best (Optional): (recursive schema, see best above) * candidates (Optional): [ * (recursive schema, see above) * ] - * pareto_frontier (Optional): [ - * (recursive schema, see above) - * ] - * validation_score (Optional): (recursive schema, see validation_score above) - * options (Optional): (recursive schema, see options above) - * sample_size: Integer (Optional) + * options (Optional): { + * maxIterations: Integer (Optional) + * optimizationConfig (Optional): { + * String: BinaryData (Required) + * } + * evalModel: String (Optional) + * optimizationModel: String (Optional) + * evaluationLevel: String(turn/conversation) (Optional) + * } * warnings (Optional): [ * String (Optional) * ] - * all_strategies_failed: Boolean (Optional) + * allTargetAttributesFailed: Boolean (Optional) * } - * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) - * error (Optional): { - * code: String (Required) - * message: String (Required) - * param: String (Optional) - * type: String (Optional) - * details (Optional): [ - * (recursive schema, see above) - * ] - * additionalInfo (Optional): { - * String: BinaryData (Required) + * inputs (Optional): { + * agent (Required): { + * agentName: String (Required) + * agentVersion: String (Optional) * } - * debugInfo (Optional): { - * String: BinaryData (Required) + * trainDatasetReference (Required): { + * name: String (Required) + * version: String (Optional) * } + * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * evaluators (Optional): [ + * String (Optional) + * ] + * options (Optional): (recursive schema, see options above) * } - * created_at: long (Required) - * updated_at: Long (Optional) + * createdAt: long (Required) + * updatedAt: Long (Optional) * progress (Optional): { - * current_strategy: String(instruction/model/skill) (Required) - * current_iteration: int (Required) - * tasks_completed: int (Required) - * tasks_total: int (Required) - * best_score: double (Required) - * elapsed_seconds: double (Required) + * currentIteration: int (Required) + * bestScore: double (Required) + * elapsedSeconds: double (Required) + * } + * dataset (Optional): { + * name: String (Optional) + * version: String (Optional) + * taskCount: int (Required) + * isInline: boolean (Required) * } * } * } @@ -6261,7 +5950,7 @@ public Response getOptimizationJobWithResponse(String jobId, Request /** * Returns a list of agent optimization jobs. * - * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters. + * List optimization jobs. Supports cursor pagination and optional status / agentName filters. *

Query Parameters

*
Header Parameters
* @@ -6282,7 +5971,7 @@ public Response getOptimizationJobWithResponse(String jobId, Request * subsequent call can include before=obj_foo in order to fetch the previous page of the list. * - * + * *
Query Parameters
statusStringNoFilter to jobs in this lifecycle state. Allowed values: * "queued", "in_progress", "succeeded", "failed", "cancelled".
agent_nameStringNoFilter to jobs targeting this agent name.
agentNameStringNoFilter to jobs targeting this agent name.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -6302,165 +5991,121 @@ public Response getOptimizationJobWithResponse(String jobId, Request * {@code * { * id: String (Required) - * inputs (Optional): { - * agent (Required): { - * agent_name: String (Required) - * agent_version: String (Optional) - * model: String (Optional) - * system_prompt: String (Optional) - * skills (Optional): [ - * (Optional){ - * name: String (Required) - * description: String (Optional) - * } - * ] + * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) + * error (Optional): { + * code: String (Required) + * message: String (Required) + * param: String (Optional) + * type: String (Optional) + * details (Optional): [ + * (recursive schema, see above) + * ] + * additionalInfo (Optional): { + * String: BinaryData (Required) * } - * dataset (Optional): [ - * (Optional){ - * name: String (Required) - * query: String (Required) - * ground_truth: String (Optional) - * criteria (Optional): [ + * debugInfo (Optional): { + * String: BinaryData (Required) + * } + * } + * result (Optional): { + * baseline (Optional): { + * candidateId: String (Optional) + * name: String (Required) + * config (Required): { + * agentName: String (Optional) + * agentVersion: String (Optional) + * model: String (Optional) + * systemPrompt: String (Optional) + * skills (Optional): [ * (Optional){ - * name: String (Required) - * instruction: String (Required) + * String: BinaryData (Required) * } * ] - * eval_results (Optional): [ + * tools (Optional): [ * (Optional){ - * name: String (Required) - * type: String (Optional) - * score: double (Required) - * passed: boolean (Required) - * sample (Optional): { - * String: BinaryData (Required) - * } - * status: String(completed/errored/skipped) (Optional) - * metric: String (Optional) - * label: String (Optional) - * threshold: Double (Optional) - * reason: String (Optional) - * properties (Optional): { - * String: String (Required) - * } - * (Optional): { - * String: BinaryData (Required) - * } + * String: BinaryData (Required) * } * ] - * response_items (Optional): [ - * BinaryData (Optional) - * ] * } - * ] - * train_dataset_reference (Optional): { - * name: String (Required) - * version: String (Optional) - * } - * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) - * evaluators (Optional): [ - * String (Optional) - * ] - * criteria (Optional): [ - * (recursive schema, see above) - * ] - * options (Optional): { - * strategies (Optional): [ - * String(instruction/model/skill) (Optional) - * ] - * budget: Integer (Optional) - * max_iterations: Integer (Optional) - * tasks_per_iteration: Integer (Optional) - * max_reflection_tasks: Integer (Optional) - * min_improvement: Double (Optional) - * pass_threshold: Double (Optional) - * improvement_threshold: Double (Optional) - * mode: String(optimize) (Optional) - * eval_model: String (Optional) - * reflection_model: String (Optional) - * task_timeout_seconds: Long (Optional) - * keep_versions: Boolean (Optional) - * } - * } - * result (Optional): { - * baseline (Optional): { - * candidate_id: String (Optional) - * name: String (Required) - * config (Required): (recursive schema, see config above) * mutations (Required): { * String: BinaryData (Required) * } - * rationale: String (Required) - * avg_score: double (Required) - * avg_tokens: double (Required) - * pass_rate: double (Required) - * task_scores (Required): [ + * avgScore: double (Required) + * avgTokens: double (Required) + * passRate: double (Required) + * taskScores (Required): [ * (Required){ - * task_name: String (Required) + * taskName: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * composite_score: double (Required) + * compositeScore: double (Required) * tokens: int (Required) - * duration_seconds: double (Required) + * durationSeconds: double (Required) * passed: boolean (Required) - * error_message: String (Optional) + * errorMessage: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * run_id: String (Optional) + * runId: String (Optional) * } * ] - * is_pareto_optimal: boolean (Required) - * sample_avg_score: Double (Optional) - * sample_size: Integer (Optional) - * evaluation_type: String (Optional) - * strategy: String(instruction/model/skill) (Optional) - * eval_id: String (Optional) - * eval_run_id: String (Optional) + * isParetoOptimal: boolean (Required) + * evalId: String (Optional) + * evalRunId: String (Optional) + * promotion (Optional): { + * promotedAt: long (Required) + * agentName: String (Required) + * agentVersion: String (Required) + * } * } * best (Optional): (recursive schema, see best above) * candidates (Optional): [ * (recursive schema, see above) * ] - * pareto_frontier (Optional): [ - * (recursive schema, see above) - * ] - * validation_score (Optional): (recursive schema, see validation_score above) - * options (Optional): (recursive schema, see options above) - * sample_size: Integer (Optional) + * options (Optional): { + * maxIterations: Integer (Optional) + * optimizationConfig (Optional): { + * String: BinaryData (Required) + * } + * evalModel: String (Optional) + * optimizationModel: String (Optional) + * evaluationLevel: String(turn/conversation) (Optional) + * } * warnings (Optional): [ * String (Optional) * ] - * all_strategies_failed: Boolean (Optional) + * allTargetAttributesFailed: Boolean (Optional) * } - * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) - * error (Optional): { - * code: String (Required) - * message: String (Required) - * param: String (Optional) - * type: String (Optional) - * details (Optional): [ - * (recursive schema, see above) - * ] - * additionalInfo (Optional): { - * String: BinaryData (Required) + * inputs (Optional): { + * agent (Required): { + * agentName: String (Required) + * agentVersion: String (Optional) * } - * debugInfo (Optional): { - * String: BinaryData (Required) + * trainDatasetReference (Required): { + * name: String (Required) + * version: String (Optional) * } + * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * evaluators (Optional): [ + * String (Optional) + * ] + * options (Optional): (recursive schema, see options above) * } - * created_at: long (Required) - * updated_at: Long (Optional) + * createdAt: long (Required) + * updatedAt: Long (Optional) * progress (Optional): { - * current_strategy: String(instruction/model/skill) (Required) - * current_iteration: int (Required) - * tasks_completed: int (Required) - * tasks_total: int (Required) - * best_score: double (Required) - * elapsed_seconds: double (Required) + * currentIteration: int (Required) + * bestScore: double (Required) + * elapsedSeconds: double (Required) + * } + * dataset (Optional): { + * name: String (Optional) + * version: String (Optional) + * taskCount: int (Required) + * isInline: boolean (Required) * } * } * } @@ -6487,7 +6132,7 @@ private Mono> listOptimizationJobsSinglePageAsync(Requ /** * Returns a list of agent optimization jobs. * - * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters. + * List optimization jobs. Supports cursor pagination and optional status / agentName filters. *

Query Parameters

* * @@ -6508,7 +6153,7 @@ private Mono> listOptimizationJobsSinglePageAsync(Requ * subsequent call can include before=obj_foo in order to fetch the previous page of the list. * - * + * *
Query Parameters
statusStringNoFilter to jobs in this lifecycle state. Allowed values: * "queued", "in_progress", "succeeded", "failed", "cancelled".
agent_nameStringNoFilter to jobs targeting this agent name.
agentNameStringNoFilter to jobs targeting this agent name.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -6528,165 +6173,121 @@ private Mono> listOptimizationJobsSinglePageAsync(Requ * {@code * { * id: String (Required) - * inputs (Optional): { - * agent (Required): { - * agent_name: String (Required) - * agent_version: String (Optional) - * model: String (Optional) - * system_prompt: String (Optional) - * skills (Optional): [ - * (Optional){ - * name: String (Required) - * description: String (Optional) - * } - * ] + * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) + * error (Optional): { + * code: String (Required) + * message: String (Required) + * param: String (Optional) + * type: String (Optional) + * details (Optional): [ + * (recursive schema, see above) + * ] + * additionalInfo (Optional): { + * String: BinaryData (Required) * } - * dataset (Optional): [ - * (Optional){ - * name: String (Required) - * query: String (Required) - * ground_truth: String (Optional) - * criteria (Optional): [ + * debugInfo (Optional): { + * String: BinaryData (Required) + * } + * } + * result (Optional): { + * baseline (Optional): { + * candidateId: String (Optional) + * name: String (Required) + * config (Required): { + * agentName: String (Optional) + * agentVersion: String (Optional) + * model: String (Optional) + * systemPrompt: String (Optional) + * skills (Optional): [ * (Optional){ - * name: String (Required) - * instruction: String (Required) + * String: BinaryData (Required) * } * ] - * eval_results (Optional): [ + * tools (Optional): [ * (Optional){ - * name: String (Required) - * type: String (Optional) - * score: double (Required) - * passed: boolean (Required) - * sample (Optional): { - * String: BinaryData (Required) - * } - * status: String(completed/errored/skipped) (Optional) - * metric: String (Optional) - * label: String (Optional) - * threshold: Double (Optional) - * reason: String (Optional) - * properties (Optional): { - * String: String (Required) - * } - * (Optional): { - * String: BinaryData (Required) - * } + * String: BinaryData (Required) * } * ] - * response_items (Optional): [ - * BinaryData (Optional) - * ] * } - * ] - * train_dataset_reference (Optional): { - * name: String (Required) - * version: String (Optional) - * } - * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) - * evaluators (Optional): [ - * String (Optional) - * ] - * criteria (Optional): [ - * (recursive schema, see above) - * ] - * options (Optional): { - * strategies (Optional): [ - * String(instruction/model/skill) (Optional) - * ] - * budget: Integer (Optional) - * max_iterations: Integer (Optional) - * tasks_per_iteration: Integer (Optional) - * max_reflection_tasks: Integer (Optional) - * min_improvement: Double (Optional) - * pass_threshold: Double (Optional) - * improvement_threshold: Double (Optional) - * mode: String(optimize) (Optional) - * eval_model: String (Optional) - * reflection_model: String (Optional) - * task_timeout_seconds: Long (Optional) - * keep_versions: Boolean (Optional) - * } - * } - * result (Optional): { - * baseline (Optional): { - * candidate_id: String (Optional) - * name: String (Required) - * config (Required): (recursive schema, see config above) * mutations (Required): { * String: BinaryData (Required) * } - * rationale: String (Required) - * avg_score: double (Required) - * avg_tokens: double (Required) - * pass_rate: double (Required) - * task_scores (Required): [ + * avgScore: double (Required) + * avgTokens: double (Required) + * passRate: double (Required) + * taskScores (Required): [ * (Required){ - * task_name: String (Required) + * taskName: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * composite_score: double (Required) + * compositeScore: double (Required) * tokens: int (Required) - * duration_seconds: double (Required) + * durationSeconds: double (Required) * passed: boolean (Required) - * error_message: String (Optional) + * errorMessage: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * run_id: String (Optional) + * runId: String (Optional) * } * ] - * is_pareto_optimal: boolean (Required) - * sample_avg_score: Double (Optional) - * sample_size: Integer (Optional) - * evaluation_type: String (Optional) - * strategy: String(instruction/model/skill) (Optional) - * eval_id: String (Optional) - * eval_run_id: String (Optional) + * isParetoOptimal: boolean (Required) + * evalId: String (Optional) + * evalRunId: String (Optional) + * promotion (Optional): { + * promotedAt: long (Required) + * agentName: String (Required) + * agentVersion: String (Required) + * } * } * best (Optional): (recursive schema, see best above) * candidates (Optional): [ * (recursive schema, see above) * ] - * pareto_frontier (Optional): [ - * (recursive schema, see above) - * ] - * validation_score (Optional): (recursive schema, see validation_score above) - * options (Optional): (recursive schema, see options above) - * sample_size: Integer (Optional) + * options (Optional): { + * maxIterations: Integer (Optional) + * optimizationConfig (Optional): { + * String: BinaryData (Required) + * } + * evalModel: String (Optional) + * optimizationModel: String (Optional) + * evaluationLevel: String(turn/conversation) (Optional) + * } * warnings (Optional): [ * String (Optional) * ] - * all_strategies_failed: Boolean (Optional) + * allTargetAttributesFailed: Boolean (Optional) * } - * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) - * error (Optional): { - * code: String (Required) - * message: String (Required) - * param: String (Optional) - * type: String (Optional) - * details (Optional): [ - * (recursive schema, see above) - * ] - * additionalInfo (Optional): { - * String: BinaryData (Required) + * inputs (Optional): { + * agent (Required): { + * agentName: String (Required) + * agentVersion: String (Optional) * } - * debugInfo (Optional): { - * String: BinaryData (Required) + * trainDatasetReference (Required): { + * name: String (Required) + * version: String (Optional) * } + * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * evaluators (Optional): [ + * String (Optional) + * ] + * options (Optional): (recursive schema, see options above) * } - * created_at: long (Required) - * updated_at: Long (Optional) + * createdAt: long (Required) + * updatedAt: Long (Optional) * progress (Optional): { - * current_strategy: String(instruction/model/skill) (Required) - * current_iteration: int (Required) - * tasks_completed: int (Required) - * tasks_total: int (Required) - * best_score: double (Required) - * elapsed_seconds: double (Required) + * currentIteration: int (Required) + * bestScore: double (Required) + * elapsedSeconds: double (Required) + * } + * dataset (Optional): { + * name: String (Optional) + * version: String (Optional) + * taskCount: int (Required) + * isInline: boolean (Required) * } * } * } @@ -6707,7 +6308,7 @@ public PagedFlux listOptimizationJobsAsync(RequestOptions requestOpt /** * Returns a list of agent optimization jobs. * - * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters. + * List optimization jobs. Supports cursor pagination and optional status / agentName filters. *

Query Parameters

* * @@ -6728,7 +6329,7 @@ public PagedFlux listOptimizationJobsAsync(RequestOptions requestOpt * subsequent call can include before=obj_foo in order to fetch the previous page of the list. * - * + * *
Query Parameters
statusStringNoFilter to jobs in this lifecycle state. Allowed values: * "queued", "in_progress", "succeeded", "failed", "cancelled".
agent_nameStringNoFilter to jobs targeting this agent name.
agentNameStringNoFilter to jobs targeting this agent name.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -6748,165 +6349,121 @@ public PagedFlux listOptimizationJobsAsync(RequestOptions requestOpt * {@code * { * id: String (Required) - * inputs (Optional): { - * agent (Required): { - * agent_name: String (Required) - * agent_version: String (Optional) - * model: String (Optional) - * system_prompt: String (Optional) - * skills (Optional): [ - * (Optional){ - * name: String (Required) - * description: String (Optional) - * } - * ] + * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) + * error (Optional): { + * code: String (Required) + * message: String (Required) + * param: String (Optional) + * type: String (Optional) + * details (Optional): [ + * (recursive schema, see above) + * ] + * additionalInfo (Optional): { + * String: BinaryData (Required) * } - * dataset (Optional): [ - * (Optional){ - * name: String (Required) - * query: String (Required) - * ground_truth: String (Optional) - * criteria (Optional): [ + * debugInfo (Optional): { + * String: BinaryData (Required) + * } + * } + * result (Optional): { + * baseline (Optional): { + * candidateId: String (Optional) + * name: String (Required) + * config (Required): { + * agentName: String (Optional) + * agentVersion: String (Optional) + * model: String (Optional) + * systemPrompt: String (Optional) + * skills (Optional): [ * (Optional){ - * name: String (Required) - * instruction: String (Required) + * String: BinaryData (Required) * } * ] - * eval_results (Optional): [ + * tools (Optional): [ * (Optional){ - * name: String (Required) - * type: String (Optional) - * score: double (Required) - * passed: boolean (Required) - * sample (Optional): { - * String: BinaryData (Required) - * } - * status: String(completed/errored/skipped) (Optional) - * metric: String (Optional) - * label: String (Optional) - * threshold: Double (Optional) - * reason: String (Optional) - * properties (Optional): { - * String: String (Required) - * } - * (Optional): { - * String: BinaryData (Required) - * } + * String: BinaryData (Required) * } * ] - * response_items (Optional): [ - * BinaryData (Optional) - * ] * } - * ] - * train_dataset_reference (Optional): { - * name: String (Required) - * version: String (Optional) - * } - * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) - * evaluators (Optional): [ - * String (Optional) - * ] - * criteria (Optional): [ - * (recursive schema, see above) - * ] - * options (Optional): { - * strategies (Optional): [ - * String(instruction/model/skill) (Optional) - * ] - * budget: Integer (Optional) - * max_iterations: Integer (Optional) - * tasks_per_iteration: Integer (Optional) - * max_reflection_tasks: Integer (Optional) - * min_improvement: Double (Optional) - * pass_threshold: Double (Optional) - * improvement_threshold: Double (Optional) - * mode: String(optimize) (Optional) - * eval_model: String (Optional) - * reflection_model: String (Optional) - * task_timeout_seconds: Long (Optional) - * keep_versions: Boolean (Optional) - * } - * } - * result (Optional): { - * baseline (Optional): { - * candidate_id: String (Optional) - * name: String (Required) - * config (Required): (recursive schema, see config above) * mutations (Required): { * String: BinaryData (Required) * } - * rationale: String (Required) - * avg_score: double (Required) - * avg_tokens: double (Required) - * pass_rate: double (Required) - * task_scores (Required): [ + * avgScore: double (Required) + * avgTokens: double (Required) + * passRate: double (Required) + * taskScores (Required): [ * (Required){ - * task_name: String (Required) + * taskName: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * composite_score: double (Required) + * compositeScore: double (Required) * tokens: int (Required) - * duration_seconds: double (Required) + * durationSeconds: double (Required) * passed: boolean (Required) - * error_message: String (Optional) + * errorMessage: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * run_id: String (Optional) + * runId: String (Optional) * } * ] - * is_pareto_optimal: boolean (Required) - * sample_avg_score: Double (Optional) - * sample_size: Integer (Optional) - * evaluation_type: String (Optional) - * strategy: String(instruction/model/skill) (Optional) - * eval_id: String (Optional) - * eval_run_id: String (Optional) + * isParetoOptimal: boolean (Required) + * evalId: String (Optional) + * evalRunId: String (Optional) + * promotion (Optional): { + * promotedAt: long (Required) + * agentName: String (Required) + * agentVersion: String (Required) + * } * } * best (Optional): (recursive schema, see best above) * candidates (Optional): [ * (recursive schema, see above) * ] - * pareto_frontier (Optional): [ - * (recursive schema, see above) - * ] - * validation_score (Optional): (recursive schema, see validation_score above) - * options (Optional): (recursive schema, see options above) - * sample_size: Integer (Optional) + * options (Optional): { + * maxIterations: Integer (Optional) + * optimizationConfig (Optional): { + * String: BinaryData (Required) + * } + * evalModel: String (Optional) + * optimizationModel: String (Optional) + * evaluationLevel: String(turn/conversation) (Optional) + * } * warnings (Optional): [ * String (Optional) * ] - * all_strategies_failed: Boolean (Optional) + * allTargetAttributesFailed: Boolean (Optional) * } - * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) - * error (Optional): { - * code: String (Required) - * message: String (Required) - * param: String (Optional) - * type: String (Optional) - * details (Optional): [ - * (recursive schema, see above) - * ] - * additionalInfo (Optional): { - * String: BinaryData (Required) + * inputs (Optional): { + * agent (Required): { + * agentName: String (Required) + * agentVersion: String (Optional) * } - * debugInfo (Optional): { - * String: BinaryData (Required) + * trainDatasetReference (Required): { + * name: String (Required) + * version: String (Optional) * } + * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * evaluators (Optional): [ + * String (Optional) + * ] + * options (Optional): (recursive schema, see options above) * } - * created_at: long (Required) - * updated_at: Long (Optional) + * createdAt: long (Required) + * updatedAt: Long (Optional) * progress (Optional): { - * current_strategy: String(instruction/model/skill) (Required) - * current_iteration: int (Required) - * tasks_completed: int (Required) - * tasks_total: int (Required) - * best_score: double (Required) - * elapsed_seconds: double (Required) + * currentIteration: int (Required) + * bestScore: double (Required) + * elapsedSeconds: double (Required) + * } + * dataset (Optional): { + * name: String (Optional) + * version: String (Optional) + * taskCount: int (Required) + * isInline: boolean (Required) * } * } * } @@ -6931,7 +6488,7 @@ private PagedResponse listOptimizationJobsSinglePage(RequestOptions /** * Returns a list of agent optimization jobs. * - * List optimization jobs. Supports cursor pagination and optional `status` / `agent_name` filters. + * List optimization jobs. Supports cursor pagination and optional status / agentName filters. *

Query Parameters

* * @@ -6952,7 +6509,7 @@ private PagedResponse listOptimizationJobsSinglePage(RequestOptions * subsequent call can include before=obj_foo in order to fetch the previous page of the list. * - * + * *
Query Parameters
statusStringNoFilter to jobs in this lifecycle state. Allowed values: * "queued", "in_progress", "succeeded", "failed", "cancelled".
agent_nameStringNoFilter to jobs targeting this agent name.
agentNameStringNoFilter to jobs targeting this agent name.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -6972,165 +6529,121 @@ private PagedResponse listOptimizationJobsSinglePage(RequestOptions * {@code * { * id: String (Required) - * inputs (Optional): { - * agent (Required): { - * agent_name: String (Required) - * agent_version: String (Optional) - * model: String (Optional) - * system_prompt: String (Optional) - * skills (Optional): [ - * (Optional){ - * name: String (Required) - * description: String (Optional) - * } - * ] + * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) + * error (Optional): { + * code: String (Required) + * message: String (Required) + * param: String (Optional) + * type: String (Optional) + * details (Optional): [ + * (recursive schema, see above) + * ] + * additionalInfo (Optional): { + * String: BinaryData (Required) * } - * dataset (Optional): [ - * (Optional){ - * name: String (Required) - * query: String (Required) - * ground_truth: String (Optional) - * criteria (Optional): [ + * debugInfo (Optional): { + * String: BinaryData (Required) + * } + * } + * result (Optional): { + * baseline (Optional): { + * candidateId: String (Optional) + * name: String (Required) + * config (Required): { + * agentName: String (Optional) + * agentVersion: String (Optional) + * model: String (Optional) + * systemPrompt: String (Optional) + * skills (Optional): [ * (Optional){ - * name: String (Required) - * instruction: String (Required) + * String: BinaryData (Required) * } * ] - * eval_results (Optional): [ + * tools (Optional): [ * (Optional){ - * name: String (Required) - * type: String (Optional) - * score: double (Required) - * passed: boolean (Required) - * sample (Optional): { - * String: BinaryData (Required) - * } - * status: String(completed/errored/skipped) (Optional) - * metric: String (Optional) - * label: String (Optional) - * threshold: Double (Optional) - * reason: String (Optional) - * properties (Optional): { - * String: String (Required) - * } - * (Optional): { - * String: BinaryData (Required) - * } + * String: BinaryData (Required) * } * ] - * response_items (Optional): [ - * BinaryData (Optional) - * ] * } - * ] - * train_dataset_reference (Optional): { - * name: String (Required) - * version: String (Optional) - * } - * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) - * evaluators (Optional): [ - * String (Optional) - * ] - * criteria (Optional): [ - * (recursive schema, see above) - * ] - * options (Optional): { - * strategies (Optional): [ - * String(instruction/model/skill) (Optional) - * ] - * budget: Integer (Optional) - * max_iterations: Integer (Optional) - * tasks_per_iteration: Integer (Optional) - * max_reflection_tasks: Integer (Optional) - * min_improvement: Double (Optional) - * pass_threshold: Double (Optional) - * improvement_threshold: Double (Optional) - * mode: String(optimize) (Optional) - * eval_model: String (Optional) - * reflection_model: String (Optional) - * task_timeout_seconds: Long (Optional) - * keep_versions: Boolean (Optional) - * } - * } - * result (Optional): { - * baseline (Optional): { - * candidate_id: String (Optional) - * name: String (Required) - * config (Required): (recursive schema, see config above) * mutations (Required): { * String: BinaryData (Required) * } - * rationale: String (Required) - * avg_score: double (Required) - * avg_tokens: double (Required) - * pass_rate: double (Required) - * task_scores (Required): [ + * avgScore: double (Required) + * avgTokens: double (Required) + * passRate: double (Required) + * taskScores (Required): [ * (Required){ - * task_name: String (Required) + * taskName: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * composite_score: double (Required) + * compositeScore: double (Required) * tokens: int (Required) - * duration_seconds: double (Required) + * durationSeconds: double (Required) * passed: boolean (Required) - * error_message: String (Optional) + * errorMessage: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * run_id: String (Optional) + * runId: String (Optional) * } * ] - * is_pareto_optimal: boolean (Required) - * sample_avg_score: Double (Optional) - * sample_size: Integer (Optional) - * evaluation_type: String (Optional) - * strategy: String(instruction/model/skill) (Optional) - * eval_id: String (Optional) - * eval_run_id: String (Optional) + * isParetoOptimal: boolean (Required) + * evalId: String (Optional) + * evalRunId: String (Optional) + * promotion (Optional): { + * promotedAt: long (Required) + * agentName: String (Required) + * agentVersion: String (Required) + * } * } * best (Optional): (recursive schema, see best above) * candidates (Optional): [ * (recursive schema, see above) * ] - * pareto_frontier (Optional): [ - * (recursive schema, see above) - * ] - * validation_score (Optional): (recursive schema, see validation_score above) - * options (Optional): (recursive schema, see options above) - * sample_size: Integer (Optional) + * options (Optional): { + * maxIterations: Integer (Optional) + * optimizationConfig (Optional): { + * String: BinaryData (Required) + * } + * evalModel: String (Optional) + * optimizationModel: String (Optional) + * evaluationLevel: String(turn/conversation) (Optional) + * } * warnings (Optional): [ * String (Optional) * ] - * all_strategies_failed: Boolean (Optional) + * allTargetAttributesFailed: Boolean (Optional) * } - * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) - * error (Optional): { - * code: String (Required) - * message: String (Required) - * param: String (Optional) - * type: String (Optional) - * details (Optional): [ - * (recursive schema, see above) - * ] - * additionalInfo (Optional): { - * String: BinaryData (Required) + * inputs (Optional): { + * agent (Required): { + * agentName: String (Required) + * agentVersion: String (Optional) * } - * debugInfo (Optional): { - * String: BinaryData (Required) + * trainDatasetReference (Required): { + * name: String (Required) + * version: String (Optional) * } + * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * evaluators (Optional): [ + * String (Optional) + * ] + * options (Optional): (recursive schema, see options above) * } - * created_at: long (Required) - * updated_at: Long (Optional) + * createdAt: long (Required) + * updatedAt: Long (Optional) * progress (Optional): { - * current_strategy: String(instruction/model/skill) (Required) - * current_iteration: int (Required) - * tasks_completed: int (Required) - * tasks_total: int (Required) - * best_score: double (Required) - * elapsed_seconds: double (Required) + * currentIteration: int (Required) + * bestScore: double (Required) + * elapsedSeconds: double (Required) + * } + * dataset (Optional): { + * name: String (Optional) + * version: String (Optional) + * taskCount: int (Required) + * isInline: boolean (Required) * } * } * } @@ -7169,165 +6682,121 @@ public PagedIterable listOptimizationJobs(RequestOptions requestOpti * {@code * { * id: String (Required) - * inputs (Optional): { - * agent (Required): { - * agent_name: String (Required) - * agent_version: String (Optional) - * model: String (Optional) - * system_prompt: String (Optional) - * skills (Optional): [ - * (Optional){ - * name: String (Required) - * description: String (Optional) - * } - * ] + * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) + * error (Optional): { + * code: String (Required) + * message: String (Required) + * param: String (Optional) + * type: String (Optional) + * details (Optional): [ + * (recursive schema, see above) + * ] + * additionalInfo (Optional): { + * String: BinaryData (Required) * } - * dataset (Optional): [ - * (Optional){ - * name: String (Required) - * query: String (Required) - * ground_truth: String (Optional) - * criteria (Optional): [ + * debugInfo (Optional): { + * String: BinaryData (Required) + * } + * } + * result (Optional): { + * baseline (Optional): { + * candidateId: String (Optional) + * name: String (Required) + * config (Required): { + * agentName: String (Optional) + * agentVersion: String (Optional) + * model: String (Optional) + * systemPrompt: String (Optional) + * skills (Optional): [ * (Optional){ - * name: String (Required) - * instruction: String (Required) + * String: BinaryData (Required) * } * ] - * eval_results (Optional): [ + * tools (Optional): [ * (Optional){ - * name: String (Required) - * type: String (Optional) - * score: double (Required) - * passed: boolean (Required) - * sample (Optional): { - * String: BinaryData (Required) - * } - * status: String(completed/errored/skipped) (Optional) - * metric: String (Optional) - * label: String (Optional) - * threshold: Double (Optional) - * reason: String (Optional) - * properties (Optional): { - * String: String (Required) - * } - * (Optional): { - * String: BinaryData (Required) - * } + * String: BinaryData (Required) * } * ] - * response_items (Optional): [ - * BinaryData (Optional) - * ] * } - * ] - * train_dataset_reference (Optional): { - * name: String (Required) - * version: String (Optional) - * } - * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) - * evaluators (Optional): [ - * String (Optional) - * ] - * criteria (Optional): [ - * (recursive schema, see above) - * ] - * options (Optional): { - * strategies (Optional): [ - * String(instruction/model/skill) (Optional) - * ] - * budget: Integer (Optional) - * max_iterations: Integer (Optional) - * tasks_per_iteration: Integer (Optional) - * max_reflection_tasks: Integer (Optional) - * min_improvement: Double (Optional) - * pass_threshold: Double (Optional) - * improvement_threshold: Double (Optional) - * mode: String(optimize) (Optional) - * eval_model: String (Optional) - * reflection_model: String (Optional) - * task_timeout_seconds: Long (Optional) - * keep_versions: Boolean (Optional) - * } - * } - * result (Optional): { - * baseline (Optional): { - * candidate_id: String (Optional) - * name: String (Required) - * config (Required): (recursive schema, see config above) * mutations (Required): { * String: BinaryData (Required) * } - * rationale: String (Required) - * avg_score: double (Required) - * avg_tokens: double (Required) - * pass_rate: double (Required) - * task_scores (Required): [ + * avgScore: double (Required) + * avgTokens: double (Required) + * passRate: double (Required) + * taskScores (Required): [ * (Required){ - * task_name: String (Required) + * taskName: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * composite_score: double (Required) + * compositeScore: double (Required) * tokens: int (Required) - * duration_seconds: double (Required) + * durationSeconds: double (Required) * passed: boolean (Required) - * error_message: String (Optional) + * errorMessage: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * run_id: String (Optional) + * runId: String (Optional) * } * ] - * is_pareto_optimal: boolean (Required) - * sample_avg_score: Double (Optional) - * sample_size: Integer (Optional) - * evaluation_type: String (Optional) - * strategy: String(instruction/model/skill) (Optional) - * eval_id: String (Optional) - * eval_run_id: String (Optional) + * isParetoOptimal: boolean (Required) + * evalId: String (Optional) + * evalRunId: String (Optional) + * promotion (Optional): { + * promotedAt: long (Required) + * agentName: String (Required) + * agentVersion: String (Required) + * } * } * best (Optional): (recursive schema, see best above) * candidates (Optional): [ * (recursive schema, see above) * ] - * pareto_frontier (Optional): [ - * (recursive schema, see above) - * ] - * validation_score (Optional): (recursive schema, see validation_score above) - * options (Optional): (recursive schema, see options above) - * sample_size: Integer (Optional) + * options (Optional): { + * maxIterations: Integer (Optional) + * optimizationConfig (Optional): { + * String: BinaryData (Required) + * } + * evalModel: String (Optional) + * optimizationModel: String (Optional) + * evaluationLevel: String(turn/conversation) (Optional) + * } * warnings (Optional): [ * String (Optional) * ] - * all_strategies_failed: Boolean (Optional) + * allTargetAttributesFailed: Boolean (Optional) * } - * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) - * error (Optional): { - * code: String (Required) - * message: String (Required) - * param: String (Optional) - * type: String (Optional) - * details (Optional): [ - * (recursive schema, see above) - * ] - * additionalInfo (Optional): { - * String: BinaryData (Required) + * inputs (Optional): { + * agent (Required): { + * agentName: String (Required) + * agentVersion: String (Optional) * } - * debugInfo (Optional): { - * String: BinaryData (Required) + * trainDatasetReference (Required): { + * name: String (Required) + * version: String (Optional) * } + * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * evaluators (Optional): [ + * String (Optional) + * ] + * options (Optional): (recursive schema, see options above) * } - * created_at: long (Required) - * updated_at: Long (Optional) + * createdAt: long (Required) + * updatedAt: Long (Optional) * progress (Optional): { - * current_strategy: String(instruction/model/skill) (Required) - * current_iteration: int (Required) - * tasks_completed: int (Required) - * tasks_total: int (Required) - * best_score: double (Required) - * elapsed_seconds: double (Required) + * currentIteration: int (Required) + * bestScore: double (Required) + * elapsedSeconds: double (Required) + * } + * dataset (Optional): { + * name: String (Optional) + * version: String (Optional) + * taskCount: int (Required) + * isInline: boolean (Required) * } * } * } @@ -7340,8 +6809,8 @@ public PagedIterable listOptimizationJobs(RequestOptions requestOpti * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @return agent optimization job resource — a long-running job that optimizes an agent's configuration - * (instructions, model, skills) to maximize evaluation scores along with {@link Response} on successful completion - * of {@link Mono}. + * (instructions, model, skills, tools) to maximize evaluation scores along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> cancelOptimizationJobWithResponseAsync(String jobId, @@ -7372,165 +6841,121 @@ public Mono> cancelOptimizationJobWithResponseAsync(String * {@code * { * id: String (Required) - * inputs (Optional): { - * agent (Required): { - * agent_name: String (Required) - * agent_version: String (Optional) - * model: String (Optional) - * system_prompt: String (Optional) - * skills (Optional): [ - * (Optional){ - * name: String (Required) - * description: String (Optional) - * } - * ] + * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) + * error (Optional): { + * code: String (Required) + * message: String (Required) + * param: String (Optional) + * type: String (Optional) + * details (Optional): [ + * (recursive schema, see above) + * ] + * additionalInfo (Optional): { + * String: BinaryData (Required) * } - * dataset (Optional): [ - * (Optional){ - * name: String (Required) - * query: String (Required) - * ground_truth: String (Optional) - * criteria (Optional): [ + * debugInfo (Optional): { + * String: BinaryData (Required) + * } + * } + * result (Optional): { + * baseline (Optional): { + * candidateId: String (Optional) + * name: String (Required) + * config (Required): { + * agentName: String (Optional) + * agentVersion: String (Optional) + * model: String (Optional) + * systemPrompt: String (Optional) + * skills (Optional): [ * (Optional){ - * name: String (Required) - * instruction: String (Required) + * String: BinaryData (Required) * } * ] - * eval_results (Optional): [ + * tools (Optional): [ * (Optional){ - * name: String (Required) - * type: String (Optional) - * score: double (Required) - * passed: boolean (Required) - * sample (Optional): { - * String: BinaryData (Required) - * } - * status: String(completed/errored/skipped) (Optional) - * metric: String (Optional) - * label: String (Optional) - * threshold: Double (Optional) - * reason: String (Optional) - * properties (Optional): { - * String: String (Required) - * } - * (Optional): { - * String: BinaryData (Required) - * } + * String: BinaryData (Required) * } * ] - * response_items (Optional): [ - * BinaryData (Optional) - * ] * } - * ] - * train_dataset_reference (Optional): { - * name: String (Required) - * version: String (Optional) - * } - * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) - * evaluators (Optional): [ - * String (Optional) - * ] - * criteria (Optional): [ - * (recursive schema, see above) - * ] - * options (Optional): { - * strategies (Optional): [ - * String(instruction/model/skill) (Optional) - * ] - * budget: Integer (Optional) - * max_iterations: Integer (Optional) - * tasks_per_iteration: Integer (Optional) - * max_reflection_tasks: Integer (Optional) - * min_improvement: Double (Optional) - * pass_threshold: Double (Optional) - * improvement_threshold: Double (Optional) - * mode: String(optimize) (Optional) - * eval_model: String (Optional) - * reflection_model: String (Optional) - * task_timeout_seconds: Long (Optional) - * keep_versions: Boolean (Optional) - * } - * } - * result (Optional): { - * baseline (Optional): { - * candidate_id: String (Optional) - * name: String (Required) - * config (Required): (recursive schema, see config above) * mutations (Required): { * String: BinaryData (Required) * } - * rationale: String (Required) - * avg_score: double (Required) - * avg_tokens: double (Required) - * pass_rate: double (Required) - * task_scores (Required): [ + * avgScore: double (Required) + * avgTokens: double (Required) + * passRate: double (Required) + * taskScores (Required): [ * (Required){ - * task_name: String (Required) + * taskName: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * composite_score: double (Required) + * compositeScore: double (Required) * tokens: int (Required) - * duration_seconds: double (Required) + * durationSeconds: double (Required) * passed: boolean (Required) - * error_message: String (Optional) + * errorMessage: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * run_id: String (Optional) + * runId: String (Optional) * } * ] - * is_pareto_optimal: boolean (Required) - * sample_avg_score: Double (Optional) - * sample_size: Integer (Optional) - * evaluation_type: String (Optional) - * strategy: String(instruction/model/skill) (Optional) - * eval_id: String (Optional) - * eval_run_id: String (Optional) + * isParetoOptimal: boolean (Required) + * evalId: String (Optional) + * evalRunId: String (Optional) + * promotion (Optional): { + * promotedAt: long (Required) + * agentName: String (Required) + * agentVersion: String (Required) + * } * } * best (Optional): (recursive schema, see best above) * candidates (Optional): [ * (recursive schema, see above) * ] - * pareto_frontier (Optional): [ - * (recursive schema, see above) - * ] - * validation_score (Optional): (recursive schema, see validation_score above) - * options (Optional): (recursive schema, see options above) - * sample_size: Integer (Optional) + * options (Optional): { + * maxIterations: Integer (Optional) + * optimizationConfig (Optional): { + * String: BinaryData (Required) + * } + * evalModel: String (Optional) + * optimizationModel: String (Optional) + * evaluationLevel: String(turn/conversation) (Optional) + * } * warnings (Optional): [ * String (Optional) * ] - * all_strategies_failed: Boolean (Optional) + * allTargetAttributesFailed: Boolean (Optional) * } - * status: String(queued/in_progress/succeeded/failed/cancelled) (Required) - * error (Optional): { - * code: String (Required) - * message: String (Required) - * param: String (Optional) - * type: String (Optional) - * details (Optional): [ - * (recursive schema, see above) - * ] - * additionalInfo (Optional): { - * String: BinaryData (Required) + * inputs (Optional): { + * agent (Required): { + * agentName: String (Required) + * agentVersion: String (Optional) * } - * debugInfo (Optional): { - * String: BinaryData (Required) + * trainDatasetReference (Required): { + * name: String (Required) + * version: String (Optional) * } + * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * evaluators (Optional): [ + * String (Optional) + * ] + * options (Optional): (recursive schema, see options above) * } - * created_at: long (Required) - * updated_at: Long (Optional) + * createdAt: long (Required) + * updatedAt: Long (Optional) * progress (Optional): { - * current_strategy: String(instruction/model/skill) (Required) - * current_iteration: int (Required) - * tasks_completed: int (Required) - * tasks_total: int (Required) - * best_score: double (Required) - * elapsed_seconds: double (Required) + * currentIteration: int (Required) + * bestScore: double (Required) + * elapsedSeconds: double (Required) + * } + * dataset (Optional): { + * name: String (Optional) + * version: String (Optional) + * taskCount: int (Required) + * isInline: boolean (Required) * } * } * } @@ -7543,7 +6968,7 @@ public Mono> cancelOptimizationJobWithResponseAsync(String * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @return agent optimization job resource — a long-running job that optimizes an agent's configuration - * (instructions, model, skills) to maximize evaluation scores along with {@link Response}. + * (instructions, model, skills, tools) to maximize evaluation scores along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response cancelOptimizationJobWithResponse(String jobId, RequestOptions requestOptions) { @@ -7556,6 +6981,14 @@ public Response cancelOptimizationJobWithResponse(String jobId, Requ * Deletes an agent optimization job. * * Delete the job and its candidate artifacts. Cancels first if non-terminal. + *

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
forceBooleanNoWhen true, force-delete even if the job is in a non-terminal + * state.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * @@ -7586,6 +7019,14 @@ public Mono> deleteOptimizationJobWithResponseAsync(String jobId, * Deletes an agent optimization job. * * Delete the job and its candidate artifacts. Cancels first if non-terminal. + *

Query Parameters

+ *
Header Parameters
+ * + * + * + *
Query Parameters
NameTypeRequiredDescription
forceBooleanNoWhen true, force-delete even if the job is in a non-terminal + * state.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * @@ -7654,53 +7095,57 @@ public Response deleteOptimizationJobWithResponse(String jobId, RequestOpt * { * data (Required): [ * (Required){ - * candidate_id: String (Optional) + * candidateId: String (Optional) * name: String (Required) * config (Required): { - * agent_name: String (Required) - * agent_version: String (Optional) + * agentName: String (Optional) + * agentVersion: String (Optional) * model: String (Optional) - * system_prompt: String (Optional) + * systemPrompt: String (Optional) * skills (Optional): [ * (Optional){ - * name: String (Required) - * description: String (Optional) + * String: BinaryData (Required) + * } + * ] + * tools (Optional): [ + * (Optional){ + * String: BinaryData (Required) * } * ] * } * mutations (Required): { * String: BinaryData (Required) * } - * rationale: String (Required) - * avg_score: double (Required) - * avg_tokens: double (Required) - * pass_rate: double (Required) - * task_scores (Required): [ + * avgScore: double (Required) + * avgTokens: double (Required) + * passRate: double (Required) + * taskScores (Required): [ * (Required){ - * task_name: String (Required) + * taskName: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * composite_score: double (Required) + * compositeScore: double (Required) * tokens: int (Required) - * duration_seconds: double (Required) + * durationSeconds: double (Required) * passed: boolean (Required) - * error_message: String (Optional) + * errorMessage: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * run_id: String (Optional) + * runId: String (Optional) * } * ] - * is_pareto_optimal: boolean (Required) - * sample_avg_score: Double (Optional) - * sample_size: Integer (Optional) - * evaluation_type: String (Optional) - * strategy: String(instruction/model/skill) (Optional) - * eval_id: String (Optional) - * eval_run_id: String (Optional) + * isParetoOptimal: boolean (Required) + * evalId: String (Optional) + * evalRunId: String (Optional) + * promotion (Optional): { + * promotedAt: long (Required) + * agentName: String (Required) + * agentVersion: String (Required) + * } * } * ] * first_id: String (Optional) @@ -7769,53 +7214,57 @@ public Mono> listOptimizationCandidatesWithResponseAsync(St * { * data (Required): [ * (Required){ - * candidate_id: String (Optional) + * candidateId: String (Optional) * name: String (Required) * config (Required): { - * agent_name: String (Required) - * agent_version: String (Optional) + * agentName: String (Optional) + * agentVersion: String (Optional) * model: String (Optional) - * system_prompt: String (Optional) + * systemPrompt: String (Optional) * skills (Optional): [ * (Optional){ - * name: String (Required) - * description: String (Optional) + * String: BinaryData (Required) + * } + * ] + * tools (Optional): [ + * (Optional){ + * String: BinaryData (Required) * } * ] * } * mutations (Required): { * String: BinaryData (Required) * } - * rationale: String (Required) - * avg_score: double (Required) - * avg_tokens: double (Required) - * pass_rate: double (Required) - * task_scores (Required): [ + * avgScore: double (Required) + * avgTokens: double (Required) + * passRate: double (Required) + * taskScores (Required): [ * (Required){ - * task_name: String (Required) + * taskName: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * composite_score: double (Required) + * compositeScore: double (Required) * tokens: int (Required) - * duration_seconds: double (Required) + * durationSeconds: double (Required) * passed: boolean (Required) - * error_message: String (Optional) + * errorMessage: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * run_id: String (Optional) + * runId: String (Optional) * } * ] - * is_pareto_optimal: boolean (Required) - * sample_avg_score: Double (Optional) - * sample_size: Integer (Optional) - * evaluation_type: String (Optional) - * strategy: String(instruction/model/skill) (Optional) - * eval_id: String (Optional) - * eval_run_id: String (Optional) + * isParetoOptimal: boolean (Required) + * evalId: String (Optional) + * evalRunId: String (Optional) + * promotion (Optional): { + * promotedAt: long (Required) + * agentName: String (Required) + * agentVersion: String (Required) + * } * } * ] * first_id: String (Optional) @@ -7843,7 +7292,7 @@ public Response listOptimizationCandidatesWithResponse(String jobId, /** * Get a candidate by id. * - * Get a single candidate manifest and aggregated evaluation summary. + * Get a single candidate's metadata, manifest, and promotion info. *

Header Parameters

*
Header Parameters
* @@ -7860,53 +7309,26 @@ public Response listOptimizationCandidatesWithResponse(String jobId, *
      * {@code
      * {
-     *     candidate_id: String (Optional)
-     *     name: String (Required)
-     *     config (Required): {
-     *         agent_name: String (Required)
-     *         agent_version: String (Optional)
-     *         model: String (Optional)
-     *         system_prompt: String (Optional)
-     *         skills (Optional): [
-     *              (Optional){
-     *                 name: String (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     mutations (Required): {
-     *         String: BinaryData (Required)
-     *     }
-     *     rationale: String (Required)
-     *     avg_score: double (Required)
-     *     avg_tokens: double (Required)
-     *     pass_rate: double (Required)
-     *     task_scores (Required): [
+     *     candidateId: String (Required)
+     *     jobId: String (Required)
+     *     candidateName: String (Required)
+     *     status: String (Required)
+     *     score: Double (Optional)
+     *     hasResults: boolean (Required)
+     *     createdAt: long (Required)
+     *     updatedAt: long (Required)
+     *     promotion (Optional): {
+     *         promotedAt: long (Required)
+     *         agentName: String (Required)
+     *         agentVersion: String (Required)
+     *     }
+     *     files (Required): [
      *          (Required){
-     *             task_name: String (Required)
-     *             query: String (Optional)
-     *             scores (Required): {
-     *                 String: double (Required)
-     *             }
-     *             composite_score: double (Required)
-     *             tokens: int (Required)
-     *             duration_seconds: double (Required)
-     *             passed: boolean (Required)
-     *             error_message: String (Optional)
-     *             rationales (Optional): {
-     *                 String: String (Required)
-     *             }
-     *             response: String (Optional)
-     *             run_id: String (Optional)
+     *             path: String (Required)
+     *             type: String (Required)
+     *             sizeBytes: long (Required)
      *         }
      *     ]
-     *     is_pareto_optimal: boolean (Required)
-     *     sample_avg_score: Double (Optional)
-     *     sample_size: Integer (Optional)
-     *     evaluation_type: String (Optional)
-     *     strategy: String(instruction/model/skill) (Optional)
-     *     eval_id: String (Optional)
-     *     eval_run_id: String (Optional)
      * }
      * }
      * 
@@ -7920,7 +7342,7 @@ public Response listOptimizationCandidatesWithResponse(String jobId, * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @return a candidate by id. * - * Get a single candidate manifest and aggregated evaluation summary along with {@link Response} on successful + * Get a single candidate's metadata, manifest, and promotion info along with {@link Response} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -7934,7 +7356,7 @@ public Mono> getOptimizationCandidateWithResponseAsync(Stri /** * Get a candidate by id. * - * Get a single candidate manifest and aggregated evaluation summary. + * Get a single candidate's metadata, manifest, and promotion info. *

Header Parameters

*
Header Parameters
* @@ -7951,53 +7373,26 @@ public Mono> getOptimizationCandidateWithResponseAsync(Stri *
      * {@code
      * {
-     *     candidate_id: String (Optional)
-     *     name: String (Required)
-     *     config (Required): {
-     *         agent_name: String (Required)
-     *         agent_version: String (Optional)
-     *         model: String (Optional)
-     *         system_prompt: String (Optional)
-     *         skills (Optional): [
-     *              (Optional){
-     *                 name: String (Required)
-     *                 description: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     mutations (Required): {
-     *         String: BinaryData (Required)
-     *     }
-     *     rationale: String (Required)
-     *     avg_score: double (Required)
-     *     avg_tokens: double (Required)
-     *     pass_rate: double (Required)
-     *     task_scores (Required): [
+     *     candidateId: String (Required)
+     *     jobId: String (Required)
+     *     candidateName: String (Required)
+     *     status: String (Required)
+     *     score: Double (Optional)
+     *     hasResults: boolean (Required)
+     *     createdAt: long (Required)
+     *     updatedAt: long (Required)
+     *     promotion (Optional): {
+     *         promotedAt: long (Required)
+     *         agentName: String (Required)
+     *         agentVersion: String (Required)
+     *     }
+     *     files (Required): [
      *          (Required){
-     *             task_name: String (Required)
-     *             query: String (Optional)
-     *             scores (Required): {
-     *                 String: double (Required)
-     *             }
-     *             composite_score: double (Required)
-     *             tokens: int (Required)
-     *             duration_seconds: double (Required)
-     *             passed: boolean (Required)
-     *             error_message: String (Optional)
-     *             rationales (Optional): {
-     *                 String: String (Required)
-     *             }
-     *             response: String (Optional)
-     *             run_id: String (Optional)
+     *             path: String (Required)
+     *             type: String (Required)
+     *             sizeBytes: long (Required)
      *         }
      *     ]
-     *     is_pareto_optimal: boolean (Required)
-     *     sample_avg_score: Double (Optional)
-     *     sample_size: Integer (Optional)
-     *     evaluation_type: String (Optional)
-     *     strategy: String(instruction/model/skill) (Optional)
-     *     eval_id: String (Optional)
-     *     eval_run_id: String (Optional)
      * }
      * }
      * 
@@ -8011,7 +7406,7 @@ public Mono> getOptimizationCandidateWithResponseAsync(Stri * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @return a candidate by id. * - * Get a single candidate manifest and aggregated evaluation summary along with {@link Response}. + * Get a single candidate's metadata, manifest, and promotion info along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getOptimizationCandidateWithResponse(String jobId, String candidateId, @@ -8046,8 +7441,12 @@ public Response getOptimizationCandidateWithResponse(String jobId, S * temperature: Double (Optional) * skills (Optional): [ * (Optional){ - * name: String (Required) - * description: String (Optional) + * String: BinaryData (Required) + * } + * ] + * tools (Optional): [ + * (Optional){ + * String: BinaryData (Required) * } * ] * } @@ -8098,8 +7497,12 @@ public Mono> getOptimizationCandidateConfigWithResponseAsyn * temperature: Double (Optional) * skills (Optional): [ * (Optional){ - * name: String (Required) - * description: String (Optional) + * String: BinaryData (Required) + * } + * ] + * tools (Optional): [ + * (Optional){ + * String: BinaryData (Required) * } * ] * } @@ -8145,24 +7548,24 @@ public Response getOptimizationCandidateConfigWithResponse(String jo *
      * {@code
      * {
-     *     candidate_id: String (Required)
+     *     candidateId: String (Required)
      *     results (Required): [
      *          (Required){
-     *             task_name: String (Required)
+     *             taskName: String (Required)
      *             query: String (Optional)
      *             scores (Required): {
      *                 String: double (Required)
      *             }
-     *             composite_score: double (Required)
+     *             compositeScore: double (Required)
      *             tokens: int (Required)
-     *             duration_seconds: double (Required)
+     *             durationSeconds: double (Required)
      *             passed: boolean (Required)
-     *             error_message: String (Optional)
+     *             errorMessage: String (Optional)
      *             rationales (Optional): {
      *                 String: String (Required)
      *             }
      *             response: String (Optional)
-     *             run_id: String (Optional)
+     *             runId: String (Optional)
      *         }
      *     ]
      * }
@@ -8209,24 +7612,24 @@ public Mono> getOptimizationCandidateResultsWithResponseAsy
      * 
      * {@code
      * {
-     *     candidate_id: String (Required)
+     *     candidateId: String (Required)
      *     results (Required): [
      *          (Required){
-     *             task_name: String (Required)
+     *             taskName: String (Required)
      *             query: String (Optional)
      *             scores (Required): {
      *                 String: double (Required)
      *             }
-     *             composite_score: double (Required)
+     *             compositeScore: double (Required)
      *             tokens: int (Required)
-     *             duration_seconds: double (Required)
+     *             durationSeconds: double (Required)
      *             passed: boolean (Required)
-     *             error_message: String (Optional)
+     *             errorMessage: String (Optional)
      *             rationales (Optional): {
      *                 String: String (Required)
      *             }
      *             response: String (Optional)
-     *             run_id: String (Optional)
+     *             runId: String (Optional)
      *         }
      *     ]
      * }
@@ -8252,6 +7655,212 @@ public Response getOptimizationCandidateResultsWithResponse(String j
             this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE);
     }
 
+    /**
+     * Get a candidate file.
+     * 
+     * Stream a specific file from the candidate's blob directory.
+     * 

Header Parameters

+ *
Header Parameters
+ * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param path Relative path of the file to download (e.g. 'files/examples.jsonl'). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a candidate file. + * + * Stream a specific file from the candidate's blob directory along with {@link Response} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCandidateFileWithResponseAsync(String jobId, String candidateId, String path, + RequestOptions requestOptions) { + final String accept = "application/octet-stream"; + return FluxUtil.withContext(context -> service.getCandidateFile(this.client.getEndpoint(), jobId, candidateId, + path, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Get a candidate file. + * + * Stream a specific file from the candidate's blob directory. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param path Relative path of the file to download (e.g. 'files/examples.jsonl'). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a candidate file. + * + * Stream a specific file from the candidate's blob directory along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCandidateFileWithResponse(String jobId, String candidateId, String path, + RequestOptions requestOptions) { + final String accept = "application/octet-stream"; + return service.getCandidateFileSync(this.client.getEndpoint(), jobId, candidateId, path, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Promote a candidate. + * + * Promotes a candidate, recording the deployment timestamp and target agent version. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     agentName: String (Required)
+     *     agentVersion: String (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     candidateId: String (Required)
+     *     status: String (Required)
+     *     promotedAt: long (Required)
+     *     agentName: String (Required)
+     *     agentVersion: String (Required)
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id to promote. + * @param body Promotion details. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response after successfully promoting a candidate along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> promoteCandidateWithResponseAsync(String jobId, String candidateId, + BinaryData body, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.promoteCandidate(this.client.getEndpoint(), jobId, candidateId, + this.client.getServiceVersion().getVersion(), contentType, accept, body, requestOptions, context)); + } + + /** + * Promote a candidate. + * + * Promotes a candidate, recording the deployment timestamp and target agent version. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     agentName: String (Required)
+     *     agentVersion: String (Required)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     candidateId: String (Required)
+     *     status: String (Required)
+     *     promotedAt: long (Required)
+     *     agentName: String (Required)
+     *     agentVersion: String (Required)
+     * }
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id to promote. + * @param body Promotion details. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response after successfully promoting a candidate along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response promoteCandidateWithResponse(String jobId, String candidateId, BinaryData body, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.promoteCandidateSync(this.client.getEndpoint(), jobId, candidateId, + this.client.getServiceVersion().getVersion(), contentType, accept, body, requestOptions, Context.NONE); + } + /** * Returns the list of all conversations. *

Query Parameters

diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java index a7d3b12a0eca..ec6423108ef8 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java @@ -263,6 +263,11 @@ Response deleteToolboxVersionSync(@HostParam("endpoint") String endpoint, * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] + * skills (Optional): [ + * (Optional){ + * type: String (Required) + * } + * ] * policies (Optional): { * rai_config (Optional): { * rai_policy_name: String (Required) @@ -290,6 +295,11 @@ Response deleteToolboxVersionSync(@HostParam("endpoint") String endpoint, * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] + * skills (Optional): [ + * (Optional){ + * type: String (Required) + * } + * ] * policies (Optional): { * rai_config (Optional): { * rai_policy_name: String (Required) @@ -334,6 +344,11 @@ public Mono> createToolboxVersionWithResponseAsync(String n * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] + * skills (Optional): [ + * (Optional){ + * type: String (Required) + * } + * ] * policies (Optional): { * rai_config (Optional): { * rai_policy_name: String (Required) @@ -361,6 +376,11 @@ public Mono> createToolboxVersionWithResponseAsync(String n * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] + * skills (Optional): [ + * (Optional){ + * type: String (Required) + * } + * ] * policies (Optional): { * rai_config (Optional): { * rai_policy_name: String (Required) @@ -682,6 +702,11 @@ public PagedIterable listToolboxes(RequestOptions requestOptions) { * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] + * skills (Optional): [ + * (Optional){ + * type: String (Required) + * } + * ] * policies (Optional): { * rai_config (Optional): { * rai_policy_name: String (Required) @@ -751,6 +776,11 @@ private Mono> listToolboxVersionsSinglePageAsync(Strin * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] + * skills (Optional): [ + * (Optional){ + * type: String (Required) + * } + * ] * policies (Optional): { * rai_config (Optional): { * rai_policy_name: String (Required) @@ -813,6 +843,11 @@ public PagedFlux listToolboxVersionsAsync(String name, RequestOption * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] + * skills (Optional): [ + * (Optional){ + * type: String (Required) + * } + * ] * policies (Optional): { * rai_config (Optional): { * rai_policy_name: String (Required) @@ -879,6 +914,11 @@ private PagedResponse listToolboxVersionsSinglePage(String name, Req * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] + * skills (Optional): [ + * (Optional){ + * type: String (Required) + * } + * ] * policies (Optional): { * rai_config (Optional): { * rai_policy_name: String (Required) @@ -921,6 +961,11 @@ public PagedIterable listToolboxVersions(String name, RequestOptions * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] + * skills (Optional): [ + * (Optional){ + * type: String (Required) + * } + * ] * policies (Optional): { * rai_config (Optional): { * rai_policy_name: String (Required) @@ -967,6 +1012,11 @@ public Mono> getToolboxVersionWithResponseAsync(String name * type: String(function/file_search/computer_use_preview/web_search/mcp/code_interpreter/image_generation/local_shell/shell/custom/web_search_preview/apply_patch/a2a_preview/bing_custom_search_preview/browser_automation_preview/fabric_dataagent_preview/sharepoint_grounding_preview/memory_search_preview/work_iq_preview/fabric_iq_preview/toolbox_search_preview/azure_ai_search/azure_function/bing_grounding/capture_structured_outputs/openapi) (Required) * } * ] + * skills (Optional): [ + * (Optional){ + * type: String (Required) + * } + * ] * policies (Optional): { * rai_config (Optional): { * rai_policy_name: String (Required) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java index 6812089a3ccf..10f0bcab21f7 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java @@ -5,6 +5,7 @@ import com.azure.ai.agents.models.Tool; import com.azure.ai.agents.models.ToolboxPolicies; +import com.azure.ai.agents.models.ToolboxSkill; import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; import com.azure.json.JsonReader; @@ -141,6 +142,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeArrayField("tools", this.tools, (writer, element) -> writer.writeJson(element)); jsonWriter.writeStringField("description", this.description); jsonWriter.writeMapField("metadata", this.metadata, (writer, element) -> writer.writeString(element)); + jsonWriter.writeArrayField("skills", this.skills, (writer, element) -> writer.writeJson(element)); jsonWriter.writeJsonField("policies", this.policies); return jsonWriter.writeEndObject(); } @@ -160,6 +162,7 @@ public static CreateToolboxVersionRequest fromJson(JsonReader jsonReader) throws List tools = null; String description = null; Map metadata = null; + List skills = null; ToolboxPolicies policies = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); @@ -170,6 +173,8 @@ public static CreateToolboxVersionRequest fromJson(JsonReader jsonReader) throws description = reader.getString(); } else if ("metadata".equals(fieldName)) { metadata = reader.readMap(reader1 -> reader1.getString()); + } else if ("skills".equals(fieldName)) { + skills = reader.readArray(reader1 -> ToolboxSkill.fromJson(reader1)); } else if ("policies".equals(fieldName)) { policies = ToolboxPolicies.fromJson(reader); } else { @@ -180,8 +185,40 @@ public static CreateToolboxVersionRequest fromJson(JsonReader jsonReader) throws = new CreateToolboxVersionRequest(tools); deserializedCreateToolboxVersionRequest.description = description; deserializedCreateToolboxVersionRequest.metadata = metadata; + deserializedCreateToolboxVersionRequest.skills = skills; deserializedCreateToolboxVersionRequest.policies = policies; return deserializedCreateToolboxVersionRequest; }); } + + /* + * The list of skill sources to include in this version. A skill reference specifies a skill name and optionally a + * version. If version is omitted, the skill's default version is used. + */ + @Generated + private List skills; + + /** + * Get the skills property: The list of skill sources to include in this version. A skill reference specifies a + * skill name and optionally a version. If version is omitted, the skill's default version is used. + * + * @return the skills value. + */ + @Generated + public List getSkills() { + return this.skills; + } + + /** + * Set the skills property: The list of skill sources to include in this version. A skill reference specifies a + * skill name and optionally a version. If version is omitted, the skill's default version is used. + * + * @param skills the skills value to set. + * @return the CreateToolboxVersionRequest object itself. + */ + @Generated + public CreateToolboxVersionRequest setSkills(List skills) { + this.skills = skills; + return this; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java index 488f3adde419..2d3bd91d0e3a 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java @@ -72,4 +72,10 @@ public static Collection values() { */ @Generated public static final AgentEndpointProtocol MCP = fromString("mcp"); + + /** + * WebSocket-based protocol for hosted voice and real-time streaming agents. + */ + @Generated + public static final AgentEndpointProtocol INVOCATIONS_WS = fromString("invocations_ws"); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentIdentifier.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentIdentifier.java new file mode 100644 index 000000000000..3632c212e68c --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentIdentifier.java @@ -0,0 +1,117 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Identifies the registered Foundry agent to optimize (request-only). Skills, tools, and systemPrompt are specified in + * options.optimizationConfig. + */ +@Fluent +public final class AgentIdentifier implements JsonSerializable { + + /* + * Registered Foundry agent name (required). + */ + @Generated + private final String agentName; + + /* + * Pinned agent version. Defaults to latest if omitted. + */ + @Generated + private String agentVersion; + + /** + * Creates an instance of AgentIdentifier class. + * + * @param agentName the agentName value to set. + */ + @Generated + public AgentIdentifier(String agentName) { + this.agentName = agentName; + } + + /** + * Get the agentName property: Registered Foundry agent name (required). + * + * @return the agentName value. + */ + @Generated + public String getAgentName() { + return this.agentName; + } + + /** + * Get the agentVersion property: Pinned agent version. Defaults to latest if omitted. + * + * @return the agentVersion value. + */ + @Generated + public String getAgentVersion() { + return this.agentVersion; + } + + /** + * Set the agentVersion property: Pinned agent version. Defaults to latest if omitted. + * + * @param agentVersion the agentVersion value to set. + * @return the AgentIdentifier object itself. + */ + @Generated + public AgentIdentifier setAgentVersion(String agentVersion) { + this.agentVersion = agentVersion; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("agentName", this.agentName); + jsonWriter.writeStringField("agentVersion", this.agentVersion); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of AgentIdentifier from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of AgentIdentifier if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the AgentIdentifier. + */ + @Generated + public static AgentIdentifier fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String agentName = null; + String agentVersion = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("agentName".equals(fieldName)) { + agentName = reader.getString(); + } else if ("agentVersion".equals(fieldName)) { + agentVersion = reader.getString(); + } else { + reader.skipChildren(); + } + } + AgentIdentifier deserializedAgentIdentifier = new AgentIdentifier(agentName); + deserializedAgentIdentifier.agentVersion = agentVersion; + return deserializedAgentIdentifier; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentProtocol.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentProtocol.java index 0efa2c01ef63..69f4dbe23519 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentProtocol.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentProtocol.java @@ -66,4 +66,10 @@ public static Collection values() { */ @Generated public static final AgentProtocol MCP = fromString("mcp"); + + /** + * WebSocket-based protocol for hosted voice and real-time streaming agents. + */ + @Generated + public static final AgentProtocol INVOCATIONS_WS = fromString("invocations_ws"); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java index 8ed919459b6b..fa97f18e062d 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java @@ -90,4 +90,10 @@ public static AgentSessionStatus fromString(String name) { public static Collection values() { return values(AgentSessionStatus.class); } + + /** + * Session is being stopped. + */ + @Generated + public static final AgentSessionStatus STOPPING = fromString("stopping"); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java index 7c342ad87c4a..5a5c92f1f444 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java @@ -5,12 +5,14 @@ import com.azure.core.annotation.Generated; import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; import java.util.List; +import java.util.Map; /** * Deploy-config blob for a candidate. Suitable for setting OPTIMIZATION_CONFIG on a hosted-agent version. @@ -40,7 +42,7 @@ public final class CandidateDeployConfig implements JsonSerializable skills; + private List> skills; /** * Creates an instance of CandidateDeployConfig class. @@ -85,7 +87,7 @@ public Double getTemperature() { * @return the skills value. */ @Generated - public List getSkills() { + public List> getSkills() { return this.skills; } @@ -99,7 +101,22 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("instructions", this.instructions); jsonWriter.writeStringField("model", this.model); jsonWriter.writeNumberField("temperature", this.temperature); - jsonWriter.writeArrayField("skills", this.skills, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeArrayField("skills", this.skills, + (writer, element) -> writer.writeMap(element, (writer1, element1) -> { + if (element1 == null) { + writer1.writeNull(); + } else { + element1.writeTo(writer1); + } + })); + jsonWriter.writeArrayField("tools", this.tools, + (writer, element) -> writer.writeMap(element, (writer1, element1) -> { + if (element1 == null) { + writer1.writeNull(); + } else { + element1.writeTo(writer1); + } + })); return jsonWriter.writeEndObject(); } @@ -125,9 +142,14 @@ public static CandidateDeployConfig fromJson(JsonReader jsonReader) throws IOExc } else if ("temperature".equals(fieldName)) { deserializedCandidateDeployConfig.temperature = reader.getNullable(JsonReader::getDouble); } else if ("skills".equals(fieldName)) { - List skills - = reader.readArray(reader1 -> OptimizationAgentSkill.fromJson(reader1)); + List> skills + = reader.readArray(reader1 -> reader1.readMap(reader2 -> reader2 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())))); deserializedCandidateDeployConfig.skills = skills; + } else if ("tools".equals(fieldName)) { + List> tools = reader.readArray(reader1 -> reader1.readMap(reader2 -> reader2 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())))); + deserializedCandidateDeployConfig.tools = tools; } else { reader.skipChildren(); } @@ -135,4 +157,20 @@ public static CandidateDeployConfig fromJson(JsonReader jsonReader) throws IOExc return deserializedCandidateDeployConfig; }); } + + /* + * Optional tool overrides. + */ + @Generated + private List> tools; + + /** + * Get the tools property: Optional tool overrides. + * + * @return the tools value. + */ + @Generated + public List> getTools() { + return this.tools; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java new file mode 100644 index 000000000000..411f367a5411 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java @@ -0,0 +1,126 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * File entry in a candidate's blob directory. + */ +@Immutable +public final class CandidateFileInfo implements JsonSerializable { + + /* + * Relative path of the file. + */ + @Generated + private final String path; + + /* + * File type category (e.g. 'config', 'results'). + */ + @Generated + private final String type; + + /* + * File size in bytes. + */ + @Generated + private final long sizeBytes; + + /** + * Creates an instance of CandidateFileInfo class. + * + * @param path the path value to set. + * @param type the type value to set. + * @param sizeBytes the sizeBytes value to set. + */ + @Generated + private CandidateFileInfo(String path, String type, long sizeBytes) { + this.path = path; + this.type = type; + this.sizeBytes = sizeBytes; + } + + /** + * Get the path property: Relative path of the file. + * + * @return the path value. + */ + @Generated + public String getPath() { + return this.path; + } + + /** + * Get the type property: File type category (e.g. 'config', 'results'). + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the sizeBytes property: File size in bytes. + * + * @return the sizeBytes value. + */ + @Generated + public long getSizeBytes() { + return this.sizeBytes; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("path", this.path); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeLongField("sizeBytes", this.sizeBytes); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of CandidateFileInfo from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of CandidateFileInfo if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the CandidateFileInfo. + */ + @Generated + public static CandidateFileInfo fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String path = null; + String type = null; + long sizeBytes = 0L; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("path".equals(fieldName)) { + path = reader.getString(); + } else if ("type".equals(fieldName)) { + type = reader.getString(); + } else if ("sizeBytes".equals(fieldName)) { + sizeBytes = reader.getLong(); + } else { + reader.skipChildren(); + } + } + return new CandidateFileInfo(path, type, sizeBytes); + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateMetadata.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateMetadata.java new file mode 100644 index 000000000000..f039bf9d95f4 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateMetadata.java @@ -0,0 +1,293 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; +import java.util.List; + +/** + * Candidate metadata returned by GET /candidates/{id}. + */ +@Immutable +public final class CandidateMetadata implements JsonSerializable { + + /* + * Server-assigned candidate identifier. + */ + @Generated + private final String candidateId; + + /* + * Owning optimization job id. + */ + @Generated + private final String jobId; + + /* + * Display name of the candidate. + */ + @Generated + private final String candidateName; + + /* + * Candidate lifecycle status. + */ + @Generated + private final String status; + + /* + * Candidate's aggregate score. + */ + @Generated + private Double score; + + /* + * Whether detailed results are available for this candidate. + */ + @Generated + private final boolean hasResults; + + /* + * Timestamp when the candidate was created, represented in Unix time. + */ + @Generated + private final long createdAt; + + /* + * Timestamp when the candidate was last updated, represented in Unix time. + */ + @Generated + private final long updatedAt; + + /* + * Promotion metadata. Null if not promoted. + */ + @Generated + private PromotionInfo promotion; + + /* + * Files in the candidate's blob directory. + */ + @Generated + private final List files; + + /** + * Creates an instance of CandidateMetadata class. + * + * @param candidateId the candidateId value to set. + * @param jobId the jobId value to set. + * @param candidateName the candidateName value to set. + * @param status the status value to set. + * @param hasResults the hasResults value to set. + * @param createdAt the createdAt value to set. + * @param updatedAt the updatedAt value to set. + * @param files the files value to set. + */ + @Generated + private CandidateMetadata(String candidateId, String jobId, String candidateName, String status, boolean hasResults, + OffsetDateTime createdAt, OffsetDateTime updatedAt, List files) { + this.candidateId = candidateId; + this.jobId = jobId; + this.candidateName = candidateName; + this.status = status; + this.hasResults = hasResults; + if (createdAt == null) { + this.createdAt = 0L; + } else { + this.createdAt = createdAt.toEpochSecond(); + } + if (updatedAt == null) { + this.updatedAt = 0L; + } else { + this.updatedAt = updatedAt.toEpochSecond(); + } + this.files = files; + } + + /** + * Get the candidateId property: Server-assigned candidate identifier. + * + * @return the candidateId value. + */ + @Generated + public String getCandidateId() { + return this.candidateId; + } + + /** + * Get the jobId property: Owning optimization job id. + * + * @return the jobId value. + */ + @Generated + public String getJobId() { + return this.jobId; + } + + /** + * Get the candidateName property: Display name of the candidate. + * + * @return the candidateName value. + */ + @Generated + public String getCandidateName() { + return this.candidateName; + } + + /** + * Get the status property: Candidate lifecycle status. + * + * @return the status value. + */ + @Generated + public String getStatus() { + return this.status; + } + + /** + * Get the score property: Candidate's aggregate score. + * + * @return the score value. + */ + @Generated + public Double getScore() { + return this.score; + } + + /** + * Get the hasResults property: Whether detailed results are available for this candidate. + * + * @return the hasResults value. + */ + @Generated + public boolean isHasResults() { + return this.hasResults; + } + + /** + * Get the createdAt property: Timestamp when the candidate was created, represented in Unix time. + * + * @return the createdAt value. + */ + @Generated + public OffsetDateTime getCreatedAt() { + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.createdAt), ZoneOffset.UTC); + } + + /** + * Get the updatedAt property: Timestamp when the candidate was last updated, represented in Unix time. + * + * @return the updatedAt value. + */ + @Generated + public OffsetDateTime getUpdatedAt() { + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.updatedAt), ZoneOffset.UTC); + } + + /** + * Get the promotion property: Promotion metadata. Null if not promoted. + * + * @return the promotion value. + */ + @Generated + public PromotionInfo getPromotion() { + return this.promotion; + } + + /** + * Get the files property: Files in the candidate's blob directory. + * + * @return the files value. + */ + @Generated + public List getFiles() { + return this.files; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("candidateId", this.candidateId); + jsonWriter.writeStringField("jobId", this.jobId); + jsonWriter.writeStringField("candidateName", this.candidateName); + jsonWriter.writeStringField("status", this.status); + jsonWriter.writeBooleanField("hasResults", this.hasResults); + jsonWriter.writeLongField("createdAt", this.createdAt); + jsonWriter.writeLongField("updatedAt", this.updatedAt); + jsonWriter.writeArrayField("files", this.files, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeNumberField("score", this.score); + jsonWriter.writeJsonField("promotion", this.promotion); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of CandidateMetadata from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of CandidateMetadata if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the CandidateMetadata. + */ + @Generated + public static CandidateMetadata fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String candidateId = null; + String jobId = null; + String candidateName = null; + String status = null; + boolean hasResults = false; + OffsetDateTime createdAt = null; + OffsetDateTime updatedAt = null; + List files = null; + Double score = null; + PromotionInfo promotion = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("candidateId".equals(fieldName)) { + candidateId = reader.getString(); + } else if ("jobId".equals(fieldName)) { + jobId = reader.getString(); + } else if ("candidateName".equals(fieldName)) { + candidateName = reader.getString(); + } else if ("status".equals(fieldName)) { + status = reader.getString(); + } else if ("hasResults".equals(fieldName)) { + hasResults = reader.getBoolean(); + } else if ("createdAt".equals(fieldName)) { + createdAt = OffsetDateTime.ofInstant(Instant.ofEpochSecond(reader.getLong()), ZoneOffset.UTC); + } else if ("updatedAt".equals(fieldName)) { + updatedAt = OffsetDateTime.ofInstant(Instant.ofEpochSecond(reader.getLong()), ZoneOffset.UTC); + } else if ("files".equals(fieldName)) { + files = reader.readArray(reader1 -> CandidateFileInfo.fromJson(reader1)); + } else if ("score".equals(fieldName)) { + score = reader.getNullable(JsonReader::getDouble); + } else if ("promotion".equals(fieldName)) { + promotion = PromotionInfo.fromJson(reader); + } else { + reader.skipChildren(); + } + } + CandidateMetadata deserializedCandidateMetadata = new CandidateMetadata(candidateId, jobId, candidateName, + status, hasResults, createdAt, updatedAt, files); + deserializedCandidateMetadata.score = score; + deserializedCandidateMetadata.promotion = promotion; + return deserializedCandidateMetadata; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateResults.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateResults.java index bc52fc380664..49a6b72d4e2a 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateResults.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateResults.java @@ -69,7 +69,7 @@ public List getResults() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("candidate_id", this.candidateId); + jsonWriter.writeStringField("candidateId", this.candidateId); jsonWriter.writeArrayField("results", this.results, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -91,7 +91,7 @@ public static CandidateResults fromJson(JsonReader jsonReader) throws IOExceptio while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("candidate_id".equals(fieldName)) { + if ("candidateId".equals(fieldName)) { candidateId = reader.getString(); } else if ("results".equals(fieldName)) { results = reader.readArray(reader1 -> OptimizationTaskResult.fromJson(reader1)); diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetInfo.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetInfo.java new file mode 100644 index 000000000000..829186815ecd --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetInfo.java @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Metadata about the dataset used for optimization, surfaced in the response. + */ +@Immutable +public final class DatasetInfo implements JsonSerializable { + + /* + * Dataset name when using a registered dataset reference. Null for inline datasets. + */ + @Generated + private String name; + + /* + * Dataset version when using a registered dataset reference. Null for inline datasets. + */ + @Generated + private String version; + + /* + * Number of tasks/rows in the dataset. + */ + @Generated + private final int taskCount; + + /* + * True when the dataset was provided inline in the request body. + */ + @Generated + private final boolean isInline; + + /** + * Creates an instance of DatasetInfo class. + * + * @param taskCount the taskCount value to set. + * @param isInline the isInline value to set. + */ + @Generated + private DatasetInfo(int taskCount, boolean isInline) { + this.taskCount = taskCount; + this.isInline = isInline; + } + + /** + * Get the name property: Dataset name when using a registered dataset reference. Null for inline datasets. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the version property: Dataset version when using a registered dataset reference. Null for inline datasets. + * + * @return the version value. + */ + @Generated + public String getVersion() { + return this.version; + } + + /** + * Get the taskCount property: Number of tasks/rows in the dataset. + * + * @return the taskCount value. + */ + @Generated + public int getTaskCount() { + return this.taskCount; + } + + /** + * Get the isInline property: True when the dataset was provided inline in the request body. + * + * @return the isInline value. + */ + @Generated + public boolean isInline() { + return this.isInline; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeIntField("taskCount", this.taskCount); + jsonWriter.writeBooleanField("isInline", this.isInline); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("version", this.version); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DatasetInfo from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DatasetInfo if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DatasetInfo. + */ + @Generated + public static DatasetInfo fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + int taskCount = 0; + boolean isInline = false; + String name = null; + String version = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("taskCount".equals(fieldName)) { + taskCount = reader.getInt(); + } else if ("isInline".equals(fieldName)) { + isInline = reader.getBoolean(); + } else if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("version".equals(fieldName)) { + version = reader.getString(); + } else { + reader.skipChildren(); + } + } + DatasetInfo deserializedDatasetInfo = new DatasetInfo(taskCount, isInline); + deserializedDatasetInfo.name = name; + deserializedDatasetInfo.version = version; + return deserializedDatasetInfo; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetItem.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetItem.java deleted file mode 100644 index 23e47ba9e9a3..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetItem.java +++ /dev/null @@ -1,287 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.core.util.BinaryData; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import com.openai.models.responses.ResponseOutputItem; -import java.io.IOException; -import java.util.List; -import java.util.stream.Collectors; - -/** - * A single evaluation task with input query, expected output, and evaluation criteria. - */ -@Fluent -public final class DatasetItem implements JsonSerializable { - - /* - * Unique-within-the-dataset identifier for this task. - */ - @Generated - private final String name; - - /* - * The user query / input for the task. - */ - @Generated - private final String query; - - /* - * Optional ground truth used by reference-based evaluators. - */ - @Generated - private String groundTruth; - - /* - * Per-task evaluation criteria. Defaults to the job-level evaluators if unset. - */ - @Generated - private List criteria; - - /* - * Pre-computed evaluation results in AOAI-compatible format. When provided together with `response_items`, the - * baseline run-and-evaluate phase is skipped. - */ - @Generated - private List evalResults; - - /* - * Pre-computed agent response output items. Captures the full trajectory (function calls, tool outputs, messages) - * from a prior agent run. - */ - @Generated - private List responseItems; - - /** - * Creates an instance of DatasetItem class. - * - * @param name the name value to set. - * @param query the query value to set. - */ - @Generated - public DatasetItem(String name, String query) { - this.name = name; - this.query = query; - } - - /** - * Get the name property: Unique-within-the-dataset identifier for this task. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the query property: The user query / input for the task. - * - * @return the query value. - */ - @Generated - public String getQuery() { - return this.query; - } - - /** - * Get the groundTruth property: Optional ground truth used by reference-based evaluators. - * - * @return the groundTruth value. - */ - @Generated - public String getGroundTruth() { - return this.groundTruth; - } - - /** - * Set the groundTruth property: Optional ground truth used by reference-based evaluators. - * - * @param groundTruth the groundTruth value to set. - * @return the DatasetItem object itself. - */ - @Generated - public DatasetItem setGroundTruth(String groundTruth) { - this.groundTruth = groundTruth; - return this; - } - - /** - * Get the criteria property: Per-task evaluation criteria. Defaults to the job-level evaluators if unset. - * - * @return the criteria value. - */ - @Generated - public List getCriteria() { - return this.criteria; - } - - /** - * Set the criteria property: Per-task evaluation criteria. Defaults to the job-level evaluators if unset. - * - * @param criteria the criteria value to set. - * @return the DatasetItem object itself. - */ - @Generated - public DatasetItem setCriteria(List criteria) { - this.criteria = criteria; - return this; - } - - /** - * Get the evalResults property: Pre-computed evaluation results in AOAI-compatible format. When provided together - * with `response_items`, the baseline run-and-evaluate phase is skipped. - * - * @return the evalResults value. - */ - @Generated - public List getEvalResults() { - return this.evalResults; - } - - /** - * Set the evalResults property: Pre-computed evaluation results in AOAI-compatible format. When provided together - * with `response_items`, the baseline run-and-evaluate phase is skipped. - * - * @param evalResults the evalResults value to set. - * @return the DatasetItem object itself. - */ - @Generated - public DatasetItem setEvalResults(List evalResults) { - this.evalResults = evalResults; - return this; - } - - /** - * Get the responseItems property: Pre-computed agent response output items. Captures the full trajectory (function - * calls, tool outputs, messages) from a prior agent run. - * - * @return the responseItems value. - */ - List getResponseItems() { - // AI Tooling: union type - return this.responseItems; - } - - /** - * Set the responseItems property: Pre-computed agent response output items. Captures the full trajectory (function - * calls, tool outputs, messages) from a prior agent run. - * - * @param responseItems the responseItems value to set. - * @return the DatasetItem object itself. - */ - DatasetItem setResponseItems(List responseItems) { - // AI Tooling: union type - this.responseItems = responseItems; - return this; - } - - /** - * Get the responseItems property as a list of {@link ResponseOutputItem}: Pre-computed agent response output items. - * Captures the full trajectory (function calls, tool outputs, messages) from a prior agent run. - * - * @return the responseItems value as a list of ResponseOutputItem, or null if not set. - */ - public List getResponseItemsAsResponseOutputItems() { - // AI Tooling: union type - if (this.responseItems == null) { - return null; - } - return this.responseItems.stream() - .map(item -> item.toObject(ResponseOutputItem.class)) - .collect(Collectors.toList()); - } - - /** - * Set the responseItems property: Pre-computed agent response output items. Captures the full trajectory (function - * calls, tool outputs, messages) from a prior agent run. - * - * @param responseItems the list of ResponseOutputItem values to set. - * @return the DatasetItem object itself. - */ - public DatasetItem setResponseOutputItems(List responseItems) { - // AI Tooling: union type - if (responseItems == null) { - this.responseItems = null; - } else { - this.responseItems = responseItems.stream().map(BinaryData::fromObject).collect(Collectors.toList()); - } - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("query", this.query); - jsonWriter.writeStringField("ground_truth", this.groundTruth); - jsonWriter.writeArrayField("criteria", this.criteria, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeArrayField("eval_results", this.evalResults, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeArrayField("response_items", this.responseItems, (writer, element) -> { - if (element == null) { - writer.writeNull(); - } else { - element.writeTo(writer); - } - }); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DatasetItem from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DatasetItem if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the DatasetItem. - */ - @Generated - public static DatasetItem fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String name = null; - String query = null; - String groundTruth = null; - List criteria = null; - List evalResults = null; - List responseItems = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("query".equals(fieldName)) { - query = reader.getString(); - } else if ("ground_truth".equals(fieldName)) { - groundTruth = reader.getString(); - } else if ("criteria".equals(fieldName)) { - criteria = reader.readArray(reader1 -> EvaluationCriterion.fromJson(reader1)); - } else if ("eval_results".equals(fieldName)) { - evalResults = reader.readArray(reader1 -> EvalRunOutputItemResult.fromJson(reader1)); - } else if ("response_items".equals(fieldName)) { - responseItems = reader.readArray(reader1 -> reader1 - .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); - } else { - reader.skipChildren(); - } - } - DatasetItem deserializedDatasetItem = new DatasetItem(name, query); - deserializedDatasetItem.groundTruth = groundTruth; - deserializedDatasetItem.criteria = criteria; - deserializedDatasetItem.evalResults = evalResults; - deserializedDatasetItem.responseItems = responseItems; - return deserializedDatasetItem; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResult.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResult.java deleted file mode 100644 index aeefe8582d18..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResult.java +++ /dev/null @@ -1,451 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.core.util.BinaryData; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.LinkedHashMap; -import java.util.Map; - -/** - * EvalRunOutputItemResult - * - * A single grader result for an evaluation run output item. - */ -@Fluent -public final class EvalRunOutputItemResult implements JsonSerializable { - - /* - * The name of the grader. - */ - @Generated - private final String name; - - /* - * The grader type (for example, "string-check-grader"). - */ - @Generated - private String type; - - /* - * The numeric score produced by the grader. - */ - @Generated - private final double score; - - /* - * Whether the grader considered the output a pass. - */ - @Generated - private final boolean passed; - - /* - * Optional sample or intermediate data produced by the grader. - */ - @Generated - private Map sample; - - /* - * The evaluation status for this result item. Values: "completed", "errored", "skipped". Null if not provided by - * evaluator. When status is skipped, passed/score can be ignored. - */ - @Generated - private EvalRunOutputItemResultStatus status; - - /* - * The name of the metric (e.g., "fluency", "f1_score"). - */ - @Generated - private String metric; - - /* - * The label associated with the test criteria metric (e.g., "pass", "fail", "good", "bad"). - */ - @Generated - private String label; - - /* - * The threshold used to determine pass/fail for this test criteria, if it is numerical. - */ - @Generated - private Double threshold; - - /* - * The reason for the test criteria metric. - */ - @Generated - private String reason; - - /* - * Additional details about the test criteria metric. - */ - @Generated - private Map properties; - - /* - * A single grader result for an evaluation run output item. - */ - @Generated - private Map additionalProperties; - - /** - * Creates an instance of EvalRunOutputItemResult class. - * - * @param name the name value to set. - * @param score the score value to set. - * @param passed the passed value to set. - */ - @Generated - public EvalRunOutputItemResult(String name, double score, boolean passed) { - this.name = name; - this.score = score; - this.passed = passed; - } - - /** - * Get the name property: The name of the grader. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the type property: The grader type (for example, "string-check-grader"). - * - * @return the type value. - */ - @Generated - public String getType() { - return this.type; - } - - /** - * Set the type property: The grader type (for example, "string-check-grader"). - * - * @param type the type value to set. - * @return the EvalRunOutputItemResult object itself. - */ - @Generated - public EvalRunOutputItemResult setType(String type) { - this.type = type; - return this; - } - - /** - * Get the score property: The numeric score produced by the grader. - * - * @return the score value. - */ - @Generated - public double getScore() { - return this.score; - } - - /** - * Get the passed property: Whether the grader considered the output a pass. - * - * @return the passed value. - */ - @Generated - public boolean isPassed() { - return this.passed; - } - - /** - * Get the sample property: Optional sample or intermediate data produced by the grader. - * - * @return the sample value. - */ - @Generated - public Map getSample() { - return this.sample; - } - - /** - * Set the sample property: Optional sample or intermediate data produced by the grader. - * - * @param sample the sample value to set. - * @return the EvalRunOutputItemResult object itself. - */ - @Generated - public EvalRunOutputItemResult setSample(Map sample) { - this.sample = sample; - return this; - } - - /** - * Get the status property: The evaluation status for this result item. Values: "completed", "errored", "skipped". - * Null if not provided by evaluator. When status is skipped, passed/score can be ignored. - * - * @return the status value. - */ - @Generated - public EvalRunOutputItemResultStatus getStatus() { - return this.status; - } - - /** - * Set the status property: The evaluation status for this result item. Values: "completed", "errored", "skipped". - * Null if not provided by evaluator. When status is skipped, passed/score can be ignored. - * - * @param status the status value to set. - * @return the EvalRunOutputItemResult object itself. - */ - @Generated - public EvalRunOutputItemResult setStatus(EvalRunOutputItemResultStatus status) { - this.status = status; - return this; - } - - /** - * Get the metric property: The name of the metric (e.g., "fluency", "f1_score"). - * - * @return the metric value. - */ - @Generated - public String getMetric() { - return this.metric; - } - - /** - * Set the metric property: The name of the metric (e.g., "fluency", "f1_score"). - * - * @param metric the metric value to set. - * @return the EvalRunOutputItemResult object itself. - */ - @Generated - public EvalRunOutputItemResult setMetric(String metric) { - this.metric = metric; - return this; - } - - /** - * Get the label property: The label associated with the test criteria metric (e.g., "pass", "fail", "good", "bad"). - * - * @return the label value. - */ - @Generated - public String getLabel() { - return this.label; - } - - /** - * Set the label property: The label associated with the test criteria metric (e.g., "pass", "fail", "good", "bad"). - * - * @param label the label value to set. - * @return the EvalRunOutputItemResult object itself. - */ - @Generated - public EvalRunOutputItemResult setLabel(String label) { - this.label = label; - return this; - } - - /** - * Get the threshold property: The threshold used to determine pass/fail for this test criteria, if it is numerical. - * - * @return the threshold value. - */ - @Generated - public Double getThreshold() { - return this.threshold; - } - - /** - * Set the threshold property: The threshold used to determine pass/fail for this test criteria, if it is numerical. - * - * @param threshold the threshold value to set. - * @return the EvalRunOutputItemResult object itself. - */ - @Generated - public EvalRunOutputItemResult setThreshold(Double threshold) { - this.threshold = threshold; - return this; - } - - /** - * Get the reason property: The reason for the test criteria metric. - * - * @return the reason value. - */ - @Generated - public String getReason() { - return this.reason; - } - - /** - * Set the reason property: The reason for the test criteria metric. - * - * @param reason the reason value to set. - * @return the EvalRunOutputItemResult object itself. - */ - @Generated - public EvalRunOutputItemResult setReason(String reason) { - this.reason = reason; - return this; - } - - /** - * Get the properties property: Additional details about the test criteria metric. - * - * @return the properties value. - */ - @Generated - public Map getProperties() { - return this.properties; - } - - /** - * Set the properties property: Additional details about the test criteria metric. - * - * @param properties the properties value to set. - * @return the EvalRunOutputItemResult object itself. - */ - @Generated - public EvalRunOutputItemResult setProperties(Map properties) { - this.properties = properties; - return this; - } - - /** - * Get the additionalProperties property: A single grader result for an evaluation run output item. - * - * @return the additionalProperties value. - */ - @Generated - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - /** - * Set the additionalProperties property: A single grader result for an evaluation run output item. - * - * @param additionalProperties the additionalProperties value to set. - * @return the EvalRunOutputItemResult object itself. - */ - @Generated - public EvalRunOutputItemResult setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeDoubleField("score", this.score); - jsonWriter.writeBooleanField("passed", this.passed); - jsonWriter.writeStringField("type", this.type); - jsonWriter.writeMapField("sample", this.sample, (writer, element) -> { - if (element == null) { - writer.writeNull(); - } else { - element.writeTo(writer); - } - }); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - jsonWriter.writeStringField("metric", this.metric); - jsonWriter.writeStringField("label", this.label); - jsonWriter.writeNumberField("threshold", this.threshold); - jsonWriter.writeStringField("reason", this.reason); - jsonWriter.writeMapField("properties", this.properties, (writer, element) -> writer.writeString(element)); - if (additionalProperties != null) { - for (Map.Entry additionalProperty : additionalProperties.entrySet()) { - jsonWriter.writeFieldName(additionalProperty.getKey()); - if (additionalProperty.getValue() == null) { - jsonWriter.writeNull(); - } else { - additionalProperty.getValue().writeTo(jsonWriter); - } - } - } - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of EvalRunOutputItemResult from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of EvalRunOutputItemResult if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the EvalRunOutputItemResult. - */ - @Generated - public static EvalRunOutputItemResult fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String name = null; - double score = 0.0; - boolean passed = false; - String type = null; - Map sample = null; - EvalRunOutputItemResultStatus status = null; - String metric = null; - String label = null; - Double threshold = null; - String reason = null; - Map properties = null; - Map additionalProperties = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("score".equals(fieldName)) { - score = reader.getDouble(); - } else if ("passed".equals(fieldName)) { - passed = reader.getBoolean(); - } else if ("type".equals(fieldName)) { - type = reader.getString(); - } else if ("sample".equals(fieldName)) { - sample = reader.readMap(reader1 -> reader1 - .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); - } else if ("status".equals(fieldName)) { - status = EvalRunOutputItemResultStatus.fromString(reader.getString()); - } else if ("metric".equals(fieldName)) { - metric = reader.getString(); - } else if ("label".equals(fieldName)) { - label = reader.getString(); - } else if ("threshold".equals(fieldName)) { - threshold = reader.getNullable(JsonReader::getDouble); - } else if ("reason".equals(fieldName)) { - reason = reader.getString(); - } else if ("properties".equals(fieldName)) { - properties = reader.readMap(reader1 -> reader1.getString()); - } else { - if (additionalProperties == null) { - additionalProperties = new LinkedHashMap<>(); - } - additionalProperties.put(fieldName, - reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); - } - } - EvalRunOutputItemResult deserializedEvalRunOutputItemResult - = new EvalRunOutputItemResult(name, score, passed); - deserializedEvalRunOutputItemResult.type = type; - deserializedEvalRunOutputItemResult.sample = sample; - deserializedEvalRunOutputItemResult.status = status; - deserializedEvalRunOutputItemResult.metric = metric; - deserializedEvalRunOutputItemResult.label = label; - deserializedEvalRunOutputItemResult.threshold = threshold; - deserializedEvalRunOutputItemResult.reason = reason; - deserializedEvalRunOutputItemResult.properties = properties; - deserializedEvalRunOutputItemResult.additionalProperties = additionalProperties; - return deserializedEvalRunOutputItemResult; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResultStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResultStatus.java deleted file mode 100644 index f54db4d600e2..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResultStatus.java +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * The evaluation status for an evaluation run output item result. - */ -public final class EvalRunOutputItemResultStatus extends ExpandableStringEnum { - - /** - * The evaluator completed successfully for this result item. - */ - @Generated - public static final EvalRunOutputItemResultStatus COMPLETED = fromString("completed"); - - /** - * The evaluator encountered an error for this result item. - */ - @Generated - public static final EvalRunOutputItemResultStatus ERRORED = fromString("errored"); - - /** - * The evaluator skipped this result item. - */ - @Generated - public static final EvalRunOutputItemResultStatus SKIPPED = fromString("skipped"); - - /** - * Creates a new instance of EvalRunOutputItemResultStatus value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public EvalRunOutputItemResultStatus() { - } - - /** - * Creates or finds a EvalRunOutputItemResultStatus from its string representation. - * - * @param name a name to look for. - * @return the corresponding EvalRunOutputItemResultStatus. - */ - @Generated - public static EvalRunOutputItemResultStatus fromString(String name) { - return fromString(name, EvalRunOutputItemResultStatus.class); - } - - /** - * Gets known EvalRunOutputItemResultStatus values. - * - * @return known EvalRunOutputItemResultStatus values. - */ - @Generated - public static Collection values() { - return values(EvalRunOutputItemResultStatus.class); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvaluationCriterion.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvaluationCriterion.java deleted file mode 100644 index 37e381992bb1..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvaluationCriterion.java +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * LLM-as-judge evaluation criterion applied to a single task. - */ -@Immutable -public final class EvaluationCriterion implements JsonSerializable { - - /* - * Criterion name (referenced in evaluation result rows). - */ - @Generated - private final String name; - - /* - * Natural-language instruction passed to the judge LLM. - */ - @Generated - private final String instruction; - - /** - * Creates an instance of EvaluationCriterion class. - * - * @param name the name value to set. - * @param instruction the instruction value to set. - */ - @Generated - public EvaluationCriterion(String name, String instruction) { - this.name = name; - this.instruction = instruction; - } - - /** - * Get the name property: Criterion name (referenced in evaluation result rows). - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the instruction property: Natural-language instruction passed to the judge LLM. - * - * @return the instruction value. - */ - @Generated - public String getInstruction() { - return this.instruction; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("instruction", this.instruction); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of EvaluationCriterion from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of EvaluationCriterion if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the EvaluationCriterion. - */ - @Generated - public static EvaluationCriterion fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String name = null; - String instruction = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("instruction".equals(fieldName)) { - instruction = reader.getString(); - } else { - reader.skipChildren(); - } - } - return new EvaluationCriterion(name, instruction); - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvaluationLevel.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvaluationLevel.java new file mode 100644 index 000000000000..211f44e6956f --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/EvaluationLevel.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The level at which evaluation is performed. + */ +public final class EvaluationLevel extends ExpandableStringEnum { + + /** + * Evaluation is performed at the turn level. + */ + @Generated + public static final EvaluationLevel TURN = fromString("turn"); + + /** + * Evaluation is performed at the conversation level. + */ + @Generated + public static final EvaluationLevel CONVERSATION = fromString("conversation"); + + /** + * Creates a new instance of EvaluationLevel value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public EvaluationLevel() { + } + + /** + * Creates or finds a EvaluationLevel from its string representation. + * + * @param name a name to look for. + * @return the corresponding EvaluationLevel. + */ + @Generated + public static EvaluationLevel fromString(String name) { + return fromString(name, EvaluationLevel.class); + } + + /** + * Gets known EvaluationLevel values. + * + * @return known EvaluationLevel values. + */ + @Generated + public static Collection values() { + return values(EvaluationLevel.class); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java index dcad86fa586d..fcef76f83730 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java @@ -1,62 +1,57 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.agents.models; /** * Defines values for FoundryFeaturesOptInKeys. */ public enum FoundryFeaturesOptInKeys { + /** * Enum value Evaluations=V1Preview. */ EVALUATIONS_V1_PREVIEW("Evaluations=V1Preview"), - /** * Enum value Schedules=V1Preview. */ SCHEDULES_V1_PREVIEW("Schedules=V1Preview"), - /** * Enum value RedTeams=V1Preview. */ RED_TEAMS_V1_PREVIEW("RedTeams=V1Preview"), - /** * Enum value Insights=V1Preview. */ INSIGHTS_V1_PREVIEW("Insights=V1Preview"), - /** * Enum value MemoryStores=V1Preview. */ MEMORY_STORES_V1_PREVIEW("MemoryStores=V1Preview"), - /** * Enum value Routines=V1Preview. */ ROUTINES_V1_PREVIEW("Routines=V1Preview"), - /** * Enum value Skills=V1Preview. */ SKILLS_V1_PREVIEW("Skills=V1Preview"), - /** * Enum value DataGenerationJobs=V1Preview. */ DATA_GENERATION_JOBS_V1_PREVIEW("DataGenerationJobs=V1Preview"), - /** * Enum value Models=V1Preview. */ MODELS_V1_PREVIEW("Models=V1Preview"), - /** * Enum value AgentsOptimization=V1Preview. */ - AGENTS_OPTIMIZATION_V1_PREVIEW("AgentsOptimization=V1Preview"); + AGENTS_OPTIMIZATION_V1_PREVIEW("AgentsOptimization=V1Preview"), + /** + * Toolboxes V1 Preview. + */ + TOOLBOXES_V1_PREVIEW("Toolboxes=V1Preview"); /** * The actual serialized value for a FoundryFeaturesOptInKeys instance. @@ -69,7 +64,7 @@ public enum FoundryFeaturesOptInKeys { /** * Parses a serialized value to a FoundryFeaturesOptInKeys instance. - * + * * @param value the serialized value to parse. * @return the parsed FoundryFeaturesOptInKeys object, or null if unable to parse. */ diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java index 265528b2257b..5b3f5e21b06a 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java @@ -31,12 +31,6 @@ public final class HostedAgentDefinition extends AgentDefinition { @Generated private List tools; - /* - * The protocols that the agent supports for ingress communication of the containers. - */ - @Generated - private List containerProtocolVersions; - /* * The CPU configuration for the hosted agent. */ @@ -90,17 +84,6 @@ public HostedAgentDefinition setTools(List tools) { return this; } - /** - * Get the containerProtocolVersions property: The protocols that the agent supports for ingress communication of - * the containers. - * - * @return the containerProtocolVersions value. - */ - @Generated - public List getContainerProtocolVersions() { - return this.containerProtocolVersions; - } - /** * Get the cpu property: The CPU configuration for the hosted agent. * @@ -165,11 +148,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("memory", this.memory); jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); jsonWriter.writeArrayField("tools", this.tools, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeArrayField("container_protocol_versions", this.containerProtocolVersions, - (writer, element) -> writer.writeJson(element)); jsonWriter.writeMapField("environment_variables", this.environmentVariables, (writer, element) -> writer.writeString(element)); - jsonWriter.writeStringField("image", this.image); jsonWriter.writeJsonField("container_configuration", this.containerConfiguration); jsonWriter.writeArrayField("protocol_versions", this.protocolVersions, (writer, element) -> writer.writeJson(element)); @@ -195,9 +175,7 @@ public static HostedAgentDefinition fromJson(JsonReader jsonReader) throws IOExc String memory = null; AgentKind kind = AgentKind.HOSTED; List tools = null; - List containerProtocolVersions = null; Map environmentVariables = null; - String image = null; ContainerConfiguration containerConfiguration = null; List protocolVersions = null; CodeConfiguration codeConfiguration = null; @@ -215,12 +193,8 @@ public static HostedAgentDefinition fromJson(JsonReader jsonReader) throws IOExc kind = AgentKind.fromString(reader.getString()); } else if ("tools".equals(fieldName)) { tools = reader.readArray(reader1 -> Tool.fromJson(reader1)); - } else if ("container_protocol_versions".equals(fieldName)) { - containerProtocolVersions = reader.readArray(reader1 -> ProtocolVersionRecord.fromJson(reader1)); } else if ("environment_variables".equals(fieldName)) { environmentVariables = reader.readMap(reader1 -> reader1.getString()); - } else if ("image".equals(fieldName)) { - image = reader.getString(); } else if ("container_configuration".equals(fieldName)) { containerConfiguration = ContainerConfiguration.fromJson(reader); } else if ("protocol_versions".equals(fieldName)) { @@ -237,9 +211,7 @@ public static HostedAgentDefinition fromJson(JsonReader jsonReader) throws IOExc deserializedHostedAgentDefinition.setRaiConfig(raiConfig); deserializedHostedAgentDefinition.kind = kind; deserializedHostedAgentDefinition.tools = tools; - deserializedHostedAgentDefinition.containerProtocolVersions = containerProtocolVersions; deserializedHostedAgentDefinition.environmentVariables = environmentVariables; - deserializedHostedAgentDefinition.image = image; deserializedHostedAgentDefinition.containerConfiguration = containerConfiguration; deserializedHostedAgentDefinition.protocolVersions = protocolVersions; deserializedHostedAgentDefinition.codeConfiguration = codeConfiguration; @@ -248,34 +220,6 @@ public static HostedAgentDefinition fromJson(JsonReader jsonReader) throws IOExc }); } - /* - * The image ID for the agent, applicable to image-based hosted agents. - */ - @Generated - private String image; - - /** - * Get the image property: The image ID for the agent, applicable to image-based hosted agents. - * - * @return the image value. - */ - @Generated - public String getImage() { - return this.image; - } - - /** - * Set the image property: The image ID for the agent, applicable to image-based hosted agents. - * - * @param image the image value to set. - * @return the HostedAgentDefinition object itself. - */ - @Generated - public HostedAgentDefinition setImage(String image) { - this.image = image; - return this; - } - /* * Container-based deployment configuration. Provide this for image-based deployments. Mutually exclusive with * code_configuration — the service validates that exactly one is set. @@ -308,19 +252,6 @@ public HostedAgentDefinition(String cpu, String memory) { this.memory = memory; } - /** - * Set the containerProtocolVersions property: The protocols that the agent supports for ingress communication of - * the containers. - * - * @param containerProtocolVersions the containerProtocolVersions value to set. - * @return the HostedAgentDefinition object itself. - */ - @Generated - public HostedAgentDefinition setContainerProtocolVersions(List containerProtocolVersions) { - this.containerProtocolVersions = containerProtocolVersions; - return this; - } - /** * Get the containerConfiguration property: Container-based deployment configuration. Provide this for image-based * deployments. Mutually exclusive with code_configuration — the service validates that exactly one is set. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java index c0220c19a6e8..4cfb59429846 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java @@ -31,7 +31,7 @@ public final class MemoryStoreDefaultOptions implements JsonSerializable { /* - * Registered Foundry agent name. Required — bare-model mode is not supported. + * Agent name. */ @Generated - private final String agentName; + private String agentName; /* - * Pinned agent version. Defaults to latest if omitted. + * Agent version. */ @Generated private String agentVersion; /* - * Model deployment name (e.g., 'gpt-4o'). Optional when agent_name is set — the agent definition provides the - * model. + * Model deployment name. */ @Generated private String model; /* - * System prompt / instructions override. When set, used as the baseline instructions for the agent. + * System prompt / instructions. */ @Generated private String systemPrompt; /* - * Optional named skills the optimizer may tune. Tool descriptions and parameters. + * Agent skills. */ @Generated - private List skills; + private List> skills; /** - * Creates an instance of OptimizationAgentDefinition class. - * - * @param agentName the agentName value to set. - */ - @Generated - public OptimizationAgentDefinition(String agentName) { - this.agentName = agentName; - } - - /** - * Get the agentName property: Registered Foundry agent name. Required — bare-model mode is not supported. + * Get the agentName property: Agent name. * * @return the agentName value. */ @@ -70,7 +61,7 @@ public String getAgentName() { } /** - * Get the agentVersion property: Pinned agent version. Defaults to latest if omitted. + * Get the agentVersion property: Agent version. * * @return the agentVersion value. */ @@ -80,20 +71,7 @@ public String getAgentVersion() { } /** - * Set the agentVersion property: Pinned agent version. Defaults to latest if omitted. - * - * @param agentVersion the agentVersion value to set. - * @return the OptimizationAgentDefinition object itself. - */ - @Generated - public OptimizationAgentDefinition setAgentVersion(String agentVersion) { - this.agentVersion = agentVersion; - return this; - } - - /** - * Get the model property: Model deployment name (e.g., 'gpt-4o'). Optional when agent_name is set — the agent - * definition provides the model. + * Get the model property: Model deployment name. * * @return the model value. */ @@ -103,21 +81,7 @@ public String getModel() { } /** - * Set the model property: Model deployment name (e.g., 'gpt-4o'). Optional when agent_name is set — the agent - * definition provides the model. - * - * @param model the model value to set. - * @return the OptimizationAgentDefinition object itself. - */ - @Generated - public OptimizationAgentDefinition setModel(String model) { - this.model = model; - return this; - } - - /** - * Get the systemPrompt property: System prompt / instructions override. When set, used as the baseline instructions - * for the agent. + * Get the systemPrompt property: System prompt / instructions. * * @return the systemPrompt value. */ @@ -127,40 +91,15 @@ public String getSystemPrompt() { } /** - * Set the systemPrompt property: System prompt / instructions override. When set, used as the baseline instructions - * for the agent. - * - * @param systemPrompt the systemPrompt value to set. - * @return the OptimizationAgentDefinition object itself. - */ - @Generated - public OptimizationAgentDefinition setSystemPrompt(String systemPrompt) { - this.systemPrompt = systemPrompt; - return this; - } - - /** - * Get the skills property: Optional named skills the optimizer may tune. Tool descriptions and parameters. + * Get the skills property: Agent skills. * * @return the skills value. */ @Generated - public List getSkills() { + public List> getSkills() { return this.skills; } - /** - * Set the skills property: Optional named skills the optimizer may tune. Tool descriptions and parameters. - * - * @param skills the skills value to set. - * @return the OptimizationAgentDefinition object itself. - */ - @Generated - public OptimizationAgentDefinition setSkills(List skills) { - this.skills = skills; - return this; - } - /** * {@inheritDoc} */ @@ -168,11 +107,26 @@ public OptimizationAgentDefinition setSkills(List skills @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("agent_name", this.agentName); - jsonWriter.writeStringField("agent_version", this.agentVersion); + jsonWriter.writeStringField("agentName", this.agentName); + jsonWriter.writeStringField("agentVersion", this.agentVersion); jsonWriter.writeStringField("model", this.model); - jsonWriter.writeStringField("system_prompt", this.systemPrompt); - jsonWriter.writeArrayField("skills", this.skills, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeStringField("systemPrompt", this.systemPrompt); + jsonWriter.writeArrayField("skills", this.skills, + (writer, element) -> writer.writeMap(element, (writer1, element1) -> { + if (element1 == null) { + writer1.writeNull(); + } else { + element1.writeTo(writer1); + } + })); + jsonWriter.writeArrayField("tools", this.tools, + (writer, element) -> writer.writeMap(element, (writer1, element1) -> { + if (element1 == null) { + writer1.writeNull(); + } else { + element1.writeTo(writer1); + } + })); return jsonWriter.writeEndObject(); } @@ -182,41 +136,60 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of OptimizationAgentDefinition if the JsonReader was pointing to an instance of it, or null * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. * @throws IOException If an error occurs while reading the OptimizationAgentDefinition. */ @Generated public static OptimizationAgentDefinition fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - String agentName = null; - String agentVersion = null; - String model = null; - String systemPrompt = null; - List skills = null; + OptimizationAgentDefinition deserializedOptimizationAgentDefinition = new OptimizationAgentDefinition(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("agent_name".equals(fieldName)) { - agentName = reader.getString(); - } else if ("agent_version".equals(fieldName)) { - agentVersion = reader.getString(); + if ("agentName".equals(fieldName)) { + deserializedOptimizationAgentDefinition.agentName = reader.getString(); + } else if ("agentVersion".equals(fieldName)) { + deserializedOptimizationAgentDefinition.agentVersion = reader.getString(); } else if ("model".equals(fieldName)) { - model = reader.getString(); - } else if ("system_prompt".equals(fieldName)) { - systemPrompt = reader.getString(); + deserializedOptimizationAgentDefinition.model = reader.getString(); + } else if ("systemPrompt".equals(fieldName)) { + deserializedOptimizationAgentDefinition.systemPrompt = reader.getString(); } else if ("skills".equals(fieldName)) { - skills = reader.readArray(reader1 -> OptimizationAgentSkill.fromJson(reader1)); + List> skills + = reader.readArray(reader1 -> reader1.readMap(reader2 -> reader2 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())))); + deserializedOptimizationAgentDefinition.skills = skills; + } else if ("tools".equals(fieldName)) { + List> tools = reader.readArray(reader1 -> reader1.readMap(reader2 -> reader2 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())))); + deserializedOptimizationAgentDefinition.tools = tools; } else { reader.skipChildren(); } } - OptimizationAgentDefinition deserializedOptimizationAgentDefinition - = new OptimizationAgentDefinition(agentName); - deserializedOptimizationAgentDefinition.agentVersion = agentVersion; - deserializedOptimizationAgentDefinition.model = model; - deserializedOptimizationAgentDefinition.systemPrompt = systemPrompt; - deserializedOptimizationAgentDefinition.skills = skills; return deserializedOptimizationAgentDefinition; }); } + + /* + * Agent tools. + */ + @Generated + private List> tools; + + /** + * Creates an instance of OptimizationAgentDefinition class. + */ + @Generated + private OptimizationAgentDefinition() { + } + + /** + * Get the tools property: Agent tools. + * + * @return the tools value. + */ + @Generated + public List> getTools() { + return this.tools; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationAgentSkill.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationAgentSkill.java deleted file mode 100644 index 1a94e1e30bd8..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationAgentSkill.java +++ /dev/null @@ -1,116 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * A named skill on the agent that the optimizer may tune. - */ -@Fluent -public final class OptimizationAgentSkill implements JsonSerializable { - - /* - * Skill name (matches the tool name on the agent). - */ - @Generated - private final String name; - - /* - * Free-form description used as the seed when tuning skill descriptions. - */ - @Generated - private String description; - - /** - * Creates an instance of OptimizationAgentSkill class. - * - * @param name the name value to set. - */ - @Generated - public OptimizationAgentSkill(String name) { - this.name = name; - } - - /** - * Get the name property: Skill name (matches the tool name on the agent). - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the description property: Free-form description used as the seed when tuning skill descriptions. - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: Free-form description used as the seed when tuning skill descriptions. - * - * @param description the description value to set. - * @return the OptimizationAgentSkill object itself. - */ - @Generated - public OptimizationAgentSkill setDescription(String description) { - this.description = description; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("description", this.description); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of OptimizationAgentSkill from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of OptimizationAgentSkill if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the OptimizationAgentSkill. - */ - @Generated - public static OptimizationAgentSkill fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String name = null; - String description = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else { - reader.skipChildren(); - } - } - OptimizationAgentSkill deserializedOptimizationAgentSkill = new OptimizationAgentSkill(name); - deserializedOptimizationAgentSkill.description = description; - return deserializedOptimizationAgentSkill; - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java index bfea95b854dc..046a4680fb5c 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java @@ -21,7 +21,7 @@ public final class OptimizationCandidate implements JsonSerializable { /* - * Server-assigned candidate identifier. Use with `GET /candidates/{id}` sub-endpoints. + * Server-assigned candidate identifier. Use with GET /candidates/{id} sub-endpoints. */ @Generated private String candidateId; @@ -39,17 +39,11 @@ public final class OptimizationCandidate implements JsonSerializable mutations; - /* - * Strategy rationale — why this candidate was generated. - */ - @Generated - private final String rationale; - /* * Average composite score across all tasks. */ @@ -80,30 +74,6 @@ public final class OptimizationCandidate implements JsonSerializable mutations, - String rationale, double avgScore, double avgTokens, double passRate, List taskScores, - boolean isParetoOptimal) { - this.name = name; - this.config = config; - this.mutations = mutations; - this.rationale = rationale; - this.avgScore = avgScore; - this.avgTokens = avgTokens; - this.passRate = passRate; - this.taskScores = taskScores; - this.isParetoOptimal = isParetoOptimal; - } - - /** - * Get the candidateId property: Server-assigned candidate identifier. Use with `GET /candidates/{id}` - * sub-endpoints. + * Get the candidateId property: Server-assigned candidate identifier. Use with GET /candidates/{id} sub-endpoints. * * @return the candidateId value. */ @@ -176,7 +117,7 @@ public OptimizationAgentDefinition getConfig() { } /** - * Get the mutations property: What was mutated from the baseline (e.g., {instructions: 'new prompt'}). + * Get the mutations property: What was mutated from the baseline (e.g., {systemPrompt: 'new prompt'}). * * @return the mutations value. */ @@ -185,16 +126,6 @@ public Map getMutations() { return this.mutations; } - /** - * Get the rationale property: Strategy rationale — why this candidate was generated. - * - * @return the rationale value. - */ - @Generated - public String getRationale() { - return this.rationale; - } - /** * Get the avgScore property: Average composite score across all tasks. * @@ -245,46 +176,6 @@ public boolean isParetoOptimal() { return this.isParetoOptimal; } - /** - * Get the sampleAvgScore property: Average score from sampled evaluation (null if full dataset was used). - * - * @return the sampleAvgScore value. - */ - @Generated - public Double getSampleAvgScore() { - return this.sampleAvgScore; - } - - /** - * Get the sampleSize property: Number of tasks in the sample (null if full dataset was used). - * - * @return the sampleSize value. - */ - @Generated - public Integer getSampleSize() { - return this.sampleSize; - } - - /** - * Get the evaluationType property: 'sample' if scored on a subset, 'full' if re-evaluated on the full dataset. - * - * @return the evaluationType value. - */ - @Generated - public String getEvaluationType() { - return this.evaluationType; - } - - /** - * Get the strategy property: Identifies the strategy that produced this candidate. - * - * @return the strategy value. - */ - @Generated - public OptimizationStrategy getStrategy() { - return this.strategy; - } - /** * Get the evalId property: Foundry evaluation identifier used to score this candidate. * @@ -321,19 +212,15 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { element.writeTo(writer); } }); - jsonWriter.writeStringField("rationale", this.rationale); - jsonWriter.writeDoubleField("avg_score", this.avgScore); - jsonWriter.writeDoubleField("avg_tokens", this.avgTokens); - jsonWriter.writeDoubleField("pass_rate", this.passRate); - jsonWriter.writeArrayField("task_scores", this.taskScores, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeBooleanField("is_pareto_optimal", this.isParetoOptimal); - jsonWriter.writeStringField("candidate_id", this.candidateId); - jsonWriter.writeNumberField("sample_avg_score", this.sampleAvgScore); - jsonWriter.writeNumberField("sample_size", this.sampleSize); - jsonWriter.writeStringField("evaluation_type", this.evaluationType); - jsonWriter.writeStringField("strategy", this.strategy == null ? null : this.strategy.toString()); - jsonWriter.writeStringField("eval_id", this.evalId); - jsonWriter.writeStringField("eval_run_id", this.evalRunId); + jsonWriter.writeDoubleField("avgScore", this.avgScore); + jsonWriter.writeDoubleField("avgTokens", this.avgTokens); + jsonWriter.writeDoubleField("passRate", this.passRate); + jsonWriter.writeArrayField("taskScores", this.taskScores, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeBooleanField("isParetoOptimal", this.isParetoOptimal); + jsonWriter.writeStringField("candidateId", this.candidateId); + jsonWriter.writeStringField("evalId", this.evalId); + jsonWriter.writeStringField("evalRunId", this.evalRunId); + jsonWriter.writeJsonField("promotion", this.promotion); return jsonWriter.writeEndObject(); } @@ -352,19 +239,15 @@ public static OptimizationCandidate fromJson(JsonReader jsonReader) throws IOExc String name = null; OptimizationAgentDefinition config = null; Map mutations = null; - String rationale = null; double avgScore = 0.0; double avgTokens = 0.0; double passRate = 0.0; List taskScores = null; boolean isParetoOptimal = false; String candidateId = null; - Double sampleAvgScore = null; - Integer sampleSize = null; - String evaluationType = null; - OptimizationStrategy strategy = null; String evalId = null; String evalRunId = null; + PromotionInfo promotion = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -375,46 +258,77 @@ public static OptimizationCandidate fromJson(JsonReader jsonReader) throws IOExc } else if ("mutations".equals(fieldName)) { mutations = reader.readMap(reader1 -> reader1 .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); - } else if ("rationale".equals(fieldName)) { - rationale = reader.getString(); - } else if ("avg_score".equals(fieldName)) { + } else if ("avgScore".equals(fieldName)) { avgScore = reader.getDouble(); - } else if ("avg_tokens".equals(fieldName)) { + } else if ("avgTokens".equals(fieldName)) { avgTokens = reader.getDouble(); - } else if ("pass_rate".equals(fieldName)) { + } else if ("passRate".equals(fieldName)) { passRate = reader.getDouble(); - } else if ("task_scores".equals(fieldName)) { + } else if ("taskScores".equals(fieldName)) { taskScores = reader.readArray(reader1 -> OptimizationTaskResult.fromJson(reader1)); - } else if ("is_pareto_optimal".equals(fieldName)) { + } else if ("isParetoOptimal".equals(fieldName)) { isParetoOptimal = reader.getBoolean(); - } else if ("candidate_id".equals(fieldName)) { + } else if ("candidateId".equals(fieldName)) { candidateId = reader.getString(); - } else if ("sample_avg_score".equals(fieldName)) { - sampleAvgScore = reader.getNullable(JsonReader::getDouble); - } else if ("sample_size".equals(fieldName)) { - sampleSize = reader.getNullable(JsonReader::getInt); - } else if ("evaluation_type".equals(fieldName)) { - evaluationType = reader.getString(); - } else if ("strategy".equals(fieldName)) { - strategy = OptimizationStrategy.fromString(reader.getString()); - } else if ("eval_id".equals(fieldName)) { + } else if ("evalId".equals(fieldName)) { evalId = reader.getString(); - } else if ("eval_run_id".equals(fieldName)) { + } else if ("evalRunId".equals(fieldName)) { evalRunId = reader.getString(); + } else if ("promotion".equals(fieldName)) { + promotion = PromotionInfo.fromJson(reader); } else { reader.skipChildren(); } } OptimizationCandidate deserializedOptimizationCandidate = new OptimizationCandidate(name, config, mutations, - rationale, avgScore, avgTokens, passRate, taskScores, isParetoOptimal); + avgScore, avgTokens, passRate, taskScores, isParetoOptimal); deserializedOptimizationCandidate.candidateId = candidateId; - deserializedOptimizationCandidate.sampleAvgScore = sampleAvgScore; - deserializedOptimizationCandidate.sampleSize = sampleSize; - deserializedOptimizationCandidate.evaluationType = evaluationType; - deserializedOptimizationCandidate.strategy = strategy; deserializedOptimizationCandidate.evalId = evalId; deserializedOptimizationCandidate.evalRunId = evalRunId; + deserializedOptimizationCandidate.promotion = promotion; return deserializedOptimizationCandidate; }); } + + /* + * Promotion metadata. Null if the candidate has not been promoted. + */ + @Generated + private PromotionInfo promotion; + + /** + * Creates an instance of OptimizationCandidate class. + * + * @param name the name value to set. + * @param config the config value to set. + * @param mutations the mutations value to set. + * @param avgScore the avgScore value to set. + * @param avgTokens the avgTokens value to set. + * @param passRate the passRate value to set. + * @param taskScores the taskScores value to set. + * @param isParetoOptimal the isParetoOptimal value to set. + */ + @Generated + private OptimizationCandidate(String name, OptimizationAgentDefinition config, Map mutations, + double avgScore, double avgTokens, double passRate, List taskScores, + boolean isParetoOptimal) { + this.name = name; + this.config = config; + this.mutations = mutations; + this.avgScore = avgScore; + this.avgTokens = avgTokens; + this.passRate = passRate; + this.taskScores = taskScores; + this.isParetoOptimal = isParetoOptimal; + } + + /** + * Get the promotion property: Promotion metadata. Null if the candidate has not been promoted. + * + * @return the promotion value. + */ + @Generated + public PromotionInfo getPromotion() { + return this.promotion; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJob.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJob.java index cb15e469d49c..18a8045d9d0a 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJob.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJob.java @@ -3,8 +3,8 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.ai.agents.models; -import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,9 +16,9 @@ /** * Agent optimization job resource — a long-running job that optimizes an agent's configuration (instructions, model, - * skills) to maximize evaluation scores. On success, the result contains scored candidates. + * skills, tools) to maximize evaluation scores. On success, the result contains scored candidates. */ -@Fluent +@Immutable public final class OptimizationJob implements JsonSerializable { /* @@ -73,7 +73,7 @@ public final class OptimizationJob implements JsonSerializable * Creates an instance of OptimizationJob class. */ @Generated - public OptimizationJob() { + private OptimizationJob() { } /** @@ -96,18 +96,6 @@ public OptimizationJobInputs getInputs() { return this.inputs; } - /** - * Set the inputs property: Caller-supplied inputs. - * - * @param inputs the inputs value to set. - * @return the OptimizationJob object itself. - */ - @Generated - public OptimizationJob setInputs(OptimizationJobInputs inputs) { - this.inputs = inputs; - return this; - } - /** * Get the result property: Result produced on success. * @@ -202,18 +190,20 @@ public static OptimizationJob fromJson(JsonReader jsonReader) throws IOException deserializedOptimizationJob.id = reader.getString(); } else if ("status".equals(fieldName)) { deserializedOptimizationJob.status = JobStatus.fromString(reader.getString()); - } else if ("created_at".equals(fieldName)) { + } else if ("createdAt".equals(fieldName)) { deserializedOptimizationJob.createdAt = reader.getLong(); - } else if ("inputs".equals(fieldName)) { - deserializedOptimizationJob.inputs = OptimizationJobInputs.fromJson(reader); - } else if ("result".equals(fieldName)) { - deserializedOptimizationJob.result = OptimizationJobResult.fromJson(reader); } else if ("error".equals(fieldName)) { deserializedOptimizationJob.error = ApiError.fromJson(reader); - } else if ("updated_at".equals(fieldName)) { + } else if ("result".equals(fieldName)) { + deserializedOptimizationJob.result = OptimizationJobResult.fromJson(reader); + } else if ("inputs".equals(fieldName)) { + deserializedOptimizationJob.inputs = OptimizationJobInputs.fromJson(reader); + } else if ("updatedAt".equals(fieldName)) { deserializedOptimizationJob.updatedAt = reader.getNullable(JsonReader::getLong); } else if ("progress".equals(fieldName)) { deserializedOptimizationJob.progress = OptimizationJobProgress.fromJson(reader); + } else if ("dataset".equals(fieldName)) { + deserializedOptimizationJob.dataset = DatasetInfo.fromJson(reader); } else { reader.skipChildren(); } @@ -221,4 +211,20 @@ public static OptimizationJob fromJson(JsonReader jsonReader) throws IOException return deserializedOptimizationJob; }); } + + /* + * Metadata about the dataset used for this optimization job. + */ + @Generated + private DatasetInfo dataset; + + /** + * Get the dataset property: Metadata about the dataset used for this optimization job. + * + * @return the dataset value. + */ + @Generated + public DatasetInfo getDataset() { + return this.dataset; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java index 316942441171..5f5770f12713 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java @@ -22,19 +22,13 @@ public final class OptimizationJobInputs implements JsonSerializable dataset; - - /* - * Reference to a registered training dataset. Mutually exclusive with `dataset`. - */ - @Generated - private DatasetRef trainDatasetReference; + private final DatasetRef trainDatasetReference; /* * Optional held-out validation dataset for measuring generalization of the final candidate. @@ -43,68 +37,29 @@ public final class OptimizationJobInputs implements JsonSerializable evaluators; - /* - * Job-level evaluation criteria. Applied to all tasks unless overridden by per-task `criteria`. - */ - @Generated - private List criteria; - /* * Tuning knobs and run-mode. */ @Generated private OptimizationOptions options; - /** - * Creates an instance of OptimizationJobInputs class. - * - * @param agent the agent value to set. - */ - @Generated - public OptimizationJobInputs(OptimizationAgentDefinition agent) { - this.agent = agent; - } - /** * Get the agent property: The agent (and pinned version) being optimized. * * @return the agent value. */ @Generated - public OptimizationAgentDefinition getAgent() { + public AgentIdentifier getAgent() { return this.agent; } /** - * Get the dataset property: Inline evaluation dataset. Mutually exclusive with `train_dataset_reference`. - * - * @return the dataset value. - */ - @Generated - public List getDataset() { - return this.dataset; - } - - /** - * Set the dataset property: Inline evaluation dataset. Mutually exclusive with `train_dataset_reference`. - * - * @param dataset the dataset value to set. - * @return the OptimizationJobInputs object itself. - */ - @Generated - public OptimizationJobInputs setDataset(List dataset) { - this.dataset = dataset; - return this; - } - - /** - * Get the trainDatasetReference property: Reference to a registered training dataset. Mutually exclusive with - * `dataset`. + * Get the trainDatasetReference property: Reference to a registered training dataset (required). * * @return the trainDatasetReference value. */ @@ -113,19 +68,6 @@ public DatasetRef getTrainDatasetReference() { return this.trainDatasetReference; } - /** - * Set the trainDatasetReference property: Reference to a registered training dataset. Mutually exclusive with - * `dataset`. - * - * @param trainDatasetReference the trainDatasetReference value to set. - * @return the OptimizationJobInputs object itself. - */ - @Generated - public OptimizationJobInputs setTrainDatasetReference(DatasetRef trainDatasetReference) { - this.trainDatasetReference = trainDatasetReference; - return this; - } - /** * Get the validationDatasetReference property: Optional held-out validation dataset for measuring generalization of * the final candidate. @@ -151,8 +93,8 @@ public OptimizationJobInputs setValidationDatasetReference(DatasetRef validation } /** - * Get the evaluators property: Job-level evaluators (referenced by `name`). Per-task `criteria` may override. - * Default: ['task_adherence']. + * Get the evaluators property: Job-level evaluators (referenced by name). Per-task criteria may override. Default: + * ['task_adherence']. * * @return the evaluators value. */ @@ -162,8 +104,8 @@ public List getEvaluators() { } /** - * Set the evaluators property: Job-level evaluators (referenced by `name`). Per-task `criteria` may override. - * Default: ['task_adherence']. + * Set the evaluators property: Job-level evaluators (referenced by name). Per-task criteria may override. Default: + * ['task_adherence']. * * @param evaluators the evaluators value to set. * @return the OptimizationJobInputs object itself. @@ -174,30 +116,6 @@ public OptimizationJobInputs setEvaluators(List evaluators) { return this; } - /** - * Get the criteria property: Job-level evaluation criteria. Applied to all tasks unless overridden by per-task - * `criteria`. - * - * @return the criteria value. - */ - @Generated - public List getCriteria() { - return this.criteria; - } - - /** - * Set the criteria property: Job-level evaluation criteria. Applied to all tasks unless overridden by per-task - * `criteria`. - * - * @param criteria the criteria value to set. - * @return the OptimizationJobInputs object itself. - */ - @Generated - public OptimizationJobInputs setCriteria(List criteria) { - this.criteria = criteria; - return this; - } - /** * Get the options property: Tuning knobs and run-mode. * @@ -228,11 +146,9 @@ public OptimizationJobInputs setOptions(OptimizationOptions options) { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeJsonField("agent", this.agent); - jsonWriter.writeArrayField("dataset", this.dataset, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeJsonField("train_dataset_reference", this.trainDatasetReference); - jsonWriter.writeJsonField("validation_dataset_reference", this.validationDatasetReference); + jsonWriter.writeJsonField("trainDatasetReference", this.trainDatasetReference); + jsonWriter.writeJsonField("validationDatasetReference", this.validationDatasetReference); jsonWriter.writeArrayField("evaluators", this.evaluators, (writer, element) -> writer.writeString(element)); - jsonWriter.writeArrayField("criteria", this.criteria, (writer, element) -> writer.writeJson(element)); jsonWriter.writeJsonField("options", this.options); return jsonWriter.writeEndObject(); } @@ -249,42 +165,46 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { @Generated public static OptimizationJobInputs fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - OptimizationAgentDefinition agent = null; - List dataset = null; + AgentIdentifier agent = null; DatasetRef trainDatasetReference = null; DatasetRef validationDatasetReference = null; List evaluators = null; - List criteria = null; OptimizationOptions options = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("agent".equals(fieldName)) { - agent = OptimizationAgentDefinition.fromJson(reader); - } else if ("dataset".equals(fieldName)) { - dataset = reader.readArray(reader1 -> DatasetItem.fromJson(reader1)); - } else if ("train_dataset_reference".equals(fieldName)) { + agent = AgentIdentifier.fromJson(reader); + } else if ("trainDatasetReference".equals(fieldName)) { trainDatasetReference = DatasetRef.fromJson(reader); - } else if ("validation_dataset_reference".equals(fieldName)) { + } else if ("validationDatasetReference".equals(fieldName)) { validationDatasetReference = DatasetRef.fromJson(reader); } else if ("evaluators".equals(fieldName)) { evaluators = reader.readArray(reader1 -> reader1.getString()); - } else if ("criteria".equals(fieldName)) { - criteria = reader.readArray(reader1 -> EvaluationCriterion.fromJson(reader1)); } else if ("options".equals(fieldName)) { options = OptimizationOptions.fromJson(reader); } else { reader.skipChildren(); } } - OptimizationJobInputs deserializedOptimizationJobInputs = new OptimizationJobInputs(agent); - deserializedOptimizationJobInputs.dataset = dataset; - deserializedOptimizationJobInputs.trainDatasetReference = trainDatasetReference; + OptimizationJobInputs deserializedOptimizationJobInputs + = new OptimizationJobInputs(agent, trainDatasetReference); deserializedOptimizationJobInputs.validationDatasetReference = validationDatasetReference; deserializedOptimizationJobInputs.evaluators = evaluators; - deserializedOptimizationJobInputs.criteria = criteria; deserializedOptimizationJobInputs.options = options; return deserializedOptimizationJobInputs; }); } + + /** + * Creates an instance of OptimizationJobInputs class. + * + * @param agent the agent value to set. + * @param trainDatasetReference the trainDatasetReference value to set. + */ + @Generated + public OptimizationJobInputs(AgentIdentifier agent, DatasetRef trainDatasetReference) { + this.agent = agent; + this.trainDatasetReference = trainDatasetReference; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java index 7ef28c4660fb..da6e208283b8 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java @@ -10,38 +10,19 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; -import java.time.Duration; /** - * In-flight progress; only populated while status is `queued` or `in_progress`. + * In-flight progress; only populated while status is queued or in_progress. */ @Immutable public final class OptimizationJobProgress implements JsonSerializable { - /* - * Strategy currently being explored. - */ - @Generated - private final OptimizationStrategy currentStrategy; - /* * 1-based current iteration index. */ @Generated private final int currentIteration; - /* - * Tasks evaluated so far this iteration. - */ - @Generated - private final int tasksCompleted; - - /* - * Total tasks scheduled this iteration. - */ - @Generated - private final int tasksTotal; - /* * Best score observed so far across all candidates. */ @@ -49,46 +30,11 @@ public final class OptimizationJobProgress implements JsonSerializable { - OptimizationStrategy currentStrategy = null; int currentIteration = 0; - int tasksCompleted = 0; - int tasksTotal = 0; double bestScore = 0.0; - Duration elapsedSeconds = null; + double elapsedSeconds = 0.0; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("current_strategy".equals(fieldName)) { - currentStrategy = OptimizationStrategy.fromString(reader.getString()); - } else if ("current_iteration".equals(fieldName)) { + if ("currentIteration".equals(fieldName)) { currentIteration = reader.getInt(); - } else if ("tasks_completed".equals(fieldName)) { - tasksCompleted = reader.getInt(); - } else if ("tasks_total".equals(fieldName)) { - tasksTotal = reader.getInt(); - } else if ("best_score".equals(fieldName)) { + } else if ("bestScore".equals(fieldName)) { bestScore = reader.getDouble(); - } else if ("elapsed_seconds".equals(fieldName)) { - elapsedSeconds = Duration.ofNanos((long) (reader.getDouble() * 1000_000_000L)); + } else if ("elapsedSeconds".equals(fieldName)) { + elapsedSeconds = reader.getDouble(); } else { reader.skipChildren(); } } - return new OptimizationJobProgress(currentStrategy, currentIteration, tasksCompleted, tasksTotal, bestScore, - elapsedSeconds); + return new OptimizationJobProgress(currentIteration, bestScore, elapsedSeconds); }); } + + /** + * Creates an instance of OptimizationJobProgress class. + * + * @param currentIteration the currentIteration value to set. + * @param bestScore the bestScore value to set. + * @param elapsedSeconds the elapsedSeconds value to set. + */ + @Generated + private OptimizationJobProgress(int currentIteration, double bestScore, double elapsedSeconds) { + this.currentIteration = currentIteration; + this.bestScore = bestScore; + this.elapsedSeconds = elapsedSeconds; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java index cca59bc4da02..dcc71df7c4af 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java @@ -13,7 +13,7 @@ import java.util.List; /** - * Terminal-state result body. Populated when `status` is `succeeded` or `failed`. + * Terminal-state result body. Populated when status is succeeded or failed. */ @Immutable public final class OptimizationJobResult implements JsonSerializable { @@ -36,18 +36,6 @@ public final class OptimizationJobResult implements JsonSerializable candidates; - /* - * Candidates on the Pareto frontier (maximize score, minimize cost). - */ - @Generated - private List paretoFrontier; - - /* - * Score of the best candidate on the held-out validation dataset. Null when no validation dataset was provided. - */ - @Generated - private OptimizationCandidate validationScore; - /* * The options used for this optimization run. */ @@ -55,23 +43,11 @@ public final class OptimizationJobResult implements JsonSerializable warnings; - /* - * True when all optimization strategies failed — only the baseline was evaluated. - */ - @Generated - private Boolean allStrategiesFailed; - /** * Creates an instance of OptimizationJobResult class. */ @@ -109,27 +85,6 @@ public List getCandidates() { return this.candidates; } - /** - * Get the paretoFrontier property: Candidates on the Pareto frontier (maximize score, minimize cost). - * - * @return the paretoFrontier value. - */ - @Generated - public List getParetoFrontier() { - return this.paretoFrontier; - } - - /** - * Get the validationScore property: Score of the best candidate on the held-out validation dataset. Null when no - * validation dataset was provided. - * - * @return the validationScore value. - */ - @Generated - public OptimizationCandidate getValidationScore() { - return this.validationScore; - } - /** * Get the options property: The options used for this optimization run. * @@ -141,19 +96,8 @@ public OptimizationOptions getOptions() { } /** - * Get the sampleSize property: Number of tasks sampled during optimization iterations (null if sampling was not - * used). - * - * @return the sampleSize value. - */ - @Generated - public Integer getSampleSize() { - return this.sampleSize; - } - - /** - * Get the warnings property: Non-fatal warnings from the optimization run (e.g., strategy failures that were - * skipped). + * Get the warnings property: Non-fatal warnings from the optimization run (e.g., target attribute failures that + * were skipped). * * @return the warnings value. */ @@ -162,17 +106,6 @@ public List getWarnings() { return this.warnings; } - /** - * Get the allStrategiesFailed property: True when all optimization strategies failed — only the baseline was - * evaluated. - * - * @return the allStrategiesFailed value. - */ - @Generated - public Boolean isAllStrategiesFailed() { - return this.allStrategiesFailed; - } - /** * {@inheritDoc} */ @@ -183,13 +116,9 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeJsonField("baseline", this.baseline); jsonWriter.writeJsonField("best", this.best); jsonWriter.writeArrayField("candidates", this.candidates, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeArrayField("pareto_frontier", this.paretoFrontier, - (writer, element) -> writer.writeJson(element)); - jsonWriter.writeJsonField("validation_score", this.validationScore); jsonWriter.writeJsonField("options", this.options); - jsonWriter.writeNumberField("sample_size", this.sampleSize); jsonWriter.writeArrayField("warnings", this.warnings, (writer, element) -> writer.writeString(element)); - jsonWriter.writeBooleanField("all_strategies_failed", this.allStrategiesFailed); + jsonWriter.writeBooleanField("allTargetAttributesFailed", this.allTargetAttributesFailed); return jsonWriter.writeEndObject(); } @@ -216,21 +145,14 @@ public static OptimizationJobResult fromJson(JsonReader jsonReader) throws IOExc List candidates = reader.readArray(reader1 -> OptimizationCandidate.fromJson(reader1)); deserializedOptimizationJobResult.candidates = candidates; - } else if ("pareto_frontier".equals(fieldName)) { - List paretoFrontier - = reader.readArray(reader1 -> OptimizationCandidate.fromJson(reader1)); - deserializedOptimizationJobResult.paretoFrontier = paretoFrontier; - } else if ("validation_score".equals(fieldName)) { - deserializedOptimizationJobResult.validationScore = OptimizationCandidate.fromJson(reader); } else if ("options".equals(fieldName)) { deserializedOptimizationJobResult.options = OptimizationOptions.fromJson(reader); - } else if ("sample_size".equals(fieldName)) { - deserializedOptimizationJobResult.sampleSize = reader.getNullable(JsonReader::getInt); } else if ("warnings".equals(fieldName)) { List warnings = reader.readArray(reader1 -> reader1.getString()); deserializedOptimizationJobResult.warnings = warnings; - } else if ("all_strategies_failed".equals(fieldName)) { - deserializedOptimizationJobResult.allStrategiesFailed = reader.getNullable(JsonReader::getBoolean); + } else if ("allTargetAttributesFailed".equals(fieldName)) { + deserializedOptimizationJobResult.allTargetAttributesFailed + = reader.getNullable(JsonReader::getBoolean); } else { reader.skipChildren(); } @@ -238,4 +160,21 @@ public static OptimizationJobResult fromJson(JsonReader jsonReader) throws IOExc return deserializedOptimizationJobResult; }); } + + /* + * True when all target attributes failed — only the baseline was evaluated. + */ + @Generated + private Boolean allTargetAttributesFailed; + + /** + * Get the allTargetAttributesFailed property: True when all target attributes failed — only the baseline was + * evaluated. + * + * @return the allTargetAttributesFailed value. + */ + @Generated + public Boolean isAllTargetAttributesFailed() { + return this.allTargetAttributesFailed; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationMode.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationMode.java deleted file mode 100644 index fda2f3de95b2..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationMode.java +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Run mode for an optimization job. - */ -public final class OptimizationMode extends ExpandableStringEnum { - - /** - * Full optimization: baseline + mutation strategies. - */ - @Generated - public static final OptimizationMode OPTIMIZE = fromString("optimize"); - - /** - * Creates a new instance of OptimizationMode value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public OptimizationMode() { - } - - /** - * Creates or finds a OptimizationMode from its string representation. - * - * @param name a name to look for. - * @return the corresponding OptimizationMode. - */ - @Generated - public static OptimizationMode fromString(String name) { - return fromString(name, OptimizationMode.class); - } - - /** - * Gets known OptimizationMode values. - * - * @return known OptimizationMode values. - */ - @Generated - public static Collection values() { - return values(OptimizationMode.class); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationOptions.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationOptions.java index f1621e3aa8c1..94d4685a42aa 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationOptions.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationOptions.java @@ -5,13 +5,13 @@ import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; -import java.time.Duration; -import java.util.List; +import java.util.Map; /** * Tuning knobs and run-mode for an optimization job. @@ -20,84 +20,17 @@ public final class OptimizationOptions implements JsonSerializable { /* - * Strategies to apply this run. Default: ['instruction']. - */ - @Generated - private List strategies; - - /* - * Total candidate generation budget (number of candidates explored). Default: 10. - */ - @Generated - private Integer budget; - - /* - * Maximum optimization iterations per strategy. Default: 5. + * Maximum optimization iterations per strategy. Must be >= 1. Default: 5. */ @Generated private Integer maxIterations; /* - * Tasks sampled per iteration (mutation step input). Default: service-decided (auto-computed). - */ - @Generated - private Integer tasksPerIteration; - - /* - * Maximum tasks fed into the reflective-mutation LLM per iteration. Default: 5. - */ - @Generated - private Integer maxReflectionTasks; - - /* - * Minimum score improvement between iterations to continue (plateau detection). Default: 0.005. - */ - @Generated - private Double minImprovement; - - /* - * Composite score threshold for a task to be considered passing. Default: 0.5. - */ - @Generated - private Double passThreshold; - - /* - * Target average score at which optimization stops early (quality ceiling). Default: 0.95. - */ - @Generated - private Double improvementThreshold; - - /* - * Run mode. - */ - @Generated - private OptimizationMode mode; - - /* - * Foundry deployment name to use as the LLM-as-judge evaluation model. Required. + * Model deployment used for evaluation. Defaults to server config (typically 'gpt-4o'). */ @Generated private String evalModel; - /* - * Optional model deployment for strategy reflection (instruction rewriting, skill generation). Falls back to - * `eval_model` if unset. - */ - @Generated - private String reflectionModel; - - /* - * Per-task timeout for agent execution. Default: 300 seconds (5 minutes). - */ - @Generated - private Long taskTimeoutSeconds; - - /* - * If true, retain temporary candidate-evaluation agent versions for inspection. Default: false. - */ - @Generated - private Boolean keepVersions; - /** * Creates an instance of OptimizationOptions class. */ @@ -106,51 +39,7 @@ public OptimizationOptions() { } /** - * Get the strategies property: Strategies to apply this run. Default: ['instruction']. - * - * @return the strategies value. - */ - @Generated - public List getStrategies() { - return this.strategies; - } - - /** - * Set the strategies property: Strategies to apply this run. Default: ['instruction']. - * - * @param strategies the strategies value to set. - * @return the OptimizationOptions object itself. - */ - @Generated - public OptimizationOptions setStrategies(List strategies) { - this.strategies = strategies; - return this; - } - - /** - * Get the budget property: Total candidate generation budget (number of candidates explored). Default: 10. - * - * @return the budget value. - */ - @Generated - public Integer getBudget() { - return this.budget; - } - - /** - * Set the budget property: Total candidate generation budget (number of candidates explored). Default: 10. - * - * @param budget the budget value to set. - * @return the OptimizationOptions object itself. - */ - @Generated - public OptimizationOptions setBudget(Integer budget) { - this.budget = budget; - return this; - } - - /** - * Get the maxIterations property: Maximum optimization iterations per strategy. Default: 5. + * Get the maxIterations property: Maximum optimization iterations per strategy. Must be >= 1. Default: 5. * * @return the maxIterations value. */ @@ -160,7 +49,7 @@ public Integer getMaxIterations() { } /** - * Set the maxIterations property: Maximum optimization iterations per strategy. Default: 5. + * Set the maxIterations property: Maximum optimization iterations per strategy. Must be >= 1. Default: 5. * * @param maxIterations the maxIterations value to set. * @return the OptimizationOptions object itself. @@ -172,316 +61,174 @@ public OptimizationOptions setMaxIterations(Integer maxIterations) { } /** - * Get the tasksPerIteration property: Tasks sampled per iteration (mutation step input). Default: service-decided - * (auto-computed). - * - * @return the tasksPerIteration value. - */ - @Generated - public Integer getTasksPerIteration() { - return this.tasksPerIteration; - } - - /** - * Set the tasksPerIteration property: Tasks sampled per iteration (mutation step input). Default: service-decided - * (auto-computed). - * - * @param tasksPerIteration the tasksPerIteration value to set. - * @return the OptimizationOptions object itself. - */ - @Generated - public OptimizationOptions setTasksPerIteration(Integer tasksPerIteration) { - this.tasksPerIteration = tasksPerIteration; - return this; - } - - /** - * Get the maxReflectionTasks property: Maximum tasks fed into the reflective-mutation LLM per iteration. Default: - * 5. - * - * @return the maxReflectionTasks value. - */ - @Generated - public Integer getMaxReflectionTasks() { - return this.maxReflectionTasks; - } - - /** - * Set the maxReflectionTasks property: Maximum tasks fed into the reflective-mutation LLM per iteration. Default: - * 5. - * - * @param maxReflectionTasks the maxReflectionTasks value to set. - * @return the OptimizationOptions object itself. - */ - @Generated - public OptimizationOptions setMaxReflectionTasks(Integer maxReflectionTasks) { - this.maxReflectionTasks = maxReflectionTasks; - return this; - } - - /** - * Get the minImprovement property: Minimum score improvement between iterations to continue (plateau detection). - * Default: 0.005. - * - * @return the minImprovement value. - */ - @Generated - public Double getMinImprovement() { - return this.minImprovement; - } - - /** - * Set the minImprovement property: Minimum score improvement between iterations to continue (plateau detection). - * Default: 0.005. - * - * @param minImprovement the minImprovement value to set. - * @return the OptimizationOptions object itself. - */ - @Generated - public OptimizationOptions setMinImprovement(Double minImprovement) { - this.minImprovement = minImprovement; - return this; - } - - /** - * Get the passThreshold property: Composite score threshold for a task to be considered passing. Default: 0.5. + * Get the evalModel property: Model deployment used for evaluation. Defaults to server config (typically 'gpt-4o'). * - * @return the passThreshold value. + * @return the evalModel value. */ @Generated - public Double getPassThreshold() { - return this.passThreshold; + public String getEvalModel() { + return this.evalModel; } /** - * Set the passThreshold property: Composite score threshold for a task to be considered passing. Default: 0.5. + * Set the evalModel property: Model deployment used for evaluation. Defaults to server config (typically 'gpt-4o'). * - * @param passThreshold the passThreshold value to set. + * @param evalModel the evalModel value to set. * @return the OptimizationOptions object itself. */ @Generated - public OptimizationOptions setPassThreshold(Double passThreshold) { - this.passThreshold = passThreshold; + public OptimizationOptions setEvalModel(String evalModel) { + this.evalModel = evalModel; return this; } /** - * Get the improvementThreshold property: Target average score at which optimization stops early (quality ceiling). - * Default: 0.95. - * - * @return the improvementThreshold value. - */ - @Generated - public Double getImprovementThreshold() { - return this.improvementThreshold; - } - - /** - * Set the improvementThreshold property: Target average score at which optimization stops early (quality ceiling). - * Default: 0.95. - * - * @param improvementThreshold the improvementThreshold value to set. - * @return the OptimizationOptions object itself. + * {@inheritDoc} */ @Generated - public OptimizationOptions setImprovementThreshold(Double improvementThreshold) { - this.improvementThreshold = improvementThreshold; - return this; + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeNumberField("maxIterations", this.maxIterations); + jsonWriter.writeMapField("optimizationConfig", this.optimizationConfig, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + jsonWriter.writeStringField("evalModel", this.evalModel); + jsonWriter.writeStringField("optimizationModel", this.optimizationModel); + jsonWriter.writeStringField("evaluationLevel", + this.evaluationLevel == null ? null : this.evaluationLevel.toString()); + return jsonWriter.writeEndObject(); } /** - * Get the mode property: Run mode. + * Reads an instance of OptimizationOptions from the JsonReader. * - * @return the mode value. + * @param jsonReader The JsonReader being read. + * @return An instance of OptimizationOptions if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the OptimizationOptions. */ @Generated - public OptimizationMode getMode() { - return this.mode; + public static OptimizationOptions fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + OptimizationOptions deserializedOptimizationOptions = new OptimizationOptions(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("maxIterations".equals(fieldName)) { + deserializedOptimizationOptions.maxIterations = reader.getNullable(JsonReader::getInt); + } else if ("optimizationConfig".equals(fieldName)) { + Map optimizationConfig = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); + deserializedOptimizationOptions.optimizationConfig = optimizationConfig; + } else if ("evalModel".equals(fieldName)) { + deserializedOptimizationOptions.evalModel = reader.getString(); + } else if ("optimizationModel".equals(fieldName)) { + deserializedOptimizationOptions.optimizationModel = reader.getString(); + } else if ("evaluationLevel".equals(fieldName)) { + deserializedOptimizationOptions.evaluationLevel = EvaluationLevel.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + return deserializedOptimizationOptions; + }); } - /** - * Set the mode property: Run mode. - * - * @param mode the mode value to set. - * @return the OptimizationOptions object itself. + /* + * Per-target-attribute configuration overrides. Contains skills, tools, systemPrompt for the agent, plus model + * space for model optimization. */ @Generated - public OptimizationOptions setMode(OptimizationMode mode) { - this.mode = mode; - return this; - } + private Map optimizationConfig; - /** - * Get the evalModel property: Foundry deployment name to use as the LLM-as-judge evaluation model. Required. - * - * @return the evalModel value. + /* + * Model deployment for optimization reasoning (must be gpt-5 family). Falls back to the default eval model when not + * set. */ @Generated - public String getEvalModel() { - return this.evalModel; - } + private String optimizationModel; - /** - * Set the evalModel property: Foundry deployment name to use as the LLM-as-judge evaluation model. Required. - * - * @param evalModel the evalModel value to set. - * @return the OptimizationOptions object itself. + /* + * Evaluation granularity. Null/omitted means per-item single-turn. Set to 'conversation' for per-conversation + * multi-turn simulation scoring. */ @Generated - public OptimizationOptions setEvalModel(String evalModel) { - this.evalModel = evalModel; - return this; - } + private EvaluationLevel evaluationLevel; /** - * Get the reflectionModel property: Optional model deployment for strategy reflection (instruction rewriting, skill - * generation). Falls back to `eval_model` if unset. + * Get the optimizationConfig property: Per-target-attribute configuration overrides. Contains skills, tools, + * systemPrompt for the agent, plus model space for model optimization. * - * @return the reflectionModel value. + * @return the optimizationConfig value. */ @Generated - public String getReflectionModel() { - return this.reflectionModel; + public Map getOptimizationConfig() { + return this.optimizationConfig; } /** - * Set the reflectionModel property: Optional model deployment for strategy reflection (instruction rewriting, skill - * generation). Falls back to `eval_model` if unset. + * Set the optimizationConfig property: Per-target-attribute configuration overrides. Contains skills, tools, + * systemPrompt for the agent, plus model space for model optimization. * - * @param reflectionModel the reflectionModel value to set. + * @param optimizationConfig the optimizationConfig value to set. * @return the OptimizationOptions object itself. */ @Generated - public OptimizationOptions setReflectionModel(String reflectionModel) { - this.reflectionModel = reflectionModel; + public OptimizationOptions setOptimizationConfig(Map optimizationConfig) { + this.optimizationConfig = optimizationConfig; return this; } /** - * Get the taskTimeoutSeconds property: Per-task timeout for agent execution. Default: 300 seconds (5 minutes). + * Get the optimizationModel property: Model deployment for optimization reasoning (must be gpt-5 family). Falls + * back to the default eval model when not set. * - * @return the taskTimeoutSeconds value. + * @return the optimizationModel value. */ @Generated - public Duration getTaskTimeoutSeconds() { - if (this.taskTimeoutSeconds == null) { - return null; - } - return Duration.ofSeconds(this.taskTimeoutSeconds); + public String getOptimizationModel() { + return this.optimizationModel; } /** - * Set the taskTimeoutSeconds property: Per-task timeout for agent execution. Default: 300 seconds (5 minutes). + * Set the optimizationModel property: Model deployment for optimization reasoning (must be gpt-5 family). Falls + * back to the default eval model when not set. * - * @param taskTimeoutSeconds the taskTimeoutSeconds value to set. + * @param optimizationModel the optimizationModel value to set. * @return the OptimizationOptions object itself. */ @Generated - public OptimizationOptions setTaskTimeoutSeconds(Duration taskTimeoutSeconds) { - if (taskTimeoutSeconds == null) { - this.taskTimeoutSeconds = null; - } else { - this.taskTimeoutSeconds = taskTimeoutSeconds.getSeconds(); - } + public OptimizationOptions setOptimizationModel(String optimizationModel) { + this.optimizationModel = optimizationModel; return this; } /** - * Get the keepVersions property: If true, retain temporary candidate-evaluation agent versions for inspection. - * Default: false. + * Get the evaluationLevel property: Evaluation granularity. Null/omitted means per-item single-turn. Set to + * 'conversation' for per-conversation multi-turn simulation scoring. * - * @return the keepVersions value. + * @return the evaluationLevel value. */ @Generated - public Boolean isKeepVersions() { - return this.keepVersions; + public EvaluationLevel getEvaluationLevel() { + return this.evaluationLevel; } /** - * Set the keepVersions property: If true, retain temporary candidate-evaluation agent versions for inspection. - * Default: false. + * Set the evaluationLevel property: Evaluation granularity. Null/omitted means per-item single-turn. Set to + * 'conversation' for per-conversation multi-turn simulation scoring. * - * @param keepVersions the keepVersions value to set. + * @param evaluationLevel the evaluationLevel value to set. * @return the OptimizationOptions object itself. */ @Generated - public OptimizationOptions setKeepVersions(Boolean keepVersions) { - this.keepVersions = keepVersions; + public OptimizationOptions setEvaluationLevel(EvaluationLevel evaluationLevel) { + this.evaluationLevel = evaluationLevel; return this; } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeArrayField("strategies", this.strategies, - (writer, element) -> writer.writeString(element == null ? null : element.toString())); - jsonWriter.writeNumberField("budget", this.budget); - jsonWriter.writeNumberField("max_iterations", this.maxIterations); - jsonWriter.writeNumberField("tasks_per_iteration", this.tasksPerIteration); - jsonWriter.writeNumberField("max_reflection_tasks", this.maxReflectionTasks); - jsonWriter.writeNumberField("min_improvement", this.minImprovement); - jsonWriter.writeNumberField("pass_threshold", this.passThreshold); - jsonWriter.writeNumberField("improvement_threshold", this.improvementThreshold); - jsonWriter.writeStringField("mode", this.mode == null ? null : this.mode.toString()); - jsonWriter.writeStringField("eval_model", this.evalModel); - jsonWriter.writeStringField("reflection_model", this.reflectionModel); - jsonWriter.writeNumberField("task_timeout_seconds", this.taskTimeoutSeconds); - jsonWriter.writeBooleanField("keep_versions", this.keepVersions); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of OptimizationOptions from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of OptimizationOptions if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the OptimizationOptions. - */ - @Generated - public static OptimizationOptions fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - OptimizationOptions deserializedOptimizationOptions = new OptimizationOptions(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("strategies".equals(fieldName)) { - List strategies - = reader.readArray(reader1 -> OptimizationStrategy.fromString(reader1.getString())); - deserializedOptimizationOptions.strategies = strategies; - } else if ("budget".equals(fieldName)) { - deserializedOptimizationOptions.budget = reader.getNullable(JsonReader::getInt); - } else if ("max_iterations".equals(fieldName)) { - deserializedOptimizationOptions.maxIterations = reader.getNullable(JsonReader::getInt); - } else if ("tasks_per_iteration".equals(fieldName)) { - deserializedOptimizationOptions.tasksPerIteration = reader.getNullable(JsonReader::getInt); - } else if ("max_reflection_tasks".equals(fieldName)) { - deserializedOptimizationOptions.maxReflectionTasks = reader.getNullable(JsonReader::getInt); - } else if ("min_improvement".equals(fieldName)) { - deserializedOptimizationOptions.minImprovement = reader.getNullable(JsonReader::getDouble); - } else if ("pass_threshold".equals(fieldName)) { - deserializedOptimizationOptions.passThreshold = reader.getNullable(JsonReader::getDouble); - } else if ("improvement_threshold".equals(fieldName)) { - deserializedOptimizationOptions.improvementThreshold = reader.getNullable(JsonReader::getDouble); - } else if ("mode".equals(fieldName)) { - deserializedOptimizationOptions.mode = OptimizationMode.fromString(reader.getString()); - } else if ("eval_model".equals(fieldName)) { - deserializedOptimizationOptions.evalModel = reader.getString(); - } else if ("reflection_model".equals(fieldName)) { - deserializedOptimizationOptions.reflectionModel = reader.getString(); - } else if ("task_timeout_seconds".equals(fieldName)) { - deserializedOptimizationOptions.taskTimeoutSeconds = reader.getNullable(JsonReader::getLong); - } else if ("keep_versions".equals(fieldName)) { - deserializedOptimizationOptions.keepVersions = reader.getNullable(JsonReader::getBoolean); - } else { - reader.skipChildren(); - } - } - return deserializedOptimizationOptions; - }); - } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationStrategy.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationStrategy.java deleted file mode 100644 index 1661967e58fc..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationStrategy.java +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Optimization strategy dimension. - */ -public final class OptimizationStrategy extends ExpandableStringEnum { - - /** - * Instruction-tuning strategy — rewrites agent system prompts. - */ - @Generated - public static final OptimizationStrategy INSTRUCTION = fromString("instruction"); - - /** - * Model-selection strategy — evaluates alternative LLM deployments. - */ - @Generated - public static final OptimizationStrategy MODEL = fromString("model"); - - /** - * Skill-tuning strategy — generates or modifies agent tool descriptions. - */ - @Generated - public static final OptimizationStrategy SKILL = fromString("skill"); - - /** - * Creates a new instance of OptimizationStrategy value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public OptimizationStrategy() { - } - - /** - * Creates or finds a OptimizationStrategy from its string representation. - * - * @param name a name to look for. - * @return the corresponding OptimizationStrategy. - */ - @Generated - public static OptimizationStrategy fromString(String name) { - return fromString(name, OptimizationStrategy.class); - } - - /** - * Gets known OptimizationStrategy values. - * - * @return known OptimizationStrategy values. - */ - @Generated - public static Collection values() { - return values(OptimizationStrategy.class); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java index 23cca72c4933..02f80a7ae37c 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java @@ -222,17 +222,17 @@ public String getRunId() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("task_name", this.taskName); + jsonWriter.writeStringField("taskName", this.taskName); jsonWriter.writeMapField("scores", this.scores, (writer, element) -> writer.writeDouble(element)); - jsonWriter.writeDoubleField("composite_score", this.compositeScore); + jsonWriter.writeDoubleField("compositeScore", this.compositeScore); jsonWriter.writeIntField("tokens", this.tokens); - jsonWriter.writeDoubleField("duration_seconds", this.durationSeconds); + jsonWriter.writeDoubleField("durationSeconds", this.durationSeconds); jsonWriter.writeBooleanField("passed", this.passed); jsonWriter.writeStringField("query", this.query); - jsonWriter.writeStringField("error_message", this.errorMessage); + jsonWriter.writeStringField("errorMessage", this.errorMessage); jsonWriter.writeMapField("rationales", this.rationales, (writer, element) -> writer.writeString(element)); jsonWriter.writeStringField("response", this.response); - jsonWriter.writeStringField("run_id", this.runId); + jsonWriter.writeStringField("runId", this.runId); return jsonWriter.writeEndObject(); } @@ -262,27 +262,27 @@ public static OptimizationTaskResult fromJson(JsonReader jsonReader) throws IOEx while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("task_name".equals(fieldName)) { + if ("taskName".equals(fieldName)) { taskName = reader.getString(); } else if ("scores".equals(fieldName)) { scores = reader.readMap(reader1 -> reader1.getDouble()); - } else if ("composite_score".equals(fieldName)) { + } else if ("compositeScore".equals(fieldName)) { compositeScore = reader.getDouble(); } else if ("tokens".equals(fieldName)) { tokens = reader.getInt(); - } else if ("duration_seconds".equals(fieldName)) { + } else if ("durationSeconds".equals(fieldName)) { durationSeconds = reader.getDouble(); } else if ("passed".equals(fieldName)) { passed = reader.getBoolean(); } else if ("query".equals(fieldName)) { query = reader.getString(); - } else if ("error_message".equals(fieldName)) { + } else if ("errorMessage".equals(fieldName)) { errorMessage = reader.getString(); } else if ("rationales".equals(fieldName)) { rationales = reader.readMap(reader1 -> reader1.getString()); } else if ("response".equals(fieldName)) { response = reader.getString(); - } else if ("run_id".equals(fieldName)) { + } else if ("runId".equals(fieldName)) { runId = reader.getString(); } else { reader.skipChildren(); diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java new file mode 100644 index 000000000000..b3fa9ade7a34 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java @@ -0,0 +1,104 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Request body for promoting a candidate to a Foundry agent version. + */ +@Immutable +public final class PromoteCandidateRequest implements JsonSerializable { + + /* + * Name of the Foundry agent to promote to. + */ + @Generated + private final String agentName; + + /* + * Version of the Foundry agent to promote to. + */ + @Generated + private final String agentVersion; + + /** + * Creates an instance of PromoteCandidateRequest class. + * + * @param agentName the agentName value to set. + * @param agentVersion the agentVersion value to set. + */ + @Generated + public PromoteCandidateRequest(String agentName, String agentVersion) { + this.agentName = agentName; + this.agentVersion = agentVersion; + } + + /** + * Get the agentName property: Name of the Foundry agent to promote to. + * + * @return the agentName value. + */ + @Generated + public String getAgentName() { + return this.agentName; + } + + /** + * Get the agentVersion property: Version of the Foundry agent to promote to. + * + * @return the agentVersion value. + */ + @Generated + public String getAgentVersion() { + return this.agentVersion; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("agentName", this.agentName); + jsonWriter.writeStringField("agentVersion", this.agentVersion); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of PromoteCandidateRequest from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of PromoteCandidateRequest if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the PromoteCandidateRequest. + */ + @Generated + public static PromoteCandidateRequest fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String agentName = null; + String agentVersion = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("agentName".equals(fieldName)) { + agentName = reader.getString(); + } else if ("agentVersion".equals(fieldName)) { + agentVersion = reader.getString(); + } else { + reader.skipChildren(); + } + } + return new PromoteCandidateRequest(agentName, agentVersion); + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java new file mode 100644 index 000000000000..bf918541e63a --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java @@ -0,0 +1,178 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; + +/** + * Response after successfully promoting a candidate. + */ +@Immutable +public final class PromoteCandidateResponse implements JsonSerializable { + + /* + * The promoted candidate id. + */ + @Generated + private final String candidateId; + + /* + * Status after promotion. + */ + @Generated + private final String status; + + /* + * Timestamp when promotion occurred, represented in Unix time. + */ + @Generated + private final long promotedAt; + + /* + * Name of the Foundry agent promoted to. + */ + @Generated + private final String agentName; + + /* + * Version of the Foundry agent promoted to. + */ + @Generated + private final String agentVersion; + + /** + * Creates an instance of PromoteCandidateResponse class. + * + * @param candidateId the candidateId value to set. + * @param status the status value to set. + * @param promotedAt the promotedAt value to set. + * @param agentName the agentName value to set. + * @param agentVersion the agentVersion value to set. + */ + @Generated + private PromoteCandidateResponse(String candidateId, String status, OffsetDateTime promotedAt, String agentName, + String agentVersion) { + this.candidateId = candidateId; + this.status = status; + if (promotedAt == null) { + this.promotedAt = 0L; + } else { + this.promotedAt = promotedAt.toEpochSecond(); + } + this.agentName = agentName; + this.agentVersion = agentVersion; + } + + /** + * Get the candidateId property: The promoted candidate id. + * + * @return the candidateId value. + */ + @Generated + public String getCandidateId() { + return this.candidateId; + } + + /** + * Get the status property: Status after promotion. + * + * @return the status value. + */ + @Generated + public String getStatus() { + return this.status; + } + + /** + * Get the promotedAt property: Timestamp when promotion occurred, represented in Unix time. + * + * @return the promotedAt value. + */ + @Generated + public OffsetDateTime getPromotedAt() { + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.promotedAt), ZoneOffset.UTC); + } + + /** + * Get the agentName property: Name of the Foundry agent promoted to. + * + * @return the agentName value. + */ + @Generated + public String getAgentName() { + return this.agentName; + } + + /** + * Get the agentVersion property: Version of the Foundry agent promoted to. + * + * @return the agentVersion value. + */ + @Generated + public String getAgentVersion() { + return this.agentVersion; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("candidateId", this.candidateId); + jsonWriter.writeStringField("status", this.status); + jsonWriter.writeLongField("promotedAt", this.promotedAt); + jsonWriter.writeStringField("agentName", this.agentName); + jsonWriter.writeStringField("agentVersion", this.agentVersion); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of PromoteCandidateResponse from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of PromoteCandidateResponse if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the PromoteCandidateResponse. + */ + @Generated + public static PromoteCandidateResponse fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String candidateId = null; + String status = null; + OffsetDateTime promotedAt = null; + String agentName = null; + String agentVersion = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("candidateId".equals(fieldName)) { + candidateId = reader.getString(); + } else if ("status".equals(fieldName)) { + status = reader.getString(); + } else if ("promotedAt".equals(fieldName)) { + promotedAt = OffsetDateTime.ofInstant(Instant.ofEpochSecond(reader.getLong()), ZoneOffset.UTC); + } else if ("agentName".equals(fieldName)) { + agentName = reader.getString(); + } else if ("agentVersion".equals(fieldName)) { + agentVersion = reader.getString(); + } else { + reader.skipChildren(); + } + } + return new PromoteCandidateResponse(candidateId, status, promotedAt, agentName, agentVersion); + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromotionInfo.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromotionInfo.java new file mode 100644 index 000000000000..8e842b645b20 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromotionInfo.java @@ -0,0 +1,133 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; + +/** + * Promotion metadata recorded when a candidate is deployed to a Foundry agent. + */ +@Immutable +public final class PromotionInfo implements JsonSerializable { + + /* + * Timestamp when promotion occurred, represented in Unix time. + */ + @Generated + private final long promotedAt; + + /* + * Name of the Foundry agent this candidate was promoted to. + */ + @Generated + private final String agentName; + + /* + * Version of the Foundry agent this candidate was promoted to. + */ + @Generated + private final String agentVersion; + + /** + * Creates an instance of PromotionInfo class. + * + * @param promotedAt the promotedAt value to set. + * @param agentName the agentName value to set. + * @param agentVersion the agentVersion value to set. + */ + @Generated + private PromotionInfo(OffsetDateTime promotedAt, String agentName, String agentVersion) { + if (promotedAt == null) { + this.promotedAt = 0L; + } else { + this.promotedAt = promotedAt.toEpochSecond(); + } + this.agentName = agentName; + this.agentVersion = agentVersion; + } + + /** + * Get the promotedAt property: Timestamp when promotion occurred, represented in Unix time. + * + * @return the promotedAt value. + */ + @Generated + public OffsetDateTime getPromotedAt() { + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.promotedAt), ZoneOffset.UTC); + } + + /** + * Get the agentName property: Name of the Foundry agent this candidate was promoted to. + * + * @return the agentName value. + */ + @Generated + public String getAgentName() { + return this.agentName; + } + + /** + * Get the agentVersion property: Version of the Foundry agent this candidate was promoted to. + * + * @return the agentVersion value. + */ + @Generated + public String getAgentVersion() { + return this.agentVersion; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeLongField("promotedAt", this.promotedAt); + jsonWriter.writeStringField("agentName", this.agentName); + jsonWriter.writeStringField("agentVersion", this.agentVersion); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of PromotionInfo from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of PromotionInfo if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the PromotionInfo. + */ + @Generated + public static PromotionInfo fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + OffsetDateTime promotedAt = null; + String agentName = null; + String agentVersion = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("promotedAt".equals(fieldName)) { + promotedAt = OffsetDateTime.ofInstant(Instant.ofEpochSecond(reader.getLong()), ZoneOffset.UTC); + } else if ("agentName".equals(fieldName)) { + agentName = reader.getString(); + } else if ("agentVersion".equals(fieldName)) { + agentVersion = reader.getString(); + } else { + reader.skipChildren(); + } + } + return new PromotionInfo(promotedAt, agentName, agentVersion); + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java index 1061c9e2a476..aca87b1a51dd 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java @@ -43,7 +43,7 @@ public final class PromptAgentDefinition extends AgentDefinition { /* * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while * lower values like 0.2 will make it more focused and deterministic. - * We generally recommend altering this or `top_p` but not both. + * We generally recommend altering this or `top_p` but not both. Defaults to `1`. */ @Generated private Double temperature; @@ -52,9 +52,8 @@ public final class PromptAgentDefinition extends AgentDefinition { * An alternative to sampling with temperature, called nucleus sampling, * where the model considers the results of the tokens with top_p probability * mass. So 0.1 means only the tokens comprising the top 10% probability mass - * are considered. - * - * We generally recommend altering this or `temperature` but not both. + * are considered. We generally recommend altering this or `temperature` but not both. + * Defaults to `1`. */ @Generated private Double topP; @@ -137,7 +136,7 @@ public PromptAgentDefinition setInstructions(String instructions) { /** * Get the temperature property: What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make * the output more random, while lower values like 0.2 will make it more focused and deterministic. - * We generally recommend altering this or `top_p` but not both. + * We generally recommend altering this or `top_p` but not both. Defaults to `1`. * * @return the temperature value. */ @@ -149,7 +148,7 @@ public Double getTemperature() { /** * Set the temperature property: What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make * the output more random, while lower values like 0.2 will make it more focused and deterministic. - * We generally recommend altering this or `top_p` but not both. + * We generally recommend altering this or `top_p` but not both. Defaults to `1`. * * @param temperature the temperature value to set. * @return the PromptAgentDefinition object itself. @@ -164,9 +163,8 @@ public PromptAgentDefinition setTemperature(Double temperature) { * Get the topP property: An alternative to sampling with temperature, called nucleus sampling, * where the model considers the results of the tokens with top_p probability * mass. So 0.1 means only the tokens comprising the top 10% probability mass - * are considered. - * - * We generally recommend altering this or `temperature` but not both. + * are considered. We generally recommend altering this or `temperature` but not both. + * Defaults to `1`. * * @return the topP value. */ @@ -179,9 +177,8 @@ public Double getTopP() { * Set the topP property: An alternative to sampling with temperature, called nucleus sampling, * where the model considers the results of the tokens with top_p probability * mass. So 0.1 means only the tokens comprising the top 10% probability mass - * are considered. - * - * We generally recommend altering this or `temperature` but not both. + * are considered. We generally recommend altering this or `temperature` but not both. + * Defaults to `1`. * * @param topP the topP value to set. * @return the PromptAgentDefinition object itself. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java index d72f2a45b49b..8ddadff8876d 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java @@ -38,7 +38,7 @@ public final class StructuredInputDefinition implements JsonSerializable schema; /* - * Whether the input property is required when the agent is invoked. + * Whether the input property is required when the agent is invoked. Defaults to `false`. */ @Generated private Boolean required; @@ -105,7 +105,7 @@ public Map getSchema() { } /** - * Get the required property: Whether the input property is required when the agent is invoked. + * Get the required property: Whether the input property is required when the agent is invoked. Defaults to `false`. * * @return the required value. */ @@ -115,7 +115,7 @@ public Boolean isRequired() { } /** - * Set the required property: Whether the input property is required when the agent is invoked. + * Set the required property: Whether the input property is required when the agent is invoked. Defaults to `false`. * * @param required the required value to set. * @return the StructuredInputDefinition object itself. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxSkill.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxSkill.java new file mode 100644 index 000000000000..62eb231c4c8a --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxSkill.java @@ -0,0 +1,105 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A skill source included in a toolbox. + */ +@Immutable +public class ToolboxSkill implements JsonSerializable { + + /* + * The type of skill source. + */ + @Generated + private String type = "ToolboxSkill"; + + /** + * Creates an instance of ToolboxSkill class. + */ + @Generated + public ToolboxSkill() { + } + + /** + * Get the type property: The type of skill source. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ToolboxSkill from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ToolboxSkill if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the ToolboxSkill. + */ + @Generated + public static ToolboxSkill fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String discriminatorValue = null; + try (JsonReader readerToUse = reader.bufferObject()) { + // Prepare for reading + readerToUse.nextToken(); + while (readerToUse.nextToken() != JsonToken.END_OBJECT) { + String fieldName = readerToUse.getFieldName(); + readerToUse.nextToken(); + if ("type".equals(fieldName)) { + discriminatorValue = readerToUse.getString(); + break; + } else { + readerToUse.skipChildren(); + } + } + // Use the discriminator value to determine which subtype should be deserialized. + if ("skill_reference".equals(discriminatorValue)) { + return ToolboxSkillReference.fromJson(readerToUse.reset()); + } else { + return fromJsonKnownDiscriminator(readerToUse.reset()); + } + } + }); + } + + @Generated + static ToolboxSkill fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ToolboxSkill deserializedToolboxSkill = new ToolboxSkill(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("type".equals(fieldName)) { + deserializedToolboxSkill.type = reader.getString(); + } else { + reader.skipChildren(); + } + } + return deserializedToolboxSkill; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java new file mode 100644 index 000000000000..5fe213b5ca52 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java @@ -0,0 +1,140 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.agents.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A reference to an existing skill to include in a toolbox. + */ +@Fluent +public final class ToolboxSkillReference extends ToolboxSkill { + + /* + * The type of skill source. + */ + @Generated + private String type = "skill_reference"; + + /* + * The name of the skill. + */ + @Generated + private final String name; + + /* + * The version of the skill. If not specified, the skill's default version is used. When a version is specified, the + * reference is pinned to that immutable version. + */ + @Generated + private String version; + + /** + * Creates an instance of ToolboxSkillReference class. + * + * @param name the name value to set. + */ + @Generated + public ToolboxSkillReference(String name) { + this.name = name; + } + + /** + * Get the type property: The type of skill source. + * + * @return the type value. + */ + @Generated + @Override + public String getType() { + return this.type; + } + + /** + * Get the name property: The name of the skill. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the version property: The version of the skill. If not specified, the skill's default version is used. When a + * version is specified, the reference is pinned to that immutable version. + * + * @return the version value. + */ + @Generated + public String getVersion() { + return this.version; + } + + /** + * Set the version property: The version of the skill. If not specified, the skill's default version is used. When a + * version is specified, the reference is pinned to that immutable version. + * + * @param version the version value to set. + * @return the ToolboxSkillReference object itself. + */ + @Generated + public ToolboxSkillReference setVersion(String version) { + this.version = version; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeStringField("version", this.version); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ToolboxSkillReference from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ToolboxSkillReference if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ToolboxSkillReference. + */ + @Generated + public static ToolboxSkillReference fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + String type = "skill_reference"; + String version = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("type".equals(fieldName)) { + type = reader.getString(); + } else if ("version".equals(fieldName)) { + version = reader.getString(); + } else { + reader.skipChildren(); + } + } + ToolboxSkillReference deserializedToolboxSkillReference = new ToolboxSkillReference(name); + deserializedToolboxSkillReference.type = type; + deserializedToolboxSkillReference.version = version; + return deserializedToolboxSkillReference; + }); + } +} diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java index e8a7fce99425..a37a4a059d19 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java @@ -200,6 +200,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeLongField("created_at", this.createdAt); jsonWriter.writeArrayField("tools", this.tools, (writer, element) -> writer.writeJson(element)); jsonWriter.writeStringField("description", this.description); + jsonWriter.writeArrayField("skills", this.skills, (writer, element) -> writer.writeJson(element)); jsonWriter.writeJsonField("policies", this.policies); return jsonWriter.writeEndObject(); } @@ -223,6 +224,7 @@ public static ToolboxVersionDetails fromJson(JsonReader jsonReader) throws IOExc OffsetDateTime createdAt = null; List tools = null; String description = null; + List skills = null; ToolboxPolicies policies = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); @@ -241,6 +243,8 @@ public static ToolboxVersionDetails fromJson(JsonReader jsonReader) throws IOExc tools = reader.readArray(reader1 -> Tool.fromJson(reader1)); } else if ("description".equals(fieldName)) { description = reader.getString(); + } else if ("skills".equals(fieldName)) { + skills = reader.readArray(reader1 -> ToolboxSkill.fromJson(reader1)); } else if ("policies".equals(fieldName)) { policies = ToolboxPolicies.fromJson(reader); } else { @@ -250,8 +254,25 @@ public static ToolboxVersionDetails fromJson(JsonReader jsonReader) throws IOExc ToolboxVersionDetails deserializedToolboxVersionDetails = new ToolboxVersionDetails(metadata, id, name, version, createdAt, tools); deserializedToolboxVersionDetails.description = description; + deserializedToolboxVersionDetails.skills = skills; deserializedToolboxVersionDetails.policies = policies; return deserializedToolboxVersionDetails; }); } + + /* + * The list of skill sources included in this toolbox version. + */ + @Generated + private List skills; + + /** + * Get the skills property: The list of skill sources included in this toolbox version. + * + * @return the skills value. + */ + @Generated + public List getSkills() { + return this.skills; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json index 2e1c019f061e..78f87feda774 100644 --- a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json +++ b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"7bb0a897201d","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetItem":"Azure.AI.Projects.DatasetItem","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvalRunOutputItemResult":"Azure.AI.Projects.EvalRunOutputItemResult","com.azure.ai.agents.models.EvalRunOutputItemResultStatus":"Azure.AI.Projects.EvalRunOutputItemResultStatus","com.azure.ai.agents.models.EvaluationCriterion":"Azure.AI.Projects.EvaluationCriterion","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationAgentSkill":"Azure.AI.Projects.OptimizationAgentSkill","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationMode":"Azure.AI.Projects.OptimizationMode","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationStrategy":"Azure.AI.Projects.OptimizationStrategy","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetItem.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResult.java","src/main/java/com/azure/ai/agents/models/EvalRunOutputItemResultStatus.java","src/main/java/com/azure/ai/agents/models/EvaluationCriterion.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentSkill.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationMode.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationStrategy.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"e22220acbc5b","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index 1afaf42ddd6d..3cd7d6de1551 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: fffba63105aca23bd8123e53f77accd77be08653 +commit: feba0ac13370aee2307833897ebf03de6e72c2ce repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents @@ -14,3 +14,4 @@ additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents-session-files - specification/ai-foundry/data-plane/Foundry/src/agents-optimization - specification/ai-foundry/data-plane/Foundry/src/red-teams + - specification/ai-foundry/data-plane/Foundry/src/skills diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java index 413c86636add..9485a2b85d16 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java @@ -6,8 +6,6 @@ import com.azure.ai.agents.models.PageOrder; import com.azure.ai.projects.implementation.DataGenerationJobsImpl; import com.azure.ai.projects.models.DataGenerationJob; -import com.azure.ai.projects.models.DataGenerationJobScenario; -import com.azure.ai.projects.models.DataGenerationJobType; import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; @@ -25,8 +23,6 @@ import com.azure.core.http.rest.Response; import com.azure.core.util.BinaryData; import com.azure.core.util.FluxUtil; -import java.util.List; -import java.util.Objects; import java.util.stream.Collectors; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -75,7 +71,7 @@ public final class DataGenerationJobsAsyncClient { * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -170,10 +166,6 @@ public Mono> getGenerationJobWithResponse(String jobId, Req * defines your place in the list. * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your * subsequent call can include before=obj_foo in order to fetch the previous page of the list. - * scenarioStringNoFilter data generation jobs by their scenario. Allowed values: - * "supervised_finetuning", "reinforcement_finetuning", "evaluation". - * typeList<String>NoFilter data generation jobs by their type. In the form - * of "," separated string. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -197,7 +189,7 @@ public Mono> getGenerationJobWithResponse(String jobId, Req * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -291,7 +283,7 @@ public PagedFlux listGenerationJobs(RequestOptions requestOptions) { * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -357,7 +349,7 @@ public PagedFlux listGenerationJobs(RequestOptions requestOptions) { * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -452,7 +444,7 @@ public Mono> createGenerationJobWithResponse(BinaryData job * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -607,80 +599,6 @@ public Mono getGenerationJob(String jobId) { .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)); } - /** - * Returns a list of data generation jobs - * - * Returns a list of data generation jobs. - * - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the - * default is 20. - * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` - * for descending order. - * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list. - * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list. - * @param scenario Filter data generation jobs by their scenario. - * @param type Filter data generation jobs by their type. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, - PageOrder order, String after, String before, DataGenerationJobScenario scenario, - List type) { - // Generated convenience method for listGenerationJobs - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (limit != null) { - requestOptions.addQueryParam("limit", String.valueOf(limit), false); - } - if (order != null) { - requestOptions.addQueryParam("order", order.toString(), false); - } - if (after != null) { - requestOptions.addQueryParam("after", after, false); - } - if (before != null) { - requestOptions.addQueryParam("before", before, false); - } - if (scenario != null) { - requestOptions.addQueryParam("scenario", scenario.toString(), false); - } - if (type != null) { - requestOptions.addQueryParam("type", - type.stream() - .map(paramItemValue -> Objects.toString(paramItemValue, "")) - .collect(Collectors.joining(",")), - false); - } - PagedFlux pagedFluxResponse = listGenerationJobs(requestOptions); - return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { - Flux> flux = (continuationTokenParam == null) - ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationTokenParam).take(1); - return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), - pagedResponse.getStatusCode(), pagedResponse.getHeaders(), - pagedResponse.getValue() - .stream() - .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)) - .collect(Collectors.toList()), - pagedResponse.getContinuationToken(), null)); - }); - } - /** * Returns a list of data generation jobs * @@ -865,4 +783,65 @@ public Mono deleteGenerationJob(String jobId) { RequestOptions requestOptions = new RequestOptions(); return deleteGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + * + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, + PageOrder order, String after, String before) { + // Generated convenience method for listGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + PagedFlux pagedFluxResponse = listGenerationJobs(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(DataGenerationJob.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java index d27057c09662..a4a1790bfbdd 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java @@ -6,8 +6,6 @@ import com.azure.ai.agents.models.PageOrder; import com.azure.ai.projects.implementation.DataGenerationJobsImpl; import com.azure.ai.projects.models.DataGenerationJob; -import com.azure.ai.projects.models.DataGenerationJobScenario; -import com.azure.ai.projects.models.DataGenerationJobType; import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; @@ -22,9 +20,6 @@ import com.azure.core.http.rest.RequestOptions; import com.azure.core.http.rest.Response; import com.azure.core.util.BinaryData; -import java.util.List; -import java.util.Objects; -import java.util.stream.Collectors; /** * Initializes a new instance of the synchronous AIProjectClient type. @@ -70,7 +65,7 @@ public final class DataGenerationJobsClient { * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -164,10 +159,6 @@ public Response getGenerationJobWithResponse(String jobId, RequestOp * defines your place in the list. * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your * subsequent call can include before=obj_foo in order to fetch the previous page of the list. - * scenarioStringNoFilter data generation jobs by their scenario. Allowed values: - * "supervised_finetuning", "reinforcement_finetuning", "evaluation". - * typeList<String>NoFilter data generation jobs by their type. In the form - * of "," separated string. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -191,7 +182,7 @@ public Response getGenerationJobWithResponse(String jobId, RequestOp * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -285,7 +276,7 @@ public PagedIterable listGenerationJobs(RequestOptions requestOption * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -351,7 +342,7 @@ public PagedIterable listGenerationJobs(RequestOptions requestOption * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -446,7 +437,7 @@ public Response createGenerationJobWithResponse(BinaryData job, Requ * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -599,69 +590,6 @@ public DataGenerationJob getGenerationJob(String jobId) { return getGenerationJobWithResponse(jobId, requestOptions).getValue().toObject(DataGenerationJob.class); } - /** - * Returns a list of data generation jobs - * - * Returns a list of data generation jobs. - * - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the - * default is 20. - * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` - * for descending order. - * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list. - * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list. - * @param scenario Filter data generation jobs by their scenario. - * @param type Filter data generation jobs by their type. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, - PageOrder order, String after, String before, DataGenerationJobScenario scenario, - List type) { - // Generated convenience method for listGenerationJobs - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (limit != null) { - requestOptions.addQueryParam("limit", String.valueOf(limit), false); - } - if (order != null) { - requestOptions.addQueryParam("order", order.toString(), false); - } - if (after != null) { - requestOptions.addQueryParam("after", after, false); - } - if (before != null) { - requestOptions.addQueryParam("before", before, false); - } - if (scenario != null) { - requestOptions.addQueryParam("scenario", scenario.toString(), false); - } - if (type != null) { - requestOptions.addQueryParam("type", - type.stream() - .map(paramItemValue -> Objects.toString(paramItemValue, "")) - .collect(Collectors.joining(",")), - false); - } - return serviceClient.listGenerationJobs(requestOptions) - .mapPage(bodyItemValue -> bodyItemValue.toObject(DataGenerationJob.class)); - } - /** * Returns a list of data generation jobs * @@ -831,4 +759,54 @@ public void deleteGenerationJob(String jobId) { RequestOptions requestOptions = new RequestOptions(); deleteGenerationJobWithResponse(jobId, requestOptions).getValue(); } + + /** + * Returns a list of data generation jobs + * + * Returns a list of data generation jobs. + * + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listGenerationJobs(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, + PageOrder order, String after, String before) { + // Generated convenience method for listGenerationJobs + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + return serviceClient.listGenerationJobs(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(DataGenerationJob.class)); + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java index a22a51b66574..6f320245cd89 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java @@ -385,7 +385,7 @@ public Mono> updateModelVersionWithResponse(String name, St * * @param name Name of the model. * @param version Version of the model. - * @param body The body parameter. + * @param pendingUploadRequest The pendingUploadRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -396,9 +396,10 @@ public Mono> updateModelVersionWithResponse(String name, St */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> startModelPendingUploadWithResponse(String name, String version, BinaryData body, - RequestOptions requestOptions) { - return this.serviceClient.startModelPendingUploadWithResponseAsync(name, version, body, requestOptions); + public Mono> startModelPendingUploadWithResponse(String name, String version, + BinaryData pendingUploadRequest, RequestOptions requestOptions) { + return this.serviceClient.startModelPendingUploadWithResponseAsync(name, version, pendingUploadRequest, + requestOptions); } /** @@ -432,7 +433,7 @@ public Mono> startModelPendingUploadWithResponse(String nam * * @param name Name of the model. * @param version Version of the model. - * @param body The body parameter. + * @param credentialRequest The credentialRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -443,9 +444,10 @@ public Mono> startModelPendingUploadWithResponse(String nam */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getModelCredentialsWithResponse(String name, String version, BinaryData body, - RequestOptions requestOptions) { - return this.serviceClient.getModelCredentialsWithResponseAsync(name, version, body, requestOptions); + public Mono> getModelCredentialsWithResponse(String name, String version, + BinaryData credentialRequest, RequestOptions requestOptions) { + return this.serviceClient.getModelCredentialsWithResponseAsync(name, version, credentialRequest, + requestOptions); } /** @@ -588,7 +590,7 @@ public Mono updateModelVersion(String name, String version, Update * * @param name Name of the model. * @param version Version of the model. - * @param body The body parameter. + * @param credentialRequest The credentialRequest parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -599,10 +601,11 @@ public Mono updateModelVersion(String name, String version, Update */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getModelCredentials(String name, String version, ModelCredentialRequest body) { + public Mono getModelCredentials(String name, String version, + ModelCredentialRequest credentialRequest) { // Generated convenience method for getModelCredentialsWithResponse RequestOptions requestOptions = new RequestOptions(); - return getModelCredentialsWithResponse(name, version, BinaryData.fromObject(body), requestOptions) + return getModelCredentialsWithResponse(name, version, BinaryData.fromObject(credentialRequest), requestOptions) .flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(DatasetCredential.class)); } @@ -672,7 +675,7 @@ public Mono getModelCredentials(String name, String version, * * @param name Name of the model. * @param version Version of the model. - * @param body Model version to create. + * @param modelVersion Model version to create. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -682,9 +685,9 @@ public Mono getModelCredentials(String name, String version, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createModelVersionAsyncWithResponse(String name, String version, BinaryData body, - RequestOptions requestOptions) { - return this.serviceClient.createModelVersionAsyncWithResponseAsync(name, version, body, requestOptions); + public Mono> createModelVersionAsyncWithResponse(String name, String version, + BinaryData modelVersion, RequestOptions requestOptions) { + return this.serviceClient.createModelVersionAsyncWithResponseAsync(name, version, modelVersion, requestOptions); } /** @@ -693,7 +696,7 @@ public Mono> createModelVersionAsyncWithResponse(String nam * * @param name Name of the model. * @param version Version of the model. - * @param body Model version to create. + * @param modelVersion Model version to create. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -704,10 +707,10 @@ public Mono> createModelVersionAsyncWithResponse(String nam */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createModelVersionAsync(String name, String version, ModelVersion body) { + public Mono createModelVersionAsync(String name, String version, ModelVersion modelVersion) { // Generated convenience method for createModelVersionAsyncWithResponse RequestOptions requestOptions = new RequestOptions(); - return createModelVersionAsyncWithResponse(name, version, BinaryData.fromObject(body), requestOptions) + return createModelVersionAsyncWithResponse(name, version, BinaryData.fromObject(modelVersion), requestOptions) .flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(CreateAsyncResponse.class)); } @@ -717,7 +720,7 @@ public Mono createModelVersionAsync(String name, String ver * * @param name Name of the model. * @param version Version of the model. - * @param body The body parameter. + * @param pendingUploadRequest The pendingUploadRequest parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -729,11 +732,11 @@ public Mono createModelVersionAsync(String name, String ver @Generated @ServiceMethod(returns = ReturnType.SINGLE) public Mono startModelPendingUpload(String name, String version, - ModelPendingUploadRequest body) { + ModelPendingUploadRequest pendingUploadRequest) { // Generated convenience method for startModelPendingUploadWithResponse RequestOptions requestOptions = new RequestOptions(); - return startModelPendingUploadWithResponse(name, version, BinaryData.fromObject(body), requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(ModelPendingUploadResponse.class)); + return startModelPendingUploadWithResponse(name, version, BinaryData.fromObject(pendingUploadRequest), + requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(ModelPendingUploadResponse.class)); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java index 30851265648b..187f54a5269a 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java @@ -377,7 +377,7 @@ public Response updateModelVersionWithResponse(String name, String v * * @param name Name of the model. * @param version Version of the model. - * @param body The body parameter. + * @param pendingUploadRequest The pendingUploadRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -387,9 +387,10 @@ public Response updateModelVersionWithResponse(String name, String v */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response startModelPendingUploadWithResponse(String name, String version, BinaryData body, - RequestOptions requestOptions) { - return this.serviceClient.startModelPendingUploadWithResponse(name, version, body, requestOptions); + public Response startModelPendingUploadWithResponse(String name, String version, + BinaryData pendingUploadRequest, RequestOptions requestOptions) { + return this.serviceClient.startModelPendingUploadWithResponse(name, version, pendingUploadRequest, + requestOptions); } /** @@ -423,7 +424,7 @@ public Response startModelPendingUploadWithResponse(String name, Str * * @param name Name of the model. * @param version Version of the model. - * @param body The body parameter. + * @param credentialRequest The credentialRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -433,9 +434,9 @@ public Response startModelPendingUploadWithResponse(String name, Str */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getModelCredentialsWithResponse(String name, String version, BinaryData body, - RequestOptions requestOptions) { - return this.serviceClient.getModelCredentialsWithResponse(name, version, body, requestOptions); + public Response getModelCredentialsWithResponse(String name, String version, + BinaryData credentialRequest, RequestOptions requestOptions) { + return this.serviceClient.getModelCredentialsWithResponse(name, version, credentialRequest, requestOptions); } /** @@ -554,7 +555,7 @@ public ModelVersion updateModelVersion(String name, String version, UpdateModelV * * @param name Name of the model. * @param version Version of the model. - * @param body The body parameter. + * @param credentialRequest The credentialRequest parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -565,10 +566,12 @@ public ModelVersion updateModelVersion(String name, String version, UpdateModelV */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public DatasetCredential getModelCredentials(String name, String version, ModelCredentialRequest body) { + public DatasetCredential getModelCredentials(String name, String version, + ModelCredentialRequest credentialRequest) { // Generated convenience method for getModelCredentialsWithResponse RequestOptions requestOptions = new RequestOptions(); - return getModelCredentialsWithResponse(name, version, BinaryData.fromObject(body), requestOptions).getValue() + return getModelCredentialsWithResponse(name, version, BinaryData.fromObject(credentialRequest), requestOptions) + .getValue() .toObject(DatasetCredential.class); } @@ -637,7 +640,7 @@ public DatasetCredential getModelCredentials(String name, String version, ModelC * * @param name Name of the model. * @param version Version of the model. - * @param body Model version to create. + * @param modelVersion Model version to create. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -647,9 +650,9 @@ public DatasetCredential getModelCredentials(String name, String version, ModelC */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response createModelVersionAsyncWithResponse(String name, String version, BinaryData body, - RequestOptions requestOptions) { - return this.serviceClient.createModelVersionAsyncWithResponse(name, version, body, requestOptions); + public Response createModelVersionAsyncWithResponse(String name, String version, + BinaryData modelVersion, RequestOptions requestOptions) { + return this.serviceClient.createModelVersionAsyncWithResponse(name, version, modelVersion, requestOptions); } /** @@ -658,7 +661,7 @@ public Response createModelVersionAsyncWithResponse(String name, Str * * @param name Name of the model. * @param version Version of the model. - * @param body Model version to create. + * @param modelVersion Model version to create. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -669,10 +672,10 @@ public Response createModelVersionAsyncWithResponse(String name, Str */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public CreateAsyncResponse createModelVersionAsync(String name, String version, ModelVersion body) { + public CreateAsyncResponse createModelVersionAsync(String name, String version, ModelVersion modelVersion) { // Generated convenience method for createModelVersionAsyncWithResponse RequestOptions requestOptions = new RequestOptions(); - return createModelVersionAsyncWithResponse(name, version, BinaryData.fromObject(body), requestOptions) + return createModelVersionAsyncWithResponse(name, version, BinaryData.fromObject(modelVersion), requestOptions) .getValue() .toObject(CreateAsyncResponse.class); } @@ -682,7 +685,7 @@ public CreateAsyncResponse createModelVersionAsync(String name, String version, * * @param name Name of the model. * @param version Version of the model. - * @param body The body parameter. + * @param pendingUploadRequest The pendingUploadRequest parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -694,11 +697,10 @@ public CreateAsyncResponse createModelVersionAsync(String name, String version, @Generated @ServiceMethod(returns = ReturnType.SINGLE) public ModelPendingUploadResponse startModelPendingUpload(String name, String version, - ModelPendingUploadRequest body) { + ModelPendingUploadRequest pendingUploadRequest) { // Generated convenience method for startModelPendingUploadWithResponse RequestOptions requestOptions = new RequestOptions(); - return startModelPendingUploadWithResponse(name, version, BinaryData.fromObject(body), requestOptions) - .getValue() - .toObject(ModelPendingUploadResponse.class); + return startModelPendingUploadWithResponse(name, version, BinaryData.fromObject(pendingUploadRequest), + requestOptions).getValue().toObject(ModelPendingUploadResponse.class); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java index 84ccf6dc1b37..0eaf238be547 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java @@ -4,10 +4,16 @@ package com.azure.ai.projects; import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.projects.implementation.MultipartFormDataHelper; import com.azure.ai.projects.implementation.SkillsImpl; -import com.azure.ai.projects.implementation.models.CreateSkillRequest; +import com.azure.ai.projects.implementation.models.CreateSkillVersionRequest; import com.azure.ai.projects.implementation.models.UpdateSkillRequest; -import com.azure.ai.projects.models.SkillDetails; +import com.azure.ai.projects.models.CreateSkillVersionFromFilesBody; +import com.azure.ai.projects.models.DeleteSkillVersionResponse; +import com.azure.ai.projects.models.FilesFileDetails; +import com.azure.ai.projects.models.Skill; +import com.azure.ai.projects.models.SkillInlineContent; +import com.azure.ai.projects.models.SkillVersion; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; @@ -23,7 +29,7 @@ import com.azure.core.http.rest.Response; import com.azure.core.util.BinaryData; import com.azure.core.util.FluxUtil; -import java.util.Map; +import java.util.Objects; import java.util.stream.Collectors; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -48,60 +54,95 @@ public final class SkillsAsyncClient { } /** - * Creates a skill. - *

Request Body Schema

+ * Retrieves a skill. + *

Response Body Schema

* *
      * {@code
      * {
+     *     id: String (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     instructions: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     description: String (Required)
+     *     created_at: long (Required)
+     *     default_version: String (Required)
+     *     latest_version: String (Required)
      * }
      * }
      * 
- * + * + * @param name The unique name of the skill. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a skill resource along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSkillWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.getSkillWithResponseAsync(name, requestOptions); + } + + /** + * Returns the list of all skills. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
      * {
-     *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
+     *     id: String (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     description: String (Required)
+     *     created_at: long (Required)
+     *     default_version: String (Required)
+     *     latest_version: String (Required)
      * }
      * }
      * 
* - * @param createSkillRequest The createSkillRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a skill object along with {@link Response} on successful completion of {@link Mono}. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. */ @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createSkillWithResponse(BinaryData createSkillRequest, - RequestOptions requestOptions) { - return this.serviceClient.createSkillWithResponseAsync(createSkillRequest, requestOptions); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listSkills(RequestOptions requestOptions) { + return this.serviceClient.listSkillsAsync(requestOptions); } /** - * Creates a skill from a zip package. + * Update a skill. *

Request Body Schema

* *
      * {@code
-     * BinaryData
+     * {
+     *     default_version: String (Required)
+     * }
      * }
      * 
* @@ -110,92 +151,275 @@ public Mono> createSkillWithResponse(BinaryData createSkill *
      * {@code
      * {
-     *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
+     *     id: String (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     description: String (Required)
+     *     created_at: long (Required)
+     *     default_version: String (Required)
+     *     latest_version: String (Required)
      * }
      * }
      * 
* - * @param content The zip package used to create the skill. + * @param name The name of the skill to update. + * @param updateSkillRequest The updateSkillRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a skill object along with {@link Response} on successful completion of {@link Mono}. + * @return a skill resource along with {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createSkillFromPackageWithResponse(BinaryData content, + public Mono> updateSkillWithResponse(String name, BinaryData updateSkillRequest, RequestOptions requestOptions) { - return this.serviceClient.createSkillFromPackageWithResponseAsync(content, requestOptions); + return this.serviceClient.updateSkillWithResponseAsync(name, updateSkillRequest, requestOptions); + } + + /** + * Deletes a skill. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     name: String (Required)
+     *     deleted: boolean (Required)
+     * }
+     * }
+     * 
+ * + * @param name The unique name of the skill. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a deleted skill along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteSkillWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.deleteSkillWithResponseAsync(name, requestOptions); } /** * Retrieves a skill. + * + * @param name The unique name of the skill. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a skill resource on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSkill(String name) { + // Generated convenience method for getSkillWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSkillWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(Skill.class)); + } + + /** + * Returns the list of all skills. + * + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listSkills(Integer limit, PageOrder order, String after, String before) { + // Generated convenience method for listSkills + RequestOptions requestOptions = new RequestOptions(); + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + PagedFlux pagedFluxResponse = listSkills(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(Skill.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Returns the list of all skills. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listSkills() { + // Generated convenience method for listSkills + RequestOptions requestOptions = new RequestOptions(); + PagedFlux pagedFluxResponse = listSkills(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(Skill.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Deletes a skill. + * + * @param skillName The unique name of the skill. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a {@link Mono} that completes when the skill is successfully deleted. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteSkill(String skillName) { + // Generated convenience method for deleteSkillWithResponse + RequestOptions requestOptions = new RequestOptions(); + return deleteSkillWithResponse(skillName, requestOptions).then(); + } + + /** + * Creates a new version of a skill. If the skill does not exist, it will be created. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     inline_content (Optional): {
+     *         description: String (Required)
+     *         instructions: String (Required)
+     *         license: String (Optional)
+     *         compatibility: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         allowed_tools (Optional): [
+     *             String (Optional)
+     *         ]
+     *     }
+     *     default: Boolean (Optional)
+     * }
+     * }
+     * 
+ * *

Response Body Schema

* *
      * {@code
      * {
+     *     id: String (Required)
      *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     version: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
      * }
      * }
      * 
* - * @param name The unique name of the skill. + * @param name The name of the skill. If the skill does not exist, it will be created. + * @param createSkillVersionRequest The createSkillVersionRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a skill object along with {@link Response} on successful completion of {@link Mono}. + * @return a specific version of a skill along with {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getSkillWithResponse(String name, RequestOptions requestOptions) { - return this.serviceClient.getSkillWithResponseAsync(name, requestOptions); + public Mono> createSkillVersionWithResponse(String name, BinaryData createSkillVersionRequest, + RequestOptions requestOptions) { + return this.serviceClient.createSkillVersionWithResponseAsync(name, createSkillVersionRequest, requestOptions); } /** - * Downloads a skill package as a ZIP archive containing {@code SKILL.md}. Returns the original uploaded archive for - * skills created via {@code createSkillFromPackage}; materializes a ZIP from stored instructions for skills created - * via {@code createSkill}. + * Creates a new version of a skill from uploaded files via multipart form data. *

Response Body Schema

* *
      * {@code
-     * BinaryData
+     * {
+     *     id: String (Required)
+     *     skill_id: String (Required)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
+     * }
      * }
      * 
* - * @param name The unique name of the skill. + * @param name The name of the skill. + * @param content The content parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response} on successful completion of {@link Mono}. + * @return a specific version of a skill along with {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> downloadSkillWithResponse(String name, RequestOptions requestOptions) { - return this.serviceClient.downloadSkillWithResponseAsync(name, requestOptions); + Mono> createSkillVersionFromFilesWithResponse(String name, BinaryData content, + RequestOptions requestOptions) { + // Operation 'createSkillVersionFromFiles' is of content-type 'multipart/form-data'. Protocol API is not usable + // and hence not generated. + return this.serviceClient.createSkillVersionFromFilesWithResponseAsync(name, content, requestOptions); } /** - * Returns the list of all skills. + * List all versions of a skill. *

Query Parameters

* * @@ -221,17 +445,17 @@ public Mono> downloadSkillWithResponse(String name, Request *
      * {@code
      * {
+     *     id: String (Required)
      *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     version: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
      * }
      * }
      * 
* + * @param name The name of the skill to list versions for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -241,209 +465,234 @@ public Mono> downloadSkillWithResponse(String name, Request */ @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listSkills(RequestOptions requestOptions) { - return this.serviceClient.listSkillsAsync(requestOptions); + public PagedFlux listSkillVersions(String name, RequestOptions requestOptions) { + return this.serviceClient.listSkillVersionsAsync(name, requestOptions); } /** - * Updates an existing skill. - *

Request Body Schema

+ * Retrieve a specific version of a skill. + *

Response Body Schema

* *
      * {@code
      * {
-     *     description: String (Optional)
-     *     instructions: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     id: String (Required)
+     *     skill_id: String (Required)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
      * }
      * }
      * 
- * + * + * @param name The name of the skill. + * @param version The version identifier to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a specific version of a skill along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSkillVersionWithResponse(String name, String version, + RequestOptions requestOptions) { + return this.serviceClient.getSkillVersionWithResponseAsync(name, version, requestOptions); + } + + /** + * Download the zip content for the default version of a skill. *

Response Body Schema

* *
      * {@code
-     * {
-     *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
-     *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
-     * }
+     * BinaryData
      * }
      * 
* - * @param name The unique name of the skill. - * @param updateSkillRequest The updateSkillRequest parameter. + * @param name The name of the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a skill object along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateSkillWithResponse(String name, BinaryData updateSkillRequest, - RequestOptions requestOptions) { - return this.serviceClient.updateSkillWithResponseAsync(name, updateSkillRequest, requestOptions); + public Mono> getSkillContentWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.getSkillContentWithResponseAsync(name, requestOptions); } /** - * Deletes a skill. + * Download the zip content for a specific version of a skill. *

Response Body Schema

* *
      * {@code
-     * {
-     *     name: String (Required)
-     *     deleted: boolean (Required)
-     * }
+     * BinaryData
      * }
      * 
* - * @param name The unique name of the skill. + * @param name The name of the skill. + * @param version The version to download content for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a deleted skill Object along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteSkillWithResponse(String name, RequestOptions requestOptions) { - return this.serviceClient.deleteSkillWithResponseAsync(name, requestOptions); + public Mono> getSkillVersionContentWithResponse(String name, String version, + RequestOptions requestOptions) { + return this.serviceClient.getSkillVersionContentWithResponseAsync(name, version, requestOptions); } /** - * Creates a skill. - * - * @param name The unique name of the skill. - * @param description A human-readable description of the skill. - * @param instructions Instructions that define the behavior of the skill. - * @param metadata Set of 16 key-value pairs that can be attached to an object. This can be - * useful for storing additional information about the object in a structured - * format, and querying for objects via API or the dashboard. + * Delete a specific version of a skill. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     name: String (Required)
+     *     deleted: boolean (Required)
+     *     version: String (Required)
+     * }
+     * }
+     * 
* - * Keys are strings with a maximum length of 64 characters. Values are strings - * with a maximum length of 512 characters. - * @throws IllegalArgumentException thrown if parameters fail the validation. + * @param name The name of the skill. + * @param version The version identifier to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a skill object on successful completion of {@link Mono}. + * @return a deleted skill version along with {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createSkill(String name, String description, String instructions, - Map metadata) { - // Generated convenience method for createSkillWithResponse - RequestOptions requestOptions = new RequestOptions(); - CreateSkillRequest createSkillRequestObj = new CreateSkillRequest(name).setDescription(description) - .setInstructions(instructions) - .setMetadata(metadata); - BinaryData createSkillRequest = BinaryData.fromObject(createSkillRequestObj); - return createSkillWithResponse(createSkillRequest, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(SkillDetails.class)); + public Mono> deleteSkillVersionWithResponse(String name, String version, + RequestOptions requestOptions) { + return this.serviceClient.deleteSkillVersionWithResponseAsync(name, version, requestOptions); } /** - * Creates a skill. + * Update a skill. * - * @param name The unique name of the skill. + * @param name The name of the skill to update. + * @param defaultVersion The version identifier that the skill should point to. When set, the skill's default + * version will resolve to this version instead of the latest. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a skill object on successful completion of {@link Mono}. + * @return a skill resource on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createSkill(String name) { - // Generated convenience method for createSkillWithResponse + public Mono updateSkill(String name, String defaultVersion) { + // Generated convenience method for updateSkillWithResponse RequestOptions requestOptions = new RequestOptions(); - CreateSkillRequest createSkillRequestObj = new CreateSkillRequest(name); - BinaryData createSkillRequest = BinaryData.fromObject(createSkillRequestObj); - return createSkillWithResponse(createSkillRequest, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(SkillDetails.class)); + UpdateSkillRequest updateSkillRequestObj = new UpdateSkillRequest(defaultVersion); + BinaryData updateSkillRequest = BinaryData.fromObject(updateSkillRequestObj); + return updateSkillWithResponse(name, updateSkillRequest, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(Skill.class)); } /** - * Creates a skill from a zip package. + * Creates a new version of a skill. If the skill does not exist, it will be created. * - * @param content The zip package used to create the skill. + * @param name The name of the skill. If the skill does not exist, it will be created. + * @param inlineContent Inline skill content for simple skills without file uploads. Foundry-specific extension. + * @param defaultParameter Whether to set this version as the default. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a skill object on successful completion of {@link Mono}. + * @return a specific version of a skill on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createSkillFromPackage(BinaryData content) { - // Generated convenience method for createSkillFromPackageWithResponse + public Mono createSkillVersion(String name, SkillInlineContent inlineContent, + Boolean defaultParameter) { + // Generated convenience method for createSkillVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - return createSkillFromPackageWithResponse(content, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(SkillDetails.class)); + CreateSkillVersionRequest createSkillVersionRequestObj + = new CreateSkillVersionRequest().setInlineContent(inlineContent).setDefaultProperty(defaultParameter); + BinaryData createSkillVersionRequest = BinaryData.fromObject(createSkillVersionRequestObj); + return createSkillVersionWithResponse(name, createSkillVersionRequest, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SkillVersion.class)); } /** - * Retrieves a skill. + * Creates a new version of a skill. If the skill does not exist, it will be created. * - * @param name The unique name of the skill. + * @param name The name of the skill. If the skill does not exist, it will be created. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a skill object on successful completion of {@link Mono}. + * @return a specific version of a skill on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getSkill(String name) { - // Generated convenience method for getSkillWithResponse + public Mono createSkillVersion(String name) { + // Generated convenience method for createSkillVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - return getSkillWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(SkillDetails.class)); + CreateSkillVersionRequest createSkillVersionRequestObj = new CreateSkillVersionRequest(); + BinaryData createSkillVersionRequest = BinaryData.fromObject(createSkillVersionRequestObj); + return createSkillVersionWithResponse(name, createSkillVersionRequest, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SkillVersion.class)); } /** - * Downloads a skill package as a ZIP archive containing {@code SKILL.md}. Returns the original uploaded archive for - * skills created via {@code createSkillFromPackage}; materializes a ZIP from stored instructions for skills created - * via {@code createSkill}. + * Creates a new version of a skill from uploaded files via multipart form data. * - * @param name The unique name of the skill. + * @param name The name of the skill. + * @param content The content parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response body on successful completion of {@link Mono}. + * @return a specific version of a skill on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono downloadSkill(String name) { - // Generated convenience method for downloadSkillWithResponse + public Mono createSkillVersionFromFiles(String name, CreateSkillVersionFromFilesBody content) { + // Generated convenience method for createSkillVersionFromFilesWithResponse RequestOptions requestOptions = new RequestOptions(); - return downloadSkillWithResponse(name, requestOptions).flatMap(FluxUtil::toMono); + return createSkillVersionFromFilesWithResponse(name, + new MultipartFormDataHelper(requestOptions) + .serializeFileFields("files", + content.getFiles().stream().map(FilesFileDetails::getContent).collect(Collectors.toList()), + content.getFiles().stream().map(FilesFileDetails::getContentType).collect(Collectors.toList()), + content.getFiles().stream().map(FilesFileDetails::getFilename).collect(Collectors.toList())) + .serializeTextField("default", Objects.toString(content.isDefaultProperty())) + .end() + .getRequestBody(), + requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SkillVersion.class)); } /** - * Returns the list of all skills. + * List all versions of a skill. * + * @param name The name of the skill to list versions for. * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the * default is 20. * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` @@ -464,8 +713,9 @@ public Mono downloadSkill(String name) { */ @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listSkills(Integer limit, PageOrder order, String after, String before) { - // Generated convenience method for listSkills + public PagedFlux listSkillVersions(String name, Integer limit, PageOrder order, String after, + String before) { + // Generated convenience method for listSkillVersions RequestOptions requestOptions = new RequestOptions(); if (limit != null) { requestOptions.addQueryParam("limit", String.valueOf(limit), false); @@ -479,24 +729,26 @@ public PagedFlux listSkills(Integer limit, PageOrder order, String if (before != null) { requestOptions.addQueryParam("before", before, false); } - PagedFlux pagedFluxResponse = listSkills(requestOptions); + PagedFlux pagedFluxResponse = listSkillVersions(name, requestOptions); return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) : pagedFluxResponse.byPage(continuationTokenParam).take(1); - return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), pagedResponse.getStatusCode(), pagedResponse.getHeaders(), pagedResponse.getValue() .stream() - .map(protocolMethodData -> protocolMethodData.toObject(SkillDetails.class)) + .map(protocolMethodData -> protocolMethodData.toObject(SkillVersion.class)) .collect(Collectors.toList()), pagedResponse.getContinuationToken(), null)); }); } /** - * Returns the list of all skills. + * List all versions of a skill. * + * @param name The name of the skill to list versions for. + * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. @@ -506,96 +758,106 @@ public PagedFlux listSkills(Integer limit, PageOrder order, String */ @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listSkills() { - // Generated convenience method for listSkills + public PagedFlux listSkillVersions(String name) { + // Generated convenience method for listSkillVersions RequestOptions requestOptions = new RequestOptions(); - PagedFlux pagedFluxResponse = listSkills(requestOptions); + PagedFlux pagedFluxResponse = listSkillVersions(name, requestOptions); return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) : pagedFluxResponse.byPage(continuationTokenParam).take(1); - return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), pagedResponse.getStatusCode(), pagedResponse.getHeaders(), pagedResponse.getValue() .stream() - .map(protocolMethodData -> protocolMethodData.toObject(SkillDetails.class)) + .map(protocolMethodData -> protocolMethodData.toObject(SkillVersion.class)) .collect(Collectors.toList()), pagedResponse.getContinuationToken(), null)); }); } /** - * Updates an existing skill. + * Retrieve a specific version of a skill. * - * @param name The unique name of the skill. - * @param description A human-readable description of the skill. - * @param instructions Instructions that define the behavior of the skill. - * @param metadata Set of 16 key-value pairs that can be attached to an object. This can be - * useful for storing additional information about the object in a structured - * format, and querying for objects via API or the dashboard. + * @param name The name of the skill. + * @param version The version identifier to retrieve. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a specific version of a skill on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSkillVersion(String name, String version) { + // Generated convenience method for getSkillVersionWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSkillVersionWithResponse(name, version, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SkillVersion.class)); + } + + /** + * Download the zip content for the default version of a skill. * - * Keys are strings with a maximum length of 64 characters. Values are strings - * with a maximum length of 512 characters. + * @param name The name of the skill. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a skill object on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateSkill(String name, String description, String instructions, - Map metadata) { - // Generated convenience method for updateSkillWithResponse + public Mono getSkillContent(String name) { + // Generated convenience method for getSkillContentWithResponse RequestOptions requestOptions = new RequestOptions(); - UpdateSkillRequest updateSkillRequestObj - = new UpdateSkillRequest().setDescription(description).setInstructions(instructions).setMetadata(metadata); - BinaryData updateSkillRequest = BinaryData.fromObject(updateSkillRequestObj); - return updateSkillWithResponse(name, updateSkillRequest, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(SkillDetails.class)); + return getSkillContentWithResponse(name, requestOptions).flatMap(FluxUtil::toMono); } /** - * Updates an existing skill. + * Download the zip content for a specific version of a skill. * - * @param name The unique name of the skill. + * @param name The name of the skill. + * @param version The version to download content for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a skill object on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateSkill(String name) { - // Generated convenience method for updateSkillWithResponse + public Mono getSkillVersionContent(String name, String version) { + // Generated convenience method for getSkillVersionContentWithResponse RequestOptions requestOptions = new RequestOptions(); - UpdateSkillRequest updateSkillRequestObj = new UpdateSkillRequest(); - BinaryData updateSkillRequest = BinaryData.fromObject(updateSkillRequestObj); - return updateSkillWithResponse(name, updateSkillRequest, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(SkillDetails.class)); + return getSkillVersionContentWithResponse(name, version, requestOptions).flatMap(FluxUtil::toMono); } /** - * Deletes a skill. + * Delete a specific version of a skill. * - * @param skillName The unique name of the skill. + * @param name The name of the skill. + * @param version The version identifier to delete. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a {@link Mono} that completes when the skill is successfully deleted. + * @return a deleted skill version on successful completion of {@link Mono}. */ + @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteSkill(String skillName) { - // Generated convenience method for deleteSkillWithResponse + public Mono deleteSkillVersion(String name, String version) { + // Generated convenience method for deleteSkillVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - return deleteSkillWithResponse(skillName, requestOptions).then(); + return deleteSkillVersionWithResponse(name, version, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DeleteSkillVersionResponse.class)); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java index 4967c08d03d0..1a798378f933 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java @@ -4,10 +4,16 @@ package com.azure.ai.projects; import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.projects.implementation.MultipartFormDataHelper; import com.azure.ai.projects.implementation.SkillsImpl; -import com.azure.ai.projects.implementation.models.CreateSkillRequest; +import com.azure.ai.projects.implementation.models.CreateSkillVersionRequest; import com.azure.ai.projects.implementation.models.UpdateSkillRequest; -import com.azure.ai.projects.models.SkillDetails; +import com.azure.ai.projects.models.CreateSkillVersionFromFilesBody; +import com.azure.ai.projects.models.DeleteSkillVersionResponse; +import com.azure.ai.projects.models.FilesFileDetails; +import com.azure.ai.projects.models.Skill; +import com.azure.ai.projects.models.SkillInlineContent; +import com.azure.ai.projects.models.SkillVersion; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; @@ -20,7 +26,8 @@ import com.azure.core.http.rest.RequestOptions; import com.azure.core.http.rest.Response; import com.azure.core.util.BinaryData; -import java.util.Map; +import java.util.Objects; +import java.util.stream.Collectors; /** * Initializes a new instance of the synchronous AIProjectClient type. @@ -42,59 +49,95 @@ public final class SkillsClient { } /** - * Creates a skill. - *

Request Body Schema

+ * Retrieves a skill. + *

Response Body Schema

* *
      * {@code
      * {
+     *     id: String (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     instructions: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     description: String (Required)
+     *     created_at: long (Required)
+     *     default_version: String (Required)
+     *     latest_version: String (Required)
      * }
      * }
      * 
- * + * + * @param name The unique name of the skill. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a skill resource along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSkillWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.getSkillWithResponse(name, requestOptions); + } + + /** + * Returns the list of all skills. + *

Query Parameters

+ *
Query Parameters
+ * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
      * {
-     *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
+     *     id: String (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     description: String (Required)
+     *     created_at: long (Required)
+     *     default_version: String (Required)
+     *     latest_version: String (Required)
      * }
      * }
      * 
* - * @param createSkillRequest The createSkillRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a skill object along with {@link Response}. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. */ @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response createSkillWithResponse(BinaryData createSkillRequest, RequestOptions requestOptions) { - return this.serviceClient.createSkillWithResponse(createSkillRequest, requestOptions); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listSkills(RequestOptions requestOptions) { + return this.serviceClient.listSkills(requestOptions); } /** - * Creates a skill from a zip package. + * Update a skill. *

Request Body Schema

* *
      * {@code
-     * BinaryData
+     * {
+     *     default_version: String (Required)
+     * }
      * }
      * 
* @@ -103,91 +146,249 @@ public Response createSkillWithResponse(BinaryData createSkillReques *
      * {@code
      * {
-     *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
+     *     id: String (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     description: String (Required)
+     *     created_at: long (Required)
+     *     default_version: String (Required)
+     *     latest_version: String (Required)
      * }
      * }
      * 
* - * @param content The zip package used to create the skill. + * @param name The name of the skill to update. + * @param updateSkillRequest The updateSkillRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a skill object along with {@link Response}. + * @return a skill resource along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response createSkillFromPackageWithResponse(BinaryData content, RequestOptions requestOptions) { - return this.serviceClient.createSkillFromPackageWithResponse(content, requestOptions); + public Response updateSkillWithResponse(String name, BinaryData updateSkillRequest, + RequestOptions requestOptions) { + return this.serviceClient.updateSkillWithResponse(name, updateSkillRequest, requestOptions); + } + + /** + * Deletes a skill. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     name: String (Required)
+     *     deleted: boolean (Required)
+     * }
+     * }
+     * 
+ * + * @param name The unique name of the skill. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a deleted skill along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteSkillWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.deleteSkillWithResponse(name, requestOptions); } /** * Retrieves a skill. + * + * @param name The unique name of the skill. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a skill resource. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Skill getSkill(String name) { + // Generated convenience method for getSkillWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSkillWithResponse(name, requestOptions).getValue().toObject(Skill.class); + } + + /** + * Returns the list of all skills. + * + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listSkills(Integer limit, PageOrder order, String after, String before) { + // Generated convenience method for listSkills + RequestOptions requestOptions = new RequestOptions(); + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + return serviceClient.listSkills(requestOptions).mapPage(bodyItemValue -> bodyItemValue.toObject(Skill.class)); + } + + /** + * Returns the list of all skills. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listSkills() { + // Generated convenience method for listSkills + RequestOptions requestOptions = new RequestOptions(); + return serviceClient.listSkills(requestOptions).mapPage(bodyItemValue -> bodyItemValue.toObject(Skill.class)); + } + + /** + * Deletes a skill. + * + * @param skillName The unique name of the skill. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteSkill(String skillName) { + // Generated convenience method for deleteSkillWithResponse + RequestOptions requestOptions = new RequestOptions(); + deleteSkillWithResponse(skillName, requestOptions); + } + + /** + * Creates a new version of a skill. If the skill does not exist, it will be created. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     inline_content (Optional): {
+     *         description: String (Required)
+     *         instructions: String (Required)
+     *         license: String (Optional)
+     *         compatibility: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         allowed_tools (Optional): [
+     *             String (Optional)
+     *         ]
+     *     }
+     *     default: Boolean (Optional)
+     * }
+     * }
+     * 
+ * *

Response Body Schema

* *
      * {@code
      * {
+     *     id: String (Required)
      *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     version: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
      * }
      * }
      * 
* - * @param name The unique name of the skill. + * @param name The name of the skill. If the skill does not exist, it will be created. + * @param createSkillVersionRequest The createSkillVersionRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a skill object along with {@link Response}. + * @return a specific version of a skill along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSkillWithResponse(String name, RequestOptions requestOptions) { - return this.serviceClient.getSkillWithResponse(name, requestOptions); + public Response createSkillVersionWithResponse(String name, BinaryData createSkillVersionRequest, + RequestOptions requestOptions) { + return this.serviceClient.createSkillVersionWithResponse(name, createSkillVersionRequest, requestOptions); } /** - * Downloads a skill package as a ZIP archive containing {@code SKILL.md}. Returns the original uploaded archive for - * skills created via {@code createSkillFromPackage}; materializes a ZIP from stored instructions for skills created - * via {@code createSkill}. + * Creates a new version of a skill from uploaded files via multipart form data. *

Response Body Schema

* *
      * {@code
-     * BinaryData
+     * {
+     *     id: String (Required)
+     *     skill_id: String (Required)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
+     * }
      * }
      * 
* - * @param name The unique name of the skill. + * @param name The name of the skill. + * @param content The content parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response}. + * @return a specific version of a skill along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response downloadSkillWithResponse(String name, RequestOptions requestOptions) { - return this.serviceClient.downloadSkillWithResponse(name, requestOptions); + Response createSkillVersionFromFilesWithResponse(String name, BinaryData content, + RequestOptions requestOptions) { + // Operation 'createSkillVersionFromFiles' is of content-type 'multipart/form-data'. Protocol API is not usable + // and hence not generated. + return this.serviceClient.createSkillVersionFromFilesWithResponse(name, content, requestOptions); } /** - * Returns the list of all skills. + * List all versions of a skill. *

Query Parameters

* * @@ -213,17 +414,17 @@ public Response downloadSkillWithResponse(String name, RequestOption *
      * {@code
      * {
+     *     id: String (Required)
      *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     version: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
      * }
      * }
      * 
* + * @param name The name of the skill to list versions for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -233,205 +434,231 @@ public Response downloadSkillWithResponse(String name, RequestOption */ @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listSkills(RequestOptions requestOptions) { - return this.serviceClient.listSkills(requestOptions); + public PagedIterable listSkillVersions(String name, RequestOptions requestOptions) { + return this.serviceClient.listSkillVersions(name, requestOptions); } /** - * Updates an existing skill. - *

Request Body Schema

+ * Retrieve a specific version of a skill. + *

Response Body Schema

* *
      * {@code
      * {
-     *     description: String (Optional)
-     *     instructions: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     id: String (Required)
+     *     skill_id: String (Required)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
      * }
      * }
      * 
- * + * + * @param name The name of the skill. + * @param version The version identifier to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a specific version of a skill along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSkillVersionWithResponse(String name, String version, + RequestOptions requestOptions) { + return this.serviceClient.getSkillVersionWithResponse(name, version, requestOptions); + } + + /** + * Download the zip content for the default version of a skill. *

Response Body Schema

* *
      * {@code
-     * {
-     *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
-     *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
-     * }
+     * BinaryData
      * }
      * 
* - * @param name The unique name of the skill. - * @param updateSkillRequest The updateSkillRequest parameter. + * @param name The name of the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a skill object along with {@link Response}. + * @return the response body along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateSkillWithResponse(String name, BinaryData updateSkillRequest, - RequestOptions requestOptions) { - return this.serviceClient.updateSkillWithResponse(name, updateSkillRequest, requestOptions); + public Response getSkillContentWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.getSkillContentWithResponse(name, requestOptions); } /** - * Deletes a skill. + * Download the zip content for a specific version of a skill. *

Response Body Schema

* *
      * {@code
-     * {
-     *     name: String (Required)
-     *     deleted: boolean (Required)
-     * }
+     * BinaryData
      * }
      * 
* - * @param name The unique name of the skill. + * @param name The name of the skill. + * @param version The version to download content for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a deleted skill Object along with {@link Response}. + * @return the response body along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteSkillWithResponse(String name, RequestOptions requestOptions) { - return this.serviceClient.deleteSkillWithResponse(name, requestOptions); + public Response getSkillVersionContentWithResponse(String name, String version, + RequestOptions requestOptions) { + return this.serviceClient.getSkillVersionContentWithResponse(name, version, requestOptions); } /** - * Creates a skill. - * - * @param name The unique name of the skill. - * @param description A human-readable description of the skill. - * @param instructions Instructions that define the behavior of the skill. - * @param metadata Set of 16 key-value pairs that can be attached to an object. This can be - * useful for storing additional information about the object in a structured - * format, and querying for objects via API or the dashboard. + * Delete a specific version of a skill. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     name: String (Required)
+     *     deleted: boolean (Required)
+     *     version: String (Required)
+     * }
+     * }
+     * 
* - * Keys are strings with a maximum length of 64 characters. Values are strings - * with a maximum length of 512 characters. - * @throws IllegalArgumentException thrown if parameters fail the validation. + * @param name The name of the skill. + * @param version The version identifier to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a skill object. + * @return a deleted skill version along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SkillDetails createSkill(String name, String description, String instructions, - Map metadata) { - // Generated convenience method for createSkillWithResponse - RequestOptions requestOptions = new RequestOptions(); - CreateSkillRequest createSkillRequestObj = new CreateSkillRequest(name).setDescription(description) - .setInstructions(instructions) - .setMetadata(metadata); - BinaryData createSkillRequest = BinaryData.fromObject(createSkillRequestObj); - return createSkillWithResponse(createSkillRequest, requestOptions).getValue().toObject(SkillDetails.class); + public Response deleteSkillVersionWithResponse(String name, String version, + RequestOptions requestOptions) { + return this.serviceClient.deleteSkillVersionWithResponse(name, version, requestOptions); } /** - * Creates a skill. + * Update a skill. * - * @param name The unique name of the skill. + * @param name The name of the skill to update. + * @param defaultVersion The version identifier that the skill should point to. When set, the skill's default + * version will resolve to this version instead of the latest. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a skill object. + * @return a skill resource. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SkillDetails createSkill(String name) { - // Generated convenience method for createSkillWithResponse + public Skill updateSkill(String name, String defaultVersion) { + // Generated convenience method for updateSkillWithResponse RequestOptions requestOptions = new RequestOptions(); - CreateSkillRequest createSkillRequestObj = new CreateSkillRequest(name); - BinaryData createSkillRequest = BinaryData.fromObject(createSkillRequestObj); - return createSkillWithResponse(createSkillRequest, requestOptions).getValue().toObject(SkillDetails.class); + UpdateSkillRequest updateSkillRequestObj = new UpdateSkillRequest(defaultVersion); + BinaryData updateSkillRequest = BinaryData.fromObject(updateSkillRequestObj); + return updateSkillWithResponse(name, updateSkillRequest, requestOptions).getValue().toObject(Skill.class); } /** - * Creates a skill from a zip package. + * Creates a new version of a skill. If the skill does not exist, it will be created. * - * @param content The zip package used to create the skill. + * @param name The name of the skill. If the skill does not exist, it will be created. + * @param inlineContent Inline skill content for simple skills without file uploads. Foundry-specific extension. + * @param defaultParameter Whether to set this version as the default. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a skill object. + * @return a specific version of a skill. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SkillDetails createSkillFromPackage(BinaryData content) { - // Generated convenience method for createSkillFromPackageWithResponse + public SkillVersion createSkillVersion(String name, SkillInlineContent inlineContent, Boolean defaultParameter) { + // Generated convenience method for createSkillVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - return createSkillFromPackageWithResponse(content, requestOptions).getValue().toObject(SkillDetails.class); + CreateSkillVersionRequest createSkillVersionRequestObj + = new CreateSkillVersionRequest().setInlineContent(inlineContent).setDefaultProperty(defaultParameter); + BinaryData createSkillVersionRequest = BinaryData.fromObject(createSkillVersionRequestObj); + return createSkillVersionWithResponse(name, createSkillVersionRequest, requestOptions).getValue() + .toObject(SkillVersion.class); } /** - * Retrieves a skill. + * Creates a new version of a skill. If the skill does not exist, it will be created. * - * @param name The unique name of the skill. + * @param name The name of the skill. If the skill does not exist, it will be created. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a skill object. + * @return a specific version of a skill. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SkillDetails getSkill(String name) { - // Generated convenience method for getSkillWithResponse + public SkillVersion createSkillVersion(String name) { + // Generated convenience method for createSkillVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - return getSkillWithResponse(name, requestOptions).getValue().toObject(SkillDetails.class); + CreateSkillVersionRequest createSkillVersionRequestObj = new CreateSkillVersionRequest(); + BinaryData createSkillVersionRequest = BinaryData.fromObject(createSkillVersionRequestObj); + return createSkillVersionWithResponse(name, createSkillVersionRequest, requestOptions).getValue() + .toObject(SkillVersion.class); } /** - * Downloads a skill package as a ZIP archive containing {@code SKILL.md}. Returns the original uploaded archive for - * skills created via {@code createSkillFromPackage}; materializes a ZIP from stored instructions for skills created - * via {@code createSkill}. + * Creates a new version of a skill from uploaded files via multipart form data. * - * @param name The unique name of the skill. + * @param name The name of the skill. + * @param content The content parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return a specific version of a skill. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData downloadSkill(String name) { - // Generated convenience method for downloadSkillWithResponse + public SkillVersion createSkillVersionFromFiles(String name, CreateSkillVersionFromFilesBody content) { + // Generated convenience method for createSkillVersionFromFilesWithResponse RequestOptions requestOptions = new RequestOptions(); - return downloadSkillWithResponse(name, requestOptions).getValue(); + return createSkillVersionFromFilesWithResponse(name, + new MultipartFormDataHelper(requestOptions) + .serializeFileFields("files", + content.getFiles().stream().map(FilesFileDetails::getContent).collect(Collectors.toList()), + content.getFiles().stream().map(FilesFileDetails::getContentType).collect(Collectors.toList()), + content.getFiles().stream().map(FilesFileDetails::getFilename).collect(Collectors.toList())) + .serializeTextField("default", Objects.toString(content.isDefaultProperty())) + .end() + .getRequestBody(), + requestOptions).getValue().toObject(SkillVersion.class); } /** - * Returns the list of all skills. + * List all versions of a skill. * + * @param name The name of the skill to list versions for. * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the * default is 20. * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` @@ -452,8 +679,9 @@ public BinaryData downloadSkill(String name) { */ @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listSkills(Integer limit, PageOrder order, String after, String before) { - // Generated convenience method for listSkills + public PagedIterable listSkillVersions(String name, Integer limit, PageOrder order, String after, + String before) { + // Generated convenience method for listSkillVersions RequestOptions requestOptions = new RequestOptions(); if (limit != null) { requestOptions.addQueryParam("limit", String.valueOf(limit), false); @@ -467,13 +695,15 @@ public PagedIterable listSkills(Integer limit, PageOrder order, St if (before != null) { requestOptions.addQueryParam("before", before, false); } - return serviceClient.listSkills(requestOptions) - .mapPage(bodyItemValue -> bodyItemValue.toObject(SkillDetails.class)); + return serviceClient.listSkillVersions(name, requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(SkillVersion.class)); } /** - * Returns the list of all skills. + * List all versions of a skill. * + * @param name The name of the skill to list versions for. + * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. @@ -483,84 +713,94 @@ public PagedIterable listSkills(Integer limit, PageOrder order, St */ @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listSkills() { - // Generated convenience method for listSkills + public PagedIterable listSkillVersions(String name) { + // Generated convenience method for listSkillVersions RequestOptions requestOptions = new RequestOptions(); - return serviceClient.listSkills(requestOptions) - .mapPage(bodyItemValue -> bodyItemValue.toObject(SkillDetails.class)); + return serviceClient.listSkillVersions(name, requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(SkillVersion.class)); } /** - * Updates an existing skill. + * Retrieve a specific version of a skill. * - * @param name The unique name of the skill. - * @param description A human-readable description of the skill. - * @param instructions Instructions that define the behavior of the skill. - * @param metadata Set of 16 key-value pairs that can be attached to an object. This can be - * useful for storing additional information about the object in a structured - * format, and querying for objects via API or the dashboard. + * @param name The name of the skill. + * @param version The version identifier to retrieve. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a specific version of a skill. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public SkillVersion getSkillVersion(String name, String version) { + // Generated convenience method for getSkillVersionWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSkillVersionWithResponse(name, version, requestOptions).getValue().toObject(SkillVersion.class); + } + + /** + * Download the zip content for the default version of a skill. * - * Keys are strings with a maximum length of 64 characters. Values are strings - * with a maximum length of 512 characters. + * @param name The name of the skill. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a skill object. + * @return the response. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SkillDetails updateSkill(String name, String description, String instructions, - Map metadata) { - // Generated convenience method for updateSkillWithResponse + public BinaryData getSkillContent(String name) { + // Generated convenience method for getSkillContentWithResponse RequestOptions requestOptions = new RequestOptions(); - UpdateSkillRequest updateSkillRequestObj - = new UpdateSkillRequest().setDescription(description).setInstructions(instructions).setMetadata(metadata); - BinaryData updateSkillRequest = BinaryData.fromObject(updateSkillRequestObj); - return updateSkillWithResponse(name, updateSkillRequest, requestOptions).getValue() - .toObject(SkillDetails.class); + return getSkillContentWithResponse(name, requestOptions).getValue(); } /** - * Updates an existing skill. + * Download the zip content for a specific version of a skill. * - * @param name The unique name of the skill. + * @param name The name of the skill. + * @param version The version to download content for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a skill object. + * @return the response. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SkillDetails updateSkill(String name) { - // Generated convenience method for updateSkillWithResponse + public BinaryData getSkillVersionContent(String name, String version) { + // Generated convenience method for getSkillVersionContentWithResponse RequestOptions requestOptions = new RequestOptions(); - UpdateSkillRequest updateSkillRequestObj = new UpdateSkillRequest(); - BinaryData updateSkillRequest = BinaryData.fromObject(updateSkillRequestObj); - return updateSkillWithResponse(name, updateSkillRequest, requestOptions).getValue() - .toObject(SkillDetails.class); + return getSkillVersionContentWithResponse(name, version, requestOptions).getValue(); } /** - * Deletes a skill. + * Delete a specific version of a skill. * - * @param skillName The unique name of the skill. + * @param name The name of the skill. + * @param version The version identifier to delete. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a deleted skill version. */ + @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteSkill(String skillName) { - // Generated convenience method for deleteSkillWithResponse + public DeleteSkillVersionResponse deleteSkillVersion(String name, String version) { + // Generated convenience method for deleteSkillVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - deleteSkillWithResponse(skillName, requestOptions); + return deleteSkillVersionWithResponse(name, version, requestOptions).getValue() + .toObject(DeleteSkillVersionResponse.class); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java index 2c85017e5ef1..f8a5101d14af 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java @@ -206,7 +206,7 @@ Response deleteGenerationJobSync(@HostParam("endpoint") String endpoint, @ * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -305,7 +305,7 @@ public Mono> getGenerationJobWithResponseAsync(String jobId * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -400,10 +400,6 @@ public Response getGenerationJobWithResponse(String jobId, RequestOp * defines your place in the list. * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your * subsequent call can include before=obj_foo in order to fetch the previous page of the list. - *
- * *
Query Parameters
scenarioStringNoFilter data generation jobs by their scenario. Allowed values: - * "supervised_finetuning", "reinforcement_finetuning", "evaluation".
typeList<String>NoFilter data generation jobs by their type. In the form - * of "," separated string.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -427,7 +423,7 @@ public Response getGenerationJobWithResponse(String jobId, RequestOp * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -523,10 +519,6 @@ private Mono> listGenerationJobsSinglePageAsync(Reques * defines your place in the list. * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your * subsequent call can include before=obj_foo in order to fetch the previous page of the list. - * scenarioStringNoFilter data generation jobs by their scenario. Allowed values: - * "supervised_finetuning", "reinforcement_finetuning", "evaluation". - * typeList<String>NoFilter data generation jobs by their type. In the form - * of "," separated string. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -550,7 +542,7 @@ private Mono> listGenerationJobsSinglePageAsync(Reques * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -640,10 +632,6 @@ public PagedFlux listGenerationJobsAsync(RequestOptions requestOptio * defines your place in the list. * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your * subsequent call can include before=obj_foo in order to fetch the previous page of the list. - * scenarioStringNoFilter data generation jobs by their scenario. Allowed values: - * "supervised_finetuning", "reinforcement_finetuning", "evaluation". - * typeList<String>NoFilter data generation jobs by their type. In the form - * of "," separated string. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -667,7 +655,7 @@ public PagedFlux listGenerationJobsAsync(RequestOptions requestOptio * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -761,10 +749,6 @@ private PagedResponse listGenerationJobsSinglePage(RequestOptions re * defines your place in the list. * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your * subsequent call can include before=obj_foo in order to fetch the previous page of the list. - * scenarioStringNoFilter data generation jobs by their scenario. Allowed values: - * "supervised_finetuning", "reinforcement_finetuning", "evaluation". - * typeList<String>NoFilter data generation jobs by their type. In the form - * of "," separated string. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -788,7 +772,7 @@ private PagedResponse listGenerationJobsSinglePage(RequestOptions re * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -881,7 +865,7 @@ public PagedIterable listGenerationJobs(RequestOptions requestOption * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -947,7 +931,7 @@ public PagedIterable listGenerationJobs(RequestOptions requestOption * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -1045,7 +1029,7 @@ public Mono> createGenerationJobWithResponseAsync(BinaryDat * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -1111,7 +1095,7 @@ public Mono> createGenerationJobWithResponseAsync(BinaryDat * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -1208,7 +1192,7 @@ public Response createGenerationJobWithResponse(BinaryData job, Requ * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] @@ -1305,7 +1289,7 @@ public Mono> cancelGenerationJobWithResponseAsync(String jo * name: String (Required) * sources (Required): [ * (Required){ - * type: String(prompt/agent/traces/dataset/file) (Required) + * type: String(prompt/agent/traces/file) (Required) * description: String (Optional) * } * ] diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java index fe64981f308a..1ad4ed120286 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java @@ -199,7 +199,7 @@ Mono> createModelVersionAsync(@HostParam("endpoint") String @QueryParam("api-version") String apiVersion, @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name, @PathParam("version") String version, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); + @BodyParam("application/json") BinaryData modelVersion, RequestOptions requestOptions, Context context); @Post("/models/{name}/versions/{version}/createAsync") @ExpectedResponses({ 202 }) @@ -211,7 +211,7 @@ Response createModelVersionAsyncSync(@HostParam("endpoint") String e @QueryParam("api-version") String apiVersion, @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name, @PathParam("version") String version, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); + @BodyParam("application/json") BinaryData modelVersion, RequestOptions requestOptions, Context context); @Post("/models/{name}/versions/{version}/startPendingUpload") @ExpectedResponses({ 200 }) @@ -223,7 +223,8 @@ Mono> startModelPendingUpload(@HostParam("endpoint") String @QueryParam("api-version") String apiVersion, @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name, @PathParam("version") String version, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); + @BodyParam("application/json") BinaryData pendingUploadRequest, RequestOptions requestOptions, + Context context); @Post("/models/{name}/versions/{version}/startPendingUpload") @ExpectedResponses({ 200 }) @@ -235,7 +236,8 @@ Response startModelPendingUploadSync(@HostParam("endpoint") String e @QueryParam("api-version") String apiVersion, @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name, @PathParam("version") String version, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); + @BodyParam("application/json") BinaryData pendingUploadRequest, RequestOptions requestOptions, + Context context); @Post("/models/{name}/versions/{version}/credentials") @ExpectedResponses({ 200 }) @@ -247,7 +249,8 @@ Mono> getModelCredentials(@HostParam("endpoint") String end @QueryParam("api-version") String apiVersion, @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name, @PathParam("version") String version, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); + @BodyParam("application/json") BinaryData credentialRequest, RequestOptions requestOptions, + Context context); @Post("/models/{name}/versions/{version}/credentials") @ExpectedResponses({ 200 }) @@ -259,7 +262,8 @@ Response getModelCredentialsSync(@HostParam("endpoint") String endpo @QueryParam("api-version") String apiVersion, @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name, @PathParam("version") String version, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); + @BodyParam("application/json") BinaryData credentialRequest, RequestOptions requestOptions, + Context context); @Get("{nextLink}") @ExpectedResponses({ 200 }) @@ -1270,7 +1274,7 @@ public Response updateModelVersionWithResponse(String name, String v * * @param name Name of the model. * @param version Version of the model. - * @param body Model version to create. + * @param modelVersion Model version to create. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1280,13 +1284,13 @@ public Response updateModelVersionWithResponse(String name, String v */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createModelVersionAsyncWithResponseAsync(String name, String version, - BinaryData body, RequestOptions requestOptions) { + BinaryData modelVersion, RequestOptions requestOptions) { final String foundryFeatures = "Models=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil.withContext(context -> service.createModelVersionAsync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), foundryFeatures, name, version, contentType, accept, body, - requestOptions, context)); + this.client.getServiceVersion().getVersion(), foundryFeatures, name, version, contentType, accept, + modelVersion, requestOptions, context)); } /** @@ -1354,7 +1358,7 @@ public Mono> createModelVersionAsyncWithResponseAsync(Strin * * @param name Name of the model. * @param version Version of the model. - * @param body Model version to create. + * @param modelVersion Model version to create. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1363,14 +1367,14 @@ public Mono> createModelVersionAsyncWithResponseAsync(Strin * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response createModelVersionAsyncWithResponse(String name, String version, BinaryData body, - RequestOptions requestOptions) { + public Response createModelVersionAsyncWithResponse(String name, String version, + BinaryData modelVersion, RequestOptions requestOptions) { final String foundryFeatures = "Models=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; return service.createModelVersionAsyncSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), foundryFeatures, name, version, contentType, accept, body, - requestOptions, Context.NONE); + this.client.getServiceVersion().getVersion(), foundryFeatures, name, version, contentType, accept, + modelVersion, requestOptions, Context.NONE); } /** @@ -1409,7 +1413,7 @@ public Response createModelVersionAsyncWithResponse(String name, Str * * @param name Name of the model. * @param version Version of the model. - * @param body The body parameter. + * @param pendingUploadRequest The pendingUploadRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1420,13 +1424,13 @@ public Response createModelVersionAsyncWithResponse(String name, Str */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> startModelPendingUploadWithResponseAsync(String name, String version, - BinaryData body, RequestOptions requestOptions) { + BinaryData pendingUploadRequest, RequestOptions requestOptions) { final String foundryFeatures = "Models=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil.withContext(context -> service.startModelPendingUpload(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), foundryFeatures, name, version, contentType, accept, body, - requestOptions, context)); + this.client.getServiceVersion().getVersion(), foundryFeatures, name, version, contentType, accept, + pendingUploadRequest, requestOptions, context)); } /** @@ -1465,7 +1469,7 @@ public Mono> startModelPendingUploadWithResponseAsync(Strin * * @param name Name of the model. * @param version Version of the model. - * @param body The body parameter. + * @param pendingUploadRequest The pendingUploadRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1474,14 +1478,14 @@ public Mono> startModelPendingUploadWithResponseAsync(Strin * @return represents the response for a model pending upload request along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response startModelPendingUploadWithResponse(String name, String version, BinaryData body, - RequestOptions requestOptions) { + public Response startModelPendingUploadWithResponse(String name, String version, + BinaryData pendingUploadRequest, RequestOptions requestOptions) { final String foundryFeatures = "Models=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; return service.startModelPendingUploadSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), foundryFeatures, name, version, contentType, accept, body, - requestOptions, Context.NONE); + this.client.getServiceVersion().getVersion(), foundryFeatures, name, version, contentType, accept, + pendingUploadRequest, requestOptions, Context.NONE); } /** @@ -1515,7 +1519,7 @@ public Response startModelPendingUploadWithResponse(String name, Str * * @param name Name of the model. * @param version Version of the model. - * @param body The body parameter. + * @param credentialRequest The credentialRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1525,14 +1529,14 @@ public Response startModelPendingUploadWithResponse(String name, Str * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getModelCredentialsWithResponseAsync(String name, String version, BinaryData body, - RequestOptions requestOptions) { + public Mono> getModelCredentialsWithResponseAsync(String name, String version, + BinaryData credentialRequest, RequestOptions requestOptions) { final String foundryFeatures = "Models=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil.withContext(context -> service.getModelCredentials(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), foundryFeatures, name, version, contentType, accept, body, - requestOptions, context)); + this.client.getServiceVersion().getVersion(), foundryFeatures, name, version, contentType, accept, + credentialRequest, requestOptions, context)); } /** @@ -1566,7 +1570,7 @@ public Mono> getModelCredentialsWithResponseAsync(String na * * @param name Name of the model. * @param version Version of the model. - * @param body The body parameter. + * @param credentialRequest The credentialRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1575,13 +1579,13 @@ public Mono> getModelCredentialsWithResponseAsync(String na * @return credentials for a model version asset along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getModelCredentialsWithResponse(String name, String version, BinaryData body, - RequestOptions requestOptions) { + public Response getModelCredentialsWithResponse(String name, String version, + BinaryData credentialRequest, RequestOptions requestOptions) { final String foundryFeatures = "Models=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; return service.getModelCredentialsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - foundryFeatures, name, version, contentType, accept, body, requestOptions, Context.NONE); + foundryFeatures, name, version, contentType, accept, credentialRequest, requestOptions, Context.NONE); } /** diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java new file mode 100644 index 000000000000..222b687fd761 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java @@ -0,0 +1,209 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.implementation; + +import com.azure.core.http.HttpHeaderName; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.util.BinaryData; +import com.azure.core.util.CoreUtils; +import java.io.ByteArrayInputStream; +import java.io.InputStream; +import java.io.SequenceInputStream; +import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; +import java.util.List; +import java.util.UUID; + +// DO NOT modify this helper class + +public final class MultipartFormDataHelper { + /** + * Line separator for the multipart HTTP request. + */ + private static final String CRLF = "\r\n"; + + private static final String APPLICATION_OCTET_STREAM = "application/octet-stream"; + + /** + * Value to be used as part of the divider for the multipart requests. + */ + private final String boundary; + + /** + * The actual part separator in the request. This is obtained by prepending "--" to the "boundary". + */ + private final String partSeparator; + + /** + * The marker for the ending of a multipart request. This is obtained by post-pending "--" to the "partSeparator". + */ + private final String endMarker; + + /** + * Charset used for encoding the multipart HTTP request. + */ + private final Charset encoderCharset = StandardCharsets.UTF_8; + + private InputStream requestDataStream = new ByteArrayInputStream(new byte[0]); + private long requestLength = 0; + + private RequestOptions requestOptions; + private BinaryData requestBody; + + /** + * Default constructor used in the code. The boundary is a random value. + * + * @param requestOptions the RequestOptions to update + */ + public MultipartFormDataHelper(RequestOptions requestOptions) { + this(requestOptions, UUID.randomUUID().toString().substring(0, 16)); + } + + private MultipartFormDataHelper(RequestOptions requestOptions, String boundary) { + this.requestOptions = requestOptions; + this.boundary = boundary; + this.partSeparator = "--" + boundary; + this.endMarker = this.partSeparator + "--"; + } + + /** + * Gets the multipart HTTP request body. + * + * @return the BinaryData of the multipart HTTP request body + */ + public BinaryData getRequestBody() { + return requestBody; + } + + // text/plain + /** + * Formats a text/plain field for a multipart HTTP request. + * + * @param fieldName the field name + * @param value the value of the text/plain field + * @return the MultipartFormDataHelper instance + */ + public MultipartFormDataHelper serializeTextField(String fieldName, String value) { + if (value != null) { + String serialized = partSeparator + CRLF + "Content-Disposition: form-data; name=\"" + escapeName(fieldName) + + "\"" + CRLF + CRLF + value + CRLF; + byte[] data = serialized.getBytes(encoderCharset); + appendBytes(data); + } + return this; + } + + // application/json + /** + * Formats a application/json field for a multipart HTTP request. + * + * @param fieldName the field name + * @param jsonObject the object of the application/json field + * @return the MultipartFormDataHelper instance + */ + public MultipartFormDataHelper serializeJsonField(String fieldName, Object jsonObject) { + if (jsonObject != null) { + String serialized + = partSeparator + CRLF + "Content-Disposition: form-data; name=\"" + escapeName(fieldName) + "\"" + CRLF + + "Content-Type: application/json" + CRLF + CRLF + BinaryData.fromObject(jsonObject) + CRLF; + byte[] data = serialized.getBytes(encoderCharset); + appendBytes(data); + } + return this; + } + + /** + * Formats a file field for a multipart HTTP request. + * + * @param fieldName the field name + * @param file the BinaryData of the file + * @param contentType the content-type of the file + * @param filename the filename + * @return the MultipartFormDataHelper instance + */ + public MultipartFormDataHelper serializeFileField(String fieldName, BinaryData file, String contentType, + String filename) { + if (file != null) { + if (CoreUtils.isNullOrEmpty(contentType)) { + contentType = APPLICATION_OCTET_STREAM; + } + writeFileField(fieldName, file, contentType, filename); + } + return this; + } + + /** + * Formats a file field (potentially multiple files) for a multipart HTTP request. + * + * @param fieldName the field name + * @param files the List of BinaryData of the files + * @param contentTypes the List of content-type of the files + * @param filenames the List of filenames + * @return the MultipartFormDataHelper instance + */ + public MultipartFormDataHelper serializeFileFields(String fieldName, List files, + List contentTypes, List filenames) { + if (files != null) { + for (int i = 0; i < files.size(); ++i) { + BinaryData file = files.get(i); + String contentType = contentTypes.get(i); + if (CoreUtils.isNullOrEmpty(contentType)) { + contentType = APPLICATION_OCTET_STREAM; + } + String filename = filenames.get(i); + writeFileField(fieldName, file, contentType, filename); + } + } + return this; + } + + /** + * Ends the serialization of the multipart HTTP request. + * + * @return the MultipartFormDataHelper instance + */ + public MultipartFormDataHelper end() { + byte[] data = endMarker.getBytes(encoderCharset); + appendBytes(data); + + requestBody = BinaryData.fromStream(requestDataStream, requestLength); + + requestOptions.setHeader(HttpHeaderName.CONTENT_TYPE, "multipart/form-data; boundary=" + this.boundary) + .setHeader(HttpHeaderName.CONTENT_LENGTH, String.valueOf(requestLength)); + + return this; + } + + private void writeFileField(String fieldName, BinaryData file, String contentType, String filename) { + String contentDispositionFilename = ""; + if (!CoreUtils.isNullOrEmpty(filename)) { + contentDispositionFilename = "; filename=\"" + escapeName(filename) + "\""; + } + + // Multipart preamble + String fileFieldPreamble + = partSeparator + CRLF + "Content-Disposition: form-data; name=\"" + escapeName(fieldName) + "\"" + + contentDispositionFilename + CRLF + "Content-Type: " + contentType + CRLF + CRLF; + byte[] data = fileFieldPreamble.getBytes(encoderCharset); + appendBytes(data); + + // Writing the file into the request as a byte stream + requestLength += file.getLength(); + requestDataStream = new SequenceInputStream(requestDataStream, file.toStream()); + + // CRLF + data = CRLF.getBytes(encoderCharset); + appendBytes(data); + } + + private void appendBytes(byte[] bytes) { + requestLength += bytes.length; + requestDataStream = new SequenceInputStream(requestDataStream, new ByteArrayInputStream(bytes)); + } + + private static String escapeName(String name) { + return name.replace("\n", "%0A").replace("\r", "%0D").replace("\"", "%22"); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java index dd5644109558..ef0ba6f9d698 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java @@ -78,170 +78,532 @@ public AIProjectsServiceVersion getServiceVersion() { @Host("{endpoint}") @ServiceInterface(name = "AIProjectClientSkills") public interface SkillsService { - @Post("/skills") - @ExpectedResponses({ 201 }) + @Get("/skills/{name}") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> createSkill(@HostParam("endpoint") String endpoint, + Mono> getSkill(@HostParam("endpoint") String endpoint, @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, - @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") BinaryData createSkillRequest, RequestOptions requestOptions, - Context context); + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Post("/skills") - @ExpectedResponses({ 201 }) + @Get("/skills/{name}") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response createSkillSync(@HostParam("endpoint") String endpoint, + Response getSkillSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, - @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") BinaryData createSkillRequest, RequestOptions requestOptions, - Context context); + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Post("/skills:import") - @ExpectedResponses({ 201 }) + @Get("/skills") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> createSkillFromPackage(@HostParam("endpoint") String endpoint, - @HeaderParam("Content-Type") String contentType, @HeaderParam("Foundry-Features") String foundryFeatures, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @BodyParam("application/zip") BinaryData content, RequestOptions requestOptions, Context context); + Mono> listSkills(@HostParam("endpoint") String endpoint, + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Post("/skills:import") - @ExpectedResponses({ 201 }) + @Get("/skills") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response createSkillFromPackageSync(@HostParam("endpoint") String endpoint, - @HeaderParam("Content-Type") String contentType, @HeaderParam("Foundry-Features") String foundryFeatures, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @BodyParam("application/zip") BinaryData content, RequestOptions requestOptions, Context context); + Response listSkillsSync(@HostParam("endpoint") String endpoint, + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/skills/{name}") + @Post("/skills/{name}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getSkill(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + Mono> updateSkill(@HostParam("endpoint") String endpoint, @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData updateSkillRequest, RequestOptions requestOptions, + Context context); - @Get("/skills/{name}") + @Post("/skills/{name}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getSkillSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + Response updateSkillSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData updateSkillRequest, RequestOptions requestOptions, + Context context); - @Get("/skills/{name}:download") + @Delete("/skills/{name}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> downloadSkill(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + Mono> deleteSkill(@HostParam("endpoint") String endpoint, @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/skills/{name}:download") + @Delete("/skills/{name}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response downloadSkillSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + Response deleteSkillSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/skills") + @Post("/skills/{name}/versions") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> listSkills(@HostParam("endpoint") String endpoint, + Mono> createSkillVersion(@HostParam("endpoint") String endpoint, + @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData createSkillVersionRequest, + RequestOptions requestOptions, Context context); + + @Post("/skills/{name}/versions") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response createSkillVersionSync(@HostParam("endpoint") String endpoint, + @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData createSkillVersionRequest, + RequestOptions requestOptions, Context context); + + // @Multipart not supported by RestProxy + @Post("/skills/{name}/versions") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> createSkillVersionFromFiles(@HostParam("endpoint") String endpoint, + @PathParam("name") String name, @HeaderParam("content-type") String contentType, + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, @BodyParam("multipart/form-data") BinaryData content, + RequestOptions requestOptions, Context context); + + // @Multipart not supported by RestProxy + @Post("/skills/{name}/versions") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response createSkillVersionFromFilesSync(@HostParam("endpoint") String endpoint, + @PathParam("name") String name, @HeaderParam("content-type") String contentType, + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, @BodyParam("multipart/form-data") BinaryData content, + RequestOptions requestOptions, Context context); + + @Get("/skills/{name}/versions") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> listSkillVersions(@HostParam("endpoint") String endpoint, + @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/skills/{name}/versions") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response listSkillVersionsSync(@HostParam("endpoint") String endpoint, + @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/skills/{name}/versions/{version}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSkillVersion(@HostParam("endpoint") String endpoint, + @PathParam("name") String name, @PathParam("version") String version, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/skills") + @Get("/skills/{name}/versions/{version}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response listSkillsSync(@HostParam("endpoint") String endpoint, + Response getSkillVersionSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @PathParam("version") String version, @HeaderParam("Foundry-Features") String foundryFeatures, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/skills/{name}/content") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSkillContent(@HostParam("endpoint") String endpoint, + @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/skills/{name}/content") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSkillContentSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Post("/skills/{name}") + @Get("/skills/{name}/versions/{version}/content") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> updateSkill(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + Mono> getSkillVersionContent(@HostParam("endpoint") String endpoint, + @PathParam("name") String name, @PathParam("version") String version, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, - @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") BinaryData updateSkillRequest, RequestOptions requestOptions, - Context context); + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Post("/skills/{name}") + @Get("/skills/{name}/versions/{version}/content") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response updateSkillSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + Response getSkillVersionContentSync(@HostParam("endpoint") String endpoint, + @PathParam("name") String name, @PathParam("version") String version, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, - @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") BinaryData updateSkillRequest, RequestOptions requestOptions, - Context context); + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Delete("/skills/{name}") + @Delete("/skills/{name}/versions/{version}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> deleteSkill(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + Mono> deleteSkillVersion(@HostParam("endpoint") String endpoint, + @PathParam("name") String name, @PathParam("version") String version, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Delete("/skills/{name}") + @Delete("/skills/{name}/versions/{version}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response deleteSkillSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + Response deleteSkillVersionSync(@HostParam("endpoint") String endpoint, + @PathParam("name") String name, @PathParam("version") String version, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); } /** - * Creates a skill. + * Retrieves a skill. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     name: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
+     *     default_version: String (Required)
+     *     latest_version: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The unique name of the skill. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a skill resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSkillWithResponseAsync(String name, RequestOptions requestOptions) { + final String foundryFeatures = "Skills=V1Preview"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getSkill(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Retrieves a skill. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     name: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
+     *     default_version: String (Required)
+     *     latest_version: String (Required)
+     * }
+     * }
+     * 
+ * + * @param name The unique name of the skill. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a skill resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSkillWithResponse(String name, RequestOptions requestOptions) { + final String foundryFeatures = "Skills=V1Preview"; + final String accept = "application/json"; + return service.getSkillSync(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Returns the list of all skills. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     name: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
+     *     default_version: String (Required)
+     *     latest_version: String (Required)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSkillsSinglePageAsync(RequestOptions requestOptions) { + final String foundryFeatures = "Skills=V1Preview"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listSkills(this.client.getEndpoint(), foundryFeatures, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null)); + } + + /** + * Returns the list of all skills. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     name: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
+     *     default_version: String (Required)
+     *     latest_version: String (Required)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listSkillsAsync(RequestOptions requestOptions) { + return new PagedFlux<>(() -> listSkillsSinglePageAsync(requestOptions)); + } + + /** + * Returns the list of all skills. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     name: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
+     *     default_version: String (Required)
+     *     latest_version: String (Required)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listSkillsSinglePage(RequestOptions requestOptions) { + final String foundryFeatures = "Skills=V1Preview"; + final String accept = "application/json"; + Response res = service.listSkillsSync(this.client.getEndpoint(), foundryFeatures, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "data"), null, null); + } + + /** + * Returns the list of all skills. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     id: String (Required)
+     *     name: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
+     *     default_version: String (Required)
+     *     latest_version: String (Required)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listSkills(RequestOptions requestOptions) { + return new PagedIterable<>(() -> listSkillsSinglePage(requestOptions)); + } + + /** + * Update a skill. *

Request Body Schema

* *
      * {@code
      * {
-     *     name: String (Required)
-     *     description: String (Optional)
-     *     instructions: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     default_version: String (Required)
      * }
      * }
      * 
@@ -251,49 +613,44 @@ Response deleteSkillSync(@HostParam("endpoint") String endpoint, @Pa *
      * {@code
      * {
-     *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
+     *     id: String (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     description: String (Required)
+     *     created_at: long (Required)
+     *     default_version: String (Required)
+     *     latest_version: String (Required)
      * }
      * }
      * 
* - * @param createSkillRequest The createSkillRequest parameter. + * @param name The name of the skill to update. + * @param updateSkillRequest The updateSkillRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a skill object along with {@link Response} on successful completion of {@link Mono}. + * @return a skill resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createSkillWithResponseAsync(BinaryData createSkillRequest, + public Mono> updateSkillWithResponseAsync(String name, BinaryData updateSkillRequest, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.createSkill(this.client.getEndpoint(), foundryFeatures, - this.client.getServiceVersion().getVersion(), contentType, accept, createSkillRequest, requestOptions, + return FluxUtil.withContext(context -> service.updateSkill(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), contentType, accept, updateSkillRequest, requestOptions, context)); } /** - * Creates a skill. + * Update a skill. *

Request Body Schema

* *
      * {@code
      * {
-     *     name: String (Required)
-     *     description: String (Optional)
-     *     instructions: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     default_version: String (Required)
      * }
      * }
      * 
@@ -303,248 +660,289 @@ public Mono> createSkillWithResponseAsync(BinaryData create *
      * {@code
      * {
-     *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
+     *     id: String (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     description: String (Required)
+     *     created_at: long (Required)
+     *     default_version: String (Required)
+     *     latest_version: String (Required)
      * }
      * }
      * 
* - * @param createSkillRequest The createSkillRequest parameter. + * @param name The name of the skill to update. + * @param updateSkillRequest The updateSkillRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a skill object along with {@link Response}. + * @return a skill resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response createSkillWithResponse(BinaryData createSkillRequest, RequestOptions requestOptions) { + public Response updateSkillWithResponse(String name, BinaryData updateSkillRequest, + RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; - return service.createSkillSync(this.client.getEndpoint(), foundryFeatures, - this.client.getServiceVersion().getVersion(), contentType, accept, createSkillRequest, requestOptions, + return service.updateSkillSync(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), contentType, accept, updateSkillRequest, requestOptions, Context.NONE); } /** - * Creates a skill from a zip package. - *

Request Body Schema

- * - *
-     * {@code
-     * BinaryData
-     * }
-     * 
- * + * Deletes a skill. *

Response Body Schema

* *
      * {@code
      * {
-     *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
+     *     id: String (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     deleted: boolean (Required)
      * }
      * }
      * 
* - * @param content The zip package used to create the skill. + * @param name The unique name of the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a skill object along with {@link Response} on successful completion of {@link Mono}. + * @return a deleted skill along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createSkillFromPackageWithResponseAsync(BinaryData content, - RequestOptions requestOptions) { - final String contentType = "application/zip"; + public Mono> deleteSkillWithResponseAsync(String name, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.createSkillFromPackage(this.client.getEndpoint(), contentType, - foundryFeatures, this.client.getServiceVersion().getVersion(), accept, content, requestOptions, context)); + return FluxUtil.withContext(context -> service.deleteSkill(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } /** - * Creates a skill from a zip package. - *

Request Body Schema

- * - *
-     * {@code
-     * BinaryData
-     * }
-     * 
- * + * Deletes a skill. *

Response Body Schema

* *
      * {@code
      * {
-     *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
+     *     id: String (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     deleted: boolean (Required)
      * }
      * }
      * 
* - * @param content The zip package used to create the skill. + * @param name The unique name of the skill. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a skill object along with {@link Response}. + * @return a deleted skill along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response createSkillFromPackageWithResponse(BinaryData content, RequestOptions requestOptions) { - final String contentType = "application/zip"; + public Response deleteSkillWithResponse(String name, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String accept = "application/json"; - return service.createSkillFromPackageSync(this.client.getEndpoint(), contentType, foundryFeatures, - this.client.getServiceVersion().getVersion(), accept, content, requestOptions, Context.NONE); + return service.deleteSkillSync(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } /** - * Retrieves a skill. + * Creates a new version of a skill. If the skill does not exist, it will be created. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     inline_content (Optional): {
+     *         description: String (Required)
+     *         instructions: String (Required)
+     *         license: String (Optional)
+     *         compatibility: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         allowed_tools (Optional): [
+     *             String (Optional)
+     *         ]
+     *     }
+     *     default: Boolean (Optional)
+     * }
+     * }
+     * 
+ * *

Response Body Schema

* *
      * {@code
      * {
+     *     id: String (Required)
      *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     version: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
      * }
      * }
      * 
* - * @param name The unique name of the skill. + * @param name The name of the skill. If the skill does not exist, it will be created. + * @param createSkillVersionRequest The createSkillVersionRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a skill object along with {@link Response} on successful completion of {@link Mono}. + * @return a specific version of a skill along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getSkillWithResponseAsync(String name, RequestOptions requestOptions) { + public Mono> createSkillVersionWithResponseAsync(String name, + BinaryData createSkillVersionRequest, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; + final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getSkill(this.client.getEndpoint(), name, foundryFeatures, - this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.createSkillVersion(this.client.getEndpoint(), name, + foundryFeatures, this.client.getServiceVersion().getVersion(), contentType, accept, + createSkillVersionRequest, requestOptions, context)); } /** - * Retrieves a skill. + * Creates a new version of a skill. If the skill does not exist, it will be created. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     inline_content (Optional): {
+     *         description: String (Required)
+     *         instructions: String (Required)
+     *         license: String (Optional)
+     *         compatibility: String (Optional)
+     *         metadata (Optional): {
+     *             String: String (Required)
+     *         }
+     *         allowed_tools (Optional): [
+     *             String (Optional)
+     *         ]
+     *     }
+     *     default: Boolean (Optional)
+     * }
+     * }
+     * 
+ * *

Response Body Schema

* *
      * {@code
      * {
+     *     id: String (Required)
      *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     version: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
      * }
      * }
      * 
* - * @param name The unique name of the skill. + * @param name The name of the skill. If the skill does not exist, it will be created. + * @param createSkillVersionRequest The createSkillVersionRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a skill object along with {@link Response}. + * @return a specific version of a skill along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSkillWithResponse(String name, RequestOptions requestOptions) { + public Response createSkillVersionWithResponse(String name, BinaryData createSkillVersionRequest, + RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; + final String contentType = "application/json"; final String accept = "application/json"; - return service.getSkillSync(this.client.getEndpoint(), name, foundryFeatures, - this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + return service.createSkillVersionSync(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), contentType, accept, createSkillVersionRequest, + requestOptions, Context.NONE); } /** - * Downloads a skill package as a ZIP archive containing {@code SKILL.md}. Returns the original uploaded archive for - * skills created via {@code createSkillFromPackage}; materializes a ZIP from stored instructions for skills created - * via {@code createSkill}. + * Creates a new version of a skill from uploaded files via multipart form data. *

Response Body Schema

* *
      * {@code
-     * BinaryData
+     * {
+     *     id: String (Required)
+     *     skill_id: String (Required)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
+     * }
      * }
      * 
* - * @param name The unique name of the skill. + * @param name The name of the skill. + * @param content The content parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response} on successful completion of {@link Mono}. + * @return a specific version of a skill along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> downloadSkillWithResponseAsync(String name, RequestOptions requestOptions) { + public Mono> createSkillVersionFromFilesWithResponseAsync(String name, BinaryData content, + RequestOptions requestOptions) { + final String contentType = "multipart/form-data"; final String foundryFeatures = "Skills=V1Preview"; - final String accept = "application/zip"; - return FluxUtil.withContext(context -> service.downloadSkill(this.client.getEndpoint(), name, foundryFeatures, - this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.createSkillVersionFromFiles(this.client.getEndpoint(), name, + contentType, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, content, requestOptions, + context)); } /** - * Downloads a skill package as a ZIP archive containing {@code SKILL.md}. Returns the original uploaded archive for - * skills created via {@code createSkillFromPackage}; materializes a ZIP from stored instructions for skills created - * via {@code createSkill}. + * Creates a new version of a skill from uploaded files via multipart form data. *

Response Body Schema

* *
      * {@code
-     * BinaryData
+     * {
+     *     id: String (Required)
+     *     skill_id: String (Required)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
+     * }
      * }
      * 
* - * @param name The unique name of the skill. + * @param name The name of the skill. + * @param content The content parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response}. + * @return a specific version of a skill along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response downloadSkillWithResponse(String name, RequestOptions requestOptions) { + public Response createSkillVersionFromFilesWithResponse(String name, BinaryData content, + RequestOptions requestOptions) { + final String contentType = "multipart/form-data"; final String foundryFeatures = "Skills=V1Preview"; - final String accept = "application/zip"; - return service.downloadSkillSync(this.client.getEndpoint(), name, foundryFeatures, - this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + final String accept = "application/json"; + return service.createSkillVersionFromFilesSync(this.client.getEndpoint(), name, contentType, foundryFeatures, + this.client.getServiceVersion().getVersion(), accept, content, requestOptions, Context.NONE); } /** - * Returns the list of all skills. + * List all versions of a skill. *

Query Parameters

* * @@ -570,17 +968,17 @@ public Response downloadSkillWithResponse(String name, RequestOption *
      * {@code
      * {
+     *     id: String (Required)
      *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     version: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
      * }
      * }
      * 
* + * @param name The name of the skill to list versions for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -590,18 +988,19 @@ public Response downloadSkillWithResponse(String name, RequestOption * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSkillsSinglePageAsync(RequestOptions requestOptions) { + private Mono> listSkillVersionsSinglePageAsync(String name, + RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listSkills(this.client.getEndpoint(), foundryFeatures, + .withContext(context -> service.listSkillVersions(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "data"), null, null)); } /** - * Returns the list of all skills. + * List all versions of a skill. *

Query Parameters

*
Query Parameters
* @@ -627,17 +1026,17 @@ private Mono> listSkillsSinglePageAsync(RequestOptions *
      * {@code
      * {
+     *     id: String (Required)
      *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     version: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
      * }
      * }
      * 
* + * @param name The name of the skill to list versions for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -646,12 +1045,12 @@ private Mono> listSkillsSinglePageAsync(RequestOptions * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listSkillsAsync(RequestOptions requestOptions) { - return new PagedFlux<>(() -> listSkillsSinglePageAsync(requestOptions)); + public PagedFlux listSkillVersionsAsync(String name, RequestOptions requestOptions) { + return new PagedFlux<>(() -> listSkillVersionsSinglePageAsync(name, requestOptions)); } /** - * Returns the list of all skills. + * List all versions of a skill. *

Query Parameters

*
Query Parameters
* @@ -677,17 +1076,17 @@ public PagedFlux listSkillsAsync(RequestOptions requestOptions) { *
      * {@code
      * {
+     *     id: String (Required)
      *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     version: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
      * }
      * }
      * 
* + * @param name The name of the skill to list versions for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -696,17 +1095,17 @@ public PagedFlux listSkillsAsync(RequestOptions requestOptions) { * @return the response data for a requested list of items along with {@link PagedResponse}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listSkillsSinglePage(RequestOptions requestOptions) { + private PagedResponse listSkillVersionsSinglePage(String name, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String accept = "application/json"; - Response res = service.listSkillsSync(this.client.getEndpoint(), foundryFeatures, + Response res = service.listSkillVersionsSync(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "data"), null, null); } /** - * Returns the list of all skills. + * List all versions of a skill. *

Query Parameters

*
Query Parameters
* @@ -732,17 +1131,17 @@ private PagedResponse listSkillsSinglePage(RequestOptions requestOpt *
      * {@code
      * {
+     *     id: String (Required)
      *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     version: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
      * }
      * }
      * 
* + * @param name The name of the skill to list versions for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -751,169 +1150,251 @@ private PagedResponse listSkillsSinglePage(RequestOptions requestOpt * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listSkills(RequestOptions requestOptions) { - return new PagedIterable<>(() -> listSkillsSinglePage(requestOptions)); + public PagedIterable listSkillVersions(String name, RequestOptions requestOptions) { + return new PagedIterable<>(() -> listSkillVersionsSinglePage(name, requestOptions)); } /** - * Updates an existing skill. - *

Request Body Schema

+ * Retrieve a specific version of a skill. + *

Response Body Schema

* *
      * {@code
      * {
-     *     description: String (Optional)
-     *     instructions: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     id: String (Required)
+     *     skill_id: String (Required)
+     *     name: String (Required)
+     *     version: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
      * }
      * }
      * 
* + * @param name The name of the skill. + * @param version The version identifier to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a specific version of a skill along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSkillVersionWithResponseAsync(String name, String version, + RequestOptions requestOptions) { + final String foundryFeatures = "Skills=V1Preview"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getSkillVersion(this.client.getEndpoint(), name, version, + foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Retrieve a specific version of a skill. *

Response Body Schema

* *
      * {@code
      * {
+     *     id: String (Required)
      *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
      *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     *     version: String (Required)
+     *     description: String (Required)
+     *     created_at: long (Required)
      * }
      * }
      * 
* - * @param name The unique name of the skill. - * @param updateSkillRequest The updateSkillRequest parameter. + * @param name The name of the skill. + * @param version The version identifier to retrieve. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a skill object along with {@link Response} on successful completion of {@link Mono}. + * @return a specific version of a skill along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateSkillWithResponseAsync(String name, BinaryData updateSkillRequest, + public Response getSkillVersionWithResponse(String name, String version, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; - final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.updateSkill(this.client.getEndpoint(), name, foundryFeatures, - this.client.getServiceVersion().getVersion(), contentType, accept, updateSkillRequest, requestOptions, - context)); + return service.getSkillVersionSync(this.client.getEndpoint(), name, version, foundryFeatures, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } /** - * Updates an existing skill. - *

Request Body Schema

+ * Download the zip content for the default version of a skill. + *

Response Body Schema

* *
      * {@code
-     * {
-     *     description: String (Optional)
-     *     instructions: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     * BinaryData
      * }
+     * 
+ * + * @param name The name of the skill. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSkillContentWithResponseAsync(String name, RequestOptions requestOptions) { + final String foundryFeatures = "Skills=V1Preview"; + final String accept = "application/zip"; + return FluxUtil.withContext(context -> service.getSkillContent(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Download the zip content for the default version of a skill. + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
      * }
      * 
* + * @param name The name of the skill. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSkillContentWithResponse(String name, RequestOptions requestOptions) { + final String foundryFeatures = "Skills=V1Preview"; + final String accept = "application/zip"; + return service.getSkillContentSync(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + } + + /** + * Download the zip content for a specific version of a skill. *

Response Body Schema

* *
      * {@code
-     * {
-     *     skill_id: String (Required)
-     *     has_blob: boolean (Required)
-     *     name: String (Required)
-     *     description: String (Optional)
-     *     metadata (Optional): {
-     *         String: String (Required)
-     *     }
+     * BinaryData
      * }
+     * 
+ * + * @param name The name of the skill. + * @param version The version to download content for. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSkillVersionContentWithResponseAsync(String name, String version, + RequestOptions requestOptions) { + final String foundryFeatures = "Skills=V1Preview"; + final String accept = "application/zip"; + return FluxUtil.withContext(context -> service.getSkillVersionContent(this.client.getEndpoint(), name, version, + foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Download the zip content for a specific version of a skill. + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
      * }
      * 
* - * @param name The unique name of the skill. - * @param updateSkillRequest The updateSkillRequest parameter. + * @param name The name of the skill. + * @param version The version to download content for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a skill object along with {@link Response}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateSkillWithResponse(String name, BinaryData updateSkillRequest, + public Response getSkillVersionContentWithResponse(String name, String version, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; - final String contentType = "application/json"; - final String accept = "application/json"; - return service.updateSkillSync(this.client.getEndpoint(), name, foundryFeatures, - this.client.getServiceVersion().getVersion(), contentType, accept, updateSkillRequest, requestOptions, - Context.NONE); + final String accept = "application/zip"; + return service.getSkillVersionContentSync(this.client.getEndpoint(), name, version, foundryFeatures, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } /** - * Deletes a skill. + * Delete a specific version of a skill. *

Response Body Schema

* *
      * {@code
      * {
+     *     id: String (Required)
      *     name: String (Required)
      *     deleted: boolean (Required)
+     *     version: String (Required)
      * }
      * }
      * 
* - * @param name The unique name of the skill. + * @param name The name of the skill. + * @param version The version identifier to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a deleted skill Object along with {@link Response} on successful completion of {@link Mono}. + * @return a deleted skill version along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteSkillWithResponseAsync(String name, RequestOptions requestOptions) { + public Mono> deleteSkillVersionWithResponseAsync(String name, String version, + RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.deleteSkill(this.client.getEndpoint(), name, foundryFeatures, - this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.deleteSkillVersion(this.client.getEndpoint(), name, version, + foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } /** - * Deletes a skill. + * Delete a specific version of a skill. *

Response Body Schema

* *
      * {@code
      * {
+     *     id: String (Required)
      *     name: String (Required)
      *     deleted: boolean (Required)
+     *     version: String (Required)
      * }
      * }
      * 
* - * @param name The unique name of the skill. + * @param name The name of the skill. + * @param version The version identifier to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return a deleted skill Object along with {@link Response}. + * @return a deleted skill version along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteSkillWithResponse(String name, RequestOptions requestOptions) { + public Response deleteSkillVersionWithResponse(String name, String version, + RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String accept = "application/json"; - return service.deleteSkillSync(this.client.getEndpoint(), name, foundryFeatures, + return service.deleteSkillVersionSync(this.client.getEndpoint(), name, version, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateSkillRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateSkillRequest.java deleted file mode 100644 index 9e6235dff4c1..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateSkillRequest.java +++ /dev/null @@ -1,198 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.Map; - -/** - * The CreateSkillRequest model. - */ -@Fluent -public final class CreateSkillRequest implements JsonSerializable { - - /* - * The unique name of the skill. - */ - @Generated - private final String name; - - /* - * A human-readable description of the skill. - */ - @Generated - private String description; - - /* - * Instructions that define the behavior of the skill. - */ - @Generated - private String instructions; - - /* - * Set of 16 key-value pairs that can be attached to an object. This can be - * useful for storing additional information about the object in a structured - * format, and querying for objects via API or the dashboard. - * - * Keys are strings with a maximum length of 64 characters. Values are strings - * with a maximum length of 512 characters. - */ - @Generated - private Map metadata; - - /** - * Creates an instance of CreateSkillRequest class. - * - * @param name the name value to set. - */ - @Generated - public CreateSkillRequest(String name) { - this.name = name; - } - - /** - * Get the name property: The unique name of the skill. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the description property: A human-readable description of the skill. - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: A human-readable description of the skill. - * - * @param description the description value to set. - * @return the CreateSkillRequest object itself. - */ - @Generated - public CreateSkillRequest setDescription(String description) { - this.description = description; - return this; - } - - /** - * Get the instructions property: Instructions that define the behavior of the skill. - * - * @return the instructions value. - */ - @Generated - public String getInstructions() { - return this.instructions; - } - - /** - * Set the instructions property: Instructions that define the behavior of the skill. - * - * @param instructions the instructions value to set. - * @return the CreateSkillRequest object itself. - */ - @Generated - public CreateSkillRequest setInstructions(String instructions) { - this.instructions = instructions; - return this; - } - - /** - * Get the metadata property: Set of 16 key-value pairs that can be attached to an object. This can be - * useful for storing additional information about the object in a structured - * format, and querying for objects via API or the dashboard. - * - * Keys are strings with a maximum length of 64 characters. Values are strings - * with a maximum length of 512 characters. - * - * @return the metadata value. - */ - @Generated - public Map getMetadata() { - return this.metadata; - } - - /** - * Set the metadata property: Set of 16 key-value pairs that can be attached to an object. This can be - * useful for storing additional information about the object in a structured - * format, and querying for objects via API or the dashboard. - * - * Keys are strings with a maximum length of 64 characters. Values are strings - * with a maximum length of 512 characters. - * - * @param metadata the metadata value to set. - * @return the CreateSkillRequest object itself. - */ - @Generated - public CreateSkillRequest setMetadata(Map metadata) { - this.metadata = metadata; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("description", this.description); - jsonWriter.writeStringField("instructions", this.instructions); - jsonWriter.writeMapField("metadata", this.metadata, (writer, element) -> writer.writeString(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of CreateSkillRequest from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of CreateSkillRequest if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the CreateSkillRequest. - */ - @Generated - public static CreateSkillRequest fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String name = null; - String description = null; - String instructions = null; - Map metadata = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("instructions".equals(fieldName)) { - instructions = reader.getString(); - } else if ("metadata".equals(fieldName)) { - metadata = reader.readMap(reader1 -> reader1.getString()); - } else { - reader.skipChildren(); - } - } - CreateSkillRequest deserializedCreateSkillRequest = new CreateSkillRequest(name); - deserializedCreateSkillRequest.description = description; - deserializedCreateSkillRequest.instructions = instructions; - deserializedCreateSkillRequest.metadata = metadata; - return deserializedCreateSkillRequest; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java new file mode 100644 index 000000000000..04078f553950 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java @@ -0,0 +1,126 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.implementation.models; + +import com.azure.ai.projects.models.SkillInlineContent; +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The CreateSkillVersionRequest model. + */ +@Fluent +public final class CreateSkillVersionRequest implements JsonSerializable { + /* + * Inline skill content for simple skills without file uploads. Foundry-specific extension. + */ + @Generated + private SkillInlineContent inlineContent; + + /* + * Whether to set this version as the default. + */ + @Generated + private Boolean defaultProperty; + + /** + * Creates an instance of CreateSkillVersionRequest class. + */ + @Generated + public CreateSkillVersionRequest() { + } + + /** + * Get the inlineContent property: Inline skill content for simple skills without file uploads. Foundry-specific + * extension. + * + * @return the inlineContent value. + */ + @Generated + public SkillInlineContent getInlineContent() { + return this.inlineContent; + } + + /** + * Set the inlineContent property: Inline skill content for simple skills without file uploads. Foundry-specific + * extension. + * + * @param inlineContent the inlineContent value to set. + * @return the CreateSkillVersionRequest object itself. + */ + @Generated + public CreateSkillVersionRequest setInlineContent(SkillInlineContent inlineContent) { + this.inlineContent = inlineContent; + return this; + } + + /** + * Get the defaultProperty property: Whether to set this version as the default. + * + * @return the defaultProperty value. + */ + @Generated + public Boolean isDefaultProperty() { + return this.defaultProperty; + } + + /** + * Set the defaultProperty property: Whether to set this version as the default. + * + * @param defaultProperty the defaultProperty value to set. + * @return the CreateSkillVersionRequest object itself. + */ + @Generated + public CreateSkillVersionRequest setDefaultProperty(Boolean defaultProperty) { + this.defaultProperty = defaultProperty; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("inline_content", this.inlineContent); + jsonWriter.writeBooleanField("default", this.defaultProperty); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of CreateSkillVersionRequest from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of CreateSkillVersionRequest if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IOException If an error occurs while reading the CreateSkillVersionRequest. + */ + @Generated + public static CreateSkillVersionRequest fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + CreateSkillVersionRequest deserializedCreateSkillVersionRequest = new CreateSkillVersionRequest(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("inline_content".equals(fieldName)) { + deserializedCreateSkillVersionRequest.inlineContent = SkillInlineContent.fromJson(reader); + } else if ("default".equals(fieldName)) { + deserializedCreateSkillVersionRequest.defaultProperty = reader.getNullable(JsonReader::getBoolean); + } else { + reader.skipChildren(); + } + } + + return deserializedCreateSkillVersionRequest; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java index 851a212a14b3..82c8c2673157 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java @@ -3,127 +3,20 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.ai.projects.implementation.models; -import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; -import java.util.Map; /** * The UpdateSkillRequest model. */ -@Fluent +@Immutable public final class UpdateSkillRequest implements JsonSerializable { - /* - * A human-readable description of the skill. - */ - @Generated - private String description; - - /* - * Instructions that define the behavior of the skill. - */ - @Generated - private String instructions; - - /* - * Set of 16 key-value pairs that can be attached to an object. This can be - * useful for storing additional information about the object in a structured - * format, and querying for objects via API or the dashboard. - * - * Keys are strings with a maximum length of 64 characters. Values are strings - * with a maximum length of 512 characters. - */ - @Generated - private Map metadata; - - /** - * Creates an instance of UpdateSkillRequest class. - */ - @Generated - public UpdateSkillRequest() { - } - - /** - * Get the description property: A human-readable description of the skill. - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: A human-readable description of the skill. - * - * @param description the description value to set. - * @return the UpdateSkillRequest object itself. - */ - @Generated - public UpdateSkillRequest setDescription(String description) { - this.description = description; - return this; - } - - /** - * Get the instructions property: Instructions that define the behavior of the skill. - * - * @return the instructions value. - */ - @Generated - public String getInstructions() { - return this.instructions; - } - - /** - * Set the instructions property: Instructions that define the behavior of the skill. - * - * @param instructions the instructions value to set. - * @return the UpdateSkillRequest object itself. - */ - @Generated - public UpdateSkillRequest setInstructions(String instructions) { - this.instructions = instructions; - return this; - } - - /** - * Get the metadata property: Set of 16 key-value pairs that can be attached to an object. This can be - * useful for storing additional information about the object in a structured - * format, and querying for objects via API or the dashboard. - * - * Keys are strings with a maximum length of 64 characters. Values are strings - * with a maximum length of 512 characters. - * - * @return the metadata value. - */ - @Generated - public Map getMetadata() { - return this.metadata; - } - - /** - * Set the metadata property: Set of 16 key-value pairs that can be attached to an object. This can be - * useful for storing additional information about the object in a structured - * format, and querying for objects via API or the dashboard. - * - * Keys are strings with a maximum length of 64 characters. Values are strings - * with a maximum length of 512 characters. - * - * @param metadata the metadata value to set. - * @return the UpdateSkillRequest object itself. - */ - @Generated - public UpdateSkillRequest setMetadata(Map metadata) { - this.metadata = metadata; - return this; - } - /** * {@inheritDoc} */ @@ -131,9 +24,7 @@ public UpdateSkillRequest setMetadata(Map metadata) { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("description", this.description); - jsonWriter.writeStringField("instructions", this.instructions); - jsonWriter.writeMapField("metadata", this.metadata, (writer, element) -> writer.writeString(element)); + jsonWriter.writeStringField("default_version", this.defaultVersion); return jsonWriter.writeEndObject(); } @@ -143,27 +34,51 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of UpdateSkillRequest if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. * @throws IOException If an error occurs while reading the UpdateSkillRequest. */ @Generated public static UpdateSkillRequest fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - UpdateSkillRequest deserializedUpdateSkillRequest = new UpdateSkillRequest(); + String defaultVersion = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("description".equals(fieldName)) { - deserializedUpdateSkillRequest.description = reader.getString(); - } else if ("instructions".equals(fieldName)) { - deserializedUpdateSkillRequest.instructions = reader.getString(); - } else if ("metadata".equals(fieldName)) { - Map metadata = reader.readMap(reader1 -> reader1.getString()); - deserializedUpdateSkillRequest.metadata = metadata; + if ("default_version".equals(fieldName)) { + defaultVersion = reader.getString(); } else { reader.skipChildren(); } } - return deserializedUpdateSkillRequest; + return new UpdateSkillRequest(defaultVersion); }); } + + /* + * The version identifier that the skill should point to. When set, the skill's default version will resolve to this + * version instead of the latest. + */ + @Generated + private final String defaultVersion; + + /** + * Creates an instance of UpdateSkillRequest class. + * + * @param defaultVersion the defaultVersion value to set. + */ + @Generated + public UpdateSkillRequest(String defaultVersion) { + this.defaultVersion = defaultVersion; + } + + /** + * Get the defaultVersion property: The version identifier that the skill should point to. When set, the skill's + * default version will resolve to this version instead of the latest. + * + * @return the defaultVersion value. + */ + @Generated + public String getDefaultVersion() { + return this.defaultVersion; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java new file mode 100644 index 000000000000..0af356ab7ed5 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java @@ -0,0 +1,72 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import java.util.List; + +/** + * Multipart request body for creating a skill version from files. Accepts either a single zip file or multiple + * individual skill files (directory upload). For zip uploads, the server extracts and validates contents. For directory + * uploads, files are validated as-is. + */ +@Fluent +public final class CreateSkillVersionFromFilesBody { + /* + * Skill files to upload. Upload a single zip file or multiple individual files with relative paths. + */ + @Generated + private final List files; + + /* + * Whether to set this version as the default. Defaults to false. + */ + @Generated + private Boolean defaultProperty; + + /** + * Creates an instance of CreateSkillVersionFromFilesBody class. + * + * @param files the files value to set. + */ + @Generated + public CreateSkillVersionFromFilesBody(List files) { + this.files = files; + } + + /** + * Get the files property: Skill files to upload. Upload a single zip file or multiple individual files with + * relative paths. + * + * @return the files value. + */ + @Generated + public List getFiles() { + return this.files; + } + + /** + * Get the defaultProperty property: Whether to set this version as the default. Defaults to false. + * + * @return the defaultProperty value. + */ + @Generated + public Boolean isDefaultProperty() { + return this.defaultProperty; + } + + /** + * Set the defaultProperty property: Whether to set this version as the default. Defaults to false. + * + * @param defaultProperty the defaultProperty value to set. + * @return the CreateSkillVersionFromFilesBody object itself. + */ + @Generated + public CreateSkillVersionFromFilesBody setDefaultProperty(Boolean defaultProperty) { + this.defaultProperty = defaultProperty; + return this; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CronTrigger.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CronTrigger.java index 23a2cce73c8b..92253f08e4c7 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CronTrigger.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CronTrigger.java @@ -32,7 +32,7 @@ public final class CronTrigger extends Trigger { private final String expression; /* - * Time zone for the cron schedule. + * Time zone for the cron schedule. Defaults to `UTC`. */ @Generated private String timeZone; @@ -71,7 +71,7 @@ public String getExpression() { } /** - * Get the timeZone property: Time zone for the cron schedule. + * Get the timeZone property: Time zone for the cron schedule. Defaults to `UTC`. * * @return the timeZone value. */ @@ -197,7 +197,7 @@ public CronTrigger setEndTime(OffsetDateTime endTime) { } /** - * Set the timeZone property: Time zone for the cron schedule. + * Set the timeZone property: Time zone for the cron schedule. Defaults to `UTC`. * * @param timeZone the timeZone value to set. * @return the CronTrigger object itself. diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java index 5a2348814daf..85651698eaba 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java @@ -115,8 +115,6 @@ public static DataGenerationJobSource fromJson(JsonReader jsonReader) throws IOE return AgentDataGenerationJobSource.fromJson(readerToUse.reset()); } else if ("traces".equals(discriminatorValue)) { return TracesDataGenerationJobSource.fromJson(readerToUse.reset()); - } else if ("dataset".equals(discriminatorValue)) { - return DatasetDataGenerationJobSource.fromJson(readerToUse.reset()); } else if ("file".equals(discriminatorValue)) { return FileDataGenerationJobSource.fromJson(readerToUse.reset()); } else { diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java index b93f4d48b656..20310e7e5653 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java @@ -30,12 +30,6 @@ public final class DataGenerationJobSourceType extends ExpandableStringEnum { - String name = null; - DataGenerationJobSourceType type = DataGenerationJobSourceType.DATASET; - String description = null; - String version = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("type".equals(fieldName)) { - type = DataGenerationJobSourceType.fromString(reader.getString()); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("version".equals(fieldName)) { - version = reader.getString(); - } else { - reader.skipChildren(); - } - } - DatasetDataGenerationJobSource deserializedDatasetDataGenerationJobSource - = new DatasetDataGenerationJobSource(name); - deserializedDatasetDataGenerationJobSource.type = type; - deserializedDatasetDataGenerationJobSource.description = description; - deserializedDatasetDataGenerationJobSource.version = version; - return deserializedDatasetDataGenerationJobSource; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DeleteSkillVersionResponse.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DeleteSkillVersionResponse.java new file mode 100644 index 000000000000..9911a02f89d3 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DeleteSkillVersionResponse.java @@ -0,0 +1,149 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A deleted skill version. + */ +@Immutable +public final class DeleteSkillVersionResponse implements JsonSerializable { + /* + * The unique identifier of the deleted skill version. + */ + @Generated + private final String id; + + /* + * The name of the skill. + */ + @Generated + private final String name; + + /* + * Whether the skill version was successfully deleted. + */ + @Generated + private final boolean deleted; + + /* + * The version that was deleted. + */ + @Generated + private final String version; + + /** + * Creates an instance of DeleteSkillVersionResponse class. + * + * @param id the id value to set. + * @param name the name value to set. + * @param deleted the deleted value to set. + * @param version the version value to set. + */ + @Generated + private DeleteSkillVersionResponse(String id, String name, boolean deleted, String version) { + this.id = id; + this.name = name; + this.deleted = deleted; + this.version = version; + } + + /** + * Get the id property: The unique identifier of the deleted skill version. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } + + /** + * Get the name property: The name of the skill. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the deleted property: Whether the skill version was successfully deleted. + * + * @return the deleted value. + */ + @Generated + public boolean isDeleted() { + return this.deleted; + } + + /** + * Get the version property: The version that was deleted. + * + * @return the version value. + */ + @Generated + public String getVersion() { + return this.version; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("id", this.id); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeBooleanField("deleted", this.deleted); + jsonWriter.writeStringField("version", this.version); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DeleteSkillVersionResponse from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DeleteSkillVersionResponse if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the DeleteSkillVersionResponse. + */ + @Generated + public static DeleteSkillVersionResponse fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String id = null; + String name = null; + boolean deleted = false; + String version = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + id = reader.getString(); + } else if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("deleted".equals(fieldName)) { + deleted = reader.getBoolean(); + } else if ("version".equals(fieldName)) { + version = reader.getString(); + } else { + reader.skipChildren(); + } + } + return new DeleteSkillVersionResponse(id, name, deleted, version); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Dimension.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Dimension.java index 0d6e9e9bb179..6676f9a76f0f 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Dimension.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Dimension.java @@ -34,7 +34,7 @@ public final class Dimension implements JsonSerializable { /* * When true, the LLM judge always scores this dimension regardless of relevance (skips applicability assessment). * The service-generated general quality/policy dimension has this set to true and is non-editable. Users may set - * this on their own custom dimensions. + * this on their own custom dimensions. Defaults to `false`. */ @Generated private Boolean alwaysApplicable; @@ -78,7 +78,7 @@ public int getWeight() { /** * Get the alwaysApplicable property: When true, the LLM judge always scores this dimension regardless of relevance * (skips applicability assessment). The service-generated general quality/policy dimension has this set to true and - * is non-editable. Users may set this on their own custom dimensions. + * is non-editable. Users may set this on their own custom dimensions. Defaults to `false`. * * @return the alwaysApplicable value. */ @@ -90,7 +90,7 @@ public Boolean isAlwaysApplicable() { /** * Set the alwaysApplicable property: When true, the LLM judge always scores this dimension regardless of relevance * (skips applicability assessment). The service-generated general quality/policy dimension has this set to true and - * is non-editable. Users may set this on their own custom dimensions. + * is non-editable. Users may set this on their own custom dimensions. Defaults to `false`. * * @param alwaysApplicable the alwaysApplicable value to set. * @return the Dimension object itself. diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FilesFileDetails.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FilesFileDetails.java new file mode 100644 index 000000000000..aa4f31c722d8 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FilesFileDetails.java @@ -0,0 +1,137 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; + +/** + * A file in an HTTP request, response, or multipart payload. + * + * A file in an HTTP request, response, or multipart payload. + * + * Files have a special meaning that the HTTP library understands. When the body of an HTTP request, response, + * or multipart payload is _effectively_ an instance of `TypeSpec.Http.File` or any type that extends it, the + * operation is treated as a file upload or download. + * + * When using file bodies, the fields of the file model are defined to come from particular locations by default: + * + * - `contentType`: The `Content-Type` header of the request, response, or multipart payload (CANNOT be overridden or + * changed). + * - `contents`: The body of the request, response, or multipart payload (CANNOT be overridden or changed). + * - `filename`: The `filename` parameter value of the `Content-Disposition` header of the response or multipart payload + * (MAY be overridden or changed). + * + * A File may be used as a normal structured JSON object in a request or response, if the request specifies an explicit + * `Content-Type` header. In this case, the entire File model is serialized as if it were any other model. In a JSON + * payload, + * it will have a structure like: + * + * ``` + * { + * "contentType": <string?>, + * "filename": <string?>, + * "contents": <string, base64> + * } + * ``` + * + * The `contentType` _within_ the file defines what media types the data inside the file can be, but if the + * specification + * defines a `Content-Type` for the payload as HTTP metadata, that `Content-Type` metadata defines _how the file is + * serialized_. See the examples below for more information. + * + * NOTE: The `filename` and `contentType` fields are optional. Furthermore, the default location of `filename` + * (`Content-Disposition: <disposition>; filename=<filename>`) is only valid in HTTP responses and multipart + * payloads. If + * you wish to send the `filename` in a request, you must use HTTP metadata decorators to describe the location of the + * `filename` field. You can combine the metadata decorators with `@visibility` to control when the `filename` + * location + * is overridden, as shown in the examples below. + */ +@Fluent +public final class FilesFileDetails { + /* + * The content of the file. + */ + @Generated + private final BinaryData content; + + /* + * The filename of the file. + */ + @Generated + private String filename; + + /* + * The content-type of the file. + */ + @Generated + private String contentType = "application/octet-stream"; + + /** + * Creates an instance of FilesFileDetails class. + * + * @param content the content value to set. + */ + @Generated + public FilesFileDetails(BinaryData content) { + this.content = content; + } + + /** + * Get the content property: The content of the file. + * + * @return the content value. + */ + @Generated + public BinaryData getContent() { + return this.content; + } + + /** + * Get the filename property: The filename of the file. + * + * @return the filename value. + */ + @Generated + public String getFilename() { + return this.filename; + } + + /** + * Set the filename property: The filename of the file. + * + * @param filename the filename value to set. + * @return the FilesFileDetails object itself. + */ + @Generated + public FilesFileDetails setFilename(String filename) { + this.filename = filename; + return this; + } + + /** + * Get the contentType property: The content-type of the file. + * + * @return the contentType value. + */ + @Generated + public String getContentType() { + return this.contentType; + } + + /** + * Set the contentType property: The content-type of the file. + * + * @param contentType the contentType value to set. + * @return the FilesFileDetails object itself. + */ + @Generated + public FilesFileDetails setContentType(String contentType) { + this.contentType = contentType; + return this; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java index 806b11ebd824..51b52cdea0f7 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java @@ -32,7 +32,7 @@ public final class OneTimeTrigger extends Trigger { private final OffsetDateTime triggerAt; /* - * Time zone for the one-time trigger. + * Time zone for the one-time trigger. Defaults to `UTC`. */ @Generated private String timeZone; @@ -59,7 +59,7 @@ public OffsetDateTime getTriggerAt() { } /** - * Get the timeZone property: Time zone for the one-time trigger. + * Get the timeZone property: Time zone for the one-time trigger. Defaults to `UTC`. * * @return the timeZone value. */ @@ -129,7 +129,7 @@ public OneTimeTrigger(OffsetDateTime triggerAt) { } /** - * Set the timeZone property: Time zone for the one-time trigger. + * Set the timeZone property: Time zone for the one-time trigger. Defaults to `UTC`. * * @param timeZone the timeZone value to set. * @return the OneTimeTrigger object itself. diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java index f0537df8649c..1847525919b9 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java @@ -39,7 +39,7 @@ public final class RecurrenceTrigger extends Trigger { private OffsetDateTime endTime; /* - * Time zone for the recurrence schedule. + * Time zone for the recurrence schedule. Defaults to `UTC`. */ @Generated private TimeZone timeZone; @@ -88,7 +88,7 @@ public OffsetDateTime getEndTime() { } /** - * Get the timeZone property: Time zone for the recurrence schedule. + * Get the timeZone property: Time zone for the recurrence schedule. Defaults to `UTC`. * * @return the timeZone value. */ @@ -219,7 +219,7 @@ public RecurrenceTrigger setEndTime(OffsetDateTime endTime) { } /** - * Set the timeZone property: Time zone for the recurrence schedule. + * Set the timeZone property: Time zone for the recurrence schedule. Defaults to `UTC`. * * @param timeZone the timeZone value to set. * @return the RecurrenceTrigger object itself. diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Skill.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Skill.java new file mode 100644 index 000000000000..49da7420d1e2 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Skill.java @@ -0,0 +1,201 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; + +/** + * A skill resource. + */ +@Immutable +public final class Skill implements JsonSerializable { + /* + * The unique identifier of the skill. + */ + @Generated + private final String id; + + /* + * The unique name of the skill. + */ + @Generated + private final String name; + + /* + * A human-readable description of the skill. + */ + @Generated + private final String description; + + /* + * The Unix timestamp (seconds) when the skill was created. + */ + @Generated + private final long createdAt; + + /* + * The default version for the skill. Can be changed via updateSkill. + */ + @Generated + private final String defaultVersion; + + /* + * The latest version for the skill. + */ + @Generated + private final String latestVersion; + + /** + * Creates an instance of Skill class. + * + * @param id the id value to set. + * @param name the name value to set. + * @param description the description value to set. + * @param createdAt the createdAt value to set. + * @param defaultVersion the defaultVersion value to set. + * @param latestVersion the latestVersion value to set. + */ + @Generated + private Skill(String id, String name, String description, OffsetDateTime createdAt, String defaultVersion, + String latestVersion) { + this.id = id; + this.name = name; + this.description = description; + if (createdAt == null) { + this.createdAt = 0L; + } else { + this.createdAt = createdAt.toEpochSecond(); + } + this.defaultVersion = defaultVersion; + this.latestVersion = latestVersion; + } + + /** + * Get the id property: The unique identifier of the skill. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } + + /** + * Get the name property: The unique name of the skill. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the description property: A human-readable description of the skill. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Get the createdAt property: The Unix timestamp (seconds) when the skill was created. + * + * @return the createdAt value. + */ + @Generated + public OffsetDateTime getCreatedAt() { + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.createdAt), ZoneOffset.UTC); + } + + /** + * Get the defaultVersion property: The default version for the skill. Can be changed via updateSkill. + * + * @return the defaultVersion value. + */ + @Generated + public String getDefaultVersion() { + return this.defaultVersion; + } + + /** + * Get the latestVersion property: The latest version for the skill. + * + * @return the latestVersion value. + */ + @Generated + public String getLatestVersion() { + return this.latestVersion; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("id", this.id); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeLongField("created_at", this.createdAt); + jsonWriter.writeStringField("default_version", this.defaultVersion); + jsonWriter.writeStringField("latest_version", this.latestVersion); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of Skill from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of Skill if the JsonReader was pointing to an instance of it, or null if it was pointing to + * JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the Skill. + */ + @Generated + public static Skill fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String id = null; + String name = null; + String description = null; + OffsetDateTime createdAt = null; + String defaultVersion = null; + String latestVersion = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + id = reader.getString(); + } else if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("created_at".equals(fieldName)) { + createdAt = OffsetDateTime.ofInstant(Instant.ofEpochSecond(reader.getLong()), ZoneOffset.UTC); + } else if ("default_version".equals(fieldName)) { + defaultVersion = reader.getString(); + } else if ("latest_version".equals(fieldName)) { + latestVersion = reader.getString(); + } else { + reader.skipChildren(); + } + } + return new Skill(id, name, description, createdAt, defaultVersion, latestVersion); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillDetails.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillDetails.java deleted file mode 100644 index dd93ccb5d611..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillDetails.java +++ /dev/null @@ -1,180 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.Map; - -/** - * A skill object. - */ -@Immutable -public final class SkillDetails implements JsonSerializable { - - /* - * The unique identifier of the skill. - */ - @Generated - private final String skillId; - - /* - * Whether the skill was created from a zip blob package. - */ - @Generated - private final boolean blobPresent; - - /* - * The unique name of the skill. - */ - @Generated - private final String name; - - /* - * A human-readable description of the skill. - */ - @Generated - private String description; - - /* - * Set of 16 key-value pairs that can be attached to an object. This can be - * useful for storing additional information about the object in a structured - * format, and querying for objects via API or the dashboard. - * - * Keys are strings with a maximum length of 64 characters. Values are strings - * with a maximum length of 512 characters. - */ - @Generated - private Map metadata; - - /** - * Creates an instance of SkillDetails class. - * - * @param skillId the skillId value to set. - * @param blobPresent the blobPresent value to set. - * @param name the name value to set. - */ - @Generated - private SkillDetails(String skillId, boolean blobPresent, String name) { - this.skillId = skillId; - this.blobPresent = blobPresent; - this.name = name; - } - - /** - * Get the skillId property: The unique identifier of the skill. - * - * @return the skillId value. - */ - @Generated - public String getSkillId() { - return this.skillId; - } - - /** - * Get the blobPresent property: Whether the skill was created from a zip blob package. - * - * @return the blobPresent value. - */ - @Generated - public boolean isBlobPresent() { - return this.blobPresent; - } - - /** - * Get the name property: The unique name of the skill. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the description property: A human-readable description of the skill. - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Get the metadata property: Set of 16 key-value pairs that can be attached to an object. This can be - * useful for storing additional information about the object in a structured - * format, and querying for objects via API or the dashboard. - * - * Keys are strings with a maximum length of 64 characters. Values are strings - * with a maximum length of 512 characters. - * - * @return the metadata value. - */ - @Generated - public Map getMetadata() { - return this.metadata; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("skill_id", this.skillId); - jsonWriter.writeBooleanField("has_blob", this.blobPresent); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("description", this.description); - jsonWriter.writeMapField("metadata", this.metadata, (writer, element) -> writer.writeString(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of SkillDetails from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of SkillDetails if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the SkillDetails. - */ - @Generated - public static SkillDetails fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String skillId = null; - boolean blobPresent = false; - String name = null; - String description = null; - Map metadata = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("skill_id".equals(fieldName)) { - skillId = reader.getString(); - } else if ("has_blob".equals(fieldName)) { - blobPresent = reader.getBoolean(); - } else if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("metadata".equals(fieldName)) { - metadata = reader.readMap(reader1 -> reader1.getString()); - } else { - reader.skipChildren(); - } - } - SkillDetails deserializedSkillDetails = new SkillDetails(skillId, blobPresent, name); - deserializedSkillDetails.description = description; - deserializedSkillDetails.metadata = metadata; - return deserializedSkillDetails; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillInlineContent.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillInlineContent.java new file mode 100644 index 000000000000..4798cce33498 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillInlineContent.java @@ -0,0 +1,244 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; +import java.util.Map; + +/** + * Inline content for defining a simple skill without uploading files. Follows the agentskills.io SKILL.md + * specification. + */ +@Fluent +public final class SkillInlineContent implements JsonSerializable { + /* + * A human-readable description of what the skill does and when to use it. + */ + @Generated + private final String description; + + /* + * The skill instructions in markdown format. This is the body content of the SKILL.md file. + */ + @Generated + private final String instructions; + + /* + * License name or reference to a bundled license file. + */ + @Generated + private String license; + + /* + * Environment requirements or compatibility notes for the skill. + */ + @Generated + private String compatibility; + + /* + * Arbitrary key-value metadata for additional properties. + */ + @Generated + private Map metadata; + + /* + * List of pre-approved tools the skill may use. Experimental. + */ + @Generated + private List allowedTools; + + /** + * Creates an instance of SkillInlineContent class. + * + * @param description the description value to set. + * @param instructions the instructions value to set. + */ + @Generated + public SkillInlineContent(String description, String instructions) { + this.description = description; + this.instructions = instructions; + } + + /** + * Get the description property: A human-readable description of what the skill does and when to use it. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Get the instructions property: The skill instructions in markdown format. This is the body content of the + * SKILL.md file. + * + * @return the instructions value. + */ + @Generated + public String getInstructions() { + return this.instructions; + } + + /** + * Get the license property: License name or reference to a bundled license file. + * + * @return the license value. + */ + @Generated + public String getLicense() { + return this.license; + } + + /** + * Set the license property: License name or reference to a bundled license file. + * + * @param license the license value to set. + * @return the SkillInlineContent object itself. + */ + @Generated + public SkillInlineContent setLicense(String license) { + this.license = license; + return this; + } + + /** + * Get the compatibility property: Environment requirements or compatibility notes for the skill. + * + * @return the compatibility value. + */ + @Generated + public String getCompatibility() { + return this.compatibility; + } + + /** + * Set the compatibility property: Environment requirements or compatibility notes for the skill. + * + * @param compatibility the compatibility value to set. + * @return the SkillInlineContent object itself. + */ + @Generated + public SkillInlineContent setCompatibility(String compatibility) { + this.compatibility = compatibility; + return this; + } + + /** + * Get the metadata property: Arbitrary key-value metadata for additional properties. + * + * @return the metadata value. + */ + @Generated + public Map getMetadata() { + return this.metadata; + } + + /** + * Set the metadata property: Arbitrary key-value metadata for additional properties. + * + * @param metadata the metadata value to set. + * @return the SkillInlineContent object itself. + */ + @Generated + public SkillInlineContent setMetadata(Map metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get the allowedTools property: List of pre-approved tools the skill may use. Experimental. + * + * @return the allowedTools value. + */ + @Generated + public List getAllowedTools() { + return this.allowedTools; + } + + /** + * Set the allowedTools property: List of pre-approved tools the skill may use. Experimental. + * + * @param allowedTools the allowedTools value to set. + * @return the SkillInlineContent object itself. + */ + @Generated + public SkillInlineContent setAllowedTools(List allowedTools) { + this.allowedTools = allowedTools; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeStringField("instructions", this.instructions); + jsonWriter.writeStringField("license", this.license); + jsonWriter.writeStringField("compatibility", this.compatibility); + jsonWriter.writeMapField("metadata", this.metadata, (writer, element) -> writer.writeString(element)); + jsonWriter.writeArrayField("allowed_tools", this.allowedTools, + (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SkillInlineContent from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SkillInlineContent if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the SkillInlineContent. + */ + @Generated + public static SkillInlineContent fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String description = null; + String instructions = null; + String license = null; + String compatibility = null; + Map metadata = null; + List allowedTools = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("instructions".equals(fieldName)) { + instructions = reader.getString(); + } else if ("license".equals(fieldName)) { + license = reader.getString(); + } else if ("compatibility".equals(fieldName)) { + compatibility = reader.getString(); + } else if ("metadata".equals(fieldName)) { + metadata = reader.readMap(reader1 -> reader1.getString()); + } else if ("allowed_tools".equals(fieldName)) { + allowedTools = reader.readArray(reader1 -> reader1.getString()); + } else { + reader.skipChildren(); + } + } + SkillInlineContent deserializedSkillInlineContent = new SkillInlineContent(description, instructions); + deserializedSkillInlineContent.license = license; + deserializedSkillInlineContent.compatibility = compatibility; + deserializedSkillInlineContent.metadata = metadata; + deserializedSkillInlineContent.allowedTools = allowedTools; + + return deserializedSkillInlineContent; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillVersion.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillVersion.java new file mode 100644 index 000000000000..f57e56201ba4 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillVersion.java @@ -0,0 +1,201 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneOffset; + +/** + * A specific version of a skill. + */ +@Immutable +public final class SkillVersion implements JsonSerializable { + /* + * The unique identifier of the skill version. + */ + @Generated + private final String id; + + /* + * The identifier of the parent skill. + */ + @Generated + private final String skillId; + + /* + * The name of the skill version. + */ + @Generated + private final String name; + + /* + * The version identifier. Skill versions are immutable. + */ + @Generated + private final String version; + + /* + * A human-readable description of the skill version. + */ + @Generated + private final String description; + + /* + * The Unix timestamp (seconds) when the skill version was created. + */ + @Generated + private final long createdAt; + + /** + * Creates an instance of SkillVersion class. + * + * @param id the id value to set. + * @param skillId the skillId value to set. + * @param name the name value to set. + * @param version the version value to set. + * @param description the description value to set. + * @param createdAt the createdAt value to set. + */ + @Generated + private SkillVersion(String id, String skillId, String name, String version, String description, + OffsetDateTime createdAt) { + this.id = id; + this.skillId = skillId; + this.name = name; + this.version = version; + this.description = description; + if (createdAt == null) { + this.createdAt = 0L; + } else { + this.createdAt = createdAt.toEpochSecond(); + } + } + + /** + * Get the id property: The unique identifier of the skill version. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } + + /** + * Get the skillId property: The identifier of the parent skill. + * + * @return the skillId value. + */ + @Generated + public String getSkillId() { + return this.skillId; + } + + /** + * Get the name property: The name of the skill version. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the version property: The version identifier. Skill versions are immutable. + * + * @return the version value. + */ + @Generated + public String getVersion() { + return this.version; + } + + /** + * Get the description property: A human-readable description of the skill version. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Get the createdAt property: The Unix timestamp (seconds) when the skill version was created. + * + * @return the createdAt value. + */ + @Generated + public OffsetDateTime getCreatedAt() { + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.createdAt), ZoneOffset.UTC); + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("id", this.id); + jsonWriter.writeStringField("skill_id", this.skillId); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("version", this.version); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeLongField("created_at", this.createdAt); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SkillVersion from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SkillVersion if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the SkillVersion. + */ + @Generated + public static SkillVersion fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String id = null; + String skillId = null; + String name = null; + String version = null; + String description = null; + OffsetDateTime createdAt = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + id = reader.getString(); + } else if ("skill_id".equals(fieldName)) { + skillId = reader.getString(); + } else if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("version".equals(fieldName)) { + version = reader.getString(); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("created_at".equals(fieldName)) { + createdAt = OffsetDateTime.ofInstant(Instant.ofEpochSecond(reader.getLong()), ZoneOffset.UTC); + } else { + reader.skipChildren(); + } + } + return new SkillVersion(id, skillId, name, version, description, createdAt); + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json index 515fd74c6c04..cdf415e4cf03 100644 --- a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json +++ b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"81ed11d53aa0","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsAsyncClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkill":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.createSkillFromPackage":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillFromPackageWithResponse":"Azure.AI.Projects.Skills.createSkillFromPackage","com.azure.ai.projects.SkillsClient.createSkillWithResponse":"Azure.AI.Projects.Skills.createSkill","com.azure.ai.projects.SkillsClient.downloadSkill":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.downloadSkillWithResponse":"Azure.AI.Projects.Skills.downloadSkill","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillRequest":"Azure.AI.Projects.createSkill.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ApplyPatchToolParam":"OpenAI.ApplyPatchToolParam","com.azure.ai.projects.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AutoCodeInterpreterToolParam":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.projects.models.ComputerEnvironment":"OpenAI.ComputerEnvironment","com.azure.ai.projects.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContainerAutoParam":"OpenAI.ContainerAutoParam","com.azure.ai.projects.models.ContainerMemoryLimit":"OpenAI.ContainerMemoryLimit","com.azure.ai.projects.models.ContainerNetworkPolicyAllowlistParam":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.projects.models.ContainerNetworkPolicyDisabledParam":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.projects.models.ContainerNetworkPolicyDomainSecretParam":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.projects.models.ContainerNetworkPolicyParam":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.projects.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.projects.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.projects.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.CustomGrammarFormatParam":"OpenAI.CustomGrammarFormatParam","com.azure.ai.projects.models.CustomTextFormatParam":"OpenAI.CustomTextFormatParam","com.azure.ai.projects.models.CustomToolParam":"OpenAI.CustomToolParam","com.azure.ai.projects.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.projects.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetDataGenerationJobSource":"Azure.AI.Projects.DatasetDataGenerationJobSource","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.FunctionShellToolParam":"OpenAI.FunctionShellToolParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentContainerReferenceParam":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentLocalEnvironmentParam":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.projects.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.projects.models.GitHubIssueOpenedRoutineTrigger":"Azure.AI.Projects.GitHubIssueOpenedRoutineTrigger","com.azure.ai.projects.models.GrammarSyntax":"Azure.AI.Projects.GrammarSyntaxExpandable","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.projects.models.ImageGenActionEnum":"OpenAI.ImageGenActionEnum","com.azure.ai.projects.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.projects.models.ImageGenToolBackground":"OpenAI.ImageGenTool.background.anonymous","com.azure.ai.projects.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.projects.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.projects.models.ImageGenToolModeration":"OpenAI.ImageGenTool.moderation.anonymous","com.azure.ai.projects.models.ImageGenToolOutputFormat":"OpenAI.ImageGenTool.output_format.anonymous","com.azure.ai.projects.models.ImageGenToolQuality":"OpenAI.ImageGenTool.quality.anonymous","com.azure.ai.projects.models.ImageGenToolSize":"OpenAI.ImageGenTool.size.anonymous","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.InlineSkillParam":"OpenAI.InlineSkillParam","com.azure.ai.projects.models.InlineSkillSourceParam":"OpenAI.InlineSkillSourceParam","com.azure.ai.projects.models.InputFidelity":"OpenAI.InputFidelity","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LocalShellToolParam":"OpenAI.LocalShellToolParam","com.azure.ai.projects.models.LocalSkillParam":"OpenAI.LocalSkillParam","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.MCPTool":"OpenAI.MCPTool","com.azure.ai.projects.models.MCPToolConnectorId":"OpenAI.MCPTool.connector_id.anonymous","com.azure.ai.projects.models.MCPToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.projects.models.MCPToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RankerVersionType":"OpenAI.RankerVersionType","com.azure.ai.projects.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunDiagnostics":"Azure.AI.Projects.RoutineRunDiagnostics","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SearchContextSize":"OpenAI.SearchContextSize","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.SkillDetails":"Azure.AI.Projects.SkillObject","com.azure.ai.projects.models.SkillReferenceParam":"OpenAI.SkillReferenceParam","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.Tool":"OpenAI.Tool","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolType":"OpenAI.ToolType","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.projects.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.projects.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.projects.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.projects.models.WebSearchToolSearchContextSize":"OpenAI.WebSearchTool.search_context_size.anonymous","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java","src/main/java/com/azure/ai/projects/models/ApproximateLocation.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/projects/models/ComputerEnvironment.java","src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java","src/main/java/com/azure/ai/projects/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/projects/models/ContainerSkill.java","src/main/java/com/azure/ai/projects/models/ContainerSkillType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java","src/main/java/com/azure/ai/projects/models/CustomTextFormatParam.java","src/main/java/com/azure/ai/projects/models/CustomToolParam.java","src/main/java/com/azure/ai/projects/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FileSearchTool.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/projects/models/FunctionTool.java","src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GrammarSyntax.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java","src/main/java/com/azure/ai/projects/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/projects/models/ImageGenTool.java","src/main/java/com/azure/ai/projects/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/projects/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java","src/main/java/com/azure/ai/projects/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/projects/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/projects/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/projects/models/ImageGenToolSize.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/InlineSkillParam.java","src/main/java/com/azure/ai/projects/models/InlineSkillSourceParam.java","src/main/java/com/azure/ai/projects/models/InputFidelity.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java","src/main/java/com/azure/ai/projects/models/LocalSkillParam.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/MCPTool.java","src/main/java/com/azure/ai/projects/models/MCPToolConnectorId.java","src/main/java/com/azure/ai/projects/models/MCPToolFilter.java","src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RankerVersionType.java","src/main/java/com/azure/ai/projects/models/RankingOptions.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SearchContextSize.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/SkillDetails.java","src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/Tool.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolType.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/projects/models/WebSearchTool.java","src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/projects/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"a44b2be6ea96","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.deleteSkillVersion":"Azure.AI.Projects.Skills.deleteSkillVersion","com.azure.ai.projects.SkillsAsyncClient.deleteSkillVersionWithResponse":"Azure.AI.Projects.Skills.deleteSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.deleteSkillVersion":"Azure.AI.Projects.Skills.deleteSkillVersion","com.azure.ai.projects.SkillsClient.deleteSkillVersionWithResponse":"Azure.AI.Projects.Skills.deleteSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ApplyPatchToolParam":"OpenAI.ApplyPatchToolParam","com.azure.ai.projects.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AutoCodeInterpreterToolParam":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.projects.models.ComputerEnvironment":"OpenAI.ComputerEnvironment","com.azure.ai.projects.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContainerAutoParam":"OpenAI.ContainerAutoParam","com.azure.ai.projects.models.ContainerMemoryLimit":"OpenAI.ContainerMemoryLimit","com.azure.ai.projects.models.ContainerNetworkPolicyAllowlistParam":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.projects.models.ContainerNetworkPolicyDisabledParam":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.projects.models.ContainerNetworkPolicyDomainSecretParam":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.projects.models.ContainerNetworkPolicyParam":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.projects.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.projects.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.projects.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.CustomGrammarFormatParam":"OpenAI.CustomGrammarFormatParam","com.azure.ai.projects.models.CustomTextFormatParam":"OpenAI.CustomTextFormatParam","com.azure.ai.projects.models.CustomToolParam":"OpenAI.CustomToolParam","com.azure.ai.projects.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.projects.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.DeleteSkillVersionResponse":"Azure.AI.Projects.DeleteSkillVersionResponse","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.projects.models.FilesFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.FunctionShellToolParam":"OpenAI.FunctionShellToolParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentContainerReferenceParam":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentLocalEnvironmentParam":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.projects.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.projects.models.GitHubIssueOpenedRoutineTrigger":"Azure.AI.Projects.GitHubIssueOpenedRoutineTrigger","com.azure.ai.projects.models.GrammarSyntax":"Azure.AI.Projects.GrammarSyntaxExpandable","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.projects.models.ImageGenActionEnum":"OpenAI.ImageGenActionEnum","com.azure.ai.projects.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.projects.models.ImageGenToolBackground":"OpenAI.ImageGenTool.background.anonymous","com.azure.ai.projects.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.projects.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.projects.models.ImageGenToolModeration":"OpenAI.ImageGenTool.moderation.anonymous","com.azure.ai.projects.models.ImageGenToolOutputFormat":"OpenAI.ImageGenTool.output_format.anonymous","com.azure.ai.projects.models.ImageGenToolQuality":"OpenAI.ImageGenTool.quality.anonymous","com.azure.ai.projects.models.ImageGenToolSize":"OpenAI.ImageGenTool.size.anonymous","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.InlineSkillParam":"OpenAI.InlineSkillParam","com.azure.ai.projects.models.InlineSkillSourceParam":"OpenAI.InlineSkillSourceParam","com.azure.ai.projects.models.InputFidelity":"OpenAI.InputFidelity","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LocalShellToolParam":"OpenAI.LocalShellToolParam","com.azure.ai.projects.models.LocalSkillParam":"OpenAI.LocalSkillParam","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.MCPTool":"OpenAI.MCPTool","com.azure.ai.projects.models.MCPToolConnectorId":"OpenAI.MCPTool.connector_id.anonymous","com.azure.ai.projects.models.MCPToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.projects.models.MCPToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RankerVersionType":"OpenAI.RankerVersionType","com.azure.ai.projects.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunDiagnostics":"Azure.AI.Projects.RoutineRunDiagnostics","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SearchContextSize":"OpenAI.SearchContextSize","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillReferenceParam":"OpenAI.SkillReferenceParam","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.Tool":"OpenAI.Tool","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolType":"OpenAI.ToolType","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.projects.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.projects.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.projects.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.projects.models.WebSearchToolSearchContextSize":"OpenAI.WebSearchTool.search_context_size.anonymous","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java","src/main/java/com/azure/ai/projects/models/ApproximateLocation.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/projects/models/ComputerEnvironment.java","src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java","src/main/java/com/azure/ai/projects/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/projects/models/ContainerSkill.java","src/main/java/com/azure/ai/projects/models/ContainerSkillType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java","src/main/java/com/azure/ai/projects/models/CustomTextFormatParam.java","src/main/java/com/azure/ai/projects/models/CustomToolParam.java","src/main/java/com/azure/ai/projects/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/DeleteSkillVersionResponse.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FileSearchTool.java","src/main/java/com/azure/ai/projects/models/FilesFileDetails.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/projects/models/FunctionTool.java","src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GrammarSyntax.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java","src/main/java/com/azure/ai/projects/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/projects/models/ImageGenTool.java","src/main/java/com/azure/ai/projects/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/projects/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java","src/main/java/com/azure/ai/projects/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/projects/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/projects/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/projects/models/ImageGenToolSize.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/InlineSkillParam.java","src/main/java/com/azure/ai/projects/models/InlineSkillSourceParam.java","src/main/java/com/azure/ai/projects/models/InputFidelity.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java","src/main/java/com/azure/ai/projects/models/LocalSkillParam.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/MCPTool.java","src/main/java/com/azure/ai/projects/models/MCPToolConnectorId.java","src/main/java/com/azure/ai/projects/models/MCPToolFilter.java","src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RankerVersionType.java","src/main/java/com/azure/ai/projects/models/RankingOptions.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SearchContextSize.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/Tool.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolType.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/projects/models/WebSearchTool.java","src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/projects/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml b/sdk/ai/azure-ai-projects/tsp-location.yaml index a4ab88e9aeab..c440da7d267f 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: 8d41b329aa3b400034815b2facbff1e281fd9dba +commit: dadc76074e03777ad2200f27b32950b079f4c5f5 repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From f841ca27ec4733f150d6edcad4c0a9a38fb301da Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 26 May 2026 15:47:09 -0700 Subject: [PATCH 33/74] update commit and re emit --- .../agents/models/HostedAgentDefinition.java | 13 -------- sdk/ai/azure-ai-agents/tsp-location.yaml | 2 +- .../models/CreateSkillVersionRequest.java | 14 ++++----- .../CreateSkillVersionFromFilesBody.java | 10 +++---- .../models/DeleteSkillVersionResponse.java | 15 +++++----- .../ai/projects/models/FilesFileDetails.java | 30 +++++++++---------- .../com/azure/ai/projects/models/Skill.java | 19 ++++++------ .../projects/models/SkillInlineContent.java | 28 ++++++++--------- .../ai/projects/models/SkillVersion.java | 19 ++++++------ sdk/ai/azure-ai-projects/tsp-location.yaml | 2 +- 10 files changed, 66 insertions(+), 86 deletions(-) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java index 5b3f5e21b06a..d8b9c81a5fc1 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java @@ -322,19 +322,6 @@ public HostedAgentDefinition setCodeConfiguration(CodeConfiguration codeConfigur return this; } - /** - * Creates an instance of HostedAgentDefinition class. - * - * @param containerProtocolVersions the containerProtocolVersions value to set. - * @param cpu the cpu value to set. - * @param memory the memory value to set. - */ - public HostedAgentDefinition(List containerProtocolVersions, String cpu, String memory) { - this.containerProtocolVersions = containerProtocolVersions; - this.cpu = cpu; - this.memory = memory; - } - /* * Optional customer-supplied telemetry configuration for exporting container logs, traces, and metrics. */ diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index 3cd7d6de1551..06083586b99c 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: feba0ac13370aee2307833897ebf03de6e72c2ce +commit: 7a56624240db46a5292639ef0934bb31b568f1dc repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java index 04078f553950..d2c64081bbaf 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.implementation.models; import com.azure.ai.projects.models.SkillInlineContent; @@ -18,6 +17,7 @@ */ @Fluent public final class CreateSkillVersionRequest implements JsonSerializable { + /* * Inline skill content for simple skills without file uploads. Foundry-specific extension. */ @@ -40,7 +40,7 @@ public CreateSkillVersionRequest() { /** * Get the inlineContent property: Inline skill content for simple skills without file uploads. Foundry-specific * extension. - * + * * @return the inlineContent value. */ @Generated @@ -51,7 +51,7 @@ public SkillInlineContent getInlineContent() { /** * Set the inlineContent property: Inline skill content for simple skills without file uploads. Foundry-specific * extension. - * + * * @param inlineContent the inlineContent value to set. * @return the CreateSkillVersionRequest object itself. */ @@ -63,7 +63,7 @@ public CreateSkillVersionRequest setInlineContent(SkillInlineContent inlineConte /** * Get the defaultProperty property: Whether to set this version as the default. - * + * * @return the defaultProperty value. */ @Generated @@ -73,7 +73,7 @@ public Boolean isDefaultProperty() { /** * Set the defaultProperty property: Whether to set this version as the default. - * + * * @param defaultProperty the defaultProperty value to set. * @return the CreateSkillVersionRequest object itself. */ @@ -97,7 +97,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of CreateSkillVersionRequest from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of CreateSkillVersionRequest if the JsonReader was pointing to an instance of it, or null if * it was pointing to JSON null. @@ -110,7 +110,6 @@ public static CreateSkillVersionRequest fromJson(JsonReader jsonReader) throws I while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("inline_content".equals(fieldName)) { deserializedCreateSkillVersionRequest.inlineContent = SkillInlineContent.fromJson(reader); } else if ("default".equals(fieldName)) { @@ -119,7 +118,6 @@ public static CreateSkillVersionRequest fromJson(JsonReader jsonReader) throws I reader.skipChildren(); } } - return deserializedCreateSkillVersionRequest; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java index 0af356ab7ed5..23b450dc1168 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -15,6 +14,7 @@ */ @Fluent public final class CreateSkillVersionFromFilesBody { + /* * Skill files to upload. Upload a single zip file or multiple individual files with relative paths. */ @@ -29,7 +29,7 @@ public final class CreateSkillVersionFromFilesBody { /** * Creates an instance of CreateSkillVersionFromFilesBody class. - * + * * @param files the files value to set. */ @Generated @@ -40,7 +40,7 @@ public CreateSkillVersionFromFilesBody(List files) { /** * Get the files property: Skill files to upload. Upload a single zip file or multiple individual files with * relative paths. - * + * * @return the files value. */ @Generated @@ -50,7 +50,7 @@ public List getFiles() { /** * Get the defaultProperty property: Whether to set this version as the default. Defaults to false. - * + * * @return the defaultProperty value. */ @Generated @@ -60,7 +60,7 @@ public Boolean isDefaultProperty() { /** * Set the defaultProperty property: Whether to set this version as the default. Defaults to false. - * + * * @param defaultProperty the defaultProperty value to set. * @return the CreateSkillVersionFromFilesBody object itself. */ diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DeleteSkillVersionResponse.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DeleteSkillVersionResponse.java index 9911a02f89d3..b3ce1610108d 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DeleteSkillVersionResponse.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DeleteSkillVersionResponse.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public final class DeleteSkillVersionResponse implements JsonSerializable { + /* * The unique identifier of the deleted skill version. */ @@ -43,7 +43,7 @@ public final class DeleteSkillVersionResponse implements JsonSerializable { + /* * The unique identifier of the skill. */ @@ -58,7 +58,7 @@ public final class Skill implements JsonSerializable { /** * Creates an instance of Skill class. - * + * * @param id the id value to set. * @param name the name value to set. * @param description the description value to set. @@ -83,7 +83,7 @@ private Skill(String id, String name, String description, OffsetDateTime created /** * Get the id property: The unique identifier of the skill. - * + * * @return the id value. */ @Generated @@ -93,7 +93,7 @@ public String getId() { /** * Get the name property: The unique name of the skill. - * + * * @return the name value. */ @Generated @@ -103,7 +103,7 @@ public String getName() { /** * Get the description property: A human-readable description of the skill. - * + * * @return the description value. */ @Generated @@ -113,7 +113,7 @@ public String getDescription() { /** * Get the createdAt property: The Unix timestamp (seconds) when the skill was created. - * + * * @return the createdAt value. */ @Generated @@ -123,7 +123,7 @@ public OffsetDateTime getCreatedAt() { /** * Get the defaultVersion property: The default version for the skill. Can be changed via updateSkill. - * + * * @return the defaultVersion value. */ @Generated @@ -133,7 +133,7 @@ public String getDefaultVersion() { /** * Get the latestVersion property: The latest version for the skill. - * + * * @return the latestVersion value. */ @Generated @@ -159,7 +159,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of Skill from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of Skill if the JsonReader was pointing to an instance of it, or null if it was pointing to * JSON null. @@ -178,7 +178,6 @@ public static Skill fromJson(JsonReader jsonReader) throws IOException { while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("id".equals(fieldName)) { id = reader.getString(); } else if ("name".equals(fieldName)) { diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillInlineContent.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillInlineContent.java index 4798cce33498..7cc0096938eb 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillInlineContent.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillInlineContent.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -20,6 +19,7 @@ */ @Fluent public final class SkillInlineContent implements JsonSerializable { + /* * A human-readable description of what the skill does and when to use it. */ @@ -58,7 +58,7 @@ public final class SkillInlineContent implements JsonSerializable getMetadata() { /** * Set the metadata property: Arbitrary key-value metadata for additional properties. - * + * * @param metadata the metadata value to set. * @return the SkillInlineContent object itself. */ @@ -157,7 +157,7 @@ public SkillInlineContent setMetadata(Map metadata) { /** * Get the allowedTools property: List of pre-approved tools the skill may use. Experimental. - * + * * @return the allowedTools value. */ @Generated @@ -167,7 +167,7 @@ public List getAllowedTools() { /** * Set the allowedTools property: List of pre-approved tools the skill may use. Experimental. - * + * * @param allowedTools the allowedTools value to set. * @return the SkillInlineContent object itself. */ @@ -196,7 +196,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of SkillInlineContent from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of SkillInlineContent if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -215,7 +215,6 @@ public static SkillInlineContent fromJson(JsonReader jsonReader) throws IOExcept while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("description".equals(fieldName)) { description = reader.getString(); } else if ("instructions".equals(fieldName)) { @@ -237,7 +236,6 @@ public static SkillInlineContent fromJson(JsonReader jsonReader) throws IOExcept deserializedSkillInlineContent.compatibility = compatibility; deserializedSkillInlineContent.metadata = metadata; deserializedSkillInlineContent.allowedTools = allowedTools; - return deserializedSkillInlineContent; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillVersion.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillVersion.java index f57e56201ba4..db2def4af3b8 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillVersion.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillVersion.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -20,6 +19,7 @@ */ @Immutable public final class SkillVersion implements JsonSerializable { + /* * The unique identifier of the skill version. */ @@ -58,7 +58,7 @@ public final class SkillVersion implements JsonSerializable { /** * Creates an instance of SkillVersion class. - * + * * @param id the id value to set. * @param skillId the skillId value to set. * @param name the name value to set. @@ -83,7 +83,7 @@ private SkillVersion(String id, String skillId, String name, String version, Str /** * Get the id property: The unique identifier of the skill version. - * + * * @return the id value. */ @Generated @@ -93,7 +93,7 @@ public String getId() { /** * Get the skillId property: The identifier of the parent skill. - * + * * @return the skillId value. */ @Generated @@ -103,7 +103,7 @@ public String getSkillId() { /** * Get the name property: The name of the skill version. - * + * * @return the name value. */ @Generated @@ -113,7 +113,7 @@ public String getName() { /** * Get the version property: The version identifier. Skill versions are immutable. - * + * * @return the version value. */ @Generated @@ -123,7 +123,7 @@ public String getVersion() { /** * Get the description property: A human-readable description of the skill version. - * + * * @return the description value. */ @Generated @@ -133,7 +133,7 @@ public String getDescription() { /** * Get the createdAt property: The Unix timestamp (seconds) when the skill version was created. - * + * * @return the createdAt value. */ @Generated @@ -159,7 +159,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of SkillVersion from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of SkillVersion if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -178,7 +178,6 @@ public static SkillVersion fromJson(JsonReader jsonReader) throws IOException { while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("id".equals(fieldName)) { id = reader.getString(); } else if ("skill_id".equals(fieldName)) { diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml b/sdk/ai/azure-ai-projects/tsp-location.yaml index c440da7d267f..6b06f8fb6f00 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: dadc76074e03777ad2200f27b32950b079f4c5f5 +commit: 7a56624240db46a5292639ef0934bb31b568f1dc repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From cdb34f4ec031de7708b06edd7c99a6be0e55762b Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 26 May 2026 15:51:10 -0700 Subject: [PATCH 34/74] remove dataset item tests --- .../models/DatasetItemSerializationTests.java | 318 ------------------ 1 file changed, 318 deletions(-) delete mode 100644 sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/DatasetItemSerializationTests.java diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/DatasetItemSerializationTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/DatasetItemSerializationTests.java deleted file mode 100644 index 42643d330e76..000000000000 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/DatasetItemSerializationTests.java +++ /dev/null @@ -1,318 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.azure.ai.agents.models; - -import com.azure.core.util.BinaryData; -import com.azure.json.JsonProviders; -import com.azure.json.JsonReader; -import com.azure.json.JsonWriter; -import com.openai.models.responses.ResponseOutputItem; -import org.junit.jupiter.api.Test; - -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.util.Arrays; -import java.util.List; - -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertFalse; -import static org.junit.jupiter.api.Assertions.assertNotNull; -import static org.junit.jupiter.api.Assertions.assertNull; -import static org.junit.jupiter.api.Assertions.assertTrue; - -/** - * Tests for DatasetItem serialization, focusing on the responseItems union type handling. - * responseItems is a List of OutputItem (discriminated union represented as BinaryData elements). - * Supports both standard OpenAI ResponseOutputItem types and Azure-specific tool call types. - */ -public class DatasetItemSerializationTests { - - // ===== Serialization tests ===== - - /** - * Tests serialization when responseItems is not set (null). - */ - @Test - public void testSerializationWithoutResponseItems() throws IOException { - DatasetItem item = new DatasetItem("task1", "What is Azure?"); - - String json = serializeToJson(item); - - assertNotNull(json); - assertTrue(json.contains("\"name\":\"task1\"")); - assertTrue(json.contains("\"query\":\"What is Azure?\"")); - assertFalse(json.contains("\"response_items\"")); - } - - /** - * Tests serialization with responseItems set via BinaryData using Azure tool call types (JsonSerializable). - */ - @Test - public void testSerializationWithAzureToolCallModel() throws IOException { - BingGroundingToolCall bingCall - = new BingGroundingToolCall("call_bing_001", "{\"query\":\"Azure services\"}", ToolCallStatus.COMPLETED); - - DatasetItem item = new DatasetItem("task1", "What is Azure?") - .setResponseItems(Arrays.asList(BinaryData.fromObject(bingCall))); - - String json = serializeToJson(item); - - assertNotNull(json); - assertTrue(json.contains("\"response_items\"")); - assertTrue(json.contains("\"type\":\"bing_grounding_call\"")); - assertTrue(json.contains("\"call_id\":\"call_bing_001\"")); - assertTrue(json.contains("\"status\":\"completed\"")); - } - - /** - * Tests serialization with multiple Azure tool call types. - */ - @Test - public void testSerializationWithMultipleAzureToolCallTypes() throws IOException { - BingGroundingToolCall bingCall - = new BingGroundingToolCall("call_bing_001", "{\"query\":\"test\"}", ToolCallStatus.COMPLETED); - AzureAISearchToolCall searchCall - = new AzureAISearchToolCall("call_search_001", "{\"query\":\"find\"}", ToolCallStatus.COMPLETED); - - DatasetItem item = new DatasetItem("task1", "test query") - .setResponseItems(Arrays.asList(BinaryData.fromObject(bingCall), BinaryData.fromObject(searchCall))); - - String json = serializeToJson(item); - - assertNotNull(json); - assertTrue(json.contains("\"type\":\"bing_grounding_call\"")); - assertTrue(json.contains("\"type\":\"azure_ai_search_call\"")); - } - - /** - * Tests serialization with SharepointGroundingToolCall. - */ - @Test - public void testSerializationWithSharepointToolCall() throws IOException { - SharepointGroundingToolCall spCall - = new SharepointGroundingToolCall("call_sp_001", "{}", ToolCallStatus.IN_PROGRESS); - - DatasetItem item = new DatasetItem("task1", "sharepoint query") - .setResponseItems(Arrays.asList(BinaryData.fromObject(spCall))); - - String json = serializeToJson(item); - - assertNotNull(json); - assertTrue(json.contains("\"type\":\"sharepoint_grounding_preview_call\"")); - assertTrue(json.contains("\"status\":\"in_progress\"")); - } - - // ===== Deserialization tests ===== - - /** - * Tests deserialization when responseItems is absent from JSON. - */ - @Test - public void testDeserializationWithoutResponseItems() throws IOException { - String json = "{\"name\":\"task1\",\"query\":\"What is Azure?\"}"; - - DatasetItem item = deserializeFromJson(json); - - assertNotNull(item); - assertEquals("task1", item.getName()); - assertEquals("What is Azure?", item.getQuery()); - assertNull(item.getResponseItemsAsResponseOutputItems()); - assertNull(item.getResponseItems()); - } - - /** - * Tests deserialization of responseItems containing a message output item (OpenAI type). - */ - @Test - public void testDeserializationWithMessageOutputItem() throws IOException { - String json = "{\"name\":\"task1\",\"query\":\"What is Azure?\"," - + "\"response_items\":[{\"type\":\"message\",\"id\":\"msg_001\"," + "\"status\":\"completed\"," - + "\"content\":[{\"type\":\"output_text\",\"text\":\"Azure is a cloud platform.\",\"annotations\":[]}]}]}"; - - DatasetItem item = deserializeFromJson(json); - - assertNotNull(item); - List responseItems = item.getResponseItemsAsResponseOutputItems(); - assertNotNull(responseItems); - assertEquals(1, responseItems.size()); - assertTrue(responseItems.get(0).isMessage()); - assertEquals("Azure is a cloud platform.", - responseItems.get(0).asMessage().content().get(0).asOutputText().text()); - } - - /** - * Tests deserialization of responseItems containing a function call output item. - */ - @Test - public void testDeserializationWithFunctionCallOutputItem() throws IOException { - String json = "{\"name\":\"task2\",\"query\":\"Get weather\"," - + "\"response_items\":[{\"type\":\"function_call\",\"id\":\"fc_001\"," + "\"call_id\":\"call_abc\"," - + "\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"Seattle\\\"}\"," - + "\"status\":\"completed\"}]}"; - - DatasetItem item = deserializeFromJson(json); - - assertNotNull(item); - List responseItems = item.getResponseItemsAsResponseOutputItems(); - assertNotNull(responseItems); - assertEquals(1, responseItems.size()); - assertTrue(responseItems.get(0).isFunctionCall()); - assertEquals("get_weather", responseItems.get(0).asFunctionCall().name()); - } - - /** - * Tests deserialization of responseItems containing an Azure-specific tool call type. - * These can be accessed via getResponseItems() as BinaryData. - */ - @Test - public void testDeserializationWithAzureToolCallType() throws IOException { - String json = "{\"name\":\"task3\",\"query\":\"Search Azure\"," - + "\"response_items\":[{\"type\":\"bing_grounding_call\"," + "\"call_id\":\"call_bing_001\"," - + "\"arguments\":\"{\\\"query\\\":\\\"Azure\\\"}\"," + "\"status\":\"completed\"}]}"; - - DatasetItem item = deserializeFromJson(json); - - assertNotNull(item); - List responseItems = item.getResponseItems(); - assertNotNull(responseItems); - assertEquals(1, responseItems.size()); - - // Deserialize the BinaryData to the generated Azure model class - BingGroundingToolCall bingCall = responseItems.get(0).toObject(BingGroundingToolCall.class); - assertEquals("call_bing_001", bingCall.getCallId()); - assertEquals(ToolCallStatus.COMPLETED, bingCall.getStatus()); - } - - // ===== Null tests ===== - - /** - * Tests that setting responseItems to null via typed setter results in null getter. - */ - @Test - public void testSetResponseOutputItemsNull() { - DatasetItem item = new DatasetItem("task1", "query"); - item.setResponseOutputItems(null); - - assertNull(item.getResponseItemsAsResponseOutputItems()); - assertNull(item.getResponseItems()); - } - - /** - * Tests that setting responseItems to null via BinaryData setter results in null getter. - */ - @Test - public void testSetResponseItemsBinaryDataNull() { - DatasetItem item = new DatasetItem("task1", "query"); - item.setResponseItems((List) null); - - assertNull(item.getResponseItems()); - assertNull(item.getResponseItemsAsResponseOutputItems()); - } - - /** - * Tests that getters return null when responseItems is not set. - */ - @Test - public void testGettersReturnNullWhenNotSet() { - DatasetItem item = new DatasetItem("task1", "query"); - - assertNull(item.getResponseItems()); - assertNull(item.getResponseItemsAsResponseOutputItems()); - } - - // ===== Round-trip tests ===== - - /** - * Tests round-trip with Azure tool call model (BingGroundingToolCall). - */ - @Test - public void testRoundTripWithAzureToolCallModel() throws IOException { - BingGroundingToolCall bingCall - = new BingGroundingToolCall("call_bing_001", "{\"query\":\"test\"}", ToolCallStatus.COMPLETED); - - DatasetItem original = new DatasetItem("task_rt", "Round trip query").setGroundTruth("expected answer") - .setResponseItems(Arrays.asList(BinaryData.fromObject(bingCall))); - - String json = serializeToJson(original); - DatasetItem deserialized = deserializeFromJson(json); - - assertEquals("task_rt", deserialized.getName()); - assertEquals("Round trip query", deserialized.getQuery()); - assertEquals("expected answer", deserialized.getGroundTruth()); - - List items = deserialized.getResponseItems(); - assertNotNull(items); - assertEquals(1, items.size()); - - BingGroundingToolCall roundTrippedCall = items.get(0).toObject(BingGroundingToolCall.class); - assertEquals("call_bing_001", roundTrippedCall.getCallId()); - assertEquals(ToolCallStatus.COMPLETED, roundTrippedCall.getStatus()); - } - - /** - * Tests round-trip with multiple response items including OpenAI types. - */ - @Test - public void testRoundTripWithMultipleItems() throws IOException { - String json = "{\"name\":\"multi\",\"query\":\"test\"," + "\"response_items\":[" - + "{\"type\":\"function_call\",\"id\":\"fc_1\",\"call_id\":\"call_1\"," - + "\"name\":\"search\",\"arguments\":\"{}\",\"status\":\"completed\"}," - + "{\"type\":\"message\",\"id\":\"msg_1\",\"status\":\"completed\"," - + "\"content\":[{\"type\":\"output_text\",\"text\":\"result\",\"annotations\":[]}]}" + "]}"; - - DatasetItem item = deserializeFromJson(json); - String reserialized = serializeToJson(item); - DatasetItem roundTripped = deserializeFromJson(reserialized); - - List items = roundTripped.getResponseItemsAsResponseOutputItems(); - assertNotNull(items); - assertEquals(2, items.size()); - assertTrue(items.get(0).isFunctionCall()); - assertTrue(items.get(1).isMessage()); - } - - /** - * Tests round-trip with mixed Azure and OpenAI items. - */ - @Test - public void testRoundTripWithMixedAzureAndOpenAIItems() throws IOException { - String json = "{\"name\":\"mixed\",\"query\":\"test\"," + "\"response_items\":[" - + "{\"type\":\"bing_grounding_call\",\"call_id\":\"call_bing\"," - + "\"arguments\":\"{}\",\"status\":\"completed\"}," - + "{\"type\":\"message\",\"id\":\"msg_1\",\"status\":\"completed\"," - + "\"content\":[{\"type\":\"output_text\",\"text\":\"hello\",\"annotations\":[]}]}" + "]}"; - - DatasetItem item = deserializeFromJson(json); - String reserialized = serializeToJson(item); - DatasetItem roundTripped = deserializeFromJson(reserialized); - - List items = roundTripped.getResponseItems(); - assertNotNull(items); - assertEquals(2, items.size()); - - // First item is Azure-specific tool call - BingGroundingToolCall bingCall = items.get(0).toObject(BingGroundingToolCall.class); - assertEquals("call_bing", bingCall.getCallId()); - - // Second item is an OpenAI message - List outputItems = roundTripped.getResponseItemsAsResponseOutputItems(); - assertTrue(outputItems.get(1).isMessage()); - } - - // Helper method to serialize to JSON string - private String serializeToJson(DatasetItem item) throws IOException { - ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); - try (JsonWriter jsonWriter = JsonProviders.createWriter(outputStream)) { - item.toJson(jsonWriter); - } - return outputStream.toString("UTF-8"); - } - - // Helper method to deserialize from JSON string - private DatasetItem deserializeFromJson(String json) throws IOException { - try (JsonReader jsonReader = JsonProviders.createReader(json)) { - return DatasetItem.fromJson(jsonReader); - } - } -} From ae4f6c2d09db2f8da4900881e43dd256dc039579 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 26 May 2026 16:07:52 -0700 Subject: [PATCH 35/74] update tests, samples --- .../azure/ai/agents/ToolboxesAsyncClient.java | 41 +++++++++++ .../hostedagents/HostedAgentsSampleUtils.java | 5 +- .../toolboxes/CreateToolboxVersion.java | 4 +- .../ai/agents/toolboxes/DeleteToolbox.java | 3 +- .../toolboxes/DeleteToolboxVersion.java | 4 +- .../azure/ai/agents/toolboxes/GetToolbox.java | 4 +- .../agents/toolboxes/GetToolboxVersion.java | 4 +- .../agents/toolboxes/ListToolboxVersions.java | 4 +- .../ai/agents/toolboxes/ListToolboxes.java | 4 +- .../toolboxes/ToolboxSearchToolboxSample.java | 9 ++- .../toolboxes/ToolboxesAsyncSample.java | 29 +++++--- .../ai/agents/toolboxes/UpdateToolbox.java | 4 +- .../azure/ai/agents/SessionLogAsyncTest.java | 2 +- .../azure/ai/agents/SessionLogSyncTest.java | 2 +- .../agents/toolboxes/ToolboxSamplesTests.java | 68 +++++++++++-------- 15 files changed, 132 insertions(+), 55 deletions(-) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java index a8e11d06bd0c..3b0dcbf15f3b 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java @@ -10,6 +10,8 @@ import com.azure.ai.agents.models.PageOrder; import com.azure.ai.agents.models.Tool; import com.azure.ai.agents.models.ToolboxDetails; +import com.azure.ai.agents.models.ToolboxPolicies; +import com.azure.ai.agents.models.ToolboxSkill; import com.azure.ai.agents.models.ToolboxVersionDetails; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; @@ -28,6 +30,7 @@ import com.azure.core.util.BinaryData; import com.azure.core.util.FluxUtil; import java.util.List; +import java.util.Map; import java.util.stream.Collectors; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -730,4 +733,42 @@ public Mono deleteToolboxVersion(String name, String version, FoundryFeatu } return deleteToolboxVersionWithResponse(name, version, requestOptions).flatMap(FluxUtil::toMono); } + + /** + * Create a new version of a toolbox. If the toolbox does not exist, it will be created. + * + * @param name The name of the toolbox. If the toolbox does not exist, it will be created. + * @param tools The list of tools to include in this version. + * @param description A human-readable description of the toolbox. + * @param metadata Arbitrary key-value metadata to associate with the toolbox. + * @param skills The list of skill sources to include in this version. + * @param policies Policy configuration for this toolbox version. + * @param foundryFeatures The Foundry preview feature opt-in header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a specific version of a toolbox on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createToolboxVersion(String name, List tools, String description, + Map metadata, List skills, ToolboxPolicies policies, + FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for createToolboxVersionWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + CreateToolboxVersionRequest createToolboxVersionRequestObj + = new CreateToolboxVersionRequest(tools).setDescription(description) + .setMetadata(metadata) + .setSkills(skills) + .setPolicies(policies); + BinaryData createToolboxVersionRequest = BinaryData.fromObject(createToolboxVersionRequestObj); + return createToolboxVersionWithResponse(name, createToolboxVersionRequest, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(ToolboxVersionDetails.class)); + } } diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/HostedAgentsSampleUtils.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/HostedAgentsSampleUtils.java index 81f2613349ea..3f0d178293d1 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/HostedAgentsSampleUtils.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/HostedAgentsSampleUtils.java @@ -10,6 +10,7 @@ import com.azure.ai.agents.models.AgentSessionResource; import com.azure.ai.agents.models.AgentVersionDetails; import com.azure.ai.agents.models.AgentVersionStatus; +import com.azure.ai.agents.models.ContainerConfiguration; import com.azure.ai.agents.models.CreateAgentVersionInput; import com.azure.ai.agents.models.HostedAgentDefinition; import com.azure.ai.agents.models.ProtocolVersionRecord; @@ -184,8 +185,8 @@ private static Mono createHostedAgentVersionAsync(AgentsAsy private static HostedAgentDefinition createHostedAgentDefinition(String image) { return new HostedAgentDefinition("0.5", "1Gi") - .setImage(image) - .setContainerProtocolVersions(Collections.singletonList( + .setContainerConfiguration(new ContainerConfiguration(image)) + .setProtocolVersions(Collections.singletonList( new ProtocolVersionRecord(AgentProtocol.RESPONSES, "1.0.0"))); } diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/CreateToolboxVersion.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/CreateToolboxVersion.java index 2a21de6e4961..a5202dff05f3 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/CreateToolboxVersion.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/CreateToolboxVersion.java @@ -5,6 +5,7 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesClient; +import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.McpTool; import com.azure.ai.agents.models.Tool; import com.azure.ai.agents.models.ToolboxVersionDetails; @@ -43,7 +44,8 @@ public static void main(String[] args) { ToolboxVersionDetails toolboxVersion = toolboxesClient.createToolboxVersion( "toolbox_created_from_java", tools, - "Toolbox with MCP tool requiring approval 'never'.", null, null); + "Toolbox with MCP tool requiring approval 'never'.", null, null, null, + FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); System.out.println("Toolbox Name: " + toolboxVersion.getName()); System.out.println("Toolbox Version: " + toolboxVersion.getVersion()); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/DeleteToolbox.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/DeleteToolbox.java index a6a798e90511..8f24c1c02556 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/DeleteToolbox.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/DeleteToolbox.java @@ -5,6 +5,7 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesClient; +import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -30,7 +31,7 @@ public static void main(String[] args) { .endpoint(endpoint) .buildToolboxesClient(); - toolboxesClient.deleteToolbox(toolboxName); + toolboxesClient.deleteToolbox(toolboxName, FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); System.out.println("Deleted toolbox with the following details:"); System.out.println("\tToolbox Name: " + toolboxName); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/DeleteToolboxVersion.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/DeleteToolboxVersion.java index d777ab2c12a9..c2434fcb8c93 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/DeleteToolboxVersion.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/DeleteToolboxVersion.java @@ -5,6 +5,7 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesClient; +import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -31,7 +32,8 @@ public static void main(String[] args) { .endpoint(endpoint) .buildToolboxesClient(); - toolboxesClient.deleteToolboxVersion(toolboxName, version); + toolboxesClient.deleteToolboxVersion(toolboxName, version, + FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); System.out.println("Deleted toolbox version with the following details:"); System.out.println("\tToolbox Name: " + toolboxName); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/GetToolbox.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/GetToolbox.java index b1c260bc1b36..97a4aac7dc98 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/GetToolbox.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/GetToolbox.java @@ -5,6 +5,7 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesClient; +import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.ToolboxDetails; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -30,7 +31,8 @@ public static void main(String[] args) { .endpoint(endpoint) .buildToolboxesClient(); - ToolboxDetails toolbox = toolboxesClient.getToolbox(toolboxName); + ToolboxDetails toolbox = toolboxesClient.getToolbox(toolboxName, + FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); System.out.println("Toolbox ID: " + toolbox.getId()); System.out.println("Toolbox Name: " + toolbox.getName()); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/GetToolboxVersion.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/GetToolboxVersion.java index e66037b156b1..58c2f27ff7ce 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/GetToolboxVersion.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/GetToolboxVersion.java @@ -5,6 +5,7 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesClient; +import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.McpTool; import com.azure.ai.agents.models.Tool; import com.azure.ai.agents.models.ToolboxVersionDetails; @@ -34,7 +35,8 @@ public static void main(String[] args) { .endpoint(endpoint) .buildToolboxesClient(); - ToolboxVersionDetails toolboxVersion = toolboxesClient.getToolboxVersion(toolboxName, version); + ToolboxVersionDetails toolboxVersion = toolboxesClient.getToolboxVersion(toolboxName, version, + FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); System.out.println("Toolbox Name: " + toolboxVersion.getName()); System.out.println("Toolbox Version: " + toolboxVersion.getVersion()); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ListToolboxVersions.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ListToolboxVersions.java index 978d13b12d62..c03c9e43e7fa 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ListToolboxVersions.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ListToolboxVersions.java @@ -5,6 +5,7 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesClient; +import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.ToolboxVersionDetails; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -32,7 +33,8 @@ public static void main(String[] args) { .buildToolboxesClient(); System.out.println("Listing all versions of toolbox '" + toolboxName + "':"); - for (ToolboxVersionDetails version : toolboxesClient.listToolboxVersions(toolboxName)) { + for (ToolboxVersionDetails version : toolboxesClient.listToolboxVersions(toolboxName, + FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) { System.out.println("Version: " + version.getVersion()); System.out.println("Version ID: " + version.getId()); System.out.println("Description: " + version.getDescription()); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ListToolboxes.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ListToolboxes.java index 2d8e9f5ea43b..b83e51a0195f 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ListToolboxes.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ListToolboxes.java @@ -5,6 +5,7 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesClient; +import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.ToolboxDetails; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -30,7 +31,8 @@ public static void main(String[] args) { .buildToolboxesClient(); System.out.println("Listing all toolboxes:"); - for (ToolboxDetails toolbox : toolboxesClient.listToolboxes()) { + for (ToolboxDetails toolbox : toolboxesClient.listToolboxes( + FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) { System.out.println("Toolbox ID: " + toolbox.getId()); System.out.println("Toolbox Name: " + toolbox.getName()); System.out.println("Default Version: " + toolbox.getDefaultVersion()); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxSearchToolboxSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxSearchToolboxSample.java index 6fc6e1e7128f..7b53941fd626 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxSearchToolboxSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxSearchToolboxSample.java @@ -5,6 +5,7 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesClient; +import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.Tool; import com.azure.ai.agents.models.ToolboxSearchPreviewTool; import com.azure.ai.agents.models.ToolboxVersionDetails; @@ -31,7 +32,7 @@ public static void main(String[] args) { .buildToolboxesClient(); try { - toolboxesClient.deleteToolbox(toolboxName); + toolboxesClient.deleteToolbox(toolboxName, FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); } catch (ResourceNotFoundException ignored) { // The sample toolbox does not already exist. } @@ -48,7 +49,9 @@ public static void main(String[] args) { Collections.singletonList(toolboxSearchTool), "Toolbox version with a Toolbox Search preview tool.", null, - null); + null, + null, + FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); System.out.printf("Created toolbox: %s%n", version.getName()); System.out.printf("Toolbox version: %s%n", version.getVersion()); @@ -59,7 +62,7 @@ public static void main(String[] args) { // END: com.azure.ai.agents.toolboxes.ToolboxSearchToolboxSample.createToolboxSearchToolbox } finally { try { - toolboxesClient.deleteToolbox(toolboxName); + toolboxesClient.deleteToolbox(toolboxName, FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); System.out.printf("Deleted toolbox: %s%n", toolboxName); } catch (ResourceNotFoundException ignored) { // The sample toolbox may not have been created. diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxesAsyncSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxesAsyncSample.java index cf641abf1573..f574c8256f91 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxesAsyncSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxesAsyncSample.java @@ -5,6 +5,7 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesAsyncClient; +import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.McpTool; import com.azure.ai.agents.models.Tool; import com.azure.ai.agents.models.ToolboxDetails; @@ -50,31 +51,38 @@ public static void main(String[] args) { .setServerUrl("https://gitmcp.io/Azure/azure-rest-api-specs") .setRequireApproval("always")); - Mono workflow = toolboxesAsyncClient.deleteToolbox(toolboxName) + Mono workflow = toolboxesAsyncClient.deleteToolbox(toolboxName, + FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW) .doOnSuccess(unused -> System.out.printf("Toolbox `%s` deleted%n", toolboxName)) .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()) .then(toolboxesAsyncClient.createToolboxVersion(toolboxName, toolsWithMcpApprovalNever, - "Toolbox version with MCP require_approval set to 'never'.", null, null)) + "Toolbox version with MCP require_approval set to 'never'.", null, null, null, + FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) .doOnNext(created -> System.out.printf( "Created toolbox: %s with MCP tools requiring approval 'never' in version %s%n", created.getName(), created.getVersion())) .then(toolboxesAsyncClient.createToolboxVersion(toolboxName, toolsWithMcpApprovalAlways, - "Toolbox version with MCP require_approval set to 'always'.", null, null)) + "Toolbox version with MCP require_approval set to 'always'.", null, null, null, + FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) .doOnNext(created -> System.out.printf( "Created toolbox: %s with MCP tools requiring approval 'always' in version %s%n", created.getName(), created.getVersion())) - .then(toolboxesAsyncClient.updateToolbox(toolboxName, "2")) + .then(toolboxesAsyncClient.updateToolbox(toolboxName, "2", + FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) .flatMap(updated -> printFetchedDefaultToolboxVersion(toolboxesAsyncClient, updated)) - .then(toolboxesAsyncClient.updateToolbox(toolboxName, "1")) + .then(toolboxesAsyncClient.updateToolbox(toolboxName, "1", + FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) .flatMap(updated -> printFetchedDefaultToolboxVersion(toolboxesAsyncClient, updated)) .then(Mono.fromRunnable(() -> System.out.println("Listing toolboxes..."))) - .thenMany(toolboxesAsyncClient.listToolboxes()) + .thenMany(toolboxesAsyncClient.listToolboxes(FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) .doOnNext(item -> System.out.printf(" - %s (%s)%n", item.getName(), item.getId())) - .then(toolboxesAsyncClient.deleteToolbox(toolboxName)) + .then(toolboxesAsyncClient.deleteToolbox(toolboxName, + FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) .doOnSuccess(unused -> System.out.println("Toolbox deleted")); workflow - .onErrorResume(error -> toolboxesAsyncClient.deleteToolbox(toolboxName) + .onErrorResume(error -> toolboxesAsyncClient.deleteToolbox(toolboxName, + FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW) .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()) .then(Mono.error(error))) .timeout(Duration.ofMinutes(5)) @@ -86,10 +94,11 @@ private static Mono printFetchedDefaultToolboxVersion( System.out.printf("Updated toolbox: %s default version is now %s%n", updated.getName(), updated.getDefaultVersion()); - return toolboxesAsyncClient.getToolbox(updated.getName()) + return toolboxesAsyncClient.getToolbox(updated.getName(), FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW) .doOnNext(fetched -> System.out.printf("Retrieved toolbox with default version: %s%n", fetched.getDefaultVersion())) - .flatMap(fetched -> toolboxesAsyncClient.getToolboxVersion(fetched.getName(), fetched.getDefaultVersion())) + .flatMap(fetched -> toolboxesAsyncClient.getToolboxVersion(fetched.getName(), + fetched.getDefaultVersion(), FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) .doOnNext(version -> printMcpRequireApproval(version.getTools())); } diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/UpdateToolbox.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/UpdateToolbox.java index 2bcdfc716307..17e44e5013d9 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/UpdateToolbox.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/UpdateToolbox.java @@ -5,6 +5,7 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesClient; +import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.ToolboxDetails; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -31,7 +32,8 @@ public static void main(String[] args) { .endpoint(endpoint) .buildToolboxesClient(); - ToolboxDetails updatedToolbox = toolboxesClient.updateToolbox(toolboxName, "2"); + ToolboxDetails updatedToolbox = toolboxesClient.updateToolbox(toolboxName, "2", + FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); System.out.println("Updated Toolbox Name: " + updatedToolbox.getName()); System.out.println("Updated Default Version: " + updatedToolbox.getDefaultVersion()); diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java index 6da6380e804f..4ca945afc0aa 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java @@ -78,7 +78,7 @@ private static void deleteSession(AgentsAsyncClient client) { } private static Mono deleteSessionAsync(AgentsAsyncClient client) { - return client.deleteSession(AGENT_NAME, SESSION_ID, AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW) + return client.deleteSession(AGENT_NAME, SESSION_ID, AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null) .onErrorResume(error -> Mono.empty()); } diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java index 73bca3e70def..a07b4d2ad2b5 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java @@ -88,7 +88,7 @@ private ScheduledFuture scheduleSessionDelete(AgentsClient client, ScheduledE private static void deleteSession(AgentsClient client) { try { - client.deleteSession(AGENT_NAME, SESSION_ID, AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW); + client.deleteSession(AGENT_NAME, SESSION_ID, AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null); } catch (RuntimeException ignored) { // Cleanup best effort. } diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/toolboxes/ToolboxSamplesTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/toolboxes/ToolboxSamplesTests.java index 8c769670e420..f07089f41560 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/toolboxes/ToolboxSamplesTests.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/toolboxes/ToolboxSamplesTests.java @@ -8,6 +8,7 @@ import com.azure.ai.agents.ClientTestBase; import com.azure.ai.agents.ToolboxesAsyncClient; import com.azure.ai.agents.ToolboxesClient; +import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.McpTool; import com.azure.ai.agents.models.Tool; import com.azure.ai.agents.models.ToolType; @@ -47,7 +48,7 @@ public void toolboxSearchToolboxSample(HttpClient httpClient, AgentsServiceVersi String toolboxName = "toolbox-search-tool-java-test"; try { - toolboxesClient.deleteToolbox(toolboxName); + toolboxesClient.deleteToolbox(toolboxName, FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); } catch (ResourceNotFoundException ignored) { // The sample toolbox does not already exist. } @@ -56,9 +57,9 @@ public void toolboxSearchToolboxSample(HttpClient httpClient, AgentsServiceVersi ToolboxSearchPreviewTool toolboxSearchTool = new ToolboxSearchPreviewTool().setName("search_tools") .setDescription("Search over available toolbox tools at runtime."); - ToolboxVersionDetails version - = toolboxesClient.createToolboxVersion(toolboxName, Collections.singletonList(toolboxSearchTool), - "Toolbox version with a Toolbox Search preview tool.", null, null); + ToolboxVersionDetails version = toolboxesClient.createToolboxVersion(toolboxName, + Collections.singletonList(toolboxSearchTool), "Toolbox version with a Toolbox Search preview tool.", + null, null, null, FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); Assertions.assertNotNull(version); Assertions.assertEquals(toolboxName, version.getName()); @@ -66,7 +67,7 @@ public void toolboxSearchToolboxSample(HttpClient httpClient, AgentsServiceVersi Assertions.assertEquals(ToolType.TOOLBOX_SEARCH_PREVIEW, version.getTools().get(0).getType()); } finally { try { - toolboxesClient.deleteToolbox(toolboxName); + toolboxesClient.deleteToolbox(toolboxName, FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); } catch (ResourceNotFoundException ignored) { // The sample toolbox may not have been created. } @@ -89,31 +90,38 @@ public void toolboxesAsyncSample(HttpClient httpClient, AgentsServiceVersion ser .singletonList(new McpTool("api_specs").setServerUrl("https://gitmcp.io/Azure/azure-rest-api-specs") .setRequireApproval("always")); - Mono testFlow = toolboxesAsyncClient.deleteToolbox(toolboxName) - .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()) - .then(toolboxesAsyncClient.createToolboxVersion(toolboxName, toolsWithMcpApprovalNever, - "Toolbox version with MCP require_approval set to 'never'.", null, null)) - .doOnNext(created -> { - Assertions.assertEquals(toolboxName, created.getName()); - Assertions.assertEquals("1", created.getVersion()); - }) - .then(toolboxesAsyncClient.createToolboxVersion(toolboxName, toolsWithMcpApprovalAlways, - "Toolbox version with MCP require_approval set to 'always'.", null, null)) - .doOnNext(created -> { - Assertions.assertEquals(toolboxName, created.getName()); - Assertions.assertEquals("2", created.getVersion()); - }) - .then(toolboxesAsyncClient.updateToolbox(toolboxName, "2")) - .flatMap(updated -> toolboxesAsyncClient.getToolboxVersion(updated.getName(), updated.getDefaultVersion())) - .doOnNext(version -> assertMcpRequireApproval(version, "always")) - .then(toolboxesAsyncClient.updateToolbox(toolboxName, "1")) - .flatMap(updated -> toolboxesAsyncClient.getToolboxVersion(updated.getName(), updated.getDefaultVersion())) - .doOnNext(version -> assertMcpRequireApproval(version, "never")) - .thenMany(toolboxesAsyncClient.listToolboxes().take(10)) - .filter(toolbox -> toolboxName.equals(toolbox.getName())) - .next() - .doOnNext(toolbox -> Assertions.assertEquals(toolboxName, toolbox.getName())) - .then(toolboxesAsyncClient.deleteToolbox(toolboxName)); + Mono testFlow + = toolboxesAsyncClient.deleteToolbox(toolboxName, FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW) + .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()) + .then(toolboxesAsyncClient.createToolboxVersion(toolboxName, toolsWithMcpApprovalNever, + "Toolbox version with MCP require_approval set to 'never'.", null, null, null, + FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) + .doOnNext(created -> { + Assertions.assertEquals(toolboxName, created.getName()); + Assertions.assertEquals("1", created.getVersion()); + }) + .then(toolboxesAsyncClient.createToolboxVersion(toolboxName, toolsWithMcpApprovalAlways, + "Toolbox version with MCP require_approval set to 'always'.", null, null, null, + FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) + .doOnNext(created -> { + Assertions.assertEquals(toolboxName, created.getName()); + Assertions.assertEquals("2", created.getVersion()); + }) + .then( + toolboxesAsyncClient.updateToolbox(toolboxName, "2", FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) + .flatMap(updated -> toolboxesAsyncClient.getToolboxVersion(updated.getName(), + updated.getDefaultVersion(), FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) + .doOnNext(version -> assertMcpRequireApproval(version, "always")) + .then( + toolboxesAsyncClient.updateToolbox(toolboxName, "1", FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) + .flatMap(updated -> toolboxesAsyncClient.getToolboxVersion(updated.getName(), + updated.getDefaultVersion(), FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) + .doOnNext(version -> assertMcpRequireApproval(version, "never")) + .thenMany(toolboxesAsyncClient.listToolboxes(FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW).take(10)) + .filter(toolbox -> toolboxName.equals(toolbox.getName())) + .next() + .doOnNext(toolbox -> Assertions.assertEquals(toolboxName, toolbox.getName())) + .then(toolboxesAsyncClient.deleteToolbox(toolboxName, FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)); StepVerifier.create(testFlow).verifyComplete(); } From fc71319d8fa7a3cd4d093f937581ee116df63873 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 26 May 2026 18:08:59 -0700 Subject: [PATCH 36/74] renames --- .../azure/ai/agents/AgentsAsyncClient.java | 176 +++++++++--------- .../com/azure/ai/agents/AgentsClient.java | 165 ++++++++-------- .../ai/agents/implementation/AgentsImpl.java | 33 ++-- .../META-INF/azure-ai-agents_metadata.json | 2 +- sdk/ai/azure-ai-agents/tsp-location.yaml | 2 +- 5 files changed, 193 insertions(+), 185 deletions(-) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java index d076ebd3948b..1be995d149be 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java @@ -5298,6 +5298,50 @@ public Mono deleteOptimizationJob(String jobId, FoundryFeaturesOptInKeys f return deleteOptimizationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); } + /** + * Get a candidate file. + * + * Stream a specific file from the candidate's blob directory. + *

Header Parameters

+ *
Query Parameters
+ * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param path Relative path of the file to download (e.g. 'files/examples.jsonl'). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a candidate file. + * + * Stream a specific file from the candidate's blob directory along with {@link Response} on successful completion + * of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getOptimizationCandidateFileWithResponse(String jobId, String candidateId, + String path, RequestOptions requestOptions) { + return this.serviceClient.getOptimizationCandidateFileWithResponseAsync(jobId, candidateId, path, + requestOptions); + } + /** * Promote a candidate. * @@ -5351,19 +5395,20 @@ public Mono deleteOptimizationJob(String jobId, FoundryFeaturesOptInKeys f */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> promoteCandidateWithResponse(String jobId, String candidateId, BinaryData body, - RequestOptions requestOptions) { - return this.serviceClient.promoteCandidateWithResponseAsync(jobId, candidateId, body, requestOptions); + public Mono> promoteOptimizationCandidateWithResponse(String jobId, String candidateId, + BinaryData body, RequestOptions requestOptions) { + return this.serviceClient.promoteOptimizationCandidateWithResponseAsync(jobId, candidateId, body, + requestOptions); } /** - * Promote a candidate. + * Get a candidate file. * - * Promotes a candidate, recording the deployment timestamp and target agent version. + * Stream a specific file from the candidate's blob directory. * * @param jobId The optimization job id. - * @param candidateId The candidate id to promote. - * @param body Promotion details. + * @param candidateId The candidate id. + * @param path Relative path of the file to download (e.g. 'files/examples.jsonl'). * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5372,100 +5417,58 @@ public Mono> promoteCandidateWithResponse(String jobId, Str * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response after successfully promoting a candidate on successful completion of {@link Mono}. + * @return a candidate file. + * + * Stream a specific file from the candidate's blob directory on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono promoteCandidate(String jobId, String candidateId, - PromoteCandidateRequest body, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for promoteCandidateWithResponse + public Mono getOptimizationCandidateFile(String jobId, String candidateId, String path, + FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getOptimizationCandidateFileWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - return promoteCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(body), requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(PromoteCandidateResponse.class)); - } - - /** - * Promote a candidate. - * - * Promotes a candidate, recording the deployment timestamp and target agent version. - * - * @param jobId The optimization job id. - * @param candidateId The candidate id to promote. - * @param body Promotion details. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response after successfully promoting a candidate on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono promoteCandidate(String jobId, String candidateId, - PromoteCandidateRequest body) { - // Generated convenience method for promoteCandidateWithResponse - RequestOptions requestOptions = new RequestOptions(); - return promoteCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(body), requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(PromoteCandidateResponse.class)); + return getOptimizationCandidateFileWithResponse(jobId, candidateId, path, requestOptions) + .flatMap(FluxUtil::toMono); } /** * Get a candidate file. * * Stream a specific file from the candidate's blob directory. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * BinaryData
-     * }
-     * 
* * @param jobId The optimization job id. * @param candidateId The candidate id. * @param path Relative path of the file to download (e.g. 'files/examples.jsonl'). - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a candidate file. * - * Stream a specific file from the candidate's blob directory along with {@link Response} on successful completion - * of {@link Mono}. + * Stream a specific file from the candidate's blob directory on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getCandidateFileWithResponse(String jobId, String candidateId, String path, - RequestOptions requestOptions) { - return this.serviceClient.getCandidateFileWithResponseAsync(jobId, candidateId, path, requestOptions); + public Mono getOptimizationCandidateFile(String jobId, String candidateId, String path) { + // Generated convenience method for getOptimizationCandidateFileWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getOptimizationCandidateFileWithResponse(jobId, candidateId, path, requestOptions) + .flatMap(FluxUtil::toMono); } /** - * Get a candidate file. + * Promote a candidate. * - * Stream a specific file from the candidate's blob directory. + * Promotes a candidate, recording the deployment timestamp and target agent version. * * @param jobId The optimization job id. - * @param candidateId The candidate id. - * @param path Relative path of the file to download (e.g. 'files/examples.jsonl'). + * @param candidateId The candidate id to promote. + * @param body Promotion details. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5474,45 +5477,46 @@ public Mono> getCandidateFileWithResponse(String jobId, Str * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a candidate file. - * - * Stream a specific file from the candidate's blob directory on successful completion of {@link Mono}. + * @return response after successfully promoting a candidate on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getCandidateFile(String jobId, String candidateId, String path, - FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for getCandidateFileWithResponse + public Mono promoteOptimizationCandidate(String jobId, String candidateId, + PromoteCandidateRequest body, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for promoteOptimizationCandidateWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - return getCandidateFileWithResponse(jobId, candidateId, path, requestOptions).flatMap(FluxUtil::toMono); + return promoteOptimizationCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(PromoteCandidateResponse.class)); } /** - * Get a candidate file. + * Promote a candidate. * - * Stream a specific file from the candidate's blob directory. + * Promotes a candidate, recording the deployment timestamp and target agent version. * * @param jobId The optimization job id. - * @param candidateId The candidate id. - * @param path Relative path of the file to download (e.g. 'files/examples.jsonl'). + * @param candidateId The candidate id to promote. + * @param body Promotion details. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a candidate file. - * - * Stream a specific file from the candidate's blob directory on successful completion of {@link Mono}. + * @return response after successfully promoting a candidate on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getCandidateFile(String jobId, String candidateId, String path) { - // Generated convenience method for getCandidateFileWithResponse + public Mono promoteOptimizationCandidate(String jobId, String candidateId, + PromoteCandidateRequest body) { + // Generated convenience method for promoteOptimizationCandidateWithResponse RequestOptions requestOptions = new RequestOptions(); - return getCandidateFileWithResponse(jobId, candidateId, path, requestOptions).flatMap(FluxUtil::toMono); + return promoteOptimizationCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(PromoteCandidateResponse.class)); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java index 466b79b31ee1..fbeef67c29f1 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java @@ -5114,6 +5114,48 @@ public void deleteOptimizationJob(String jobId, FoundryFeaturesOptInKeys foundry deleteOptimizationJobWithResponse(jobId, requestOptions).getValue(); } + /** + * Get a candidate file. + * + * Stream a specific file from the candidate's blob directory. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", + * "AgentsOptimization=V1Preview".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param jobId The optimization job id. + * @param candidateId The candidate id. + * @param path Relative path of the file to download (e.g. 'files/examples.jsonl'). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a candidate file. + * + * Stream a specific file from the candidate's blob directory along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getOptimizationCandidateFileWithResponse(String jobId, String candidateId, String path, + RequestOptions requestOptions) { + return this.serviceClient.getOptimizationCandidateFileWithResponse(jobId, candidateId, path, requestOptions); + } + /** * Promote a candidate. * @@ -5166,19 +5208,19 @@ public void deleteOptimizationJob(String jobId, FoundryFeaturesOptInKeys foundry */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response promoteCandidateWithResponse(String jobId, String candidateId, BinaryData body, - RequestOptions requestOptions) { - return this.serviceClient.promoteCandidateWithResponse(jobId, candidateId, body, requestOptions); + public Response promoteOptimizationCandidateWithResponse(String jobId, String candidateId, + BinaryData body, RequestOptions requestOptions) { + return this.serviceClient.promoteOptimizationCandidateWithResponse(jobId, candidateId, body, requestOptions); } /** - * Promote a candidate. + * Get a candidate file. * - * Promotes a candidate, recording the deployment timestamp and target agent version. + * Stream a specific file from the candidate's blob directory. * * @param jobId The optimization job id. - * @param candidateId The candidate id to promote. - * @param body Promotion details. + * @param candidateId The candidate id. + * @param path Relative path of the file to download (e.g. 'files/examples.jsonl'). * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5187,96 +5229,56 @@ public Response promoteCandidateWithResponse(String jobId, String ca * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response after successfully promoting a candidate. + * @return a candidate file. + * + * Stream a specific file from the candidate's blob directory. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public PromoteCandidateResponse promoteCandidate(String jobId, String candidateId, PromoteCandidateRequest body, + public BinaryData getOptimizationCandidateFile(String jobId, String candidateId, String path, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for promoteCandidateWithResponse + // Generated convenience method for getOptimizationCandidateFileWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - return promoteCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(body), requestOptions).getValue() - .toObject(PromoteCandidateResponse.class); - } - - /** - * Promote a candidate. - * - * Promotes a candidate, recording the deployment timestamp and target agent version. - * - * @param jobId The optimization job id. - * @param candidateId The candidate id to promote. - * @param body Promotion details. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response after successfully promoting a candidate. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public PromoteCandidateResponse promoteCandidate(String jobId, String candidateId, PromoteCandidateRequest body) { - // Generated convenience method for promoteCandidateWithResponse - RequestOptions requestOptions = new RequestOptions(); - return promoteCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(body), requestOptions).getValue() - .toObject(PromoteCandidateResponse.class); + return getOptimizationCandidateFileWithResponse(jobId, candidateId, path, requestOptions).getValue(); } /** * Get a candidate file. * * Stream a specific file from the candidate's blob directory. - *

Header Parameters

- * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview".
- * You can add these to a request with {@link RequestOptions#addHeader} - *

Response Body Schema

- * - *
-     * {@code
-     * BinaryData
-     * }
-     * 
* * @param jobId The optimization job id. * @param candidateId The candidate id. * @param path Relative path of the file to download (e.g. 'files/examples.jsonl'). - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a candidate file. * - * Stream a specific file from the candidate's blob directory along with {@link Response}. + * Stream a specific file from the candidate's blob directory. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getCandidateFileWithResponse(String jobId, String candidateId, String path, - RequestOptions requestOptions) { - return this.serviceClient.getCandidateFileWithResponse(jobId, candidateId, path, requestOptions); + public BinaryData getOptimizationCandidateFile(String jobId, String candidateId, String path) { + // Generated convenience method for getOptimizationCandidateFileWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getOptimizationCandidateFileWithResponse(jobId, candidateId, path, requestOptions).getValue(); } /** - * Get a candidate file. + * Promote a candidate. * - * Stream a specific file from the candidate's blob directory. + * Promotes a candidate, recording the deployment timestamp and target agent version. * * @param jobId The optimization job id. - * @param candidateId The candidate id. - * @param path Relative path of the file to download (e.g. 'files/examples.jsonl'). + * @param candidateId The candidate id to promote. + * @param body Promotion details. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5285,45 +5287,46 @@ public Response getCandidateFileWithResponse(String jobId, String ca * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a candidate file. - * - * Stream a specific file from the candidate's blob directory. + * @return response after successfully promoting a candidate. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData getCandidateFile(String jobId, String candidateId, String path, - FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for getCandidateFileWithResponse + public PromoteCandidateResponse promoteOptimizationCandidate(String jobId, String candidateId, + PromoteCandidateRequest body, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for promoteOptimizationCandidateWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - return getCandidateFileWithResponse(jobId, candidateId, path, requestOptions).getValue(); + return promoteOptimizationCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(body), requestOptions) + .getValue() + .toObject(PromoteCandidateResponse.class); } /** - * Get a candidate file. + * Promote a candidate. * - * Stream a specific file from the candidate's blob directory. + * Promotes a candidate, recording the deployment timestamp and target agent version. * * @param jobId The optimization job id. - * @param candidateId The candidate id. - * @param path Relative path of the file to download (e.g. 'files/examples.jsonl'). + * @param candidateId The candidate id to promote. + * @param body Promotion details. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a candidate file. - * - * Stream a specific file from the candidate's blob directory. + * @return response after successfully promoting a candidate. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData getCandidateFile(String jobId, String candidateId, String path) { - // Generated convenience method for getCandidateFileWithResponse + public PromoteCandidateResponse promoteOptimizationCandidate(String jobId, String candidateId, + PromoteCandidateRequest body) { + // Generated convenience method for promoteOptimizationCandidateWithResponse RequestOptions requestOptions = new RequestOptions(); - return getCandidateFileWithResponse(jobId, candidateId, path, requestOptions).getValue(); + return promoteOptimizationCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(body), requestOptions) + .getValue() + .toObject(PromoteCandidateResponse.class); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java index 7e0fb3f4c8a4..584e0c53f228 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java @@ -789,7 +789,7 @@ Response getOptimizationCandidateResultsSync(@HostParam("endpoint") @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getCandidateFile(@HostParam("endpoint") String endpoint, + Mono> getOptimizationCandidateFile(@HostParam("endpoint") String endpoint, @PathParam("jobId") String jobId, @PathParam("candidateId") String candidateId, @QueryParam("path") String path, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -800,7 +800,7 @@ Mono> getCandidateFile(@HostParam("endpoint") String endpoi @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getCandidateFileSync(@HostParam("endpoint") String endpoint, + Response getOptimizationCandidateFileSync(@HostParam("endpoint") String endpoint, @PathParam("jobId") String jobId, @PathParam("candidateId") String candidateId, @QueryParam("path") String path, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -811,7 +811,7 @@ Response getCandidateFileSync(@HostParam("endpoint") String endpoint @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> promoteCandidate(@HostParam("endpoint") String endpoint, + Mono> promoteOptimizationCandidate(@HostParam("endpoint") String endpoint, @PathParam("jobId") String jobId, @PathParam("candidateId") String candidateId, @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, @@ -823,7 +823,7 @@ Mono> promoteCandidate(@HostParam("endpoint") String endpoi @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response promoteCandidateSync(@HostParam("endpoint") String endpoint, + Response promoteOptimizationCandidateSync(@HostParam("endpoint") String endpoint, @PathParam("jobId") String jobId, @PathParam("candidateId") String candidateId, @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, @@ -7692,11 +7692,11 @@ public Response getOptimizationCandidateResultsWithResponse(String j * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getCandidateFileWithResponseAsync(String jobId, String candidateId, String path, - RequestOptions requestOptions) { + public Mono> getOptimizationCandidateFileWithResponseAsync(String jobId, String candidateId, + String path, RequestOptions requestOptions) { final String accept = "application/octet-stream"; - return FluxUtil.withContext(context -> service.getCandidateFile(this.client.getEndpoint(), jobId, candidateId, - path, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.getOptimizationCandidateFile(this.client.getEndpoint(), jobId, + candidateId, path, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } /** @@ -7735,10 +7735,10 @@ public Mono> getCandidateFileWithResponseAsync(String jobId * Stream a specific file from the candidate's blob directory along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getCandidateFileWithResponse(String jobId, String candidateId, String path, + public Response getOptimizationCandidateFileWithResponse(String jobId, String candidateId, String path, RequestOptions requestOptions) { final String accept = "application/octet-stream"; - return service.getCandidateFileSync(this.client.getEndpoint(), jobId, candidateId, path, + return service.getOptimizationCandidateFileSync(this.client.getEndpoint(), jobId, candidateId, path, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } @@ -7794,12 +7794,13 @@ public Response getCandidateFileWithResponse(String jobId, String ca * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> promoteCandidateWithResponseAsync(String jobId, String candidateId, + public Mono> promoteOptimizationCandidateWithResponseAsync(String jobId, String candidateId, BinaryData body, RequestOptions requestOptions) { final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.promoteCandidate(this.client.getEndpoint(), jobId, candidateId, - this.client.getServiceVersion().getVersion(), contentType, accept, body, requestOptions, context)); + return FluxUtil + .withContext(context -> service.promoteOptimizationCandidate(this.client.getEndpoint(), jobId, candidateId, + this.client.getServiceVersion().getVersion(), contentType, accept, body, requestOptions, context)); } /** @@ -7853,11 +7854,11 @@ public Mono> promoteCandidateWithResponseAsync(String jobId * @return response after successfully promoting a candidate along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response promoteCandidateWithResponse(String jobId, String candidateId, BinaryData body, - RequestOptions requestOptions) { + public Response promoteOptimizationCandidateWithResponse(String jobId, String candidateId, + BinaryData body, RequestOptions requestOptions) { final String contentType = "application/json"; final String accept = "application/json"; - return service.promoteCandidateSync(this.client.getEndpoint(), jobId, candidateId, + return service.promoteOptimizationCandidateSync(this.client.getEndpoint(), jobId, candidateId, this.client.getServiceVersion().getVersion(), contentType, accept, body, requestOptions, Context.NONE); } diff --git a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json index 78f87feda774..048cc4566412 100644 --- a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json +++ b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"e22220acbc5b","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"5f15da6bf1f3","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index 06083586b99c..86bc8e3ade16 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: 7a56624240db46a5292639ef0934bb31b568f1dc +commit: 34133a2aadc9cc4ac69f99e4c94b82b2a189b244 repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents From dbfcb8c4c6bd17d3441214cd6cbb469ebd73c45c Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 26 May 2026 18:39:54 -0700 Subject: [PATCH 37/74] add toolbox params --- .../com/azure/ai/agents/ToolboxesAsyncClient.java | 10 ++++++++++ .../java/com/azure/ai/agents/ToolboxesClient.java | 11 +++++++++++ 2 files changed, 21 insertions(+) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java index 3b0dcbf15f3b..af8e728f6d14 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java @@ -409,6 +409,7 @@ public Mono> deleteToolboxVersionWithResponse(String name, String * * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param tools The list of tools to include in this version. + * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -436,6 +437,7 @@ public Mono createToolboxVersion(String name, List * Retrieve a toolbox. * * @param name The name of the toolbox to retrieve. + * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -458,6 +460,7 @@ public Mono getToolbox(String name, FoundryFeaturesOptInKeys fou /** * List all toolboxes. * + * @param foundryFeatures The Foundry preview feature opt-in header. * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the * default is 20. * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` @@ -514,6 +517,7 @@ public PagedFlux listToolboxes(FoundryFeaturesOptInKeys foundryF /** * List all toolboxes. * + * @param foundryFeatures The Foundry preview feature opt-in header. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. @@ -547,6 +551,7 @@ public PagedFlux listToolboxes(FoundryFeaturesOptInKeys foundryF * List all versions of a toolbox. * * @param name The name of the toolbox to list versions for. + * @param foundryFeatures The Foundry preview feature opt-in header. * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the * default is 20. * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` @@ -605,6 +610,7 @@ public PagedFlux listToolboxVersions(String name, Foundry * List all versions of a toolbox. * * @param name The name of the toolbox to list versions for. + * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -641,6 +647,7 @@ public PagedFlux listToolboxVersions(String name, Foundry * * @param name The name of the toolbox. * @param version The version identifier to retrieve. + * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -667,6 +674,7 @@ public Mono getToolboxVersion(String name, String version * @param name The name of the toolbox to update. * @param defaultVersion The version identifier that the toolbox should point to. When set, the toolbox's default * version will resolve to this version instead of the latest. + * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -693,6 +701,7 @@ public Mono updateToolbox(String name, String defaultVersion, * Delete a toolbox and all its versions. * * @param name The name of the toolbox to delete. + * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -716,6 +725,7 @@ public Mono deleteToolbox(String name, FoundryFeaturesOptInKeys foundryFea * * @param name The name of the toolbox. * @param version The version identifier to delete. + * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java index 9ddb3b8fe77d..48c0c256f8e3 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java @@ -399,6 +399,7 @@ public Response deleteToolboxVersionWithResponse(String name, String versi * * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param tools The list of tools to include in this version. + * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -425,6 +426,7 @@ public ToolboxVersionDetails createToolboxVersion(String name, List tools, * Retrieve a toolbox. * * @param name The name of the toolbox to retrieve. + * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -446,6 +448,7 @@ public ToolboxDetails getToolbox(String name, FoundryFeaturesOptInKeys foundryFe /** * List all toolboxes. * + * @param foundryFeatures The Foundry preview feature opt-in header. * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the * default is 20. * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` @@ -491,6 +494,7 @@ public PagedIterable listToolboxes(FoundryFeaturesOptInKeys foun /** * List all toolboxes. * + * @param foundryFeatures The Foundry preview feature opt-in header. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. @@ -513,6 +517,7 @@ public PagedIterable listToolboxes(FoundryFeaturesOptInKeys foun * List all versions of a toolbox. * * @param name The name of the toolbox to list versions for. + * @param foundryFeatures The Foundry preview feature opt-in header. * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the * default is 20. * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` @@ -559,6 +564,7 @@ public PagedIterable listToolboxVersions(String name, * List all versions of a toolbox. * * @param name The name of the toolbox to list versions for. + * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -584,6 +590,7 @@ public PagedIterable listToolboxVersions(String name, * * @param name The name of the toolbox. * @param version The version identifier to retrieve. + * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -610,6 +617,7 @@ public ToolboxVersionDetails getToolboxVersion(String name, String version, * @param name The name of the toolbox to update. * @param defaultVersion The version identifier that the toolbox should point to. When set, the toolbox's default * version will resolve to this version instead of the latest. + * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -635,6 +643,7 @@ public ToolboxDetails updateToolbox(String name, String defaultVersion, FoundryF * Delete a toolbox and all its versions. * * @param name The name of the toolbox to delete. + * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -657,6 +666,7 @@ public void deleteToolbox(String name, FoundryFeaturesOptInKeys foundryFeatures) * * @param name The name of the toolbox. * @param version The version identifier to delete. + * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -684,6 +694,7 @@ public void deleteToolboxVersion(String name, String version, FoundryFeaturesOpt * @param skills The list of skill sources to include in this version. A skill reference specifies a skill name and * optionally a version. If version is omitted, the skill's default version is used. * @param policies Policy configuration for this toolbox version. + * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. From 54d6ab7d77ecc6ec99207c9a0f38cab9228bf29e Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 26 May 2026 18:52:21 -0700 Subject: [PATCH 38/74] update samples and tests --- .../DataGenerationJobsAsyncSample.java | 2 +- .../ai/projects/DataGenerationJobsSample.java | 2 +- .../azure/ai/projects/SkillsAsyncSample.java | 68 ++++++++----------- .../ai/projects/SkillsPackageAsyncSample.java | 26 ++++--- .../ai/projects/SkillsPackageSample.java | 33 +++++---- .../com/azure/ai/projects/SkillsSample.java | 56 ++++++--------- .../com/azure/ai/projects/SamplesTests.java | 39 +++++------ 7 files changed, 102 insertions(+), 124 deletions(-) diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobsAsyncSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobsAsyncSample.java index fe4399a3e915..74c5740f06a5 100644 --- a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobsAsyncSample.java +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobsAsyncSample.java @@ -51,7 +51,7 @@ public static Mono listGenerationJobs() { AtomicBoolean found = new AtomicBoolean(false); return DATA_GENERATION_JOBS_ASYNC_CLIENT.listGenerationJobs( - DATA_GENERATION_PREVIEW, 5, PageOrder.DESC, null, null, null, null) + DATA_GENERATION_PREVIEW, 5, PageOrder.DESC, null, null) .take(5) .doOnNext(job -> { found.set(true); diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobsSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobsSample.java index bc2db35ba1e3..bfcfadfd549e 100644 --- a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobsSample.java +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobsSample.java @@ -45,7 +45,7 @@ public static void listGenerationJobs() { // BEGIN:com.azure.ai.projects.DataGenerationJobsSample.listGenerationJobs Iterable jobs = DATA_GENERATION_JOBS_CLIENT.listGenerationJobs( - DATA_GENERATION_PREVIEW, 5, PageOrder.DESC, null, null, null, null); + DATA_GENERATION_PREVIEW, 5, PageOrder.DESC, null, null); int count = 0; for (DataGenerationJob job : jobs) { diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsAsyncSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsAsyncSample.java index 0809f86d6855..125fd554ce46 100644 --- a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsAsyncSample.java +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsAsyncSample.java @@ -2,15 +2,14 @@ // Licensed under the MIT License. package com.azure.ai.projects; -import com.azure.ai.projects.models.SkillDetails; +import com.azure.ai.projects.models.Skill; +import com.azure.ai.projects.models.SkillInlineContent; +import com.azure.ai.projects.models.SkillVersion; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; -import java.util.HashMap; -import java.util.Map; - /** * Sample demonstrating CRUD operations on Skills using the asynchronous SkillsAsyncClient. * @@ -29,34 +28,31 @@ public class SkillsAsyncSample { public static void main(String[] args) { // Using block() to wait for the async operations to complete in the sample -// createSkill().block(); +// createSkillVersion().block(); // getSkill().block(); // updateSkill().block(); // listSkills().blockLast(); // deleteSkill().block(); } - public static Mono createSkill() { - // BEGIN:com.azure.ai.projects.SkillsAsyncSample.createSkill - - Map metadata = new HashMap<>(); - metadata.put("domain", "support"); + public static Mono createSkillVersion() { + // BEGIN:com.azure.ai.projects.SkillsAsyncSample.createSkillVersion - return skillsAsyncClient.createSkill( - "product-support-skill", + SkillInlineContent inlineContent = new SkillInlineContent( "Answers product support questions using company policy.", - "You help answer product support questions using company policy and product guidance.", - metadata - ).doOnNext(skill -> { - System.out.println("Created skill: " + skill.getName()); - System.out.println("Skill ID: " + skill.getSkillId()); - System.out.println("Blob present: " + skill.isBlobPresent()); - }); - - // END:com.azure.ai.projects.SkillsAsyncSample.createSkill + "You help answer product support questions using company policy and product guidance." + ); + + return skillsAsyncClient.createSkillVersion("product-support-skill", inlineContent, true) + .doOnNext(skillVersion -> { + System.out.println("Created skill version: " + skillVersion.getName()); + System.out.println("Version: " + skillVersion.getVersion()); + }); + + // END:com.azure.ai.projects.SkillsAsyncSample.createSkillVersion } - public static Mono getSkill() { + public static Mono getSkill() { // BEGIN:com.azure.ai.projects.SkillsAsyncSample.getSkill String skillName = "product-support-skill"; @@ -64,44 +60,34 @@ public static Mono getSkill() { return skillsAsyncClient.getSkill(skillName) .doOnNext(skill -> { System.out.println("Skill name: " + skill.getName()); - System.out.println("Skill ID: " + skill.getSkillId()); System.out.println("Description: " + skill.getDescription()); + System.out.println("Default version: " + skill.getDefaultVersion()); }); // END:com.azure.ai.projects.SkillsAsyncSample.getSkill } - public static Mono updateSkill() { + public static Mono updateSkill() { // BEGIN:com.azure.ai.projects.SkillsAsyncSample.updateSkill String skillName = "product-support-skill"; - Map metadata = new HashMap<>(); - metadata.put("domain", "support"); - metadata.put("status", "updated"); - - return skillsAsyncClient.updateSkill( - skillName, - "Updated description for the sample skill.", - null, - metadata - ).doOnNext(updated -> { - System.out.println("Updated skill: " + updated.getName()); - System.out.println("Description: " + updated.getDescription()); - System.out.println("Metadata: " + updated.getMetadata()); - }); + return skillsAsyncClient.updateSkill(skillName, "2") + .doOnNext(updated -> { + System.out.println("Updated skill: " + updated.getName()); + System.out.println("Default version: " + updated.getDefaultVersion()); + }); // END:com.azure.ai.projects.SkillsAsyncSample.updateSkill } - public static Flux listSkills() { + public static Flux listSkills() { // BEGIN:com.azure.ai.projects.SkillsAsyncSample.listSkills return skillsAsyncClient.listSkills() .doOnNext(skill -> { System.out.println("Skill name: " + skill.getName()); - System.out.println("Skill ID: " + skill.getSkillId()); - System.out.println("Blob present: " + skill.isBlobPresent()); + System.out.println("Description: " + skill.getDescription()); System.out.println("-------------------------------------------------"); }); diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageAsyncSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageAsyncSample.java index c36e0de53a0b..35ee239c664b 100644 --- a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageAsyncSample.java +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageAsyncSample.java @@ -2,7 +2,9 @@ // Licensed under the MIT License. package com.azure.ai.projects; -import com.azure.ai.projects.models.SkillDetails; +import com.azure.ai.projects.models.CreateSkillVersionFromFilesBody; +import com.azure.ai.projects.models.FilesFileDetails; +import com.azure.ai.projects.models.Skill; import com.azure.core.exception.ResourceNotFoundException; import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; @@ -15,6 +17,7 @@ import java.nio.file.Files; import java.nio.file.Path; import java.time.Duration; +import java.util.Arrays; import java.util.concurrent.atomic.AtomicReference; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; @@ -41,16 +44,15 @@ public static void main(String[] args) throws IOException { Mono workflow = SKILLS_ASYNC_CLIENT.deleteSkill(SKILL_NAME) .doOnSuccess(unused -> System.out.println("Deleted existing skill: " + SKILL_NAME)) .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()) - .then(SKILLS_ASYNC_CLIENT.createSkillFromPackage(createSkillPackage())) + .then(SKILLS_ASYNC_CLIENT.createSkillVersionFromFiles(SKILL_NAME, createSkillPackageBody())) .doOnNext(imported -> { skillNameRef.set(imported.getName()); System.out.println("Imported skill from package: " + imported.getName() - + " (" + imported.getSkillId() + ") blobPresent=" + imported.isBlobPresent()); + + " (version=" + imported.getVersion() + ")"); }) .flatMap(imported -> SKILLS_ASYNC_CLIENT.getSkill(imported.getName())) - .doOnNext(fetched -> System.out.println("Fetched imported skill: " + fetched.getName() - + " (" + fetched.getSkillId() + ") blobPresent=" + fetched.isBlobPresent())) - .flatMap(SkillsPackageAsyncSample::downloadSkillPackage) + .doOnNext(fetched -> System.out.println("Fetched imported skill: " + fetched.getName())) + .flatMap(SkillsPackageAsyncSample::downloadSkillContent) .flatMap(fetched -> SKILLS_ASYNC_CLIENT.deleteSkill(fetched.getName()) .doOnSuccess(unused -> System.out.println("Deleted imported skill: " + fetched.getName()))); @@ -62,8 +64,8 @@ public static void main(String[] args) throws IOException { .block(); } - private static Mono downloadSkillPackage(SkillDetails fetched) { - return SKILLS_ASYNC_CLIENT.downloadSkill(fetched.getName()) + private static Mono downloadSkillContent(Skill fetched) { + return SKILLS_ASYNC_CLIENT.getSkillContent(fetched.getName()) .map(downloaded -> { try { Path downloadPath = Files.createTempFile(fetched.getName() + "-", ".zip"); @@ -76,7 +78,7 @@ private static Mono downloadSkillPackage(SkillDetails fetched) { }); } - private static BinaryData createSkillPackage() throws IOException { + private static CreateSkillVersionFromFilesBody createSkillPackageBody() { String skillMarkdown = "---\n" + "name: " + SKILL_NAME + "\n" + "description: Answers product support questions using company policy and product guidance.\n" @@ -88,8 +90,12 @@ private static BinaryData createSkillPackage() throws IOException { zipOutputStream.putNextEntry(new ZipEntry(SKILL_NAME + "/SKILL.md")); zipOutputStream.write(skillMarkdown.getBytes(StandardCharsets.UTF_8)); zipOutputStream.closeEntry(); + } catch (IOException e) { + throw new RuntimeException(e); } - return BinaryData.fromBytes(outputStream.toByteArray()); + FilesFileDetails fileDetails = new FilesFileDetails(BinaryData.fromBytes(outputStream.toByteArray())) + .setFilename(SKILL_NAME + ".zip"); + return new CreateSkillVersionFromFilesBody(Arrays.asList(fileDetails)); } } diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageSample.java index f4705c083e6a..744e20c88163 100644 --- a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageSample.java +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageSample.java @@ -2,7 +2,10 @@ // Licensed under the MIT License. package com.azure.ai.projects; -import com.azure.ai.projects.models.SkillDetails; +import com.azure.ai.projects.models.CreateSkillVersionFromFilesBody; +import com.azure.ai.projects.models.FilesFileDetails; +import com.azure.ai.projects.models.Skill; +import com.azure.ai.projects.models.SkillVersion; import com.azure.core.exception.ResourceNotFoundException; import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; @@ -13,6 +16,7 @@ import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; +import java.util.Arrays; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; @@ -40,28 +44,27 @@ public static void main(String[] args) throws IOException { // The sample skill does not already exist. } - SkillDetails imported = null; + SkillVersion imported = null; try { - // BEGIN:com.azure.ai.projects.SkillsPackageSample.createSkillFromPackage + // BEGIN:com.azure.ai.projects.SkillsPackageSample.createSkillVersionFromFiles - imported = SKILLS_CLIENT.createSkillFromPackage(createSkillPackage()); + imported = SKILLS_CLIENT.createSkillVersionFromFiles(SKILL_NAME, createSkillPackageBody()); System.out.println("Imported skill from package: " + imported.getName() - + " (" + imported.getSkillId() + ") blobPresent=" + imported.isBlobPresent()); + + " (version=" + imported.getVersion() + ")"); - // END:com.azure.ai.projects.SkillsPackageSample.createSkillFromPackage + // END:com.azure.ai.projects.SkillsPackageSample.createSkillVersionFromFiles - // BEGIN:com.azure.ai.projects.SkillsPackageSample.downloadSkill + // BEGIN:com.azure.ai.projects.SkillsPackageSample.getSkillContent - SkillDetails fetched = SKILLS_CLIENT.getSkill(imported.getName()); - System.out.println("Fetched imported skill: " + fetched.getName() - + " (" + fetched.getSkillId() + ") blobPresent=" + fetched.isBlobPresent()); + Skill fetched = SKILLS_CLIENT.getSkill(imported.getName()); + System.out.println("Fetched imported skill: " + fetched.getName()); - BinaryData downloaded = SKILLS_CLIENT.downloadSkill(fetched.getName()); + BinaryData downloaded = SKILLS_CLIENT.getSkillContent(fetched.getName()); Path downloadPath = Files.createTempFile(fetched.getName() + "-", ".zip"); Files.write(downloadPath, downloaded.toBytes()); System.out.println("Downloaded skill package path: " + downloadPath); - // END:com.azure.ai.projects.SkillsPackageSample.downloadSkill + // END:com.azure.ai.projects.SkillsPackageSample.getSkillContent } finally { String skillName = imported == null ? SKILL_NAME : imported.getName(); try { @@ -73,7 +76,7 @@ public static void main(String[] args) throws IOException { } } - private static BinaryData createSkillPackage() throws IOException { + private static CreateSkillVersionFromFilesBody createSkillPackageBody() throws IOException { String skillMarkdown = "---\n" + "name: " + SKILL_NAME + "\n" + "description: Answers product support questions using company policy and product guidance.\n" @@ -87,6 +90,8 @@ private static BinaryData createSkillPackage() throws IOException { zipOutputStream.closeEntry(); } - return BinaryData.fromBytes(outputStream.toByteArray()); + FilesFileDetails fileDetails = new FilesFileDetails(BinaryData.fromBytes(outputStream.toByteArray())) + .setFilename(SKILL_NAME + ".zip"); + return new CreateSkillVersionFromFilesBody(Arrays.asList(fileDetails)); } } diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsSample.java index 1260f1e3bfbb..c1c72b640102 100644 --- a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsSample.java +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsSample.java @@ -2,14 +2,13 @@ // Licensed under the MIT License. package com.azure.ai.projects; -import com.azure.ai.projects.models.SkillDetails; +import com.azure.ai.projects.models.Skill; +import com.azure.ai.projects.models.SkillInlineContent; +import com.azure.ai.projects.models.SkillVersion; import com.azure.core.http.rest.PagedIterable; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; -import java.util.HashMap; -import java.util.Map; - /** * Sample demonstrating CRUD operations on Skills using the synchronous SkillsClient. * @@ -28,42 +27,38 @@ public class SkillsSample { public static void main(String[] args) { // Uncomment the sample you want to run -// createSkill(); +// createSkillVersion(); // getSkill(); // updateSkill(); // listSkills(); // deleteSkill(); } - public static void createSkill() { - // BEGIN:com.azure.ai.projects.SkillsSample.createSkill - - Map metadata = new HashMap<>(); - metadata.put("domain", "support"); + public static void createSkillVersion() { + // BEGIN:com.azure.ai.projects.SkillsSample.createSkillVersion - SkillDetails skill = skillsClient.createSkill( - "product-support-skill", + SkillInlineContent inlineContent = new SkillInlineContent( "Answers product support questions using company policy.", - "You help answer product support questions using company policy and product guidance.", - metadata + "You help answer product support questions using company policy and product guidance." ); - System.out.println("Created skill: " + skill.getName()); - System.out.println("Skill ID: " + skill.getSkillId()); - System.out.println("Blob present: " + skill.isBlobPresent()); + SkillVersion skillVersion = skillsClient.createSkillVersion("product-support-skill", inlineContent, true); + + System.out.println("Created skill version: " + skillVersion.getName()); + System.out.println("Version: " + skillVersion.getVersion()); - // END:com.azure.ai.projects.SkillsSample.createSkill + // END:com.azure.ai.projects.SkillsSample.createSkillVersion } public static void getSkill() { // BEGIN:com.azure.ai.projects.SkillsSample.getSkill String skillName = "product-support-skill"; - SkillDetails skill = skillsClient.getSkill(skillName); + Skill skill = skillsClient.getSkill(skillName); System.out.println("Skill name: " + skill.getName()); - System.out.println("Skill ID: " + skill.getSkillId()); System.out.println("Description: " + skill.getDescription()); + System.out.println("Default version: " + skill.getDefaultVersion()); // END:com.azure.ai.projects.SkillsSample.getSkill } @@ -73,20 +68,10 @@ public static void updateSkill() { String skillName = "product-support-skill"; - Map metadata = new HashMap<>(); - metadata.put("domain", "support"); - metadata.put("status", "updated"); - - SkillDetails updated = skillsClient.updateSkill( - skillName, - "Updated description for the sample skill.", - null, - metadata - ); + Skill updated = skillsClient.updateSkill(skillName, "2"); System.out.println("Updated skill: " + updated.getName()); - System.out.println("Description: " + updated.getDescription()); - System.out.println("Metadata: " + updated.getMetadata()); + System.out.println("Default version: " + updated.getDefaultVersion()); // END:com.azure.ai.projects.SkillsSample.updateSkill } @@ -94,11 +79,10 @@ public static void updateSkill() { public static void listSkills() { // BEGIN:com.azure.ai.projects.SkillsSample.listSkills - PagedIterable skills = skillsClient.listSkills(); - for (SkillDetails skill : skills) { + PagedIterable skills = skillsClient.listSkills(); + for (Skill skill : skills) { System.out.println("Skill name: " + skill.getName()); - System.out.println("Skill ID: " + skill.getSkillId()); - System.out.println("Blob present: " + skill.isBlobPresent()); + System.out.println("Description: " + skill.getDescription()); System.out.println("-------------------------------------------------"); } diff --git a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java index 25da419c09db..ff963516cc77 100644 --- a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java +++ b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java @@ -3,10 +3,13 @@ package com.azure.ai.projects; import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.projects.models.CreateSkillVersionFromFilesBody; import com.azure.ai.projects.models.DataGenerationJob; +import com.azure.ai.projects.models.FilesFileDetails; import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; import com.azure.ai.projects.models.ModelVersion; -import com.azure.ai.projects.models.SkillDetails; +import com.azure.ai.projects.models.Skill; +import com.azure.ai.projects.models.SkillVersion; import com.azure.core.exception.ResourceNotFoundException; import com.azure.core.http.HttpClient; import com.azure.core.test.annotation.LiveOnly; @@ -20,8 +23,7 @@ import java.io.ByteArrayOutputStream; import java.io.IOException; import java.nio.charset.StandardCharsets; -import java.nio.file.Files; -import java.nio.file.Path; +import java.util.Arrays; import java.util.concurrent.atomic.AtomicBoolean; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; @@ -45,24 +47,19 @@ public void skillsPackageSample(HttpClient httpClient, AIProjectsServiceVersion // The sample skill does not already exist. } - SkillDetails imported = null; + SkillVersion imported = null; try { - imported = skillsClient.createSkillFromPackage(createSkillPackage()); + imported = skillsClient.createSkillVersionFromFiles(SAMPLE_SKILL_NAME, createSkillPackageBody()); Assertions.assertNotNull(imported); Assertions.assertEquals(SAMPLE_SKILL_NAME, imported.getName()); - Assertions.assertTrue(imported.isBlobPresent()); - SkillDetails fetched = skillsClient.getSkill(imported.getName()); + Skill fetched = skillsClient.getSkill(imported.getName()); Assertions.assertNotNull(fetched); Assertions.assertEquals(imported.getName(), fetched.getName()); - BinaryData downloaded = skillsClient.downloadSkill(fetched.getName()); + BinaryData downloaded = skillsClient.getSkillContent(fetched.getName()); Assertions.assertNotNull(downloaded); Assertions.assertTrue(downloaded.toBytes().length > 0); - - Path downloadPath = Files.createTempFile(fetched.getName() + "-", ".zip"); - Files.write(downloadPath, downloaded.toBytes()); - Assertions.assertTrue(Files.size(downloadPath) > 0); } finally { String skillName = imported == null ? SAMPLE_SKILL_NAME : imported.getName(); try { @@ -82,16 +79,14 @@ public void skillsPackageAsyncSample(HttpClient httpClient, AIProjectsServiceVer StepVerifier.create(skillsAsyncClient.deleteSkill(SAMPLE_SKILL_NAME) .onErrorResume(ResourceNotFoundException.class, ignored -> reactor.core.publisher.Mono.empty()) - .then(skillsAsyncClient.createSkillFromPackage(createSkillPackage())) + .then(skillsAsyncClient.createSkillVersionFromFiles(SAMPLE_SKILL_NAME, createSkillPackageBody())) .flatMap(imported -> { Assertions.assertNotNull(imported); Assertions.assertEquals(SAMPLE_SKILL_NAME, imported.getName()); - Assertions.assertTrue(imported.isBlobPresent()); return skillsAsyncClient.getSkill(imported.getName()).doOnNext(fetched -> { Assertions.assertEquals(imported.getName(), fetched.getName()); - Assertions.assertTrue(fetched.isBlobPresent()); - }).then(skillsAsyncClient.downloadSkill(imported.getName())).doOnNext(downloaded -> { + }).then(skillsAsyncClient.getSkillContent(imported.getName())).doOnNext(downloaded -> { Assertions.assertNotNull(downloaded); Assertions.assertTrue(downloaded.toBytes().length > 0); }).then(skillsAsyncClient.deleteSkill(imported.getName())); @@ -105,8 +100,8 @@ public void dataGenerationJobsListSample(HttpClient httpClient, AIProjectsServic DataGenerationJobsClient dataGenerationJobsClient = getClientBuilder(httpClient, serviceVersion).buildDataGenerationJobsClient(); - Iterable jobs = dataGenerationJobsClient.listGenerationJobs(DATA_GENERATION_PREVIEW, 5, - PageOrder.DESC, null, null, null, null); + Iterable jobs + = dataGenerationJobsClient.listGenerationJobs(DATA_GENERATION_PREVIEW, 5, PageOrder.DESC, null, null); Assertions.assertNotNull(jobs); int count = 0; @@ -128,7 +123,7 @@ public void dataGenerationJobsListAsyncSample(HttpClient httpClient, AIProjectsS = getClientBuilder(httpClient, serviceVersion).buildDataGenerationJobsAsyncClient(); StepVerifier.create(dataGenerationJobsAsyncClient - .listGenerationJobs(DATA_GENERATION_PREVIEW, 5, PageOrder.DESC, null, null, null, null) + .listGenerationJobs(DATA_GENERATION_PREVIEW, 5, PageOrder.DESC, null, null) .take(5) .doOnNext(job -> { Assertions.assertNotNull(job); @@ -192,7 +187,7 @@ public void modelVersionCreateGetUpdateDeleteSample(HttpClient httpClient, Assertions.fail("Enable after providing model asset environment variables."); } - private static BinaryData createSkillPackage() throws IOException { + private static CreateSkillVersionFromFilesBody createSkillPackageBody() throws IOException { String skillMarkdown = "---\n" + "name: " + SAMPLE_SKILL_NAME + "\n" + "description: Answers product support questions using company policy and product guidance.\n" + "---\n\n" + "You help answer product support questions using company policy and product guidance.\n"; @@ -204,6 +199,8 @@ private static BinaryData createSkillPackage() throws IOException { zipOutputStream.closeEntry(); } - return BinaryData.fromBytes(outputStream.toByteArray()); + FilesFileDetails fileDetails = new FilesFileDetails(BinaryData.fromBytes(outputStream.toByteArray())) + .setFilename(SAMPLE_SKILL_NAME + ".zip"); + return new CreateSkillVersionFromFilesBody(Arrays.asList(fileDetails)); } } From 1ccef5a2bd3cf6ad48e3de10296486bc134908b8 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 26 May 2026 19:00:40 -0700 Subject: [PATCH 39/74] fix format --- .../com/azure/ai/projects/SamplesTests.java | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java index ff963516cc77..fabb046753fc 100644 --- a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java +++ b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java @@ -122,14 +122,15 @@ public void dataGenerationJobsListAsyncSample(HttpClient httpClient, AIProjectsS DataGenerationJobsAsyncClient dataGenerationJobsAsyncClient = getClientBuilder(httpClient, serviceVersion).buildDataGenerationJobsAsyncClient(); - StepVerifier.create(dataGenerationJobsAsyncClient - .listGenerationJobs(DATA_GENERATION_PREVIEW, 5, PageOrder.DESC, null, null) - .take(5) - .doOnNext(job -> { - Assertions.assertNotNull(job); - Assertions.assertNotNull(job.getId()); - }) - .then()).verifyComplete(); + StepVerifier.create( + dataGenerationJobsAsyncClient.listGenerationJobs(DATA_GENERATION_PREVIEW, 5, PageOrder.DESC, null, null) + .take(5) + .doOnNext(job -> { + Assertions.assertNotNull(job); + Assertions.assertNotNull(job.getId()); + }) + .then()) + .verifyComplete(); } @LiveOnly From fec39d02f7045ee3da57d628461350947ea985f7 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 26 May 2026 19:15:51 -0700 Subject: [PATCH 40/74] disable sessionlog tests --- .../src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java | 2 ++ .../src/test/java/com/azure/ai/agents/SessionLogSyncTest.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java index 4ca945afc0aa..4a2d3a886233 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogAsyncTest.java @@ -14,6 +14,7 @@ import com.azure.core.test.annotation.RecordWithoutRequestBody; import com.azure.core.util.BinaryData; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; import reactor.core.Disposable; @@ -35,6 +36,7 @@ public class SessionLogAsyncTest extends ClientTestBase { @RecordWithoutRequestBody @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.agents.TestUtils#getTestParameters") + @Disabled public void validatesSessionLogStream(HttpClient httpClient, AgentsServiceVersion serviceVersion) { AgentsAsyncClient client = getAgentsAsyncClient(httpClient, serviceVersion); RequestOptions featureOptions = new RequestOptions().setHeader(HttpHeaderName.fromString("Foundry-Features"), diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java index a07b4d2ad2b5..70ac79de4a82 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/SessionLogSyncTest.java @@ -15,6 +15,7 @@ import com.azure.core.test.annotation.RecordWithoutRequestBody; import com.azure.core.util.BinaryData; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; @@ -40,6 +41,7 @@ public class SessionLogSyncTest extends ClientTestBase { @RecordWithoutRequestBody @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.agents.TestUtils#getTestParameters") + @Disabled public void validatesSessionLogStream(HttpClient httpClient, AgentsServiceVersion serviceVersion) { AgentsClient client = getAgentsSyncClient(httpClient, serviceVersion); RequestOptions featureOptions = new RequestOptions().setHeader(HttpHeaderName.fromString("Foundry-Features"), From 13d08ea6be51ddd24998767ca2ec79c05d2a19d6 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Tue, 26 May 2026 19:19:04 -0700 Subject: [PATCH 41/74] suppress checkstyle --- sdk/ai/azure-ai-projects/checkstyle-suppressions.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/ai/azure-ai-projects/checkstyle-suppressions.xml b/sdk/ai/azure-ai-projects/checkstyle-suppressions.xml index 3151341309f5..6d17740fdcdd 100644 --- a/sdk/ai/azure-ai-projects/checkstyle-suppressions.xml +++ b/sdk/ai/azure-ai-projects/checkstyle-suppressions.xml @@ -10,4 +10,5 @@ + From 2447851d8d37f0e0950c605086dc53f5430d7055 Mon Sep 17 00:00:00 2001 From: Kaylie <50653231+kaylieee@users.noreply.github.com> Date: Wed, 27 May 2026 09:06:32 -0700 Subject: [PATCH 42/74] Suppress OpenAI tools (#49278) * regen as binarydata * add typed getters and setters and tests --- .../implementation/OpenAIJsonHelper.java | 104 +++++ .../projects/models/ApplyPatchToolParam.java | 80 ---- .../projects/models/ApproximateLocation.java | 201 -------- .../models/AutoCodeInterpreterToolParam.java | 176 ------- .../projects/models/AzureAIAgentTarget.java | 47 +- .../projects/models/CodeInterpreterTool.java | 112 ----- .../projects/models/ComputerEnvironment.java | 71 --- .../models/ComputerUsePreviewTool.java | 152 ------ .../projects/models/ContainerAutoParam.java | 206 -------- .../projects/models/ContainerMemoryLimit.java | 66 --- .../ContainerNetworkPolicyAllowlistParam.java | 143 ------ .../ContainerNetworkPolicyDisabledParam.java | 80 ---- ...ntainerNetworkPolicyDomainSecretParam.java | 127 ----- .../models/ContainerNetworkPolicyParam.java | 109 ----- .../ContainerNetworkPolicyParamType.java | 57 --- .../ai/projects/models/ContainerSkill.java | 107 ----- .../projects/models/ContainerSkillType.java | 57 --- .../models/CustomGrammarFormatParam.java | 129 ----- .../models/CustomTextFormatParam.java | 80 ---- .../ai/projects/models/CustomToolParam.java | 173 ------- .../models/CustomToolParamFormat.java | 107 ----- .../models/CustomToolParamFormatType.java | 57 --- .../ai/projects/models/FileSearchTool.java | 214 --------- .../models/FunctionShellToolParam.java | 111 ----- .../FunctionShellToolParamEnvironment.java | 112 ----- ...ramEnvironmentContainerReferenceParam.java | 107 ----- ...ParamEnvironmentLocalEnvironmentParam.java | 114 ----- ...FunctionShellToolParamEnvironmentType.java | 64 --- .../ai/projects/models/FunctionTool.java | 193 -------- .../ai/projects/models/GrammarSyntax.java | 57 --- .../projects/models/HybridSearchOptions.java | 104 ----- .../projects/models/ImageGenActionEnum.java | 61 --- .../ai/projects/models/ImageGenTool.java | 439 ------------------ .../models/ImageGenToolBackground.java | 61 --- .../models/ImageGenToolInputImageMask.java | 121 ----- .../ai/projects/models/ImageGenToolModel.java | 63 --- .../models/ImageGenToolModeration.java | 56 --- .../models/ImageGenToolOutputFormat.java | 61 --- .../projects/models/ImageGenToolQuality.java | 66 --- .../ai/projects/models/ImageGenToolSize.java | 66 --- .../ai/projects/models/InlineSkillParam.java | 148 ------ .../models/InlineSkillSourceParam.java | 116 ----- .../ai/projects/models/InputFidelity.java | 58 --- .../projects/models/LocalShellToolParam.java | 80 ---- .../ai/projects/models/LocalSkillParam.java | 126 ----- .../com/azure/ai/projects/models/MCPTool.java | 390 ---------------- .../projects/models/MCPToolConnectorId.java | 86 ---- .../ai/projects/models/MCPToolFilter.java | 140 ------ .../models/MCPToolRequireApproval.java | 121 ----- .../ai/projects/models/RankerVersionType.java | 56 --- .../ai/projects/models/RankingOptions.java | 158 ------- .../ai/projects/models/SearchContextSize.java | 61 --- .../projects/models/SkillReferenceParam.java | 137 ------ .../com/azure/ai/projects/models/Tool.java | 127 ----- .../azure/ai/projects/models/ToolType.java | 117 ----- .../models/WebSearchApproximateLocation.java | 203 -------- .../projects/models/WebSearchPreviewTool.java | 148 ------ .../ai/projects/models/WebSearchTool.java | 179 ------- .../projects/models/WebSearchToolFilters.java | 93 ---- .../WebSearchToolSearchContextSize.java | 61 --- .../META-INF/azure-ai-projects_metadata.json | 2 +- .../models/AzureAIAgentTargetToolsTest.java | 307 ++++++++++++ sdk/ai/azure-ai-projects/tsp-location.yaml | 2 +- 63 files changed, 452 insertions(+), 6975 deletions(-) create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/OpenAIJsonHelper.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApproximateLocation.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerEnvironment.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerMemoryLimit.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkill.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkillType.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomTextFormatParam.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParam.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormat.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchTool.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionTool.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GrammarSyntax.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenActionEnum.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenTool.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolBackground.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolInputImageMask.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModeration.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolOutputFormat.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolQuality.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolSize.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InlineSkillParam.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InlineSkillSourceParam.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InputFidelity.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalSkillParam.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPTool.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolConnectorId.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolFilter.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankerVersionType.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankingOptions.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SearchContextSize.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Tool.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolType.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchTool.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolSearchContextSize.java create mode 100644 sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/models/AzureAIAgentTargetToolsTest.java diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/OpenAIJsonHelper.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/OpenAIJsonHelper.java new file mode 100644 index 000000000000..bf87ef083b78 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/OpenAIJsonHelper.java @@ -0,0 +1,104 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.projects.implementation; + +import com.azure.core.util.BinaryData; +import com.azure.json.JsonProviders; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.MapperFeature; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.openai.core.ObjectMappers; + +import java.io.IOException; +import java.io.StringReader; +import java.util.List; +import java.util.stream.Collectors; + +public final class OpenAIJsonHelper { + + private static final ObjectMapper MAPPER = ObjectMappers.jsonMapper() + .rebuild() + .configure(MapperFeature.AUTO_DETECT_FIELDS, true) + .configure(MapperFeature.AUTO_DETECT_GETTERS, true) + .configure(MapperFeature.AUTO_DETECT_CREATORS, true) + .configure(MapperFeature.AUTO_DETECT_SETTERS, true) + .build(); + + /** + * Serializes an openai-java object to {@link BinaryData} whose content is a JSON object. + * The resulting BinaryData can be written to a {@link com.azure.json.JsonWriter} via + * {@code binaryData.writeTo(jsonWriter)} and will produce a JSON object, not a quoted string. + * + * @param openAIObject the openai-java object to serialize. + * @return BinaryData containing the JSON representation, or null if the input is null. + */ + public static BinaryData toBinaryData(Object openAIObject) { + if (openAIObject == null) { + return null; + } + try { + String json = MAPPER.writeValueAsString(openAIObject); + try (JsonReader reader = JsonProviders.createReader(new StringReader(json))) { + reader.nextToken(); + return BinaryData.fromObject(reader.readUntyped()); + } + } catch (IOException e) { + throw new RuntimeException("Failed to convert OpenAI type to BinaryData", e); + } + } + + /** + * Converts a list of OpenAI SDK types to a list of BinaryData objects. + * + * @param The source OpenAI SDK type. + * @param openAIObjects The list of OpenAI SDK objects to convert. + * @return The equivalent list of BinaryData objects, or null if the input is null. + */ + public static List toBinaryDataList(List openAIObjects) { + if (openAIObjects == null) { + return null; + } + return openAIObjects.stream().map(OpenAIJsonHelper::toBinaryData).collect(Collectors.toList()); + } + + /** + * Deserializes {@link BinaryData} to an openai-java type using the openai-java ObjectMapper. + * + * @param data the BinaryData containing JSON. + * @param type the target openai-java class. + * @param the target type. + * @return the deserialized openai-java object, or null if the input is null. + */ + public static T fromBinaryData(BinaryData data, Class type) { + if (data == null) { + return null; + } + try { + return MAPPER.readValue(data.toString(), type); + } catch (IOException e) { + throw new RuntimeException("Failed to deserialize BinaryData to OpenAI type", e); + } + } + + /** + * Deserializes a list of {@link BinaryData} objects to a list of openai-java types. + * + * @param The target openai-java type. + * @param dataList The list of BinaryData objects to convert. + * @param type the target openai-java class. + * @return The equivalent list of openai-java objects, or null if the input is null. + */ + public static List fromBinaryDataList(List dataList, Class type) { + if (dataList == null) { + return null; + } + return dataList.stream().map(data -> fromBinaryData(data, type)).collect(Collectors.toList()); + } + + private OpenAIJsonHelper() { + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java deleted file mode 100644 index 401feca5117d..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Apply patch tool - * - * Allows the assistant to create, delete, or update files using unified diffs. - */ -@Immutable -public final class ApplyPatchToolParam extends Tool { - - /* - * The type property. - */ - @Generated - private ToolType type = ToolType.APPLY_PATCH; - - /** - * Creates an instance of ApplyPatchToolParam class. - */ - @Generated - public ApplyPatchToolParam() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ToolType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ApplyPatchToolParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ApplyPatchToolParam if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the ApplyPatchToolParam. - */ - @Generated - public static ApplyPatchToolParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ApplyPatchToolParam deserializedApplyPatchToolParam = new ApplyPatchToolParam(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedApplyPatchToolParam.type = ToolType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedApplyPatchToolParam; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApproximateLocation.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApproximateLocation.java deleted file mode 100644 index 695ef8ec322e..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ApproximateLocation.java +++ /dev/null @@ -1,201 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The ApproximateLocation model. - */ -@Fluent -public final class ApproximateLocation implements JsonSerializable { - - /* - * The type of location approximation. Always `approximate`. - */ - @Generated - private final String type = "approximate"; - - /* - * The country property. - */ - @Generated - private String country; - - /* - * The region property. - */ - @Generated - private String region; - - /* - * The city property. - */ - @Generated - private String city; - - /* - * The timezone property. - */ - @Generated - private String timezone; - - /** - * Creates an instance of ApproximateLocation class. - */ - @Generated - public ApproximateLocation() { - } - - /** - * Get the type property: The type of location approximation. Always `approximate`. - * - * @return the type value. - */ - @Generated - public String getType() { - return this.type; - } - - /** - * Get the country property: The country property. - * - * @return the country value. - */ - @Generated - public String getCountry() { - return this.country; - } - - /** - * Set the country property: The country property. - * - * @param country the country value to set. - * @return the ApproximateLocation object itself. - */ - @Generated - public ApproximateLocation setCountry(String country) { - this.country = country; - return this; - } - - /** - * Get the region property: The region property. - * - * @return the region value. - */ - @Generated - public String getRegion() { - return this.region; - } - - /** - * Set the region property: The region property. - * - * @param region the region value to set. - * @return the ApproximateLocation object itself. - */ - @Generated - public ApproximateLocation setRegion(String region) { - this.region = region; - return this; - } - - /** - * Get the city property: The city property. - * - * @return the city value. - */ - @Generated - public String getCity() { - return this.city; - } - - /** - * Set the city property: The city property. - * - * @param city the city value to set. - * @return the ApproximateLocation object itself. - */ - @Generated - public ApproximateLocation setCity(String city) { - this.city = city; - return this; - } - - /** - * Get the timezone property: The timezone property. - * - * @return the timezone value. - */ - @Generated - public String getTimezone() { - return this.timezone; - } - - /** - * Set the timezone property: The timezone property. - * - * @param timezone the timezone value to set. - * @return the ApproximateLocation object itself. - */ - @Generated - public ApproximateLocation setTimezone(String timezone) { - this.timezone = timezone; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type); - jsonWriter.writeStringField("country", this.country); - jsonWriter.writeStringField("region", this.region); - jsonWriter.writeStringField("city", this.city); - jsonWriter.writeStringField("timezone", this.timezone); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ApproximateLocation from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ApproximateLocation if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ApproximateLocation. - */ - @Generated - public static ApproximateLocation fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ApproximateLocation deserializedApproximateLocation = new ApproximateLocation(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("country".equals(fieldName)) { - deserializedApproximateLocation.country = reader.getString(); - } else if ("region".equals(fieldName)) { - deserializedApproximateLocation.region = reader.getString(); - } else if ("city".equals(fieldName)) { - deserializedApproximateLocation.city = reader.getString(); - } else if ("timezone".equals(fieldName)) { - deserializedApproximateLocation.timezone = reader.getString(); - } else { - reader.skipChildren(); - } - } - return deserializedApproximateLocation; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java deleted file mode 100644 index 02e9ca21c1f3..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java +++ /dev/null @@ -1,176 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * CodeInterpreterToolAuto - * - * Configuration for a code interpreter container. Optionally specify the IDs of the files to run the code on. - */ -@Fluent -public final class AutoCodeInterpreterToolParam implements JsonSerializable { - - /* - * Always `auto`. - */ - @Generated - private final String type = "auto"; - - /* - * An optional list of uploaded files to make available to your code. - */ - @Generated - private List fileIds; - - /* - * The memory_limit property. - */ - @Generated - private ContainerMemoryLimit memoryLimit; - - /* - * The network_policy property. - */ - @Generated - private ContainerNetworkPolicyParam networkPolicy; - - /** - * Creates an instance of AutoCodeInterpreterToolParam class. - */ - @Generated - public AutoCodeInterpreterToolParam() { - } - - /** - * Get the type property: Always `auto`. - * - * @return the type value. - */ - @Generated - public String getType() { - return this.type; - } - - /** - * Get the fileIds property: An optional list of uploaded files to make available to your code. - * - * @return the fileIds value. - */ - @Generated - public List getFileIds() { - return this.fileIds; - } - - /** - * Set the fileIds property: An optional list of uploaded files to make available to your code. - * - * @param fileIds the fileIds value to set. - * @return the AutoCodeInterpreterToolParam object itself. - */ - @Generated - public AutoCodeInterpreterToolParam setFileIds(List fileIds) { - this.fileIds = fileIds; - return this; - } - - /** - * Get the memoryLimit property: The memory_limit property. - * - * @return the memoryLimit value. - */ - @Generated - public ContainerMemoryLimit getMemoryLimit() { - return this.memoryLimit; - } - - /** - * Set the memoryLimit property: The memory_limit property. - * - * @param memoryLimit the memoryLimit value to set. - * @return the AutoCodeInterpreterToolParam object itself. - */ - @Generated - public AutoCodeInterpreterToolParam setMemoryLimit(ContainerMemoryLimit memoryLimit) { - this.memoryLimit = memoryLimit; - return this; - } - - /** - * Get the networkPolicy property: The network_policy property. - * - * @return the networkPolicy value. - */ - @Generated - public ContainerNetworkPolicyParam getNetworkPolicy() { - return this.networkPolicy; - } - - /** - * Set the networkPolicy property: The network_policy property. - * - * @param networkPolicy the networkPolicy value to set. - * @return the AutoCodeInterpreterToolParam object itself. - */ - @Generated - public AutoCodeInterpreterToolParam setNetworkPolicy(ContainerNetworkPolicyParam networkPolicy) { - this.networkPolicy = networkPolicy; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type); - jsonWriter.writeArrayField("file_ids", this.fileIds, (writer, element) -> writer.writeString(element)); - jsonWriter.writeStringField("memory_limit", this.memoryLimit == null ? null : this.memoryLimit.toString()); - jsonWriter.writeJsonField("network_policy", this.networkPolicy); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of AutoCodeInterpreterToolParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of AutoCodeInterpreterToolParam if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the AutoCodeInterpreterToolParam. - */ - @Generated - public static AutoCodeInterpreterToolParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - AutoCodeInterpreterToolParam deserializedAutoCodeInterpreterToolParam = new AutoCodeInterpreterToolParam(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("file_ids".equals(fieldName)) { - List fileIds = reader.readArray(reader1 -> reader1.getString()); - deserializedAutoCodeInterpreterToolParam.fileIds = fileIds; - } else if ("memory_limit".equals(fieldName)) { - deserializedAutoCodeInterpreterToolParam.memoryLimit - = ContainerMemoryLimit.fromString(reader.getString()); - } else if ("network_policy".equals(fieldName)) { - deserializedAutoCodeInterpreterToolParam.networkPolicy - = ContainerNetworkPolicyParam.fromJson(reader); - } else { - reader.skipChildren(); - } - } - return deserializedAutoCodeInterpreterToolParam; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java index 495cb4265031..8dc78d28352a 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java @@ -3,8 +3,10 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.ai.projects.models; +import com.azure.ai.projects.implementation.OpenAIJsonHelper; import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -120,7 +122,13 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("version", this.version); jsonWriter.writeArrayField("tool_descriptions", this.toolDescriptions, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeArrayField("tools", this.tools, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeArrayField("tools", this.tools, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); return jsonWriter.writeEndObject(); } @@ -140,7 +148,7 @@ public static AzureAIAgentTarget fromJson(JsonReader jsonReader) throws IOExcept String type = "azure_ai_agent"; String version = null; List toolDescriptions = null; - List tools = null; + List tools = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -153,7 +161,8 @@ public static AzureAIAgentTarget fromJson(JsonReader jsonReader) throws IOExcept } else if ("tool_descriptions".equals(fieldName)) { toolDescriptions = reader.readArray(reader1 -> ToolDescription.fromJson(reader1)); } else if ("tools".equals(fieldName)) { - tools = reader.readArray(reader1 -> Tool.fromJson(reader1)); + tools = reader.readArray(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); } else { reader.skipChildren(); } @@ -171,15 +180,15 @@ public static AzureAIAgentTarget fromJson(JsonReader jsonReader) throws IOExcept * The tools property. */ @Generated - private List tools; + private List tools; /** * Get the tools property: The tools property. * * @return the tools value. */ - @Generated - public List getTools() { + List getTools() { + // AI Tooling: union type return this.tools; } @@ -189,12 +198,34 @@ public List getTools() { * @param tools the tools value to set. * @return the AzureAIAgentTarget object itself. */ - @Generated - public AzureAIAgentTarget setTools(List tools) { + AzureAIAgentTarget setTools(List tools) { + // AI Tooling: union type this.tools = tools; return this; } + /** + * Get the tools property as a list of {@link com.openai.models.responses.Tool}: The tools property. + * + * @return the tools value as a list of openai-java Tool objects. + */ + public List getToolsAsOpenAITools() { + // AI Tooling: union type + return OpenAIJsonHelper.fromBinaryDataList(this.tools, com.openai.models.responses.Tool.class); + } + + /** + * Set the tools property using a list of {@link com.openai.models.responses.Tool}: The tools property. + * + * @param tools the list of openai-java Tool objects to set. + * @return the AzureAIAgentTarget object itself. + */ + public AzureAIAgentTarget setToolsAsOpenAITools(List tools) { + // AI Tooling: union type + this.tools = OpenAIJsonHelper.toBinaryDataList(tools); + return this; + } + /** * Creates an instance of AzureAIAgentTarget class. * diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java deleted file mode 100644 index 27bd475d0c81..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java +++ /dev/null @@ -1,112 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.core.util.BinaryData; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Code interpreter - * - * A tool that runs Python code to help generate a response to a prompt. - */ -@Immutable -public final class CodeInterpreterTool extends Tool { - - /* - * The type property. - */ - @Generated - private ToolType type = ToolType.CODE_INTERPRETER; - - /* - * The code interpreter container. Can be a container ID or an object that - * specifies uploaded file IDs to make available to your code, along with an - * optional `memory_limit` setting. - */ - @Generated - private final BinaryData container; - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ToolType getType() { - return this.type; - } - - /** - * Get the container property: The code interpreter container. Can be a container ID or an object that - * specifies uploaded file IDs to make available to your code, along with an - * optional `memory_limit` setting. - * - * @return the container value. - */ - @Generated - public BinaryData getContainer() { - return this.container; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeFieldName("container"); - this.container.writeTo(jsonWriter); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of CodeInterpreterTool from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of CodeInterpreterTool if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the CodeInterpreterTool. - */ - @Generated - public static CodeInterpreterTool fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - BinaryData container = null; - ToolType type = ToolType.CODE_INTERPRETER; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("container".equals(fieldName)) { - container = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); - } else if ("type".equals(fieldName)) { - type = ToolType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - CodeInterpreterTool deserializedCodeInterpreterTool = new CodeInterpreterTool(container); - deserializedCodeInterpreterTool.type = type; - return deserializedCodeInterpreterTool; - }); - } - - /** - * Creates an instance of CodeInterpreterTool class. - * - * @param container the container value to set. - */ - @Generated - public CodeInterpreterTool(BinaryData container) { - this.container = container; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerEnvironment.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerEnvironment.java deleted file mode 100644 index b785323af063..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerEnvironment.java +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.models; - -/** - * Defines values for ComputerEnvironment. - */ -public enum ComputerEnvironment { - /** - * Enum value windows. - */ - WINDOWS("windows"), - - /** - * Enum value mac. - */ - MAC("mac"), - - /** - * Enum value linux. - */ - LINUX("linux"), - - /** - * Enum value ubuntu. - */ - UBUNTU("ubuntu"), - - /** - * Enum value browser. - */ - BROWSER("browser"); - - /** - * The actual serialized value for a ComputerEnvironment instance. - */ - private final String value; - - ComputerEnvironment(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a ComputerEnvironment instance. - * - * @param value the serialized value to parse. - * @return the parsed ComputerEnvironment object, or null if unable to parse. - */ - public static ComputerEnvironment fromString(String value) { - if (value == null) { - return null; - } - ComputerEnvironment[] items = ComputerEnvironment.values(); - for (ComputerEnvironment item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java deleted file mode 100644 index 54f87d6bf1d3..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java +++ /dev/null @@ -1,152 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Computer use preview - * - * A tool that controls a virtual computer. Learn more about the [computer - * tool](https://platform.openai.com/docs/guides/tools-computer-use). - */ -@Immutable -public final class ComputerUsePreviewTool extends Tool { - - /* - * The type property. - */ - @Generated - private ToolType type = ToolType.COMPUTER_USE_PREVIEW; - - /* - * The type of computer environment to control. - */ - @Generated - private final ComputerEnvironment environment; - - /* - * The width of the computer display. - */ - @Generated - private final int displayWidth; - - /* - * The height of the computer display. - */ - @Generated - private final int displayHeight; - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ToolType getType() { - return this.type; - } - - /** - * Get the environment property: The type of computer environment to control. - * - * @return the environment value. - */ - @Generated - public ComputerEnvironment getEnvironment() { - return this.environment; - } - - /** - * Get the displayWidth property: The width of the computer display. - * - * @return the displayWidth value. - */ - @Generated - public int getDisplayWidth() { - return this.displayWidth; - } - - /** - * Get the displayHeight property: The height of the computer display. - * - * @return the displayHeight value. - */ - @Generated - public int getDisplayHeight() { - return this.displayHeight; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("environment", this.environment == null ? null : this.environment.toString()); - jsonWriter.writeIntField("display_width", this.displayWidth); - jsonWriter.writeIntField("display_height", this.displayHeight); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ComputerUsePreviewTool from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ComputerUsePreviewTool if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ComputerUsePreviewTool. - */ - @Generated - public static ComputerUsePreviewTool fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ComputerEnvironment environment = null; - int displayWidth = 0; - int displayHeight = 0; - ToolType type = ToolType.COMPUTER_USE_PREVIEW; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("environment".equals(fieldName)) { - environment = ComputerEnvironment.fromString(reader.getString()); - } else if ("display_width".equals(fieldName)) { - displayWidth = reader.getInt(); - } else if ("display_height".equals(fieldName)) { - displayHeight = reader.getInt(); - } else if ("type".equals(fieldName)) { - type = ToolType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - ComputerUsePreviewTool deserializedComputerUsePreviewTool - = new ComputerUsePreviewTool(environment, displayWidth, displayHeight); - deserializedComputerUsePreviewTool.type = type; - return deserializedComputerUsePreviewTool; - }); - } - - /** - * Creates an instance of ComputerUsePreviewTool class. - * - * @param environment the environment value to set. - * @param displayWidth the displayWidth value to set. - * @param displayHeight the displayHeight value to set. - */ - @Generated - public ComputerUsePreviewTool(ComputerEnvironment environment, int displayWidth, int displayHeight) { - this.environment = environment; - this.displayWidth = displayWidth; - this.displayHeight = displayHeight; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java deleted file mode 100644 index ed8b3f7062bf..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java +++ /dev/null @@ -1,206 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * The ContainerAutoParam model. - */ -@Fluent -public final class ContainerAutoParam extends FunctionShellToolParamEnvironment { - - /* - * The type property. - */ - @Generated - private FunctionShellToolParamEnvironmentType type = FunctionShellToolParamEnvironmentType.CONTAINER_AUTO; - - /* - * An optional list of uploaded files to make available to your code. - */ - @Generated - private List fileIds; - - /* - * The memory_limit property. - */ - @Generated - private ContainerMemoryLimit memoryLimit; - - /* - * An optional list of skills referenced by id or inline data. - */ - @Generated - private List skills; - - /* - * The network_policy property. - */ - @Generated - private ContainerNetworkPolicyParam networkPolicy; - - /** - * Creates an instance of ContainerAutoParam class. - */ - @Generated - public ContainerAutoParam() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public FunctionShellToolParamEnvironmentType getType() { - return this.type; - } - - /** - * Get the fileIds property: An optional list of uploaded files to make available to your code. - * - * @return the fileIds value. - */ - @Generated - public List getFileIds() { - return this.fileIds; - } - - /** - * Set the fileIds property: An optional list of uploaded files to make available to your code. - * - * @param fileIds the fileIds value to set. - * @return the ContainerAutoParam object itself. - */ - @Generated - public ContainerAutoParam setFileIds(List fileIds) { - this.fileIds = fileIds; - return this; - } - - /** - * Get the memoryLimit property: The memory_limit property. - * - * @return the memoryLimit value. - */ - @Generated - public ContainerMemoryLimit getMemoryLimit() { - return this.memoryLimit; - } - - /** - * Set the memoryLimit property: The memory_limit property. - * - * @param memoryLimit the memoryLimit value to set. - * @return the ContainerAutoParam object itself. - */ - @Generated - public ContainerAutoParam setMemoryLimit(ContainerMemoryLimit memoryLimit) { - this.memoryLimit = memoryLimit; - return this; - } - - /** - * Get the skills property: An optional list of skills referenced by id or inline data. - * - * @return the skills value. - */ - @Generated - public List getSkills() { - return this.skills; - } - - /** - * Set the skills property: An optional list of skills referenced by id or inline data. - * - * @param skills the skills value to set. - * @return the ContainerAutoParam object itself. - */ - @Generated - public ContainerAutoParam setSkills(List skills) { - this.skills = skills; - return this; - } - - /** - * Get the networkPolicy property: The network_policy property. - * - * @return the networkPolicy value. - */ - @Generated - public ContainerNetworkPolicyParam getNetworkPolicy() { - return this.networkPolicy; - } - - /** - * Set the networkPolicy property: The network_policy property. - * - * @param networkPolicy the networkPolicy value to set. - * @return the ContainerAutoParam object itself. - */ - @Generated - public ContainerAutoParam setNetworkPolicy(ContainerNetworkPolicyParam networkPolicy) { - this.networkPolicy = networkPolicy; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeArrayField("file_ids", this.fileIds, (writer, element) -> writer.writeString(element)); - jsonWriter.writeStringField("memory_limit", this.memoryLimit == null ? null : this.memoryLimit.toString()); - jsonWriter.writeArrayField("skills", this.skills, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeJsonField("network_policy", this.networkPolicy); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ContainerAutoParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ContainerAutoParam if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the ContainerAutoParam. - */ - @Generated - public static ContainerAutoParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ContainerAutoParam deserializedContainerAutoParam = new ContainerAutoParam(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedContainerAutoParam.type - = FunctionShellToolParamEnvironmentType.fromString(reader.getString()); - } else if ("file_ids".equals(fieldName)) { - List fileIds = reader.readArray(reader1 -> reader1.getString()); - deserializedContainerAutoParam.fileIds = fileIds; - } else if ("memory_limit".equals(fieldName)) { - deserializedContainerAutoParam.memoryLimit = ContainerMemoryLimit.fromString(reader.getString()); - } else if ("skills".equals(fieldName)) { - List skills = reader.readArray(reader1 -> ContainerSkill.fromJson(reader1)); - deserializedContainerAutoParam.skills = skills; - } else if ("network_policy".equals(fieldName)) { - deserializedContainerAutoParam.networkPolicy = ContainerNetworkPolicyParam.fromJson(reader); - } else { - reader.skipChildren(); - } - } - return deserializedContainerAutoParam; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerMemoryLimit.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerMemoryLimit.java deleted file mode 100644 index b852d2113b06..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerMemoryLimit.java +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.models; - -/** - * Defines values for ContainerMemoryLimit. - */ -public enum ContainerMemoryLimit { - /** - * Enum value 1g. - */ - ONEG("1g"), - - /** - * Enum value 4g. - */ - FOURG("4g"), - - /** - * Enum value 16g. - */ - ONE_SIXG("16g"), - - /** - * Enum value 64g. - */ - SIX_FOURG("64g"); - - /** - * The actual serialized value for a ContainerMemoryLimit instance. - */ - private final String value; - - ContainerMemoryLimit(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a ContainerMemoryLimit instance. - * - * @param value the serialized value to parse. - * @return the parsed ContainerMemoryLimit object, or null if unable to parse. - */ - public static ContainerMemoryLimit fromString(String value) { - if (value == null) { - return null; - } - ContainerMemoryLimit[] items = ContainerMemoryLimit.values(); - for (ContainerMemoryLimit item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java deleted file mode 100644 index d0a6ed62c71a..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java +++ /dev/null @@ -1,143 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * The ContainerNetworkPolicyAllowlistParam model. - */ -@Fluent -public final class ContainerNetworkPolicyAllowlistParam extends ContainerNetworkPolicyParam { - - /* - * The type property. - */ - @Generated - private ContainerNetworkPolicyParamType type = ContainerNetworkPolicyParamType.ALLOWLIST; - - /* - * A list of allowed domains when type is `allowlist`. - */ - @Generated - private final List allowedDomains; - - /* - * Optional domain-scoped secrets for allowlisted domains. - */ - @Generated - private List domainSecrets; - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ContainerNetworkPolicyParamType getType() { - return this.type; - } - - /** - * Get the allowedDomains property: A list of allowed domains when type is `allowlist`. - * - * @return the allowedDomains value. - */ - @Generated - public List getAllowedDomains() { - return this.allowedDomains; - } - - /** - * Get the domainSecrets property: Optional domain-scoped secrets for allowlisted domains. - * - * @return the domainSecrets value. - */ - @Generated - public List getDomainSecrets() { - return this.domainSecrets; - } - - /** - * Set the domainSecrets property: Optional domain-scoped secrets for allowlisted domains. - * - * @param domainSecrets the domainSecrets value to set. - * @return the ContainerNetworkPolicyAllowlistParam object itself. - */ - @Generated - public ContainerNetworkPolicyAllowlistParam - setDomainSecrets(List domainSecrets) { - this.domainSecrets = domainSecrets; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeArrayField("allowed_domains", this.allowedDomains, - (writer, element) -> writer.writeString(element)); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeArrayField("domain_secrets", this.domainSecrets, - (writer, element) -> writer.writeJson(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ContainerNetworkPolicyAllowlistParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ContainerNetworkPolicyAllowlistParam if the JsonReader was pointing to an instance of it, - * or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ContainerNetworkPolicyAllowlistParam. - */ - @Generated - public static ContainerNetworkPolicyAllowlistParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - List allowedDomains = null; - ContainerNetworkPolicyParamType type = ContainerNetworkPolicyParamType.ALLOWLIST; - List domainSecrets = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("allowed_domains".equals(fieldName)) { - allowedDomains = reader.readArray(reader1 -> reader1.getString()); - } else if ("type".equals(fieldName)) { - type = ContainerNetworkPolicyParamType.fromString(reader.getString()); - } else if ("domain_secrets".equals(fieldName)) { - domainSecrets - = reader.readArray(reader1 -> ContainerNetworkPolicyDomainSecretParam.fromJson(reader1)); - } else { - reader.skipChildren(); - } - } - ContainerNetworkPolicyAllowlistParam deserializedContainerNetworkPolicyAllowlistParam - = new ContainerNetworkPolicyAllowlistParam(allowedDomains); - deserializedContainerNetworkPolicyAllowlistParam.type = type; - deserializedContainerNetworkPolicyAllowlistParam.domainSecrets = domainSecrets; - return deserializedContainerNetworkPolicyAllowlistParam; - }); - } - - /** - * Creates an instance of ContainerNetworkPolicyAllowlistParam class. - * - * @param allowedDomains the allowedDomains value to set. - */ - @Generated - public ContainerNetworkPolicyAllowlistParam(List allowedDomains) { - this.allowedDomains = allowedDomains; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java deleted file mode 100644 index 9d2396b5a616..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The ContainerNetworkPolicyDisabledParam model. - */ -@Immutable -public final class ContainerNetworkPolicyDisabledParam extends ContainerNetworkPolicyParam { - - /* - * The type property. - */ - @Generated - private ContainerNetworkPolicyParamType type = ContainerNetworkPolicyParamType.DISABLED; - - /** - * Creates an instance of ContainerNetworkPolicyDisabledParam class. - */ - @Generated - public ContainerNetworkPolicyDisabledParam() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ContainerNetworkPolicyParamType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ContainerNetworkPolicyDisabledParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ContainerNetworkPolicyDisabledParam if the JsonReader was pointing to an instance of it, - * or null if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the ContainerNetworkPolicyDisabledParam. - */ - @Generated - public static ContainerNetworkPolicyDisabledParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ContainerNetworkPolicyDisabledParam deserializedContainerNetworkPolicyDisabledParam - = new ContainerNetworkPolicyDisabledParam(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedContainerNetworkPolicyDisabledParam.type - = ContainerNetworkPolicyParamType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedContainerNetworkPolicyDisabledParam; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java deleted file mode 100644 index 26ac70a53b24..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java +++ /dev/null @@ -1,127 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The ContainerNetworkPolicyDomainSecretParam model. - */ -@Immutable -public final class ContainerNetworkPolicyDomainSecretParam - implements JsonSerializable { - - /* - * The domain associated with the secret. - */ - @Generated - private final String domain; - - /* - * The name of the secret to inject for the domain. - */ - @Generated - private final String name; - - /* - * The secret value to inject for the domain. - */ - @Generated - private final String value; - - /** - * Get the domain property: The domain associated with the secret. - * - * @return the domain value. - */ - @Generated - public String getDomain() { - return this.domain; - } - - /** - * Get the name property: The name of the secret to inject for the domain. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the value property: The secret value to inject for the domain. - * - * @return the value value. - */ - @Generated - public String getValue() { - return this.value; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("domain", this.domain); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("value", this.value); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ContainerNetworkPolicyDomainSecretParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ContainerNetworkPolicyDomainSecretParam if the JsonReader was pointing to an instance of - * it, or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ContainerNetworkPolicyDomainSecretParam. - */ - @Generated - public static ContainerNetworkPolicyDomainSecretParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String domain = null; - String name = null; - String value = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("domain".equals(fieldName)) { - domain = reader.getString(); - } else if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("value".equals(fieldName)) { - value = reader.getString(); - } else { - reader.skipChildren(); - } - } - return new ContainerNetworkPolicyDomainSecretParam(domain, name, value); - }); - } - - /** - * Creates an instance of ContainerNetworkPolicyDomainSecretParam class. - * - * @param domain the domain value to set. - * @param name the name value to set. - * @param value the value value to set. - */ - @Generated - public ContainerNetworkPolicyDomainSecretParam(String domain, String name, String value) { - this.domain = domain; - this.name = name; - this.value = value; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java deleted file mode 100644 index f306e9fc8236..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Network access policy for the container. - */ -@Immutable -public class ContainerNetworkPolicyParam implements JsonSerializable { - - /* - * The type property. - */ - @Generated - private ContainerNetworkPolicyParamType type - = ContainerNetworkPolicyParamType.fromString("ContainerNetworkPolicyParam"); - - /** - * Creates an instance of ContainerNetworkPolicyParam class. - */ - @Generated - public ContainerNetworkPolicyParam() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - public ContainerNetworkPolicyParamType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ContainerNetworkPolicyParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ContainerNetworkPolicyParam if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the ContainerNetworkPolicyParam. - */ - @Generated - public static ContainerNetworkPolicyParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("disabled".equals(discriminatorValue)) { - return ContainerNetworkPolicyDisabledParam.fromJson(readerToUse.reset()); - } else if ("allowlist".equals(discriminatorValue)) { - return ContainerNetworkPolicyAllowlistParam.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static ContainerNetworkPolicyParam fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ContainerNetworkPolicyParam deserializedContainerNetworkPolicyParam = new ContainerNetworkPolicyParam(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedContainerNetworkPolicyParam.type - = ContainerNetworkPolicyParamType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedContainerNetworkPolicyParam; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java deleted file mode 100644 index 7a1e22ec10c1..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Defines values for ContainerNetworkPolicyParamType. - */ -public final class ContainerNetworkPolicyParamType extends ExpandableStringEnum { - - /** - * Static value disabled for ContainerNetworkPolicyParamType. - */ - @Generated - public static final ContainerNetworkPolicyParamType DISABLED = fromString("disabled"); - - /** - * Static value allowlist for ContainerNetworkPolicyParamType. - */ - @Generated - public static final ContainerNetworkPolicyParamType ALLOWLIST = fromString("allowlist"); - - /** - * Creates a new instance of ContainerNetworkPolicyParamType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public ContainerNetworkPolicyParamType() { - } - - /** - * Creates or finds a ContainerNetworkPolicyParamType from its string representation. - * - * @param name a name to look for. - * @return the corresponding ContainerNetworkPolicyParamType. - */ - @Generated - public static ContainerNetworkPolicyParamType fromString(String name) { - return fromString(name, ContainerNetworkPolicyParamType.class); - } - - /** - * Gets known ContainerNetworkPolicyParamType values. - * - * @return known ContainerNetworkPolicyParamType values. - */ - @Generated - public static Collection values() { - return values(ContainerNetworkPolicyParamType.class); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkill.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkill.java deleted file mode 100644 index 7b3ab6c99ce1..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkill.java +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The ContainerSkill model. - */ -@Immutable -public class ContainerSkill implements JsonSerializable { - - /* - * The type property. - */ - @Generated - private ContainerSkillType type = ContainerSkillType.fromString("ContainerSkill"); - - /** - * Creates an instance of ContainerSkill class. - */ - @Generated - public ContainerSkill() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - public ContainerSkillType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ContainerSkill from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ContainerSkill if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the ContainerSkill. - */ - @Generated - public static ContainerSkill fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("skill_reference".equals(discriminatorValue)) { - return SkillReferenceParam.fromJson(readerToUse.reset()); - } else if ("inline".equals(discriminatorValue)) { - return InlineSkillParam.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static ContainerSkill fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ContainerSkill deserializedContainerSkill = new ContainerSkill(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedContainerSkill.type = ContainerSkillType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedContainerSkill; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkillType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkillType.java deleted file mode 100644 index 99d7d56d0571..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ContainerSkillType.java +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Defines values for ContainerSkillType. - */ -public final class ContainerSkillType extends ExpandableStringEnum { - - /** - * Static value skill_reference for ContainerSkillType. - */ - @Generated - public static final ContainerSkillType SKILL_REFERENCE = fromString("skill_reference"); - - /** - * Static value inline for ContainerSkillType. - */ - @Generated - public static final ContainerSkillType INLINE = fromString("inline"); - - /** - * Creates a new instance of ContainerSkillType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public ContainerSkillType() { - } - - /** - * Creates or finds a ContainerSkillType from its string representation. - * - * @param name a name to look for. - * @return the corresponding ContainerSkillType. - */ - @Generated - public static ContainerSkillType fromString(String name) { - return fromString(name, ContainerSkillType.class); - } - - /** - * Gets known ContainerSkillType values. - * - * @return known ContainerSkillType values. - */ - @Generated - public static Collection values() { - return values(ContainerSkillType.class); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java deleted file mode 100644 index e1e94542fa69..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java +++ /dev/null @@ -1,129 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Grammar format - * - * A grammar defined by the user. - */ -@Immutable -public final class CustomGrammarFormatParam extends CustomToolParamFormat { - - /* - * The type property. - */ - @Generated - private CustomToolParamFormatType type = CustomToolParamFormatType.GRAMMAR; - - /* - * The syntax of the grammar definition. One of `lark` or `regex`. - */ - @Generated - private final GrammarSyntax syntax; - - /* - * The grammar definition. - */ - @Generated - private final String definition; - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public CustomToolParamFormatType getType() { - return this.type; - } - - /** - * Get the syntax property: The syntax of the grammar definition. One of `lark` or `regex`. - * - * @return the syntax value. - */ - @Generated - public GrammarSyntax getSyntax() { - return this.syntax; - } - - /** - * Get the definition property: The grammar definition. - * - * @return the definition value. - */ - @Generated - public String getDefinition() { - return this.definition; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("syntax", this.syntax == null ? null : this.syntax.toString()); - jsonWriter.writeStringField("definition", this.definition); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of CustomGrammarFormatParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of CustomGrammarFormatParam if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the CustomGrammarFormatParam. - */ - @Generated - public static CustomGrammarFormatParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - GrammarSyntax syntax = null; - String definition = null; - CustomToolParamFormatType type = CustomToolParamFormatType.GRAMMAR; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("syntax".equals(fieldName)) { - syntax = GrammarSyntax.fromString(reader.getString()); - } else if ("definition".equals(fieldName)) { - definition = reader.getString(); - } else if ("type".equals(fieldName)) { - type = CustomToolParamFormatType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - CustomGrammarFormatParam deserializedCustomGrammarFormatParam - = new CustomGrammarFormatParam(syntax, definition); - deserializedCustomGrammarFormatParam.type = type; - return deserializedCustomGrammarFormatParam; - }); - } - - /** - * Creates an instance of CustomGrammarFormatParam class. - * - * @param syntax the syntax value to set. - * @param definition the definition value to set. - */ - @Generated - public CustomGrammarFormatParam(GrammarSyntax syntax, String definition) { - this.syntax = syntax; - this.definition = definition; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomTextFormatParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomTextFormatParam.java deleted file mode 100644 index cef67088ab4b..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomTextFormatParam.java +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Text format - * - * Unconstrained free-form text. - */ -@Immutable -public final class CustomTextFormatParam extends CustomToolParamFormat { - - /* - * The type property. - */ - @Generated - private CustomToolParamFormatType type = CustomToolParamFormatType.TEXT; - - /** - * Creates an instance of CustomTextFormatParam class. - */ - @Generated - public CustomTextFormatParam() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public CustomToolParamFormatType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of CustomTextFormatParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of CustomTextFormatParam if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IOException If an error occurs while reading the CustomTextFormatParam. - */ - @Generated - public static CustomTextFormatParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - CustomTextFormatParam deserializedCustomTextFormatParam = new CustomTextFormatParam(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedCustomTextFormatParam.type = CustomToolParamFormatType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedCustomTextFormatParam; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParam.java deleted file mode 100644 index ad7f69815c64..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParam.java +++ /dev/null @@ -1,173 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Custom tool - * - * A custom tool that processes input using a specified format. Learn more about [custom - * tools](/docs/guides/function-calling#custom-tools). - */ -@Fluent -public final class CustomToolParam extends Tool { - - /* - * The type property. - */ - @Generated - private ToolType type = ToolType.CUSTOM; - - /* - * The name of the custom tool, used to identify it in tool calls. - */ - @Generated - private final String name; - - /* - * Optional description of the custom tool, used to provide more context. - */ - @Generated - private String description; - - /* - * The input format for the custom tool. Default is unconstrained text. - */ - @Generated - private CustomToolParamFormat format; - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ToolType getType() { - return this.type; - } - - /** - * Get the name property: The name of the custom tool, used to identify it in tool calls. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the description property: Optional description of the custom tool, used to provide more context. - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: Optional description of the custom tool, used to provide more context. - * - * @param description the description value to set. - * @return the CustomToolParam object itself. - */ - @Generated - public CustomToolParam setDescription(String description) { - this.description = description; - return this; - } - - /** - * Get the format property: The input format for the custom tool. Default is unconstrained text. - * - * @return the format value. - */ - @Generated - public CustomToolParamFormat getFormat() { - return this.format; - } - - /** - * Set the format property: The input format for the custom tool. Default is unconstrained text. - * - * @param format the format value to set. - * @return the CustomToolParam object itself. - */ - @Generated - public CustomToolParam setFormat(CustomToolParamFormat format) { - this.format = format; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("description", this.description); - jsonWriter.writeJsonField("format", this.format); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of CustomToolParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of CustomToolParam if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the CustomToolParam. - */ - @Generated - public static CustomToolParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String name = null; - ToolType type = ToolType.CUSTOM; - String description = null; - CustomToolParamFormat format = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("type".equals(fieldName)) { - type = ToolType.fromString(reader.getString()); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("format".equals(fieldName)) { - format = CustomToolParamFormat.fromJson(reader); - } else { - reader.skipChildren(); - } - } - CustomToolParam deserializedCustomToolParam = new CustomToolParam(name); - deserializedCustomToolParam.type = type; - deserializedCustomToolParam.description = description; - deserializedCustomToolParam.format = format; - return deserializedCustomToolParam; - }); - } - - /** - * Creates an instance of CustomToolParam class. - * - * @param name the name value to set. - */ - @Generated - public CustomToolParam(String name) { - this.name = name; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormat.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormat.java deleted file mode 100644 index df282082f1a5..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormat.java +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The input format for the custom tool. Default is unconstrained text. - */ -@Immutable -public class CustomToolParamFormat implements JsonSerializable { - - /* - * The type property. - */ - @Generated - private CustomToolParamFormatType type = CustomToolParamFormatType.fromString("CustomToolParamFormat"); - - /** - * Creates an instance of CustomToolParamFormat class. - */ - @Generated - public CustomToolParamFormat() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - public CustomToolParamFormatType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of CustomToolParamFormat from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of CustomToolParamFormat if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IOException If an error occurs while reading the CustomToolParamFormat. - */ - @Generated - public static CustomToolParamFormat fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("text".equals(discriminatorValue)) { - return CustomTextFormatParam.fromJson(readerToUse.reset()); - } else if ("grammar".equals(discriminatorValue)) { - return CustomGrammarFormatParam.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static CustomToolParamFormat fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - CustomToolParamFormat deserializedCustomToolParamFormat = new CustomToolParamFormat(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedCustomToolParamFormat.type = CustomToolParamFormatType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedCustomToolParamFormat; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java deleted file mode 100644 index 90e4c67ecbc4..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Defines values for CustomToolParamFormatType. - */ -public final class CustomToolParamFormatType extends ExpandableStringEnum { - - /** - * Static value text for CustomToolParamFormatType. - */ - @Generated - public static final CustomToolParamFormatType TEXT = fromString("text"); - - /** - * Static value grammar for CustomToolParamFormatType. - */ - @Generated - public static final CustomToolParamFormatType GRAMMAR = fromString("grammar"); - - /** - * Creates a new instance of CustomToolParamFormatType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public CustomToolParamFormatType() { - } - - /** - * Creates or finds a CustomToolParamFormatType from its string representation. - * - * @param name a name to look for. - * @return the corresponding CustomToolParamFormatType. - */ - @Generated - public static CustomToolParamFormatType fromString(String name) { - return fromString(name, CustomToolParamFormatType.class); - } - - /** - * Gets known CustomToolParamFormatType values. - * - * @return known CustomToolParamFormatType values. - */ - @Generated - public static Collection values() { - return values(CustomToolParamFormatType.class); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchTool.java deleted file mode 100644 index 424bb1beaa95..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FileSearchTool.java +++ /dev/null @@ -1,214 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.core.util.BinaryData; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * File search - * - * A tool that searches for relevant content from uploaded files. Learn more about the [file search - * tool](https://platform.openai.com/docs/guides/tools-file-search). - */ -@Fluent -public final class FileSearchTool extends Tool { - - /* - * The type property. - */ - @Generated - private ToolType type = ToolType.FILE_SEARCH; - - /* - * The IDs of the vector stores to search. - */ - @Generated - private final List vectorStoreIds; - - /* - * The maximum number of results to return. This number should be between 1 and 50 inclusive. - */ - @Generated - private Integer maxNumResults; - - /* - * Ranking options for search. - */ - @Generated - private RankingOptions rankingOptions; - - /* - * The filters property. - */ - @Generated - private BinaryData filters; - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ToolType getType() { - return this.type; - } - - /** - * Get the vectorStoreIds property: The IDs of the vector stores to search. - * - * @return the vectorStoreIds value. - */ - @Generated - public List getVectorStoreIds() { - return this.vectorStoreIds; - } - - /** - * Get the maxNumResults property: The maximum number of results to return. This number should be between 1 and 50 - * inclusive. - * - * @return the maxNumResults value. - */ - @Generated - public Integer getMaxNumResults() { - return this.maxNumResults; - } - - /** - * Set the maxNumResults property: The maximum number of results to return. This number should be between 1 and 50 - * inclusive. - * - * @param maxNumResults the maxNumResults value to set. - * @return the FileSearchTool object itself. - */ - @Generated - public FileSearchTool setMaxNumResults(Integer maxNumResults) { - this.maxNumResults = maxNumResults; - return this; - } - - /** - * Get the rankingOptions property: Ranking options for search. - * - * @return the rankingOptions value. - */ - @Generated - public RankingOptions getRankingOptions() { - return this.rankingOptions; - } - - /** - * Set the rankingOptions property: Ranking options for search. - * - * @param rankingOptions the rankingOptions value to set. - * @return the FileSearchTool object itself. - */ - @Generated - public FileSearchTool setRankingOptions(RankingOptions rankingOptions) { - this.rankingOptions = rankingOptions; - return this; - } - - /** - * Get the filters property: The filters property. - * - * @return the filters value. - */ - @Generated - public BinaryData getFilters() { - return this.filters; - } - - /** - * Set the filters property: The filters property. - * - * @param filters the filters value to set. - * @return the FileSearchTool object itself. - */ - @Generated - public FileSearchTool setFilters(BinaryData filters) { - this.filters = filters; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeArrayField("vector_store_ids", this.vectorStoreIds, - (writer, element) -> writer.writeString(element)); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeNumberField("max_num_results", this.maxNumResults); - jsonWriter.writeJsonField("ranking_options", this.rankingOptions); - if (this.filters != null) { - jsonWriter.writeFieldName("filters"); - this.filters.writeTo(jsonWriter); - } - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FileSearchTool from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FileSearchTool if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the FileSearchTool. - */ - @Generated - public static FileSearchTool fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - List vectorStoreIds = null; - ToolType type = ToolType.FILE_SEARCH; - Integer maxNumResults = null; - RankingOptions rankingOptions = null; - BinaryData filters = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("vector_store_ids".equals(fieldName)) { - vectorStoreIds = reader.readArray(reader1 -> reader1.getString()); - } else if ("type".equals(fieldName)) { - type = ToolType.fromString(reader.getString()); - } else if ("max_num_results".equals(fieldName)) { - maxNumResults = reader.getNullable(JsonReader::getInt); - } else if ("ranking_options".equals(fieldName)) { - rankingOptions = RankingOptions.fromJson(reader); - } else if ("filters".equals(fieldName)) { - filters = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); - } else { - reader.skipChildren(); - } - } - FileSearchTool deserializedFileSearchTool = new FileSearchTool(vectorStoreIds); - deserializedFileSearchTool.type = type; - deserializedFileSearchTool.maxNumResults = maxNumResults; - deserializedFileSearchTool.rankingOptions = rankingOptions; - deserializedFileSearchTool.filters = filters; - return deserializedFileSearchTool; - }); - } - - /** - * Creates an instance of FileSearchTool class. - * - * @param vectorStoreIds the vectorStoreIds value to set. - */ - @Generated - public FileSearchTool(List vectorStoreIds) { - this.vectorStoreIds = vectorStoreIds; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java deleted file mode 100644 index 03fc58e8733c..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Shell tool - * - * A tool that allows the model to execute shell commands. - */ -@Fluent -public final class FunctionShellToolParam extends Tool { - - /* - * The type property. - */ - @Generated - private ToolType type = ToolType.SHELL; - - /* - * The environment property. - */ - @Generated - private FunctionShellToolParamEnvironment environment; - - /** - * Creates an instance of FunctionShellToolParam class. - */ - @Generated - public FunctionShellToolParam() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ToolType getType() { - return this.type; - } - - /** - * Get the environment property: The environment property. - * - * @return the environment value. - */ - @Generated - public FunctionShellToolParamEnvironment getEnvironment() { - return this.environment; - } - - /** - * Set the environment property: The environment property. - * - * @param environment the environment value to set. - * @return the FunctionShellToolParam object itself. - */ - @Generated - public FunctionShellToolParam setEnvironment(FunctionShellToolParamEnvironment environment) { - this.environment = environment; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeJsonField("environment", this.environment); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FunctionShellToolParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FunctionShellToolParam if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IOException If an error occurs while reading the FunctionShellToolParam. - */ - @Generated - public static FunctionShellToolParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - FunctionShellToolParam deserializedFunctionShellToolParam = new FunctionShellToolParam(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedFunctionShellToolParam.type = ToolType.fromString(reader.getString()); - } else if ("environment".equals(fieldName)) { - deserializedFunctionShellToolParam.environment = FunctionShellToolParamEnvironment.fromJson(reader); - } else { - reader.skipChildren(); - } - } - return deserializedFunctionShellToolParam; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java deleted file mode 100644 index f01bb8c045c9..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java +++ /dev/null @@ -1,112 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The FunctionShellToolParamEnvironment model. - */ -@Immutable -public class FunctionShellToolParamEnvironment implements JsonSerializable { - - /* - * The type property. - */ - @Generated - private FunctionShellToolParamEnvironmentType type - = FunctionShellToolParamEnvironmentType.fromString("FunctionShellToolParamEnvironment"); - - /** - * Creates an instance of FunctionShellToolParamEnvironment class. - */ - @Generated - public FunctionShellToolParamEnvironment() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - public FunctionShellToolParamEnvironmentType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FunctionShellToolParamEnvironment from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FunctionShellToolParamEnvironment if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the FunctionShellToolParamEnvironment. - */ - @Generated - public static FunctionShellToolParamEnvironment fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("local".equals(discriminatorValue)) { - return FunctionShellToolParamEnvironmentLocalEnvironmentParam.fromJson(readerToUse.reset()); - } else if ("container_reference".equals(discriminatorValue)) { - return FunctionShellToolParamEnvironmentContainerReferenceParam.fromJson(readerToUse.reset()); - } else if ("container_auto".equals(discriminatorValue)) { - return ContainerAutoParam.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static FunctionShellToolParamEnvironment fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - FunctionShellToolParamEnvironment deserializedFunctionShellToolParamEnvironment - = new FunctionShellToolParamEnvironment(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedFunctionShellToolParamEnvironment.type - = FunctionShellToolParamEnvironmentType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedFunctionShellToolParamEnvironment; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java deleted file mode 100644 index f2ee6a58dbce..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The FunctionShellToolParamEnvironmentContainerReferenceParam model. - */ -@Immutable -public final class FunctionShellToolParamEnvironmentContainerReferenceParam extends FunctionShellToolParamEnvironment { - - /* - * The type property. - */ - @Generated - private FunctionShellToolParamEnvironmentType type = FunctionShellToolParamEnvironmentType.CONTAINER_REFERENCE; - - /* - * The ID of the referenced container. - */ - @Generated - private final String containerId; - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public FunctionShellToolParamEnvironmentType getType() { - return this.type; - } - - /** - * Get the containerId property: The ID of the referenced container. - * - * @return the containerId value. - */ - @Generated - public String getContainerId() { - return this.containerId; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("container_id", this.containerId); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FunctionShellToolParamEnvironmentContainerReferenceParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FunctionShellToolParamEnvironmentContainerReferenceParam if the JsonReader was pointing to - * an instance of it, or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the - * FunctionShellToolParamEnvironmentContainerReferenceParam. - */ - @Generated - public static FunctionShellToolParamEnvironmentContainerReferenceParam fromJson(JsonReader jsonReader) - throws IOException { - return jsonReader.readObject(reader -> { - String containerId = null; - FunctionShellToolParamEnvironmentType type = FunctionShellToolParamEnvironmentType.CONTAINER_REFERENCE; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("container_id".equals(fieldName)) { - containerId = reader.getString(); - } else if ("type".equals(fieldName)) { - type = FunctionShellToolParamEnvironmentType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - FunctionShellToolParamEnvironmentContainerReferenceParam deserializedFunctionShellToolParamEnvironmentContainerReferenceParam - = new FunctionShellToolParamEnvironmentContainerReferenceParam(containerId); - deserializedFunctionShellToolParamEnvironmentContainerReferenceParam.type = type; - return deserializedFunctionShellToolParamEnvironmentContainerReferenceParam; - }); - } - - /** - * Creates an instance of FunctionShellToolParamEnvironmentContainerReferenceParam class. - * - * @param containerId the containerId value to set. - */ - @Generated - public FunctionShellToolParamEnvironmentContainerReferenceParam(String containerId) { - this.containerId = containerId; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java deleted file mode 100644 index 3f086d380996..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * The FunctionShellToolParamEnvironmentLocalEnvironmentParam model. - */ -@Fluent -public final class FunctionShellToolParamEnvironmentLocalEnvironmentParam extends FunctionShellToolParamEnvironment { - - /* - * The type property. - */ - @Generated - private FunctionShellToolParamEnvironmentType type = FunctionShellToolParamEnvironmentType.LOCAL; - - /* - * An optional list of skills. - */ - @Generated - private List skills; - - /** - * Creates an instance of FunctionShellToolParamEnvironmentLocalEnvironmentParam class. - */ - @Generated - public FunctionShellToolParamEnvironmentLocalEnvironmentParam() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public FunctionShellToolParamEnvironmentType getType() { - return this.type; - } - - /** - * Get the skills property: An optional list of skills. - * - * @return the skills value. - */ - @Generated - public List getSkills() { - return this.skills; - } - - /** - * Set the skills property: An optional list of skills. - * - * @param skills the skills value to set. - * @return the FunctionShellToolParamEnvironmentLocalEnvironmentParam object itself. - */ - @Generated - public FunctionShellToolParamEnvironmentLocalEnvironmentParam setSkills(List skills) { - this.skills = skills; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeArrayField("skills", this.skills, (writer, element) -> writer.writeJson(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FunctionShellToolParamEnvironmentLocalEnvironmentParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FunctionShellToolParamEnvironmentLocalEnvironmentParam if the JsonReader was pointing to - * an instance of it, or null if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the FunctionShellToolParamEnvironmentLocalEnvironmentParam. - */ - @Generated - public static FunctionShellToolParamEnvironmentLocalEnvironmentParam fromJson(JsonReader jsonReader) - throws IOException { - return jsonReader.readObject(reader -> { - FunctionShellToolParamEnvironmentLocalEnvironmentParam deserializedFunctionShellToolParamEnvironmentLocalEnvironmentParam - = new FunctionShellToolParamEnvironmentLocalEnvironmentParam(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedFunctionShellToolParamEnvironmentLocalEnvironmentParam.type - = FunctionShellToolParamEnvironmentType.fromString(reader.getString()); - } else if ("skills".equals(fieldName)) { - List skills = reader.readArray(reader1 -> LocalSkillParam.fromJson(reader1)); - deserializedFunctionShellToolParamEnvironmentLocalEnvironmentParam.skills = skills; - } else { - reader.skipChildren(); - } - } - return deserializedFunctionShellToolParamEnvironmentLocalEnvironmentParam; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java deleted file mode 100644 index 1302b40bc02c..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Defines values for FunctionShellToolParamEnvironmentType. - */ -public final class FunctionShellToolParamEnvironmentType - extends ExpandableStringEnum { - - /** - * Static value container_auto for FunctionShellToolParamEnvironmentType. - */ - @Generated - public static final FunctionShellToolParamEnvironmentType CONTAINER_AUTO = fromString("container_auto"); - - /** - * Static value local for FunctionShellToolParamEnvironmentType. - */ - @Generated - public static final FunctionShellToolParamEnvironmentType LOCAL = fromString("local"); - - /** - * Static value container_reference for FunctionShellToolParamEnvironmentType. - */ - @Generated - public static final FunctionShellToolParamEnvironmentType CONTAINER_REFERENCE = fromString("container_reference"); - - /** - * Creates a new instance of FunctionShellToolParamEnvironmentType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public FunctionShellToolParamEnvironmentType() { - } - - /** - * Creates or finds a FunctionShellToolParamEnvironmentType from its string representation. - * - * @param name a name to look for. - * @return the corresponding FunctionShellToolParamEnvironmentType. - */ - @Generated - public static FunctionShellToolParamEnvironmentType fromString(String name) { - return fromString(name, FunctionShellToolParamEnvironmentType.class); - } - - /** - * Gets known FunctionShellToolParamEnvironmentType values. - * - * @return known FunctionShellToolParamEnvironmentType values. - */ - @Generated - public static Collection values() { - return values(FunctionShellToolParamEnvironmentType.class); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionTool.java deleted file mode 100644 index e4e4b828bb22..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FunctionTool.java +++ /dev/null @@ -1,193 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.core.util.BinaryData; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.Map; - -/** - * Function - * - * Defines a function in your own code the model can choose to call. Learn more about [function - * calling](https://platform.openai.com/docs/guides/function-calling). - */ -@Fluent -public final class FunctionTool extends Tool { - - /* - * The type property. - */ - @Generated - private ToolType type = ToolType.FUNCTION; - - /* - * The name of the function to call. - */ - @Generated - private final String name; - - /* - * The description property. - */ - @Generated - private String description; - - /* - * The parameters property. - */ - @Generated - private final Map parameters; - - /* - * The strict property. - */ - @Generated - private final Boolean strict; - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ToolType getType() { - return this.type; - } - - /** - * Get the name property: The name of the function to call. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the description property: The description property. - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: The description property. - * - * @param description the description value to set. - * @return the FunctionTool object itself. - */ - @Generated - public FunctionTool setDescription(String description) { - this.description = description; - return this; - } - - /** - * Get the parameters property: The parameters property. - * - * @return the parameters value. - */ - @Generated - public Map getParameters() { - return this.parameters; - } - - /** - * Get the strict property: The strict property. - * - * @return the strict value. - */ - @Generated - public Boolean isStrict() { - return this.strict; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeMapField("parameters", this.parameters, (writer, element) -> { - if (element == null) { - writer.writeNull(); - } else { - element.writeTo(writer); - } - }); - jsonWriter.writeBooleanField("strict", this.strict); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("description", this.description); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of FunctionTool from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of FunctionTool if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the FunctionTool. - */ - @Generated - public static FunctionTool fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String name = null; - Map parameters = null; - Boolean strict = null; - ToolType type = ToolType.FUNCTION; - String description = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("parameters".equals(fieldName)) { - parameters = reader.readMap(reader1 -> reader1 - .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); - } else if ("strict".equals(fieldName)) { - strict = reader.getNullable(JsonReader::getBoolean); - } else if ("type".equals(fieldName)) { - type = ToolType.fromString(reader.getString()); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else { - reader.skipChildren(); - } - } - FunctionTool deserializedFunctionTool = new FunctionTool(name, parameters, strict); - deserializedFunctionTool.type = type; - deserializedFunctionTool.description = description; - return deserializedFunctionTool; - }); - } - - /** - * Creates an instance of FunctionTool class. - * - * @param name the name value to set. - * @param parameters the parameters value to set. - * @param strict the strict value to set. - */ - @Generated - public FunctionTool(String name, Map parameters, Boolean strict) { - this.name = name; - this.parameters = parameters; - this.strict = strict; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GrammarSyntax.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GrammarSyntax.java deleted file mode 100644 index 7525e7ff1c8d..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GrammarSyntax.java +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Defines values for GrammarSyntax. - */ -public final class GrammarSyntax extends ExpandableStringEnum { - - /** - * Static value lark for GrammarSyntax. - */ - @Generated - public static final GrammarSyntax LARK = fromString("lark"); - - /** - * Static value regex for GrammarSyntax. - */ - @Generated - public static final GrammarSyntax REGEX = fromString("regex"); - - /** - * Creates a new instance of GrammarSyntax value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public GrammarSyntax() { - } - - /** - * Creates or finds a GrammarSyntax from its string representation. - * - * @param name a name to look for. - * @return the corresponding GrammarSyntax. - */ - @Generated - public static GrammarSyntax fromString(String name) { - return fromString(name, GrammarSyntax.class); - } - - /** - * Gets known GrammarSyntax values. - * - * @return known GrammarSyntax values. - */ - @Generated - public static Collection values() { - return values(GrammarSyntax.class); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java deleted file mode 100644 index 327206fb20c2..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The HybridSearchOptions model. - */ -@Immutable -public final class HybridSearchOptions implements JsonSerializable { - - /* - * The weight of the embedding in the reciprocal ranking fusion. - */ - @Generated - private final int embeddingWeight; - - /* - * The weight of the text in the reciprocal ranking fusion. - */ - @Generated - private final int textWeight; - - /** - * Get the embeddingWeight property: The weight of the embedding in the reciprocal ranking fusion. - * - * @return the embeddingWeight value. - */ - @Generated - public int getEmbeddingWeight() { - return this.embeddingWeight; - } - - /** - * Get the textWeight property: The weight of the text in the reciprocal ranking fusion. - * - * @return the textWeight value. - */ - @Generated - public int getTextWeight() { - return this.textWeight; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeIntField("embedding_weight", this.embeddingWeight); - jsonWriter.writeIntField("text_weight", this.textWeight); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of HybridSearchOptions from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of HybridSearchOptions if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the HybridSearchOptions. - */ - @Generated - public static HybridSearchOptions fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - int embeddingWeight = 0; - int textWeight = 0; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("embedding_weight".equals(fieldName)) { - embeddingWeight = reader.getInt(); - } else if ("text_weight".equals(fieldName)) { - textWeight = reader.getInt(); - } else { - reader.skipChildren(); - } - } - return new HybridSearchOptions(embeddingWeight, textWeight); - }); - } - - /** - * Creates an instance of HybridSearchOptions class. - * - * @param embeddingWeight the embeddingWeight value to set. - * @param textWeight the textWeight value to set. - */ - @Generated - public HybridSearchOptions(int embeddingWeight, int textWeight) { - this.embeddingWeight = embeddingWeight; - this.textWeight = textWeight; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenActionEnum.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenActionEnum.java deleted file mode 100644 index f028b6c8519b..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenActionEnum.java +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.models; - -/** - * Defines values for ImageGenActionEnum. - */ -public enum ImageGenActionEnum { - /** - * Enum value generate. - */ - GENERATE("generate"), - - /** - * Enum value edit. - */ - EDIT("edit"), - - /** - * Enum value auto. - */ - AUTO("auto"); - - /** - * The actual serialized value for a ImageGenActionEnum instance. - */ - private final String value; - - ImageGenActionEnum(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a ImageGenActionEnum instance. - * - * @param value the serialized value to parse. - * @return the parsed ImageGenActionEnum object, or null if unable to parse. - */ - public static ImageGenActionEnum fromString(String value) { - if (value == null) { - return null; - } - ImageGenActionEnum[] items = ImageGenActionEnum.values(); - for (ImageGenActionEnum item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenTool.java deleted file mode 100644 index 99238b473fe8..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenTool.java +++ /dev/null @@ -1,439 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Image generation tool - * - * A tool that generates images using the GPT image models. - */ -@Fluent -public final class ImageGenTool extends Tool { - - /* - * The type property. - */ - @Generated - private ToolType type = ToolType.IMAGE_GENERATION; - - /* - * The model property. - */ - @Generated - private ImageGenToolModel model; - - /* - * The quality of the generated image. One of `low`, `medium`, `high`, - * or `auto`. Default: `auto`. - */ - @Generated - private ImageGenToolQuality quality; - - /* - * The size of the generated image. One of `1024x1024`, `1024x1536`, - * `1536x1024`, or `auto`. Default: `auto`. - */ - @Generated - private ImageGenToolSize size; - - /* - * The output format of the generated image. One of `png`, `webp`, or - * `jpeg`. Default: `png`. - */ - @Generated - private ImageGenToolOutputFormat outputFormat; - - /* - * Compression level for the output image. Default: 100. - */ - @Generated - private Integer outputCompression; - - /* - * Moderation level for the generated image. Default: `auto`. - */ - @Generated - private ImageGenToolModeration moderation; - - /* - * Background type for the generated image. One of `transparent`, - * `opaque`, or `auto`. Default: `auto`. - */ - @Generated - private ImageGenToolBackground background; - - /* - * The input_fidelity property. - */ - @Generated - private InputFidelity inputFidelity; - - /* - * Optional mask for inpainting. Contains `image_url` - * (string, optional) and `file_id` (string, optional). - */ - @Generated - private ImageGenToolInputImageMask inputImageMask; - - /* - * Number of partial images to generate in streaming mode, from 0 (default value) to 3. - */ - @Generated - private Integer partialImages; - - /* - * Whether to generate a new image or edit an existing image. Default: `auto`. - */ - @Generated - private ImageGenActionEnum action; - - /** - * Creates an instance of ImageGenTool class. - */ - @Generated - public ImageGenTool() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ToolType getType() { - return this.type; - } - - /** - * Get the model property: The model property. - * - * @return the model value. - */ - @Generated - public ImageGenToolModel getModel() { - return this.model; - } - - /** - * Set the model property: The model property. - * - * @param model the model value to set. - * @return the ImageGenTool object itself. - */ - @Generated - public ImageGenTool setModel(ImageGenToolModel model) { - this.model = model; - return this; - } - - /** - * Get the quality property: The quality of the generated image. One of `low`, `medium`, `high`, - * or `auto`. Default: `auto`. - * - * @return the quality value. - */ - @Generated - public ImageGenToolQuality getQuality() { - return this.quality; - } - - /** - * Set the quality property: The quality of the generated image. One of `low`, `medium`, `high`, - * or `auto`. Default: `auto`. - * - * @param quality the quality value to set. - * @return the ImageGenTool object itself. - */ - @Generated - public ImageGenTool setQuality(ImageGenToolQuality quality) { - this.quality = quality; - return this; - } - - /** - * Get the size property: The size of the generated image. One of `1024x1024`, `1024x1536`, - * `1536x1024`, or `auto`. Default: `auto`. - * - * @return the size value. - */ - @Generated - public ImageGenToolSize getSize() { - return this.size; - } - - /** - * Set the size property: The size of the generated image. One of `1024x1024`, `1024x1536`, - * `1536x1024`, or `auto`. Default: `auto`. - * - * @param size the size value to set. - * @return the ImageGenTool object itself. - */ - @Generated - public ImageGenTool setSize(ImageGenToolSize size) { - this.size = size; - return this; - } - - /** - * Get the outputFormat property: The output format of the generated image. One of `png`, `webp`, or - * `jpeg`. Default: `png`. - * - * @return the outputFormat value. - */ - @Generated - public ImageGenToolOutputFormat getOutputFormat() { - return this.outputFormat; - } - - /** - * Set the outputFormat property: The output format of the generated image. One of `png`, `webp`, or - * `jpeg`. Default: `png`. - * - * @param outputFormat the outputFormat value to set. - * @return the ImageGenTool object itself. - */ - @Generated - public ImageGenTool setOutputFormat(ImageGenToolOutputFormat outputFormat) { - this.outputFormat = outputFormat; - return this; - } - - /** - * Get the outputCompression property: Compression level for the output image. Default: 100. - * - * @return the outputCompression value. - */ - @Generated - public Integer getOutputCompression() { - return this.outputCompression; - } - - /** - * Set the outputCompression property: Compression level for the output image. Default: 100. - * - * @param outputCompression the outputCompression value to set. - * @return the ImageGenTool object itself. - */ - @Generated - public ImageGenTool setOutputCompression(Integer outputCompression) { - this.outputCompression = outputCompression; - return this; - } - - /** - * Get the moderation property: Moderation level for the generated image. Default: `auto`. - * - * @return the moderation value. - */ - @Generated - public ImageGenToolModeration getModeration() { - return this.moderation; - } - - /** - * Set the moderation property: Moderation level for the generated image. Default: `auto`. - * - * @param moderation the moderation value to set. - * @return the ImageGenTool object itself. - */ - @Generated - public ImageGenTool setModeration(ImageGenToolModeration moderation) { - this.moderation = moderation; - return this; - } - - /** - * Get the background property: Background type for the generated image. One of `transparent`, - * `opaque`, or `auto`. Default: `auto`. - * - * @return the background value. - */ - @Generated - public ImageGenToolBackground getBackground() { - return this.background; - } - - /** - * Set the background property: Background type for the generated image. One of `transparent`, - * `opaque`, or `auto`. Default: `auto`. - * - * @param background the background value to set. - * @return the ImageGenTool object itself. - */ - @Generated - public ImageGenTool setBackground(ImageGenToolBackground background) { - this.background = background; - return this; - } - - /** - * Get the inputFidelity property: The input_fidelity property. - * - * @return the inputFidelity value. - */ - @Generated - public InputFidelity getInputFidelity() { - return this.inputFidelity; - } - - /** - * Set the inputFidelity property: The input_fidelity property. - * - * @param inputFidelity the inputFidelity value to set. - * @return the ImageGenTool object itself. - */ - @Generated - public ImageGenTool setInputFidelity(InputFidelity inputFidelity) { - this.inputFidelity = inputFidelity; - return this; - } - - /** - * Get the inputImageMask property: Optional mask for inpainting. Contains `image_url` - * (string, optional) and `file_id` (string, optional). - * - * @return the inputImageMask value. - */ - @Generated - public ImageGenToolInputImageMask getInputImageMask() { - return this.inputImageMask; - } - - /** - * Set the inputImageMask property: Optional mask for inpainting. Contains `image_url` - * (string, optional) and `file_id` (string, optional). - * - * @param inputImageMask the inputImageMask value to set. - * @return the ImageGenTool object itself. - */ - @Generated - public ImageGenTool setInputImageMask(ImageGenToolInputImageMask inputImageMask) { - this.inputImageMask = inputImageMask; - return this; - } - - /** - * Get the partialImages property: Number of partial images to generate in streaming mode, from 0 (default value) to - * 3. - * - * @return the partialImages value. - */ - @Generated - public Integer getPartialImages() { - return this.partialImages; - } - - /** - * Set the partialImages property: Number of partial images to generate in streaming mode, from 0 (default value) to - * 3. - * - * @param partialImages the partialImages value to set. - * @return the ImageGenTool object itself. - */ - @Generated - public ImageGenTool setPartialImages(Integer partialImages) { - this.partialImages = partialImages; - return this; - } - - /** - * Get the action property: Whether to generate a new image or edit an existing image. Default: `auto`. - * - * @return the action value. - */ - @Generated - public ImageGenActionEnum getAction() { - return this.action; - } - - /** - * Set the action property: Whether to generate a new image or edit an existing image. Default: `auto`. - * - * @param action the action value to set. - * @return the ImageGenTool object itself. - */ - @Generated - public ImageGenTool setAction(ImageGenActionEnum action) { - this.action = action; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("model", this.model == null ? null : this.model.toString()); - jsonWriter.writeStringField("quality", this.quality == null ? null : this.quality.toString()); - jsonWriter.writeStringField("size", this.size == null ? null : this.size.toString()); - jsonWriter.writeStringField("output_format", this.outputFormat == null ? null : this.outputFormat.toString()); - jsonWriter.writeNumberField("output_compression", this.outputCompression); - jsonWriter.writeStringField("moderation", this.moderation == null ? null : this.moderation.toString()); - jsonWriter.writeStringField("background", this.background == null ? null : this.background.toString()); - jsonWriter.writeStringField("input_fidelity", - this.inputFidelity == null ? null : this.inputFidelity.toString()); - jsonWriter.writeJsonField("input_image_mask", this.inputImageMask); - jsonWriter.writeNumberField("partial_images", this.partialImages); - jsonWriter.writeStringField("action", this.action == null ? null : this.action.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ImageGenTool from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ImageGenTool if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the ImageGenTool. - */ - @Generated - public static ImageGenTool fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ImageGenTool deserializedImageGenTool = new ImageGenTool(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedImageGenTool.type = ToolType.fromString(reader.getString()); - } else if ("model".equals(fieldName)) { - deserializedImageGenTool.model = ImageGenToolModel.fromString(reader.getString()); - } else if ("quality".equals(fieldName)) { - deserializedImageGenTool.quality = ImageGenToolQuality.fromString(reader.getString()); - } else if ("size".equals(fieldName)) { - deserializedImageGenTool.size = ImageGenToolSize.fromString(reader.getString()); - } else if ("output_format".equals(fieldName)) { - deserializedImageGenTool.outputFormat = ImageGenToolOutputFormat.fromString(reader.getString()); - } else if ("output_compression".equals(fieldName)) { - deserializedImageGenTool.outputCompression = reader.getNullable(JsonReader::getInt); - } else if ("moderation".equals(fieldName)) { - deserializedImageGenTool.moderation = ImageGenToolModeration.fromString(reader.getString()); - } else if ("background".equals(fieldName)) { - deserializedImageGenTool.background = ImageGenToolBackground.fromString(reader.getString()); - } else if ("input_fidelity".equals(fieldName)) { - deserializedImageGenTool.inputFidelity = InputFidelity.fromString(reader.getString()); - } else if ("input_image_mask".equals(fieldName)) { - deserializedImageGenTool.inputImageMask = ImageGenToolInputImageMask.fromJson(reader); - } else if ("partial_images".equals(fieldName)) { - deserializedImageGenTool.partialImages = reader.getNullable(JsonReader::getInt); - } else if ("action".equals(fieldName)) { - deserializedImageGenTool.action = ImageGenActionEnum.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedImageGenTool; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolBackground.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolBackground.java deleted file mode 100644 index 5161c977d6b4..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolBackground.java +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.models; - -/** - * Defines values for ImageGenToolBackground. - */ -public enum ImageGenToolBackground { - /** - * Enum value transparent. - */ - TRANSPARENT("transparent"), - - /** - * Enum value opaque. - */ - OPAQUE("opaque"), - - /** - * Enum value auto. - */ - AUTO("auto"); - - /** - * The actual serialized value for a ImageGenToolBackground instance. - */ - private final String value; - - ImageGenToolBackground(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a ImageGenToolBackground instance. - * - * @param value the serialized value to parse. - * @return the parsed ImageGenToolBackground object, or null if unable to parse. - */ - public static ImageGenToolBackground fromString(String value) { - if (value == null) { - return null; - } - ImageGenToolBackground[] items = ImageGenToolBackground.values(); - for (ImageGenToolBackground item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolInputImageMask.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolInputImageMask.java deleted file mode 100644 index a7e675f8ce33..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolInputImageMask.java +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The ImageGenToolInputImageMask model. - */ -@Fluent -public final class ImageGenToolInputImageMask implements JsonSerializable { - - /* - * The image_url property. - */ - @Generated - private String imageUrl; - - /* - * The file_id property. - */ - @Generated - private String fileId; - - /** - * Creates an instance of ImageGenToolInputImageMask class. - */ - @Generated - public ImageGenToolInputImageMask() { - } - - /** - * Get the imageUrl property: The image_url property. - * - * @return the imageUrl value. - */ - @Generated - public String getImageUrl() { - return this.imageUrl; - } - - /** - * Set the imageUrl property: The image_url property. - * - * @param imageUrl the imageUrl value to set. - * @return the ImageGenToolInputImageMask object itself. - */ - @Generated - public ImageGenToolInputImageMask setImageUrl(String imageUrl) { - this.imageUrl = imageUrl; - return this; - } - - /** - * Get the fileId property: The file_id property. - * - * @return the fileId value. - */ - @Generated - public String getFileId() { - return this.fileId; - } - - /** - * Set the fileId property: The file_id property. - * - * @param fileId the fileId value to set. - * @return the ImageGenToolInputImageMask object itself. - */ - @Generated - public ImageGenToolInputImageMask setFileId(String fileId) { - this.fileId = fileId; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("image_url", this.imageUrl); - jsonWriter.writeStringField("file_id", this.fileId); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ImageGenToolInputImageMask from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ImageGenToolInputImageMask if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IOException If an error occurs while reading the ImageGenToolInputImageMask. - */ - @Generated - public static ImageGenToolInputImageMask fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ImageGenToolInputImageMask deserializedImageGenToolInputImageMask = new ImageGenToolInputImageMask(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("image_url".equals(fieldName)) { - deserializedImageGenToolInputImageMask.imageUrl = reader.getString(); - } else if ("file_id".equals(fieldName)) { - deserializedImageGenToolInputImageMask.fileId = reader.getString(); - } else { - reader.skipChildren(); - } - } - return deserializedImageGenToolInputImageMask; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java deleted file mode 100644 index b57f9f4c3de5..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Defines values for ImageGenToolModel. - */ -public final class ImageGenToolModel extends ExpandableStringEnum { - - /** - * Static value gpt-image-1 for ImageGenToolModel. - */ - @Generated - public static final ImageGenToolModel GPT_IMAGE_1 = fromString("gpt-image-1"); - - /** - * Static value gpt-image-1-mini for ImageGenToolModel. - */ - @Generated - public static final ImageGenToolModel GPT_IMAGE_1_MINI = fromString("gpt-image-1-mini"); - - /** - * Static value gpt-image-1.5 for ImageGenToolModel. - */ - @Generated - public static final ImageGenToolModel GPT_IMAGE_1_5 = fromString("gpt-image-1.5"); - - /** - * Creates a new instance of ImageGenToolModel value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public ImageGenToolModel() { - } - - /** - * Creates or finds a ImageGenToolModel from its string representation. - * - * @param name a name to look for. - * @return the corresponding ImageGenToolModel. - */ - @Generated - public static ImageGenToolModel fromString(String name) { - return fromString(name, ImageGenToolModel.class); - } - - /** - * Gets known ImageGenToolModel values. - * - * @return known ImageGenToolModel values. - */ - @Generated - public static Collection values() { - return values(ImageGenToolModel.class); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModeration.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModeration.java deleted file mode 100644 index 086f39c3f849..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolModeration.java +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.models; - -/** - * Defines values for ImageGenToolModeration. - */ -public enum ImageGenToolModeration { - /** - * Enum value auto. - */ - AUTO("auto"), - - /** - * Enum value low. - */ - LOW("low"); - - /** - * The actual serialized value for a ImageGenToolModeration instance. - */ - private final String value; - - ImageGenToolModeration(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a ImageGenToolModeration instance. - * - * @param value the serialized value to parse. - * @return the parsed ImageGenToolModeration object, or null if unable to parse. - */ - public static ImageGenToolModeration fromString(String value) { - if (value == null) { - return null; - } - ImageGenToolModeration[] items = ImageGenToolModeration.values(); - for (ImageGenToolModeration item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolOutputFormat.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolOutputFormat.java deleted file mode 100644 index 8d5fc23ed44c..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolOutputFormat.java +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.models; - -/** - * Defines values for ImageGenToolOutputFormat. - */ -public enum ImageGenToolOutputFormat { - /** - * Enum value png. - */ - PNG("png"), - - /** - * Enum value webp. - */ - WEBP("webp"), - - /** - * Enum value jpeg. - */ - JPEG("jpeg"); - - /** - * The actual serialized value for a ImageGenToolOutputFormat instance. - */ - private final String value; - - ImageGenToolOutputFormat(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a ImageGenToolOutputFormat instance. - * - * @param value the serialized value to parse. - * @return the parsed ImageGenToolOutputFormat object, or null if unable to parse. - */ - public static ImageGenToolOutputFormat fromString(String value) { - if (value == null) { - return null; - } - ImageGenToolOutputFormat[] items = ImageGenToolOutputFormat.values(); - for (ImageGenToolOutputFormat item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolQuality.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolQuality.java deleted file mode 100644 index c9ddd2cb4e4f..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolQuality.java +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.models; - -/** - * Defines values for ImageGenToolQuality. - */ -public enum ImageGenToolQuality { - /** - * Enum value low. - */ - LOW("low"), - - /** - * Enum value medium. - */ - MEDIUM("medium"), - - /** - * Enum value high. - */ - HIGH("high"), - - /** - * Enum value auto. - */ - AUTO("auto"); - - /** - * The actual serialized value for a ImageGenToolQuality instance. - */ - private final String value; - - ImageGenToolQuality(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a ImageGenToolQuality instance. - * - * @param value the serialized value to parse. - * @return the parsed ImageGenToolQuality object, or null if unable to parse. - */ - public static ImageGenToolQuality fromString(String value) { - if (value == null) { - return null; - } - ImageGenToolQuality[] items = ImageGenToolQuality.values(); - for (ImageGenToolQuality item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolSize.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolSize.java deleted file mode 100644 index dc3cf5597032..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ImageGenToolSize.java +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.models; - -/** - * Defines values for ImageGenToolSize. - */ -public enum ImageGenToolSize { - /** - * Enum value 1024x1024. - */ - ONE_ZERO_TWO_FOURX_ONE_ZERO_TWO_FOUR("1024x1024"), - - /** - * Enum value 1024x1536. - */ - ONE_ZERO_TWO_FOURX_ONE_FIVE_THREE_SIX("1024x1536"), - - /** - * Enum value 1536x1024. - */ - ONE_FIVE_THREE_SIXX_ONE_ZERO_TWO_FOUR("1536x1024"), - - /** - * Enum value auto. - */ - AUTO("auto"); - - /** - * The actual serialized value for a ImageGenToolSize instance. - */ - private final String value; - - ImageGenToolSize(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a ImageGenToolSize instance. - * - * @param value the serialized value to parse. - * @return the parsed ImageGenToolSize object, or null if unable to parse. - */ - public static ImageGenToolSize fromString(String value) { - if (value == null) { - return null; - } - ImageGenToolSize[] items = ImageGenToolSize.values(); - for (ImageGenToolSize item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InlineSkillParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InlineSkillParam.java deleted file mode 100644 index 4d059c7091c1..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InlineSkillParam.java +++ /dev/null @@ -1,148 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The InlineSkillParam model. - */ -@Immutable -public final class InlineSkillParam extends ContainerSkill { - - /* - * The type property. - */ - @Generated - private ContainerSkillType type = ContainerSkillType.INLINE; - - /* - * The name of the skill. - */ - @Generated - private final String name; - - /* - * The description of the skill. - */ - @Generated - private final String description; - - /* - * Inline skill payload - */ - @Generated - private final InlineSkillSourceParam source; - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ContainerSkillType getType() { - return this.type; - } - - /** - * Get the name property: The name of the skill. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the description property: The description of the skill. - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Get the source property: Inline skill payload. - * - * @return the source value. - */ - @Generated - public InlineSkillSourceParam getSource() { - return this.source; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("description", this.description); - jsonWriter.writeJsonField("source", this.source); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InlineSkillParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InlineSkillParam if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InlineSkillParam. - */ - @Generated - public static InlineSkillParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String name = null; - String description = null; - InlineSkillSourceParam source = null; - ContainerSkillType type = ContainerSkillType.INLINE; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("source".equals(fieldName)) { - source = InlineSkillSourceParam.fromJson(reader); - } else if ("type".equals(fieldName)) { - type = ContainerSkillType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - InlineSkillParam deserializedInlineSkillParam = new InlineSkillParam(name, description, source); - deserializedInlineSkillParam.type = type; - return deserializedInlineSkillParam; - }); - } - - /** - * Creates an instance of InlineSkillParam class. - * - * @param name the name value to set. - * @param description the description value to set. - * @param source the source value to set. - */ - @Generated - public InlineSkillParam(String name, String description, InlineSkillSourceParam source) { - this.name = name; - this.description = description; - this.source = source; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InlineSkillSourceParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InlineSkillSourceParam.java deleted file mode 100644 index a3b6efd118b8..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InlineSkillSourceParam.java +++ /dev/null @@ -1,116 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Inline skill payload. - */ -@Immutable -public final class InlineSkillSourceParam implements JsonSerializable { - - /* - * The type of the inline skill source. Must be `base64`. - */ - @Generated - private final String type = "base64"; - - /* - * The media type of the inline skill payload. Must be `application/zip`. - */ - @Generated - private final String mediaType = "application/zip"; - - /* - * Base64-encoded skill zip bundle. - */ - @Generated - private final String data; - - /** - * Get the type property: The type of the inline skill source. Must be `base64`. - * - * @return the type value. - */ - @Generated - public String getType() { - return this.type; - } - - /** - * Get the mediaType property: The media type of the inline skill payload. Must be `application/zip`. - * - * @return the mediaType value. - */ - @Generated - public String getMediaType() { - return this.mediaType; - } - - /** - * Get the data property: Base64-encoded skill zip bundle. - * - * @return the data value. - */ - @Generated - public String getData() { - return this.data; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type); - jsonWriter.writeStringField("media_type", this.mediaType); - jsonWriter.writeStringField("data", this.data); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of InlineSkillSourceParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of InlineSkillSourceParam if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the InlineSkillSourceParam. - */ - @Generated - public static InlineSkillSourceParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String data = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("data".equals(fieldName)) { - data = reader.getString(); - } else { - reader.skipChildren(); - } - } - return new InlineSkillSourceParam(data); - }); - } - - /** - * Creates an instance of InlineSkillSourceParam class. - * - * @param data the data value to set. - */ - @Generated - public InlineSkillSourceParam(String data) { - this.data = data; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InputFidelity.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InputFidelity.java deleted file mode 100644 index 43903cd40c5c..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InputFidelity.java +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.models; - -/** - * Control how much effort the model will exert to match the style and features, especially facial features, of input - * images. This parameter is only supported for `gpt-image-1` and `gpt-image-1.5` and later models, unsupported for - * `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`. - */ -public enum InputFidelity { - /** - * Enum value high. - */ - HIGH("high"), - - /** - * Enum value low. - */ - LOW("low"); - - /** - * The actual serialized value for a InputFidelity instance. - */ - private final String value; - - InputFidelity(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a InputFidelity instance. - * - * @param value the serialized value to parse. - * @return the parsed InputFidelity object, or null if unable to parse. - */ - public static InputFidelity fromString(String value) { - if (value == null) { - return null; - } - InputFidelity[] items = InputFidelity.values(); - for (InputFidelity item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java deleted file mode 100644 index c45add8102c1..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Local shell tool - * - * A tool that allows the model to execute shell commands in a local environment. - */ -@Immutable -public final class LocalShellToolParam extends Tool { - - /* - * The type property. - */ - @Generated - private ToolType type = ToolType.LOCAL_SHELL; - - /** - * Creates an instance of LocalShellToolParam class. - */ - @Generated - public LocalShellToolParam() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ToolType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of LocalShellToolParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of LocalShellToolParam if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the LocalShellToolParam. - */ - @Generated - public static LocalShellToolParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - LocalShellToolParam deserializedLocalShellToolParam = new LocalShellToolParam(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedLocalShellToolParam.type = ToolType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedLocalShellToolParam; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalSkillParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalSkillParam.java deleted file mode 100644 index 29d248d60235..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/LocalSkillParam.java +++ /dev/null @@ -1,126 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The LocalSkillParam model. - */ -@Immutable -public final class LocalSkillParam implements JsonSerializable { - - /* - * The name of the skill. - */ - @Generated - private final String name; - - /* - * The description of the skill. - */ - @Generated - private final String description; - - /* - * The path to the directory containing the skill. - */ - @Generated - private final String path; - - /** - * Get the name property: The name of the skill. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the description property: The description of the skill. - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Get the path property: The path to the directory containing the skill. - * - * @return the path value. - */ - @Generated - public String getPath() { - return this.path; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("description", this.description); - jsonWriter.writeStringField("path", this.path); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of LocalSkillParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of LocalSkillParam if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the LocalSkillParam. - */ - @Generated - public static LocalSkillParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String name = null; - String description = null; - String path = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("path".equals(fieldName)) { - path = reader.getString(); - } else { - reader.skipChildren(); - } - } - return new LocalSkillParam(name, description, path); - }); - } - - /** - * Creates an instance of LocalSkillParam class. - * - * @param name the name value to set. - * @param description the description value to set. - * @param path the path value to set. - */ - @Generated - public LocalSkillParam(String name, String description, String path) { - this.name = name; - this.description = description; - this.path = path; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPTool.java deleted file mode 100644 index 1cdbe58d7611..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPTool.java +++ /dev/null @@ -1,390 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.core.util.BinaryData; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.Map; - -/** - * MCP tool - * - * Give the model access to additional tools via remote Model Context Protocol - * (MCP) servers. [Learn more about MCP](/docs/guides/tools-remote-mcp). - */ -@Fluent -public final class MCPTool extends Tool { - - /* - * The type property. - */ - @Generated - private ToolType type = ToolType.MCP; - - /* - * A label for this MCP server, used to identify it in tool calls. - */ - @Generated - private final String serverLabel; - - /* - * The URL for the MCP server. One of `server_url` or `connector_id` must be - * provided. - */ - @Generated - private String serverUrl; - - /* - * Identifier for service connectors, like those available in ChatGPT. One of - * `server_url` or `connector_id` must be provided. Learn more about service - * connectors [here](/docs/guides/tools-remote-mcp#connectors). - * Currently supported `connector_id` values are: - * - Dropbox: `connector_dropbox` - * - Gmail: `connector_gmail` - * - Google Calendar: `connector_googlecalendar` - * - Google Drive: `connector_googledrive` - * - Microsoft Teams: `connector_microsoftteams` - * - Outlook Calendar: `connector_outlookcalendar` - * - Outlook Email: `connector_outlookemail` - * - SharePoint: `connector_sharepoint` - */ - @Generated - private MCPToolConnectorId connectorId; - - /* - * An OAuth access token that can be used with a remote MCP server, either - * with a custom MCP server URL or a service connector. Your application - * must handle the OAuth authorization flow and provide the token here. - */ - @Generated - private String authorization; - - /* - * Optional description of the MCP server, used to provide more context. - */ - @Generated - private String serverDescription; - - /* - * The headers property. - */ - @Generated - private Map headers; - - /* - * The allowed_tools property. - */ - @Generated - private BinaryData allowedTools; - - /* - * The require_approval property. - */ - @Generated - private BinaryData requireApproval; - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ToolType getType() { - return this.type; - } - - /** - * Get the serverLabel property: A label for this MCP server, used to identify it in tool calls. - * - * @return the serverLabel value. - */ - @Generated - public String getServerLabel() { - return this.serverLabel; - } - - /** - * Get the serverUrl property: The URL for the MCP server. One of `server_url` or `connector_id` must be - * provided. - * - * @return the serverUrl value. - */ - @Generated - public String getServerUrl() { - return this.serverUrl; - } - - /** - * Set the serverUrl property: The URL for the MCP server. One of `server_url` or `connector_id` must be - * provided. - * - * @param serverUrl the serverUrl value to set. - * @return the MCPTool object itself. - */ - @Generated - public MCPTool setServerUrl(String serverUrl) { - this.serverUrl = serverUrl; - return this; - } - - /** - * Get the connectorId property: Identifier for service connectors, like those available in ChatGPT. One of - * `server_url` or `connector_id` must be provided. Learn more about service - * connectors [here](/docs/guides/tools-remote-mcp#connectors). - * Currently supported `connector_id` values are: - * - Dropbox: `connector_dropbox` - * - Gmail: `connector_gmail` - * - Google Calendar: `connector_googlecalendar` - * - Google Drive: `connector_googledrive` - * - Microsoft Teams: `connector_microsoftteams` - * - Outlook Calendar: `connector_outlookcalendar` - * - Outlook Email: `connector_outlookemail` - * - SharePoint: `connector_sharepoint`. - * - * @return the connectorId value. - */ - @Generated - public MCPToolConnectorId getConnectorId() { - return this.connectorId; - } - - /** - * Set the connectorId property: Identifier for service connectors, like those available in ChatGPT. One of - * `server_url` or `connector_id` must be provided. Learn more about service - * connectors [here](/docs/guides/tools-remote-mcp#connectors). - * Currently supported `connector_id` values are: - * - Dropbox: `connector_dropbox` - * - Gmail: `connector_gmail` - * - Google Calendar: `connector_googlecalendar` - * - Google Drive: `connector_googledrive` - * - Microsoft Teams: `connector_microsoftteams` - * - Outlook Calendar: `connector_outlookcalendar` - * - Outlook Email: `connector_outlookemail` - * - SharePoint: `connector_sharepoint`. - * - * @param connectorId the connectorId value to set. - * @return the MCPTool object itself. - */ - @Generated - public MCPTool setConnectorId(MCPToolConnectorId connectorId) { - this.connectorId = connectorId; - return this; - } - - /** - * Get the authorization property: An OAuth access token that can be used with a remote MCP server, either - * with a custom MCP server URL or a service connector. Your application - * must handle the OAuth authorization flow and provide the token here. - * - * @return the authorization value. - */ - @Generated - public String getAuthorization() { - return this.authorization; - } - - /** - * Set the authorization property: An OAuth access token that can be used with a remote MCP server, either - * with a custom MCP server URL or a service connector. Your application - * must handle the OAuth authorization flow and provide the token here. - * - * @param authorization the authorization value to set. - * @return the MCPTool object itself. - */ - @Generated - public MCPTool setAuthorization(String authorization) { - this.authorization = authorization; - return this; - } - - /** - * Get the serverDescription property: Optional description of the MCP server, used to provide more context. - * - * @return the serverDescription value. - */ - @Generated - public String getServerDescription() { - return this.serverDescription; - } - - /** - * Set the serverDescription property: Optional description of the MCP server, used to provide more context. - * - * @param serverDescription the serverDescription value to set. - * @return the MCPTool object itself. - */ - @Generated - public MCPTool setServerDescription(String serverDescription) { - this.serverDescription = serverDescription; - return this; - } - - /** - * Get the headers property: The headers property. - * - * @return the headers value. - */ - @Generated - public Map getHeaders() { - return this.headers; - } - - /** - * Set the headers property: The headers property. - * - * @param headers the headers value to set. - * @return the MCPTool object itself. - */ - @Generated - public MCPTool setHeaders(Map headers) { - this.headers = headers; - return this; - } - - /** - * Get the allowedTools property: The allowed_tools property. - * - * @return the allowedTools value. - */ - @Generated - public BinaryData getAllowedTools() { - return this.allowedTools; - } - - /** - * Set the allowedTools property: The allowed_tools property. - * - * @param allowedTools the allowedTools value to set. - * @return the MCPTool object itself. - */ - @Generated - public MCPTool setAllowedTools(BinaryData allowedTools) { - this.allowedTools = allowedTools; - return this; - } - - /** - * Get the requireApproval property: The require_approval property. - * - * @return the requireApproval value. - */ - @Generated - public BinaryData getRequireApproval() { - return this.requireApproval; - } - - /** - * Set the requireApproval property: The require_approval property. - * - * @param requireApproval the requireApproval value to set. - * @return the MCPTool object itself. - */ - @Generated - public MCPTool setRequireApproval(BinaryData requireApproval) { - this.requireApproval = requireApproval; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("server_label", this.serverLabel); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("server_url", this.serverUrl); - jsonWriter.writeStringField("connector_id", this.connectorId == null ? null : this.connectorId.toString()); - jsonWriter.writeStringField("authorization", this.authorization); - jsonWriter.writeStringField("server_description", this.serverDescription); - jsonWriter.writeMapField("headers", this.headers, (writer, element) -> writer.writeString(element)); - if (this.allowedTools != null) { - jsonWriter.writeFieldName("allowed_tools"); - this.allowedTools.writeTo(jsonWriter); - } - if (this.requireApproval != null) { - jsonWriter.writeFieldName("require_approval"); - this.requireApproval.writeTo(jsonWriter); - } - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of MCPTool from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of MCPTool if the JsonReader was pointing to an instance of it, or null if it was pointing to - * JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the MCPTool. - */ - @Generated - public static MCPTool fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String serverLabel = null; - ToolType type = ToolType.MCP; - String serverUrl = null; - MCPToolConnectorId connectorId = null; - String authorization = null; - String serverDescription = null; - Map headers = null; - BinaryData allowedTools = null; - BinaryData requireApproval = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("server_label".equals(fieldName)) { - serverLabel = reader.getString(); - } else if ("type".equals(fieldName)) { - type = ToolType.fromString(reader.getString()); - } else if ("server_url".equals(fieldName)) { - serverUrl = reader.getString(); - } else if ("connector_id".equals(fieldName)) { - connectorId = MCPToolConnectorId.fromString(reader.getString()); - } else if ("authorization".equals(fieldName)) { - authorization = reader.getString(); - } else if ("server_description".equals(fieldName)) { - serverDescription = reader.getString(); - } else if ("headers".equals(fieldName)) { - headers = reader.readMap(reader1 -> reader1.getString()); - } else if ("allowed_tools".equals(fieldName)) { - allowedTools - = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); - } else if ("require_approval".equals(fieldName)) { - requireApproval - = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); - } else { - reader.skipChildren(); - } - } - MCPTool deserializedMCPTool = new MCPTool(serverLabel); - deserializedMCPTool.type = type; - deserializedMCPTool.serverUrl = serverUrl; - deserializedMCPTool.connectorId = connectorId; - deserializedMCPTool.authorization = authorization; - deserializedMCPTool.serverDescription = serverDescription; - deserializedMCPTool.headers = headers; - deserializedMCPTool.allowedTools = allowedTools; - deserializedMCPTool.requireApproval = requireApproval; - return deserializedMCPTool; - }); - } - - /** - * Creates an instance of MCPTool class. - * - * @param serverLabel the serverLabel value to set. - */ - @Generated - public MCPTool(String serverLabel) { - this.serverLabel = serverLabel; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolConnectorId.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolConnectorId.java deleted file mode 100644 index 67bb14dc6687..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolConnectorId.java +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.models; - -/** - * Defines values for MCPToolConnectorId. - */ -public enum MCPToolConnectorId { - /** - * Enum value connector_dropbox. - */ - CONNECTOR_DROPBOX("connector_dropbox"), - - /** - * Enum value connector_gmail. - */ - CONNECTOR_GMAIL("connector_gmail"), - - /** - * Enum value connector_googlecalendar. - */ - CONNECTOR_GOOGLECALENDAR("connector_googlecalendar"), - - /** - * Enum value connector_googledrive. - */ - CONNECTOR_GOOGLEDRIVE("connector_googledrive"), - - /** - * Enum value connector_microsoftteams. - */ - CONNECTOR_MICROSOFTTEAMS("connector_microsoftteams"), - - /** - * Enum value connector_outlookcalendar. - */ - CONNECTOR_OUTLOOKCALENDAR("connector_outlookcalendar"), - - /** - * Enum value connector_outlookemail. - */ - CONNECTOR_OUTLOOKEMAIL("connector_outlookemail"), - - /** - * Enum value connector_sharepoint. - */ - CONNECTOR_SHAREPOINT("connector_sharepoint"); - - /** - * The actual serialized value for a MCPToolConnectorId instance. - */ - private final String value; - - MCPToolConnectorId(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a MCPToolConnectorId instance. - * - * @param value the serialized value to parse. - * @return the parsed MCPToolConnectorId object, or null if unable to parse. - */ - public static MCPToolConnectorId fromString(String value) { - if (value == null) { - return null; - } - MCPToolConnectorId[] items = MCPToolConnectorId.values(); - for (MCPToolConnectorId item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolFilter.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolFilter.java deleted file mode 100644 index cd92afa42efb..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolFilter.java +++ /dev/null @@ -1,140 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * MCP tool filter - * - * A filter object to specify which tools are allowed. - */ -@Fluent -public final class MCPToolFilter implements JsonSerializable { - - /* - * MCP allowed tools - * - * List of allowed tool names. - */ - @Generated - private List toolNames; - - /* - * Indicates whether or not a tool modifies data or is read-only. If an - * MCP server is [annotated with - * `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), - * it will match this filter. - */ - @Generated - private Boolean readOnly; - - /** - * Creates an instance of MCPToolFilter class. - */ - @Generated - public MCPToolFilter() { - } - - /** - * Get the toolNames property: MCP allowed tools - * - * List of allowed tool names. - * - * @return the toolNames value. - */ - @Generated - public List getToolNames() { - return this.toolNames; - } - - /** - * Set the toolNames property: MCP allowed tools - * - * List of allowed tool names. - * - * @param toolNames the toolNames value to set. - * @return the MCPToolFilter object itself. - */ - @Generated - public MCPToolFilter setToolNames(List toolNames) { - this.toolNames = toolNames; - return this; - } - - /** - * Get the readOnly property: Indicates whether or not a tool modifies data or is read-only. If an - * MCP server is [annotated with - * `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), - * it will match this filter. - * - * @return the readOnly value. - */ - @Generated - public Boolean isReadOnly() { - return this.readOnly; - } - - /** - * Set the readOnly property: Indicates whether or not a tool modifies data or is read-only. If an - * MCP server is [annotated with - * `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint), - * it will match this filter. - * - * @param readOnly the readOnly value to set. - * @return the MCPToolFilter object itself. - */ - @Generated - public MCPToolFilter setReadOnly(Boolean readOnly) { - this.readOnly = readOnly; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeArrayField("tool_names", this.toolNames, (writer, element) -> writer.writeString(element)); - jsonWriter.writeBooleanField("read_only", this.readOnly); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of MCPToolFilter from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of MCPToolFilter if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the MCPToolFilter. - */ - @Generated - public static MCPToolFilter fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - MCPToolFilter deserializedMCPToolFilter = new MCPToolFilter(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("tool_names".equals(fieldName)) { - List toolNames = reader.readArray(reader1 -> reader1.getString()); - deserializedMCPToolFilter.toolNames = toolNames; - } else if ("read_only".equals(fieldName)) { - deserializedMCPToolFilter.readOnly = reader.getNullable(JsonReader::getBoolean); - } else { - reader.skipChildren(); - } - } - return deserializedMCPToolFilter; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java deleted file mode 100644 index 584310d4f785..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The MCPToolRequireApproval model. - */ -@Fluent -public final class MCPToolRequireApproval implements JsonSerializable { - - /* - * The always property. - */ - @Generated - private MCPToolFilter always; - - /* - * The never property. - */ - @Generated - private MCPToolFilter never; - - /** - * Creates an instance of MCPToolRequireApproval class. - */ - @Generated - public MCPToolRequireApproval() { - } - - /** - * Get the always property: The always property. - * - * @return the always value. - */ - @Generated - public MCPToolFilter getAlways() { - return this.always; - } - - /** - * Set the always property: The always property. - * - * @param always the always value to set. - * @return the MCPToolRequireApproval object itself. - */ - @Generated - public MCPToolRequireApproval setAlways(MCPToolFilter always) { - this.always = always; - return this; - } - - /** - * Get the never property: The never property. - * - * @return the never value. - */ - @Generated - public MCPToolFilter getNever() { - return this.never; - } - - /** - * Set the never property: The never property. - * - * @param never the never value to set. - * @return the MCPToolRequireApproval object itself. - */ - @Generated - public MCPToolRequireApproval setNever(MCPToolFilter never) { - this.never = never; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeJsonField("always", this.always); - jsonWriter.writeJsonField("never", this.never); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of MCPToolRequireApproval from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of MCPToolRequireApproval if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IOException If an error occurs while reading the MCPToolRequireApproval. - */ - @Generated - public static MCPToolRequireApproval fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - MCPToolRequireApproval deserializedMCPToolRequireApproval = new MCPToolRequireApproval(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("always".equals(fieldName)) { - deserializedMCPToolRequireApproval.always = MCPToolFilter.fromJson(reader); - } else if ("never".equals(fieldName)) { - deserializedMCPToolRequireApproval.never = MCPToolFilter.fromJson(reader); - } else { - reader.skipChildren(); - } - } - return deserializedMCPToolRequireApproval; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankerVersionType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankerVersionType.java deleted file mode 100644 index 375a69fe3896..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankerVersionType.java +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.models; - -/** - * Defines values for RankerVersionType. - */ -public enum RankerVersionType { - /** - * Enum value auto. - */ - AUTO("auto"), - - /** - * Enum value default-2024-11-15. - */ - DEFAULT_2024_11_15("default-2024-11-15"); - - /** - * The actual serialized value for a RankerVersionType instance. - */ - private final String value; - - RankerVersionType(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a RankerVersionType instance. - * - * @param value the serialized value to parse. - * @return the parsed RankerVersionType object, or null if unable to parse. - */ - public static RankerVersionType fromString(String value) { - if (value == null) { - return null; - } - RankerVersionType[] items = RankerVersionType.values(); - for (RankerVersionType item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankingOptions.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankingOptions.java deleted file mode 100644 index 598d5305ab39..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RankingOptions.java +++ /dev/null @@ -1,158 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The RankingOptions model. - */ -@Fluent -public final class RankingOptions implements JsonSerializable { - - /* - * The ranker to use for the file search. - */ - @Generated - private RankerVersionType ranker; - - /* - * The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return - * only the most relevant results, but may return fewer results. - */ - @Generated - private Integer scoreThreshold; - - /* - * Weights that control how reciprocal rank fusion balances semantic embedding matches versus sparse keyword matches - * when hybrid search is enabled. - */ - @Generated - private HybridSearchOptions hybridSearch; - - /** - * Creates an instance of RankingOptions class. - */ - @Generated - public RankingOptions() { - } - - /** - * Get the ranker property: The ranker to use for the file search. - * - * @return the ranker value. - */ - @Generated - public RankerVersionType getRanker() { - return this.ranker; - } - - /** - * Set the ranker property: The ranker to use for the file search. - * - * @param ranker the ranker value to set. - * @return the RankingOptions object itself. - */ - @Generated - public RankingOptions setRanker(RankerVersionType ranker) { - this.ranker = ranker; - return this; - } - - /** - * Get the scoreThreshold property: The score threshold for the file search, a number between 0 and 1. Numbers - * closer to 1 will attempt to return only the most relevant results, but may return fewer results. - * - * @return the scoreThreshold value. - */ - @Generated - public Integer getScoreThreshold() { - return this.scoreThreshold; - } - - /** - * Set the scoreThreshold property: The score threshold for the file search, a number between 0 and 1. Numbers - * closer to 1 will attempt to return only the most relevant results, but may return fewer results. - * - * @param scoreThreshold the scoreThreshold value to set. - * @return the RankingOptions object itself. - */ - @Generated - public RankingOptions setScoreThreshold(Integer scoreThreshold) { - this.scoreThreshold = scoreThreshold; - return this; - } - - /** - * Get the hybridSearch property: Weights that control how reciprocal rank fusion balances semantic embedding - * matches versus sparse keyword matches when hybrid search is enabled. - * - * @return the hybridSearch value. - */ - @Generated - public HybridSearchOptions getHybridSearch() { - return this.hybridSearch; - } - - /** - * Set the hybridSearch property: Weights that control how reciprocal rank fusion balances semantic embedding - * matches versus sparse keyword matches when hybrid search is enabled. - * - * @param hybridSearch the hybridSearch value to set. - * @return the RankingOptions object itself. - */ - @Generated - public RankingOptions setHybridSearch(HybridSearchOptions hybridSearch) { - this.hybridSearch = hybridSearch; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("ranker", this.ranker == null ? null : this.ranker.toString()); - jsonWriter.writeNumberField("score_threshold", this.scoreThreshold); - jsonWriter.writeJsonField("hybrid_search", this.hybridSearch); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of RankingOptions from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of RankingOptions if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the RankingOptions. - */ - @Generated - public static RankingOptions fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - RankingOptions deserializedRankingOptions = new RankingOptions(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("ranker".equals(fieldName)) { - deserializedRankingOptions.ranker = RankerVersionType.fromString(reader.getString()); - } else if ("score_threshold".equals(fieldName)) { - deserializedRankingOptions.scoreThreshold = reader.getNullable(JsonReader::getInt); - } else if ("hybrid_search".equals(fieldName)) { - deserializedRankingOptions.hybridSearch = HybridSearchOptions.fromJson(reader); - } else { - reader.skipChildren(); - } - } - return deserializedRankingOptions; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SearchContextSize.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SearchContextSize.java deleted file mode 100644 index e37d78ce78ac..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SearchContextSize.java +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.models; - -/** - * Defines values for SearchContextSize. - */ -public enum SearchContextSize { - /** - * Enum value low. - */ - LOW("low"), - - /** - * Enum value medium. - */ - MEDIUM("medium"), - - /** - * Enum value high. - */ - HIGH("high"); - - /** - * The actual serialized value for a SearchContextSize instance. - */ - private final String value; - - SearchContextSize(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a SearchContextSize instance. - * - * @param value the serialized value to parse. - * @return the parsed SearchContextSize object, or null if unable to parse. - */ - public static SearchContextSize fromString(String value) { - if (value == null) { - return null; - } - SearchContextSize[] items = SearchContextSize.values(); - for (SearchContextSize item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java deleted file mode 100644 index cf4252c1a50d..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java +++ /dev/null @@ -1,137 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The SkillReferenceParam model. - */ -@Fluent -public final class SkillReferenceParam extends ContainerSkill { - - /* - * The type property. - */ - @Generated - private ContainerSkillType type = ContainerSkillType.SKILL_REFERENCE; - - /* - * The ID of the referenced skill. - */ - @Generated - private final String skillId; - - /* - * Optional skill version. Use a positive integer or 'latest'. Omit for default. - */ - @Generated - private String version; - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ContainerSkillType getType() { - return this.type; - } - - /** - * Get the skillId property: The ID of the referenced skill. - * - * @return the skillId value. - */ - @Generated - public String getSkillId() { - return this.skillId; - } - - /** - * Get the version property: Optional skill version. Use a positive integer or 'latest'. Omit for default. - * - * @return the version value. - */ - @Generated - public String getVersion() { - return this.version; - } - - /** - * Set the version property: Optional skill version. Use a positive integer or 'latest'. Omit for default. - * - * @param version the version value to set. - * @return the SkillReferenceParam object itself. - */ - @Generated - public SkillReferenceParam setVersion(String version) { - this.version = version; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("skill_id", this.skillId); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("version", this.version); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of SkillReferenceParam from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of SkillReferenceParam if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the SkillReferenceParam. - */ - @Generated - public static SkillReferenceParam fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String skillId = null; - ContainerSkillType type = ContainerSkillType.SKILL_REFERENCE; - String version = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("skill_id".equals(fieldName)) { - skillId = reader.getString(); - } else if ("type".equals(fieldName)) { - type = ContainerSkillType.fromString(reader.getString()); - } else if ("version".equals(fieldName)) { - version = reader.getString(); - } else { - reader.skipChildren(); - } - } - SkillReferenceParam deserializedSkillReferenceParam = new SkillReferenceParam(skillId); - deserializedSkillReferenceParam.type = type; - deserializedSkillReferenceParam.version = version; - return deserializedSkillReferenceParam; - }); - } - - /** - * Creates an instance of SkillReferenceParam class. - * - * @param skillId the skillId value to set. - */ - @Generated - public SkillReferenceParam(String skillId) { - this.skillId = skillId; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Tool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Tool.java deleted file mode 100644 index 25cc3fbeadbf..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Tool.java +++ /dev/null @@ -1,127 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * A tool that can be used to generate a response. - */ -@Immutable -public class Tool implements JsonSerializable { - - /* - * The type property. - */ - @Generated - private ToolType type = ToolType.fromString("Tool"); - - /** - * Creates an instance of Tool class. - */ - @Generated - public Tool() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - public ToolType getType() { - return this.type; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of Tool from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of Tool if the JsonReader was pointing to an instance of it, or null if it was pointing to - * JSON null. - * @throws IOException If an error occurs while reading the Tool. - */ - @Generated - public static Tool fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String discriminatorValue = null; - try (JsonReader readerToUse = reader.bufferObject()) { - // Prepare for reading - readerToUse.nextToken(); - while (readerToUse.nextToken() != JsonToken.END_OBJECT) { - String fieldName = readerToUse.getFieldName(); - readerToUse.nextToken(); - if ("type".equals(fieldName)) { - discriminatorValue = readerToUse.getString(); - break; - } else { - readerToUse.skipChildren(); - } - } - // Use the discriminator value to determine which subtype should be deserialized. - if ("code_interpreter".equals(discriminatorValue)) { - return CodeInterpreterTool.fromJson(readerToUse.reset()); - } else if ("function".equals(discriminatorValue)) { - return FunctionTool.fromJson(readerToUse.reset()); - } else if ("file_search".equals(discriminatorValue)) { - return FileSearchTool.fromJson(readerToUse.reset()); - } else if ("computer_use_preview".equals(discriminatorValue)) { - return ComputerUsePreviewTool.fromJson(readerToUse.reset()); - } else if ("web_search".equals(discriminatorValue)) { - return WebSearchTool.fromJson(readerToUse.reset()); - } else if ("mcp".equals(discriminatorValue)) { - return MCPTool.fromJson(readerToUse.reset()); - } else if ("image_generation".equals(discriminatorValue)) { - return ImageGenTool.fromJson(readerToUse.reset()); - } else if ("local_shell".equals(discriminatorValue)) { - return LocalShellToolParam.fromJson(readerToUse.reset()); - } else if ("shell".equals(discriminatorValue)) { - return FunctionShellToolParam.fromJson(readerToUse.reset()); - } else if ("custom".equals(discriminatorValue)) { - return CustomToolParam.fromJson(readerToUse.reset()); - } else if ("web_search_preview".equals(discriminatorValue)) { - return WebSearchPreviewTool.fromJson(readerToUse.reset()); - } else if ("apply_patch".equals(discriminatorValue)) { - return ApplyPatchToolParam.fromJson(readerToUse.reset()); - } else { - return fromJsonKnownDiscriminator(readerToUse.reset()); - } - } - }); - } - - @Generated - static Tool fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - Tool deserializedTool = new Tool(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedTool.type = ToolType.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedTool; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolType.java deleted file mode 100644 index 927337c25476..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolType.java +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Defines values for ToolType. - */ -public final class ToolType extends ExpandableStringEnum { - - /** - * Static value function for ToolType. - */ - @Generated - public static final ToolType FUNCTION = fromString("function"); - - /** - * Static value file_search for ToolType. - */ - @Generated - public static final ToolType FILE_SEARCH = fromString("file_search"); - - /** - * Static value computer_use_preview for ToolType. - */ - @Generated - public static final ToolType COMPUTER_USE_PREVIEW = fromString("computer_use_preview"); - - /** - * Static value web_search for ToolType. - */ - @Generated - public static final ToolType WEB_SEARCH = fromString("web_search"); - - /** - * Static value mcp for ToolType. - */ - @Generated - public static final ToolType MCP = fromString("mcp"); - - /** - * Static value code_interpreter for ToolType. - */ - @Generated - public static final ToolType CODE_INTERPRETER = fromString("code_interpreter"); - - /** - * Static value image_generation for ToolType. - */ - @Generated - public static final ToolType IMAGE_GENERATION = fromString("image_generation"); - - /** - * Static value local_shell for ToolType. - */ - @Generated - public static final ToolType LOCAL_SHELL = fromString("local_shell"); - - /** - * Static value shell for ToolType. - */ - @Generated - public static final ToolType SHELL = fromString("shell"); - - /** - * Static value custom for ToolType. - */ - @Generated - public static final ToolType CUSTOM = fromString("custom"); - - /** - * Static value web_search_preview for ToolType. - */ - @Generated - public static final ToolType WEB_SEARCH_PREVIEW = fromString("web_search_preview"); - - /** - * Static value apply_patch for ToolType. - */ - @Generated - public static final ToolType APPLY_PATCH = fromString("apply_patch"); - - /** - * Creates a new instance of ToolType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public ToolType() { - } - - /** - * Creates or finds a ToolType from its string representation. - * - * @param name a name to look for. - * @return the corresponding ToolType. - */ - @Generated - public static ToolType fromString(String name) { - return fromString(name, ToolType.class); - } - - /** - * Gets known ToolType values. - * - * @return known ToolType values. - */ - @Generated - public static Collection values() { - return values(ToolType.class); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java deleted file mode 100644 index 0becf89ed419..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java +++ /dev/null @@ -1,203 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Web search approximate location - * - * The approximate location of the user. - */ -@Fluent -public final class WebSearchApproximateLocation implements JsonSerializable { - - /* - * The type of location approximation. Always `approximate`. - */ - @Generated - private final String type = "approximate"; - - /* - * The country property. - */ - @Generated - private String country; - - /* - * The region property. - */ - @Generated - private String region; - - /* - * The city property. - */ - @Generated - private String city; - - /* - * The timezone property. - */ - @Generated - private String timezone; - - /** - * Creates an instance of WebSearchApproximateLocation class. - */ - @Generated - public WebSearchApproximateLocation() { - } - - /** - * Get the type property: The type of location approximation. Always `approximate`. - * - * @return the type value. - */ - @Generated - public String getType() { - return this.type; - } - - /** - * Get the country property: The country property. - * - * @return the country value. - */ - @Generated - public String getCountry() { - return this.country; - } - - /** - * Set the country property: The country property. - * - * @param country the country value to set. - * @return the WebSearchApproximateLocation object itself. - */ - @Generated - public WebSearchApproximateLocation setCountry(String country) { - this.country = country; - return this; - } - - /** - * Get the region property: The region property. - * - * @return the region value. - */ - @Generated - public String getRegion() { - return this.region; - } - - /** - * Set the region property: The region property. - * - * @param region the region value to set. - * @return the WebSearchApproximateLocation object itself. - */ - @Generated - public WebSearchApproximateLocation setRegion(String region) { - this.region = region; - return this; - } - - /** - * Get the city property: The city property. - * - * @return the city value. - */ - @Generated - public String getCity() { - return this.city; - } - - /** - * Set the city property: The city property. - * - * @param city the city value to set. - * @return the WebSearchApproximateLocation object itself. - */ - @Generated - public WebSearchApproximateLocation setCity(String city) { - this.city = city; - return this; - } - - /** - * Get the timezone property: The timezone property. - * - * @return the timezone value. - */ - @Generated - public String getTimezone() { - return this.timezone; - } - - /** - * Set the timezone property: The timezone property. - * - * @param timezone the timezone value to set. - * @return the WebSearchApproximateLocation object itself. - */ - @Generated - public WebSearchApproximateLocation setTimezone(String timezone) { - this.timezone = timezone; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type); - jsonWriter.writeStringField("country", this.country); - jsonWriter.writeStringField("region", this.region); - jsonWriter.writeStringField("city", this.city); - jsonWriter.writeStringField("timezone", this.timezone); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of WebSearchApproximateLocation from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of WebSearchApproximateLocation if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the WebSearchApproximateLocation. - */ - @Generated - public static WebSearchApproximateLocation fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - WebSearchApproximateLocation deserializedWebSearchApproximateLocation = new WebSearchApproximateLocation(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("country".equals(fieldName)) { - deserializedWebSearchApproximateLocation.country = reader.getString(); - } else if ("region".equals(fieldName)) { - deserializedWebSearchApproximateLocation.region = reader.getString(); - } else if ("city".equals(fieldName)) { - deserializedWebSearchApproximateLocation.city = reader.getString(); - } else if ("timezone".equals(fieldName)) { - deserializedWebSearchApproximateLocation.timezone = reader.getString(); - } else { - reader.skipChildren(); - } - } - return deserializedWebSearchApproximateLocation; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java deleted file mode 100644 index 01311ea1158f..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java +++ /dev/null @@ -1,148 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Web search preview - * - * This tool searches the web for relevant results to use in a response. Learn more about the [web search - * tool](https://platform.openai.com/docs/guides/tools-web-search). - */ -@Fluent -public final class WebSearchPreviewTool extends Tool { - - /* - * The type property. - */ - @Generated - private ToolType type = ToolType.WEB_SEARCH_PREVIEW; - - /* - * The user_location property. - */ - @Generated - private ApproximateLocation userLocation; - - /* - * High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or - * `high`. `medium` is the default. - */ - @Generated - private SearchContextSize searchContextSize; - - /** - * Creates an instance of WebSearchPreviewTool class. - */ - @Generated - public WebSearchPreviewTool() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ToolType getType() { - return this.type; - } - - /** - * Get the userLocation property: The user_location property. - * - * @return the userLocation value. - */ - @Generated - public ApproximateLocation getUserLocation() { - return this.userLocation; - } - - /** - * Set the userLocation property: The user_location property. - * - * @param userLocation the userLocation value to set. - * @return the WebSearchPreviewTool object itself. - */ - @Generated - public WebSearchPreviewTool setUserLocation(ApproximateLocation userLocation) { - this.userLocation = userLocation; - return this; - } - - /** - * Get the searchContextSize property: High level guidance for the amount of context window space to use for the - * search. One of `low`, `medium`, or `high`. `medium` is the default. - * - * @return the searchContextSize value. - */ - @Generated - public SearchContextSize getSearchContextSize() { - return this.searchContextSize; - } - - /** - * Set the searchContextSize property: High level guidance for the amount of context window space to use for the - * search. One of `low`, `medium`, or `high`. `medium` is the default. - * - * @param searchContextSize the searchContextSize value to set. - * @return the WebSearchPreviewTool object itself. - */ - @Generated - public WebSearchPreviewTool setSearchContextSize(SearchContextSize searchContextSize) { - this.searchContextSize = searchContextSize; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeJsonField("user_location", this.userLocation); - jsonWriter.writeStringField("search_context_size", - this.searchContextSize == null ? null : this.searchContextSize.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of WebSearchPreviewTool from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of WebSearchPreviewTool if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IOException If an error occurs while reading the WebSearchPreviewTool. - */ - @Generated - public static WebSearchPreviewTool fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - WebSearchPreviewTool deserializedWebSearchPreviewTool = new WebSearchPreviewTool(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedWebSearchPreviewTool.type = ToolType.fromString(reader.getString()); - } else if ("user_location".equals(fieldName)) { - deserializedWebSearchPreviewTool.userLocation = ApproximateLocation.fromJson(reader); - } else if ("search_context_size".equals(fieldName)) { - deserializedWebSearchPreviewTool.searchContextSize - = SearchContextSize.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedWebSearchPreviewTool; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchTool.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchTool.java deleted file mode 100644 index fb2699c4f115..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchTool.java +++ /dev/null @@ -1,179 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Web search - * - * Search the Internet for sources related to the prompt. Learn more about the - * [web search tool](/docs/guides/tools-web-search). - */ -@Fluent -public final class WebSearchTool extends Tool { - - /* - * The type property. - */ - @Generated - private ToolType type = ToolType.WEB_SEARCH; - - /* - * The filters property. - */ - @Generated - private WebSearchToolFilters filters; - - /* - * The user_location property. - */ - @Generated - private WebSearchApproximateLocation userLocation; - - /* - * High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or - * `high`. `medium` is the default. - */ - @Generated - private WebSearchToolSearchContextSize searchContextSize; - - /** - * Creates an instance of WebSearchTool class. - */ - @Generated - public WebSearchTool() { - } - - /** - * Get the type property: The type property. - * - * @return the type value. - */ - @Generated - @Override - public ToolType getType() { - return this.type; - } - - /** - * Get the filters property: The filters property. - * - * @return the filters value. - */ - @Generated - public WebSearchToolFilters getFilters() { - return this.filters; - } - - /** - * Set the filters property: The filters property. - * - * @param filters the filters value to set. - * @return the WebSearchTool object itself. - */ - @Generated - public WebSearchTool setFilters(WebSearchToolFilters filters) { - this.filters = filters; - return this; - } - - /** - * Get the userLocation property: The user_location property. - * - * @return the userLocation value. - */ - @Generated - public WebSearchApproximateLocation getUserLocation() { - return this.userLocation; - } - - /** - * Set the userLocation property: The user_location property. - * - * @param userLocation the userLocation value to set. - * @return the WebSearchTool object itself. - */ - @Generated - public WebSearchTool setUserLocation(WebSearchApproximateLocation userLocation) { - this.userLocation = userLocation; - return this; - } - - /** - * Get the searchContextSize property: High level guidance for the amount of context window space to use for the - * search. One of `low`, `medium`, or `high`. `medium` is the default. - * - * @return the searchContextSize value. - */ - @Generated - public WebSearchToolSearchContextSize getSearchContextSize() { - return this.searchContextSize; - } - - /** - * Set the searchContextSize property: High level guidance for the amount of context window space to use for the - * search. One of `low`, `medium`, or `high`. `medium` is the default. - * - * @param searchContextSize the searchContextSize value to set. - * @return the WebSearchTool object itself. - */ - @Generated - public WebSearchTool setSearchContextSize(WebSearchToolSearchContextSize searchContextSize) { - this.searchContextSize = searchContextSize; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeJsonField("filters", this.filters); - jsonWriter.writeJsonField("user_location", this.userLocation); - jsonWriter.writeStringField("search_context_size", - this.searchContextSize == null ? null : this.searchContextSize.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of WebSearchTool from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of WebSearchTool if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the WebSearchTool. - */ - @Generated - public static WebSearchTool fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - WebSearchTool deserializedWebSearchTool = new WebSearchTool(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedWebSearchTool.type = ToolType.fromString(reader.getString()); - } else if ("filters".equals(fieldName)) { - deserializedWebSearchTool.filters = WebSearchToolFilters.fromJson(reader); - } else if ("user_location".equals(fieldName)) { - deserializedWebSearchTool.userLocation = WebSearchApproximateLocation.fromJson(reader); - } else if ("search_context_size".equals(fieldName)) { - deserializedWebSearchTool.searchContextSize - = WebSearchToolSearchContextSize.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedWebSearchTool; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java deleted file mode 100644 index 74fbf74ff5c0..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * The WebSearchToolFilters model. - */ -@Fluent -public final class WebSearchToolFilters implements JsonSerializable { - - /* - * The allowed_domains property. - */ - @Generated - private List allowedDomains; - - /** - * Creates an instance of WebSearchToolFilters class. - */ - @Generated - public WebSearchToolFilters() { - } - - /** - * Get the allowedDomains property: The allowed_domains property. - * - * @return the allowedDomains value. - */ - @Generated - public List getAllowedDomains() { - return this.allowedDomains; - } - - /** - * Set the allowedDomains property: The allowed_domains property. - * - * @param allowedDomains the allowedDomains value to set. - * @return the WebSearchToolFilters object itself. - */ - @Generated - public WebSearchToolFilters setAllowedDomains(List allowedDomains) { - this.allowedDomains = allowedDomains; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeArrayField("allowed_domains", this.allowedDomains, - (writer, element) -> writer.writeString(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of WebSearchToolFilters from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of WebSearchToolFilters if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IOException If an error occurs while reading the WebSearchToolFilters. - */ - @Generated - public static WebSearchToolFilters fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - WebSearchToolFilters deserializedWebSearchToolFilters = new WebSearchToolFilters(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("allowed_domains".equals(fieldName)) { - List allowedDomains = reader.readArray(reader1 -> reader1.getString()); - deserializedWebSearchToolFilters.allowedDomains = allowedDomains; - } else { - reader.skipChildren(); - } - } - return deserializedWebSearchToolFilters; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolSearchContextSize.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolSearchContextSize.java deleted file mode 100644 index 13bdb554e221..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/WebSearchToolSearchContextSize.java +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.ai.projects.models; - -/** - * Defines values for WebSearchToolSearchContextSize. - */ -public enum WebSearchToolSearchContextSize { - /** - * Enum value low. - */ - LOW("low"), - - /** - * Enum value medium. - */ - MEDIUM("medium"), - - /** - * Enum value high. - */ - HIGH("high"); - - /** - * The actual serialized value for a WebSearchToolSearchContextSize instance. - */ - private final String value; - - WebSearchToolSearchContextSize(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a WebSearchToolSearchContextSize instance. - * - * @param value the serialized value to parse. - * @return the parsed WebSearchToolSearchContextSize object, or null if unable to parse. - */ - public static WebSearchToolSearchContextSize fromString(String value) { - if (value == null) { - return null; - } - WebSearchToolSearchContextSize[] items = WebSearchToolSearchContextSize.values(); - for (WebSearchToolSearchContextSize item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json index cdf415e4cf03..725c4f2c048f 100644 --- a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json +++ b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"a44b2be6ea96","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.deleteSkillVersion":"Azure.AI.Projects.Skills.deleteSkillVersion","com.azure.ai.projects.SkillsAsyncClient.deleteSkillVersionWithResponse":"Azure.AI.Projects.Skills.deleteSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.deleteSkillVersion":"Azure.AI.Projects.Skills.deleteSkillVersion","com.azure.ai.projects.SkillsClient.deleteSkillVersionWithResponse":"Azure.AI.Projects.Skills.deleteSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ApplyPatchToolParam":"OpenAI.ApplyPatchToolParam","com.azure.ai.projects.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AutoCodeInterpreterToolParam":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.projects.models.ComputerEnvironment":"OpenAI.ComputerEnvironment","com.azure.ai.projects.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContainerAutoParam":"OpenAI.ContainerAutoParam","com.azure.ai.projects.models.ContainerMemoryLimit":"OpenAI.ContainerMemoryLimit","com.azure.ai.projects.models.ContainerNetworkPolicyAllowlistParam":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.projects.models.ContainerNetworkPolicyDisabledParam":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.projects.models.ContainerNetworkPolicyDomainSecretParam":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.projects.models.ContainerNetworkPolicyParam":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.projects.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.projects.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.projects.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.CustomGrammarFormatParam":"OpenAI.CustomGrammarFormatParam","com.azure.ai.projects.models.CustomTextFormatParam":"OpenAI.CustomTextFormatParam","com.azure.ai.projects.models.CustomToolParam":"OpenAI.CustomToolParam","com.azure.ai.projects.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.projects.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.DeleteSkillVersionResponse":"Azure.AI.Projects.DeleteSkillVersionResponse","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.projects.models.FilesFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.FunctionShellToolParam":"OpenAI.FunctionShellToolParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentContainerReferenceParam":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentLocalEnvironmentParam":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.projects.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.projects.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.projects.models.GitHubIssueOpenedRoutineTrigger":"Azure.AI.Projects.GitHubIssueOpenedRoutineTrigger","com.azure.ai.projects.models.GrammarSyntax":"Azure.AI.Projects.GrammarSyntaxExpandable","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.projects.models.ImageGenActionEnum":"OpenAI.ImageGenActionEnum","com.azure.ai.projects.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.projects.models.ImageGenToolBackground":"OpenAI.ImageGenTool.background.anonymous","com.azure.ai.projects.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.projects.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.projects.models.ImageGenToolModeration":"OpenAI.ImageGenTool.moderation.anonymous","com.azure.ai.projects.models.ImageGenToolOutputFormat":"OpenAI.ImageGenTool.output_format.anonymous","com.azure.ai.projects.models.ImageGenToolQuality":"OpenAI.ImageGenTool.quality.anonymous","com.azure.ai.projects.models.ImageGenToolSize":"OpenAI.ImageGenTool.size.anonymous","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.InlineSkillParam":"OpenAI.InlineSkillParam","com.azure.ai.projects.models.InlineSkillSourceParam":"OpenAI.InlineSkillSourceParam","com.azure.ai.projects.models.InputFidelity":"OpenAI.InputFidelity","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LocalShellToolParam":"OpenAI.LocalShellToolParam","com.azure.ai.projects.models.LocalSkillParam":"OpenAI.LocalSkillParam","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.MCPTool":"OpenAI.MCPTool","com.azure.ai.projects.models.MCPToolConnectorId":"OpenAI.MCPTool.connector_id.anonymous","com.azure.ai.projects.models.MCPToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.projects.models.MCPToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RankerVersionType":"OpenAI.RankerVersionType","com.azure.ai.projects.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunDiagnostics":"Azure.AI.Projects.RoutineRunDiagnostics","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SearchContextSize":"OpenAI.SearchContextSize","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillReferenceParam":"OpenAI.SkillReferenceParam","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.Tool":"OpenAI.Tool","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolType":"OpenAI.ToolType","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.projects.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.projects.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.projects.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.projects.models.WebSearchToolSearchContextSize":"OpenAI.WebSearchTool.search_context_size.anonymous","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ApplyPatchToolParam.java","src/main/java/com/azure/ai/projects/models/ApproximateLocation.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AutoCodeInterpreterToolParam.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/projects/models/ComputerEnvironment.java","src/main/java/com/azure/ai/projects/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContainerAutoParam.java","src/main/java/com/azure/ai/projects/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyAllowlistParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDisabledParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyDomainSecretParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParam.java","src/main/java/com/azure/ai/projects/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/projects/models/ContainerSkill.java","src/main/java/com/azure/ai/projects/models/ContainerSkillType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/CustomGrammarFormatParam.java","src/main/java/com/azure/ai/projects/models/CustomTextFormatParam.java","src/main/java/com/azure/ai/projects/models/CustomToolParam.java","src/main/java/com/azure/ai/projects/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/projects/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/DeleteSkillVersionResponse.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FileSearchTool.java","src/main/java/com/azure/ai/projects/models/FilesFileDetails.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentContainerReferenceParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentLocalEnvironmentParam.java","src/main/java/com/azure/ai/projects/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/projects/models/FunctionTool.java","src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GrammarSyntax.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/HybridSearchOptions.java","src/main/java/com/azure/ai/projects/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/projects/models/ImageGenTool.java","src/main/java/com/azure/ai/projects/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/projects/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/projects/models/ImageGenToolModel.java","src/main/java/com/azure/ai/projects/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/projects/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/projects/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/projects/models/ImageGenToolSize.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/InlineSkillParam.java","src/main/java/com/azure/ai/projects/models/InlineSkillSourceParam.java","src/main/java/com/azure/ai/projects/models/InputFidelity.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LocalShellToolParam.java","src/main/java/com/azure/ai/projects/models/LocalSkillParam.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/MCPTool.java","src/main/java/com/azure/ai/projects/models/MCPToolConnectorId.java","src/main/java/com/azure/ai/projects/models/MCPToolFilter.java","src/main/java/com/azure/ai/projects/models/MCPToolRequireApproval.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RankerVersionType.java","src/main/java/com/azure/ai/projects/models/RankingOptions.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SearchContextSize.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillReferenceParam.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/Tool.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolType.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/projects/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/projects/models/WebSearchTool.java","src/main/java/com/azure/ai/projects/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/projects/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"fb14088bfa1d","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.deleteSkillVersion":"Azure.AI.Projects.Skills.deleteSkillVersion","com.azure.ai.projects.SkillsAsyncClient.deleteSkillVersionWithResponse":"Azure.AI.Projects.Skills.deleteSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.deleteSkillVersion":"Azure.AI.Projects.Skills.deleteSkillVersion","com.azure.ai.projects.SkillsClient.deleteSkillVersionWithResponse":"Azure.AI.Projects.Skills.deleteSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.DeleteSkillVersionResponse":"Azure.AI.Projects.DeleteSkillVersionResponse","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FilesFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.GitHubIssueOpenedRoutineTrigger":"Azure.AI.Projects.GitHubIssueOpenedRoutineTrigger","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunDiagnostics":"Azure.AI.Projects.RoutineRunDiagnostics","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/DeleteSkillVersionResponse.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FilesFileDetails.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/models/AzureAIAgentTargetToolsTest.java b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/models/AzureAIAgentTargetToolsTest.java new file mode 100644 index 000000000000..ea6b5520dbbd --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/models/AzureAIAgentTargetToolsTest.java @@ -0,0 +1,307 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.azure.ai.projects.models; + +import com.azure.json.JsonProviders; +import com.azure.json.JsonReader; +import com.azure.json.JsonWriter; +import com.openai.models.responses.Tool; +import org.junit.jupiter.api.Test; + +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.util.List; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertNull; +import static org.junit.jupiter.api.Assertions.assertTrue; +import static org.junit.jupiter.api.Assertions.assertFalse; + +/** + * Tests for AzureAIAgentTarget tools typed getters/setters using + * {@link com.openai.models.responses.Tool} (openai-java Stainless SDK). + */ +public class AzureAIAgentTargetToolsTest { + + private static final String AGENT_NAME = "test-agent"; + + // ===== Deserialization tests ===== + + /** + * Tests deserialization with a function tool in the tools array. + */ + @Test + public void testDeserializationWithFunctionTool() throws IOException { + String json = "{\"name\":\"test-agent\",\"type\":\"azure_ai_agent\"," + + "\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\"," + + "\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}}}}]}"; + + AzureAIAgentTarget target = deserializeFromJson(json); + + assertNotNull(target); + assertEquals(AGENT_NAME, target.getName()); + + List tools = target.getToolsAsOpenAITools(); + assertNotNull(tools); + assertEquals(1, tools.size()); + assertTrue(tools.get(0).isFunction()); + assertEquals("get_weather", tools.get(0).asFunction().name()); + } + + /** + * Tests deserialization with a file_search tool in the tools array. + */ + @Test + public void testDeserializationWithFileSearchTool() throws IOException { + String json = "{\"name\":\"test-agent\",\"type\":\"azure_ai_agent\"," + + "\"tools\":[{\"type\":\"file_search\",\"vector_store_ids\":[\"vs_abc123\"]}]}"; + + AzureAIAgentTarget target = deserializeFromJson(json); + + assertNotNull(target); + List tools = target.getToolsAsOpenAITools(); + assertNotNull(tools); + assertEquals(1, tools.size()); + assertTrue(tools.get(0).isFileSearch()); + } + + /** + * Tests deserialization with a web_search tool in the tools array. + */ + @Test + public void testDeserializationWithWebSearchTool() throws IOException { + String json = "{\"name\":\"test-agent\",\"type\":\"azure_ai_agent\"," + + "\"tools\":[{\"type\":\"web_search\",\"search_context_size\":\"medium\"}]}"; + + AzureAIAgentTarget target = deserializeFromJson(json); + + assertNotNull(target); + List tools = target.getToolsAsOpenAITools(); + assertNotNull(tools); + assertEquals(1, tools.size()); + assertTrue(tools.get(0).isWebSearch()); + } + + /** + * Tests deserialization with multiple tools of different types. + */ + @Test + public void testDeserializationWithMultipleTools() throws IOException { + String json = "{\"name\":\"test-agent\",\"type\":\"azure_ai_agent\"," + + "\"tools\":[" + + "{\"type\":\"function\",\"name\":\"calculate\",\"parameters\":{\"type\":\"object\"}}," + + "{\"type\":\"file_search\",\"vector_store_ids\":[\"vs_1\",\"vs_2\"]}," + + "{\"type\":\"web_search\",\"search_context_size\":\"low\"}" + + "]}"; + + AzureAIAgentTarget target = deserializeFromJson(json); + + assertNotNull(target); + List tools = target.getToolsAsOpenAITools(); + assertNotNull(tools); + assertEquals(3, tools.size()); + assertTrue(tools.get(0).isFunction()); + assertTrue(tools.get(1).isFileSearch()); + assertTrue(tools.get(2).isWebSearch()); + assertEquals("calculate", tools.get(0).asFunction().name()); + } + + /** + * Tests deserialization with an empty tools array. + */ + @Test + public void testDeserializationWithEmptyTools() throws IOException { + String json = "{\"name\":\"test-agent\",\"type\":\"azure_ai_agent\",\"tools\":[]}"; + + AzureAIAgentTarget target = deserializeFromJson(json); + + assertNotNull(target); + List tools = target.getToolsAsOpenAITools(); + assertNotNull(tools); + assertTrue(tools.isEmpty()); + } + + /** + * Tests deserialization without tools field (null). + */ + @Test + public void testDeserializationWithoutTools() throws IOException { + String json = "{\"name\":\"test-agent\",\"type\":\"azure_ai_agent\"}"; + + AzureAIAgentTarget target = deserializeFromJson(json); + + assertNotNull(target); + assertNull(target.getToolsAsOpenAITools()); + } + + // ===== Serialization tests ===== + + /** + * Tests serialization after setting tools via setToolsAsOpenAITools with a function tool. + */ + @Test + public void testSerializationWithFunctionTool() throws IOException { + // Build via deserialization first (avoids builder complexity) + String inputJson = "{\"name\":\"test-agent\",\"type\":\"azure_ai_agent\"," + + "\"tools\":[{\"type\":\"function\",\"name\":\"lookup\"," + + "\"parameters\":{\"type\":\"object\",\"properties\":{}}}]}"; + + AzureAIAgentTarget target = deserializeFromJson(inputJson); + List tools = target.getToolsAsOpenAITools(); + + // Create a new target and set the tools + AzureAIAgentTarget newTarget = new AzureAIAgentTarget("new-agent").setToolsAsOpenAITools(tools); + + String json = serializeToJson(newTarget); + + assertNotNull(json); + assertTrue(json.contains("\"tools\""), "JSON should contain tools field"); + assertTrue(json.contains("\"name\":\"new-agent\"")); + assertTrue(json.contains("\"lookup\""), "JSON should contain function tool name"); + } + + /** + * Tests serialization without tools produces no tools field. + */ + @Test + public void testSerializationWithoutTools() throws IOException { + AzureAIAgentTarget target = new AzureAIAgentTarget(AGENT_NAME); + + String json = serializeToJson(target); + + assertNotNull(json); + assertTrue(json.contains("\"name\":\"test-agent\"")); + // tools should not appear when null + assertFalse(json.contains("\"tools\"")); + } + + // ===== Round-trip tests ===== + + /** + * Tests that a function tool survives a full serialize-deserialize round-trip. + */ + @Test + public void testRoundTripWithFunctionTool() throws IOException { + String originalJson = "{\"name\":\"test-agent\",\"type\":\"azure_ai_agent\"," + + "\"tools\":[{\"type\":\"function\",\"name\":\"get_weather\"," + + "\"parameters\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\"}}}}]}"; + + AzureAIAgentTarget original = deserializeFromJson(originalJson); + String serialized = serializeToJson(original); + AzureAIAgentTarget deserialized = deserializeFromJson(serialized); + + assertNotNull(deserialized); + assertEquals("test-agent", deserialized.getName()); + List tools = deserialized.getToolsAsOpenAITools(); + assertNotNull(tools); + assertEquals(1, tools.size()); + assertTrue(tools.get(0).isFunction()); + assertEquals("get_weather", tools.get(0).asFunction().name()); + } + + /** + * Tests that multiple tools survive a full round-trip through setToolsAsOpenAITools. + */ + @Test + public void testRoundTripViaTypedSetter() throws IOException { + String inputJson = "{\"name\":\"agent\",\"type\":\"azure_ai_agent\"," + + "\"tools\":[" + + "{\"type\":\"function\",\"name\":\"func1\",\"parameters\":{\"type\":\"object\"}}," + + "{\"type\":\"file_search\",\"vector_store_ids\":[\"vs_x\"]}" + + "]}"; + + // Deserialize, get typed tools, set on new target, serialize, deserialize again + AzureAIAgentTarget source = deserializeFromJson(inputJson); + List tools = source.getToolsAsOpenAITools(); + + AzureAIAgentTarget newTarget = new AzureAIAgentTarget("new-agent").setToolsAsOpenAITools(tools); + + String serialized = serializeToJson(newTarget); + AzureAIAgentTarget result = deserializeFromJson(serialized); + + assertNotNull(result); + assertEquals("new-agent", result.getName()); + List resultTools = result.getToolsAsOpenAITools(); + assertNotNull(resultTools); + assertEquals(2, resultTools.size()); + assertTrue(resultTools.get(0).isFunction()); + assertTrue(resultTools.get(1).isFileSearch()); + } + + /** + * Tests that other AzureAIAgentTarget properties (version, toolDescriptions) are + * preserved alongside typed tools. + */ + @Test + public void testOtherPropertiesPreserved() throws IOException { + String json = "{\"name\":\"agent-v2\",\"type\":\"azure_ai_agent\",\"version\":\"2.0\"," + + "\"tool_descriptions\":[{\"name\":\"my_tool\",\"description\":\"Does stuff\"}]," + + "\"tools\":[{\"type\":\"function\",\"name\":\"calc\",\"parameters\":{\"type\":\"object\"}}]}"; + + AzureAIAgentTarget target = deserializeFromJson(json); + + assertNotNull(target); + assertEquals("agent-v2", target.getName()); + assertEquals("2.0", target.getVersion()); + assertNotNull(target.getToolDescriptions()); + assertEquals(1, target.getToolDescriptions().size()); + assertEquals("my_tool", target.getToolDescriptions().get(0).getName()); + + List tools = target.getToolsAsOpenAITools(); + assertNotNull(tools); + assertEquals(1, tools.size()); + assertTrue(tools.get(0).isFunction()); + } + + /** + * Tests deserialization with an MCP tool. + */ + @Test + public void testDeserializationWithMcpTool() throws IOException { + String json = "{\"name\":\"test-agent\",\"type\":\"azure_ai_agent\"," + + "\"tools\":[{\"type\":\"mcp\",\"server_label\":\"my-mcp\"," + + "\"server_url\":\"https://mcp.example.com\"}]}"; + + AzureAIAgentTarget target = deserializeFromJson(json); + + assertNotNull(target); + List tools = target.getToolsAsOpenAITools(); + assertNotNull(tools); + assertEquals(1, tools.size()); + assertTrue(tools.get(0).isMcp()); + } + + /** + * Tests deserialization with a code_interpreter tool. + */ + @Test + public void testDeserializationWithCodeInterpreterTool() throws IOException { + String json = "{\"name\":\"test-agent\",\"type\":\"azure_ai_agent\"," + + "\"tools\":[{\"type\":\"code_interpreter\",\"container\":\"ctr_abc123\"}]}"; + + AzureAIAgentTarget target = deserializeFromJson(json); + + assertNotNull(target); + List tools = target.getToolsAsOpenAITools(); + assertNotNull(tools); + assertEquals(1, tools.size()); + assertTrue(tools.get(0).isCodeInterpreter()); + } + + // ===== Helper methods ===== + + private String serializeToJson(AzureAIAgentTarget target) throws IOException { + ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); + try (JsonWriter writer = JsonProviders.createWriter(outputStream)) { + target.toJson(writer); + } + return outputStream.toString("UTF-8"); + } + + private AzureAIAgentTarget deserializeFromJson(String json) throws IOException { + try (JsonReader reader = JsonProviders.createReader(json)) { + return AzureAIAgentTarget.fromJson(reader); + } + } +} diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml b/sdk/ai/azure-ai-projects/tsp-location.yaml index 6b06f8fb6f00..d2d3b1566776 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: 7a56624240db46a5292639ef0934bb31b568f1dc +commit: 18719de028c67ab481f82a4fe33598be86e4c2a4 repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From f4ea84bcc0354377e1fc421e1f778384d9d35c37 Mon Sep 17 00:00:00 2001 From: Jose Alvarez Date: Wed, 27 May 2026 18:23:55 +0200 Subject: [PATCH 43/74] Fabric IQ and Data Gen samples (#49247) * Fabric IQ and Data Gen samples * Simplified code * wip * Added missing Azure related eval classes * Added deserialization helpers * Further simplified the sample * regened from Record type * gened from Record * split out the tests * Add Foundry data generation sample recordings Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../azure/ai/agents/tools/FabricIQAsync.java | 9 +- .../azure/ai/agents/tools/FabricIQSync.java | 7 +- .../com/azure/ai/agents/ClientTestBase.java | 4 +- .../tools/FabricIQSamplesAsyncTests.java | 52 +++ .../agents/tools/FabricIQSamplesTestBase.java | 73 +++++ .../ai/agents/tools/FabricIQSamplesTests.java | 52 +-- sdk/ai/azure-ai-projects/README.md | 18 ++ sdk/ai/azure-ai-projects/assets.json | 2 +- sdk/ai/azure-ai-projects/pom.xml | 1 + .../azure/ai/projects/EvaluationsHelper.java | 31 ++ .../implementation/OpenAIJsonHelper.java | 47 ++- .../models/GraderAzureAIEvaluator.java | 232 ++++++++++++++ .../TestingCriterionAzureAIEvaluator.java | 236 ++++++++++++++ ...DataGenerationJobWithEvaluationSample.java | 297 ++++++++++++++++++ .../com/azure/ai/projects/ReadmeSamples.java | 22 ++ .../com/azure/ai/projects/ClientTestBase.java | 4 +- .../DataGenerationJobsAsyncClientTests.java | 193 ++++++++++++ .../DataGenerationJobsClientTests.java | 154 +++++++++ .../ai/projects/EvaluationsHelperTests.java | 39 +++ .../com/azure/ai/projects/SamplesTests.java | 45 --- 20 files changed, 1429 insertions(+), 89 deletions(-) create mode 100644 sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesAsyncTests.java create mode 100644 sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTestBase.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationsHelper.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java create mode 100644 sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobWithEvaluationSample.java create mode 100644 sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/DataGenerationJobsAsyncClientTests.java create mode 100644 sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/DataGenerationJobsClientTests.java create mode 100644 sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/EvaluationsHelperTests.java diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQAsync.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQAsync.java index 5b4c67bc5cb2..3c1ac5bae159 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQAsync.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQAsync.java @@ -28,6 +28,7 @@ *
  • FOUNDRY_PROJECT_ENDPOINT - The Azure AI Project endpoint.
  • *
  • FOUNDRY_MODEL_NAME - The model deployment name.
  • *
  • FABRIC_IQ_PROJECT_CONNECTION_ID - The FabricIQ connection ID.
  • + *
  • FABRIC_IQ_USER_INPUT - Optional. The natural-language question to send to the agent.
  • * */ public class FabricIQAsync { @@ -35,6 +36,8 @@ public static void main(String[] args) { String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); String model = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_NAME"); String fabricIqConnectionId = Configuration.getGlobalConfiguration().get("FABRIC_IQ_PROJECT_CONNECTION_ID"); + String userInput = Configuration.getGlobalConfiguration().get("FABRIC_IQ_USER_INPUT", + "Use FabricIQ to summarize the available enterprise context."); AgentsClientBuilder builder = new AgentsClientBuilder() .credential(new DefaultAzureCredentialBuilder().build()) @@ -51,10 +54,10 @@ public static void main(String[] args) { .setDescription("Use FabricIQ to answer questions grounded in enterprise data."); PromptAgentDefinition agentDefinition = new PromptAgentDefinition(model) - .setInstructions("You are a data assistant that can use FabricIQ for grounded enterprise answers.") + .setInstructions("Use the available Fabric IQ tools to answer questions and perform tasks.") .setTools(Collections.singletonList(fabricIqTool)); - agentsAsyncClient.createAgentVersion("fabric-iq-async-agent", agentDefinition) + agentsAsyncClient.createAgentVersion("fabric-iq-agent", agentDefinition) .flatMap(agent -> { agentRef.set(agent); System.out.printf("Agent created: %s (version %s)%n", agent.getName(), agent.getVersion()); @@ -65,7 +68,7 @@ public static void main(String[] args) { return responsesAsyncClient.createAzureResponse( new AzureCreateResponseOptions().setAgentReference(agentReference), ResponseCreateParams.builder() - .input("Use FabricIQ to summarize the available enterprise context.")); + .input(userInput)); }) .doOnNext(response -> System.out.println("Response: " + response.output())) .then(Mono.defer(() -> { diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQSync.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQSync.java index 34d7272b8c06..bbdbc1d6bfea 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQSync.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQSync.java @@ -26,6 +26,7 @@ *
  • FOUNDRY_PROJECT_ENDPOINT - The Azure AI Project endpoint.
  • *
  • FOUNDRY_MODEL_NAME - The model deployment name.
  • *
  • FABRIC_IQ_PROJECT_CONNECTION_ID - The FabricIQ connection ID.
  • + *
  • FABRIC_IQ_USER_INPUT - Optional. The natural-language question to send to the agent.
  • * */ public class FabricIQSync { @@ -33,6 +34,8 @@ public static void main(String[] args) { String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); String model = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_NAME"); String fabricIqConnectionId = Configuration.getGlobalConfiguration().get("FABRIC_IQ_PROJECT_CONNECTION_ID"); + String userInput = Configuration.getGlobalConfiguration().get("FABRIC_IQ_USER_INPUT", + "Use FabricIQ to summarize the available enterprise context."); AgentsClientBuilder builder = new AgentsClientBuilder() .credential(new DefaultAzureCredentialBuilder().build()) @@ -52,7 +55,7 @@ public static void main(String[] args) { // END: com.azure.ai.agents.define_fabric_iq PromptAgentDefinition agentDefinition = new PromptAgentDefinition(model) - .setInstructions("You are a data assistant that can use FabricIQ for grounded enterprise answers.") + .setInstructions("Use the available Fabric IQ tools to answer questions and perform tasks.") .setTools(Collections.singletonList(fabricIqTool)); AgentVersionDetails agent = agentsClient.createAgentVersion("fabric-iq-agent", agentDefinition); @@ -65,7 +68,7 @@ public static void main(String[] args) { Response response = responsesClient.createAzureResponse( new AzureCreateResponseOptions().setAgentReference(agentReference), ResponseCreateParams.builder() - .input("Use FabricIQ to summarize the available enterprise context.")); + .input(userInput)); System.out.println("Response: " + response.output()); } finally { diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/ClientTestBase.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/ClientTestBase.java index 2a7665179e1e..7faf4aa951e5 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/ClientTestBase.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/ClientTestBase.java @@ -44,10 +44,10 @@ protected AgentsClientBuilder getClientBuilder(HttpClient httpClient, AgentsServ builder.endpoint("https://localhost:8080").credential(new MockTokenCredential()); } else if (testMode == TestMode.RECORD) { builder.addPolicy(interceptorManager.getRecordPolicy()) - .endpoint(Configuration.getGlobalConfiguration().get("AZURE_AGENTS_ENDPOINT")) + .endpoint(Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT")) .credential(new DefaultAzureCredentialBuilder().build()); } else { - builder.endpoint(Configuration.getGlobalConfiguration().get("AZURE_AGENTS_ENDPOINT")) + builder.endpoint(Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT")) .credential(new DefaultAzureCredentialBuilder().build()); } diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesAsyncTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesAsyncTests.java new file mode 100644 index 000000000000..e4e5c7cc30c5 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesAsyncTests.java @@ -0,0 +1,52 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.tools; + +import com.azure.ai.agents.AgentsAsyncClient; +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.AgentsServiceVersion; +import com.azure.ai.agents.ResponsesAsyncClient; +import com.azure.ai.agents.models.AgentReference; +import com.azure.ai.agents.models.AgentVersionDetails; +import com.azure.ai.agents.models.AzureCreateResponseOptions; +import com.azure.core.http.HttpClient; +import com.openai.models.responses.Response; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Timeout; +import org.junit.jupiter.api.parallel.ResourceLock; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + +import java.time.Duration; +import java.util.concurrent.TimeUnit; + +public class FabricIQSamplesAsyncTests extends FabricIQSamplesTestBase { + + @Timeout(value = 5, unit = TimeUnit.MINUTES) + @Disabled("getting 500 from service") + @ResourceLock(FABRIC_IQ_RESOURCE_LOCK) + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("getTestParameters") + public void fabricIqAsyncSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { + AgentsClientBuilder builder = getClientBuilder(httpClient, serviceVersion); + AgentsAsyncClient agentsAsyncClient = builder.buildAgentsAsyncClient(); + ResponsesAsyncClient responsesAsyncClient = builder.buildResponsesAsyncClient(); + + String agentName = testResourceNamer.randomName("fabric-iq-async-", 40); + AgentVersionDetails agent + = agentsAsyncClient.createAgentVersion(agentName, createAgentDefinition()).block(Duration.ofMinutes(2)); + Assertions.assertNotNull(agent); + + AgentReference agentReference = new AgentReference(agent.getName()).setVersion(agent.getVersion()); + Response response + = responsesAsyncClient + .createAzureResponse(new AzureCreateResponseOptions().setAgentReference(agentReference), + createResponseParams()) + .block(Duration.ofMinutes(3)); + + assertCompletedResponse(response); + agentsAsyncClient.deleteAgentVersion(agent.getName(), agent.getVersion()).block(Duration.ofMinutes(1)); + } +} diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTestBase.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTestBase.java new file mode 100644 index 000000000000..a4782fdf689b --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTestBase.java @@ -0,0 +1,73 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.tools; + +import com.azure.ai.agents.AgentsServiceVersion; +import com.azure.ai.agents.ClientTestBase; +import com.azure.ai.agents.models.FabricIQPreviewTool; +import com.azure.ai.agents.models.PromptAgentDefinition; +import com.azure.core.test.TestMode; +import com.azure.core.util.Configuration; +import com.openai.models.responses.Response; +import com.openai.models.responses.ResponseCreateParams; +import com.openai.models.responses.ResponseStatus; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.params.provider.Arguments; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.stream.Stream; + +import static com.azure.core.test.TestProxyTestBase.getHttpClients; + +abstract class FabricIQSamplesTestBase extends ClientTestBase { + static final String DISPLAY_NAME_WITH_ARGUMENTS = "{displayName} with [{arguments}]"; + static final String FABRIC_IQ_RESOURCE_LOCK = "fabric-iq"; + + private static final String DEFAULT_USER_INPUT = "Tell me weather history in London, Ohio"; + + static Stream getTestParameters() { + List argumentsList = new ArrayList<>(); + getHttpClients().forEach(httpClient -> argumentsList.add(Arguments.of(httpClient, AgentsServiceVersion.V1))); + return argumentsList.stream(); + } + + PromptAgentDefinition createAgentDefinition() { + FabricIQPreviewTool fabricIqTool + = new FabricIQPreviewTool(getRecordedConfig("FABRIC_IQ_PROJECT_CONNECTION_ID")).setRequireApproval("never"); + + return new PromptAgentDefinition(getRecordedConfig("FOUNDRY_MODEL_NAME")) + .setInstructions("Use the available Fabric IQ tools to answer questions and perform tasks.") + .setTools(Collections.singletonList(fabricIqTool)); + } + + String getUserInput() { + return Configuration.getGlobalConfiguration().get("FABRIC_IQ_USER_INPUT", DEFAULT_USER_INPUT); + } + + ResponseCreateParams.Builder createResponseParams() { + return ResponseCreateParams.builder().input(getUserInput()); + } + + void assertCompletedResponse(Response response) { + Assertions.assertNotNull(response); + Assertions.assertTrue(response.status().isPresent()); + Assertions.assertEquals(ResponseStatus.COMPLETED, response.status().get()); + Assertions.assertFalse(response.output().isEmpty()); + Assertions.assertTrue(response.output().stream().anyMatch(item -> item.isMessage())); + } + + private String getRecordedConfig(String name) { + if (getTestMode() == TestMode.PLAYBACK) { + return testResourceNamer.recordValueFromConfig(name); + } + + String value = Configuration.getGlobalConfiguration().get(name); + if (getTestMode() == TestMode.RECORD) { + testResourceNamer.recordValueFromConfig(name); + } + return value; + } +} diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTests.java index eda638e6feaf..dc5aaa38d66e 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTests.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTests.java @@ -3,41 +3,45 @@ package com.azure.ai.agents.tools; +import com.azure.ai.agents.AgentsClient; +import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.AgentsServiceVersion; -import com.azure.ai.agents.ClientTestBase; +import com.azure.ai.agents.ResponsesClient; import com.azure.core.http.HttpClient; -import org.junit.jupiter.api.Disabled; +import com.azure.ai.agents.models.AgentReference; +import com.azure.ai.agents.models.AgentVersionDetails; +import com.azure.ai.agents.models.AzureCreateResponseOptions; +import com.openai.models.responses.Response; import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Timeout; +import org.junit.jupiter.api.parallel.ResourceLock; import org.junit.jupiter.params.ParameterizedTest; -import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; -import java.util.ArrayList; -import java.util.List; -import java.util.stream.Stream; - -import static com.azure.core.test.TestProxyTestBase.getHttpClients; +import java.util.concurrent.TimeUnit; -public class FabricIQSamplesTests extends ClientTestBase { - private static final String DISPLAY_NAME_WITH_ARGUMENTS = "{displayName} with [{arguments}]"; - - static Stream getTestParameters() { - List argumentsList = new ArrayList<>(); - getHttpClients().forEach(httpClient -> argumentsList.add(Arguments.of(httpClient, AgentsServiceVersion.V1))); - return argumentsList.stream(); - } +public class FabricIQSamplesTests extends FabricIQSamplesTestBase { - @Disabled("Requires FABRIC_IQ_PROJECT_CONNECTION_ID and FOUNDRY_MODEL_NAME.") + @Timeout(value = 5, unit = TimeUnit.MINUTES) + @Disabled("getting 500 from service") + @ResourceLock(FABRIC_IQ_RESOURCE_LOCK) @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("getTestParameters") public void fabricIqSyncSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { - Assertions.fail("Enable after providing FABRIC_IQ_PROJECT_CONNECTION_ID and FOUNDRY_MODEL_NAME."); - } + AgentsClientBuilder builder = getClientBuilder(httpClient, serviceVersion); + AgentsClient agentsClient = builder.buildAgentsClient(); + ResponsesClient responsesClient = builder.buildResponsesClient(); - @Disabled("Requires FABRIC_IQ_PROJECT_CONNECTION_ID and FOUNDRY_MODEL_NAME.") - @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) - @MethodSource("getTestParameters") - public void fabricIqAsyncSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { - Assertions.fail("Enable after providing FABRIC_IQ_PROJECT_CONNECTION_ID and FOUNDRY_MODEL_NAME."); + String agentName = testResourceNamer.randomName("fabric-iq-sync-", 40); + AgentVersionDetails agent = agentsClient.createAgentVersion(agentName, createAgentDefinition()); + Assertions.assertNotNull(agent); + + AgentReference agentReference = new AgentReference(agent.getName()); + Response response = responsesClient.createAzureResponse( + new AzureCreateResponseOptions().setAgentReference(agentReference), createResponseParams()); + + assertCompletedResponse(response); + agentsClient.deleteAgentVersion(agent.getName(), agent.getVersion()); } } diff --git a/sdk/ai/azure-ai-projects/README.md b/sdk/ai/azure-ai-projects/README.md index d23f9e7e4fdb..c6b0381f0d3a 100644 --- a/sdk/ai/azure-ai-projects/README.md +++ b/sdk/ai/azure-ai-projects/README.md @@ -67,6 +67,24 @@ EvalService evalService = builder.buildOpenAIClient().evals(); EvalServiceAsync evalAsyncService = builder.buildOpenAIAsyncClient().evals(); ``` +When using Azure-specific evaluator models with OpenAI evaluations, use `EvaluationsHelper` to adapt the Azure model to +the OpenAI request type. This keeps application code from depending on the serialization details used by the OpenAI SDK. + +```java com.azure.ai.projects.evaluationsHelper +Map dataMapping = new LinkedHashMap<>(); +dataMapping.put("query", "{{item.query}}"); +dataMapping.put("response", "{{sample.output_text}}"); + +TestingCriterionAzureAIEvaluator coherenceEvaluator = new TestingCriterionAzureAIEvaluator("coherence", + "builtin.coherence") + .setInitializationParameters(Collections.singletonMap("deployment_name", + BinaryData.fromObject("gpt-4o-mini"))) + .setDataMapping(dataMapping); + +EvalCreateParams.TestingCriterion testingCriterion + = EvaluationsHelper.toTestingCriterion(coherenceEvaluator); +``` + For the Agents operation, you can use the `azure-ai-agents` package which is available as transitive dependency: ```java com.azure.ai.projects.agentsSubClients diff --git a/sdk/ai/azure-ai-projects/assets.json b/sdk/ai/azure-ai-projects/assets.json index dcc3df11c8e3..2f73e2104a7c 100644 --- a/sdk/ai/azure-ai-projects/assets.json +++ b/sdk/ai/azure-ai-projects/assets.json @@ -1 +1 @@ -{"AssetsRepo":"Azure/azure-sdk-assets","AssetsRepoPrefixPath":"java","TagPrefix":"java/ai/azure-ai-projects","Tag": "java/ai/azure-ai-projects_cd9e4bffa9"} \ No newline at end of file +{"AssetsRepo":"Azure/azure-sdk-assets","AssetsRepoPrefixPath":"java","TagPrefix":"java/ai/azure-ai-projects","Tag": "java/ai/azure-ai-projects_c4dd2a11a3"} \ No newline at end of file diff --git a/sdk/ai/azure-ai-projects/pom.xml b/sdk/ai/azure-ai-projects/pom.xml index 742eb83f9ba9..5e4b3e5ff169 100644 --- a/sdk/ai/azure-ai-projects/pom.xml +++ b/sdk/ai/azure-ai-projects/pom.xml @@ -52,6 +52,7 @@ Code generated by Microsoft (R) TypeSpec Code Generator. --add-exports com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED --add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED + false diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationsHelper.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationsHelper.java new file mode 100644 index 000000000000..0aad2ca00767 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationsHelper.java @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.projects; + +import com.azure.ai.projects.implementation.OpenAIJsonHelper; +import com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator; +import com.openai.models.evals.EvalCreateParams; + +/** + * Helper methods for Azure AI evaluations. + */ +public final class EvaluationsHelper { + private EvaluationsHelper() { + } + + /** + * Converts an Azure AI evaluator model to an OpenAI evaluation testing criterion. + * + *

    Use this helper when creating OpenAI evaluations with Azure-specific evaluator types such as + * {@link TestingCriterionAzureAIEvaluator}. The helper preserves the Azure evaluator wire shape while hiding the + * serialization details needed to pass it to the OpenAI SDK.

    + * + * @param evaluator The Azure AI evaluator to use as an evaluation testing criterion. + * @return The OpenAI evaluation testing criterion. + * @throws NullPointerException if {@code evaluator} is null. + */ + public static EvalCreateParams.TestingCriterion toTestingCriterion(TestingCriterionAzureAIEvaluator evaluator) { + return OpenAIJsonHelper.toOpenAIType(evaluator, EvalCreateParams.TestingCriterion.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/OpenAIJsonHelper.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/OpenAIJsonHelper.java index bf87ef083b78..31f33a0c7ab7 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/OpenAIJsonHelper.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/OpenAIJsonHelper.java @@ -4,22 +4,22 @@ package com.azure.ai.projects.implementation; import com.azure.core.util.BinaryData; +import com.azure.json.JsonSerializable; import com.azure.json.JsonProviders; import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.core.type.TypeReference; +import java.io.StringReader; +import java.util.List; +import java.util.stream.Collectors; import com.fasterxml.jackson.databind.MapperFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.openai.core.ObjectMappers; import java.io.IOException; -import java.io.StringReader; -import java.util.List; -import java.util.stream.Collectors; +/** + * Helper methods for adapting Azure SDK models to openai-java models. + */ public final class OpenAIJsonHelper { - private static final ObjectMapper MAPPER = ObjectMappers.jsonMapper() .rebuild() .configure(MapperFeature.AUTO_DETECT_FIELDS, true) @@ -28,6 +28,36 @@ public final class OpenAIJsonHelper { .configure(MapperFeature.AUTO_DETECT_SETTERS, true) .build(); + private OpenAIJsonHelper() { + } + + /** + * Converts an Azure SDK type that implements {@link JsonSerializable} to an openai-java type. + * + * @param azureObject The Azure SDK model to convert. + * @param openAIType The target openai-java type. + * @param The Azure SDK source type. + * @param The openai-java target type. + * @return The openai-java model. + * @throws NullPointerException if {@code azureObject} or {@code openAIType} is null. + * @throws RuntimeException if conversion fails. + */ + public static , T> T toOpenAIType(S azureObject, Class openAIType) { + if (azureObject == null) { + throw new NullPointerException("'azureObject' cannot be null."); + } + if (openAIType == null) { + throw new NullPointerException("'openAIType' cannot be null."); + } + + try { + return MAPPER.readValue(BinaryData.fromObject(azureObject).toString(), openAIType); + } catch (IOException e) { + throw new RuntimeException("Failed to convert Azure SDK type to OpenAI type.", e); + } + } + + /** * Serializes an openai-java object to {@link BinaryData} whose content is a JSON object. * The resulting BinaryData can be written to a {@link com.azure.json.JsonWriter} via @@ -98,7 +128,4 @@ public static List fromBinaryDataList(List dataList, Class } return dataList.stream().map(data -> fromBinaryData(data, type)).collect(Collectors.toList()); } - - private OpenAIJsonHelper() { - } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java new file mode 100644 index 000000000000..738addff1130 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java @@ -0,0 +1,232 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.Map; + +/** + * Grader Azure AI Evaluator definition for foundry evaluators. + */ +@Fluent +public final class GraderAzureAIEvaluator implements JsonSerializable { + + /* + * The object type, which is always `azure_ai_evaluator`. + */ + @Generated + private final String type = "azure_ai_evaluator"; + + /* + * The name of the grader. + */ + @Generated + private final String name; + + /* + * The name of the evaluator. + */ + @Generated + private final String evaluatorName; + + /* + * The version of the evaluator. Latest version if not specified. + */ + @Generated + private String evaluatorVersion; + + /* + * The initialization parameters for the evaluation. Must support structured outputs. + */ + @Generated + private Map initializationParameters; + + /* + * The model to use for the evaluation. Must support structured outputs. + */ + @Generated + private Map dataMapping; + + /** + * Creates an instance of GraderAzureAIEvaluator class. + * + * @param name the name value to set. + * @param evaluatorName the evaluatorName value to set. + */ + @Generated + public GraderAzureAIEvaluator(String name, String evaluatorName) { + this.name = name; + this.evaluatorName = evaluatorName; + } + + /** + * Get the type property: The object type, which is always `azure_ai_evaluator`. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the name property: The name of the grader. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the evaluatorName property: The name of the evaluator. + * + * @return the evaluatorName value. + */ + @Generated + public String getEvaluatorName() { + return this.evaluatorName; + } + + /** + * Get the evaluatorVersion property: The version of the evaluator. Latest version if not specified. + * + * @return the evaluatorVersion value. + */ + @Generated + public String getEvaluatorVersion() { + return this.evaluatorVersion; + } + + /** + * Set the evaluatorVersion property: The version of the evaluator. Latest version if not specified. + * + * @param evaluatorVersion the evaluatorVersion value to set. + * @return the GraderAzureAIEvaluator object itself. + */ + @Generated + public GraderAzureAIEvaluator setEvaluatorVersion(String evaluatorVersion) { + this.evaluatorVersion = evaluatorVersion; + return this; + } + + /** + * Get the initializationParameters property: The initialization parameters for the evaluation. Must support + * structured outputs. + * + * @return the initializationParameters value. + */ + @Generated + public Map getInitializationParameters() { + return this.initializationParameters; + } + + /** + * Get the dataMapping property: The model to use for the evaluation. Must support structured outputs. + * + * @return the dataMapping value. + */ + @Generated + public Map getDataMapping() { + return this.dataMapping; + } + + /** + * Set the dataMapping property: The model to use for the evaluation. Must support structured outputs. + * + * @param dataMapping the dataMapping value to set. + * @return the GraderAzureAIEvaluator object itself. + */ + @Generated + public GraderAzureAIEvaluator setDataMapping(Map dataMapping) { + this.dataMapping = dataMapping; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("evaluator_name", this.evaluatorName); + jsonWriter.writeStringField("evaluator_version", this.evaluatorVersion); + jsonWriter.writeMapField("initialization_parameters", this.initializationParameters, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + jsonWriter.writeMapField("data_mapping", this.dataMapping, (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of GraderAzureAIEvaluator from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of GraderAzureAIEvaluator if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the GraderAzureAIEvaluator. + */ + @Generated + public static GraderAzureAIEvaluator fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + String evaluatorName = null; + String evaluatorVersion = null; + Map initializationParameters = null; + Map dataMapping = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("evaluator_name".equals(fieldName)) { + evaluatorName = reader.getString(); + } else if ("evaluator_version".equals(fieldName)) { + evaluatorVersion = reader.getString(); + } else if ("initialization_parameters".equals(fieldName)) { + initializationParameters = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); + } else if ("data_mapping".equals(fieldName)) { + dataMapping = reader.readMap(reader1 -> reader1.getString()); + } else { + reader.skipChildren(); + } + } + GraderAzureAIEvaluator deserializedGraderAzureAIEvaluator = new GraderAzureAIEvaluator(name, evaluatorName); + deserializedGraderAzureAIEvaluator.evaluatorVersion = evaluatorVersion; + deserializedGraderAzureAIEvaluator.initializationParameters = initializationParameters; + deserializedGraderAzureAIEvaluator.dataMapping = dataMapping; + return deserializedGraderAzureAIEvaluator; + }); + } + + /** + * Set the initializationParameters property: The initialization parameters for the evaluation. Must support + * structured outputs. + * + * @param initializationParameters the initializationParameters value to set. + * @return the GraderAzureAIEvaluator object itself. + */ + @Generated + public GraderAzureAIEvaluator setInitializationParameters(Map initializationParameters) { + this.initializationParameters = initializationParameters; + return this; + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java new file mode 100644 index 000000000000..6a82354d1e28 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java @@ -0,0 +1,236 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.Map; + +/** + * AzureAIEvaluatorGrader + * + * An Azure AI Evaluator grader used as testing criterion in evaluations. + */ +@Fluent +public final class TestingCriterionAzureAIEvaluator implements JsonSerializable { + + /* + * The object type, which is always `azure_ai_evaluator`. + */ + @Generated + private final String type = "azure_ai_evaluator"; + + /* + * The name of the grader. + */ + @Generated + private final String name; + + /* + * The name of the evaluator. + */ + @Generated + private final String evaluatorName; + + /* + * The version of the evaluator. Latest version if not specified. + */ + @Generated + private String evaluatorVersion; + + /* + * The initialization parameters for the evaluation. Must support structured outputs. + */ + @Generated + private Map initializationParameters; + + /* + * The model to use for the evaluation. Must support structured outputs. + */ + @Generated + private Map dataMapping; + + /** + * Creates an instance of TestingCriterionAzureAIEvaluator class. + * + * @param name the name value to set. + * @param evaluatorName the evaluatorName value to set. + */ + @Generated + public TestingCriterionAzureAIEvaluator(String name, String evaluatorName) { + this.name = name; + this.evaluatorName = evaluatorName; + } + + /** + * Get the type property: The object type, which is always `azure_ai_evaluator`. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the name property: The name of the grader. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the evaluatorName property: The name of the evaluator. + * + * @return the evaluatorName value. + */ + @Generated + public String getEvaluatorName() { + return this.evaluatorName; + } + + /** + * Get the evaluatorVersion property: The version of the evaluator. Latest version if not specified. + * + * @return the evaluatorVersion value. + */ + @Generated + public String getEvaluatorVersion() { + return this.evaluatorVersion; + } + + /** + * Set the evaluatorVersion property: The version of the evaluator. Latest version if not specified. + * + * @param evaluatorVersion the evaluatorVersion value to set. + * @return the TestingCriterionAzureAIEvaluator object itself. + */ + @Generated + public TestingCriterionAzureAIEvaluator setEvaluatorVersion(String evaluatorVersion) { + this.evaluatorVersion = evaluatorVersion; + return this; + } + + /** + * Get the initializationParameters property: The initialization parameters for the evaluation. Must support + * structured outputs. + * + * @return the initializationParameters value. + */ + @Generated + public Map getInitializationParameters() { + return this.initializationParameters; + } + + /** + * Get the dataMapping property: The model to use for the evaluation. Must support structured outputs. + * + * @return the dataMapping value. + */ + @Generated + public Map getDataMapping() { + return this.dataMapping; + } + + /** + * Set the dataMapping property: The model to use for the evaluation. Must support structured outputs. + * + * @param dataMapping the dataMapping value to set. + * @return the TestingCriterionAzureAIEvaluator object itself. + */ + @Generated + public TestingCriterionAzureAIEvaluator setDataMapping(Map dataMapping) { + this.dataMapping = dataMapping; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("evaluator_name", this.evaluatorName); + jsonWriter.writeStringField("evaluator_version", this.evaluatorVersion); + jsonWriter.writeMapField("initialization_parameters", this.initializationParameters, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + jsonWriter.writeMapField("data_mapping", this.dataMapping, (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TestingCriterionAzureAIEvaluator from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TestingCriterionAzureAIEvaluator if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the TestingCriterionAzureAIEvaluator. + */ + @Generated + public static TestingCriterionAzureAIEvaluator fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + String evaluatorName = null; + String evaluatorVersion = null; + Map initializationParameters = null; + Map dataMapping = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("evaluator_name".equals(fieldName)) { + evaluatorName = reader.getString(); + } else if ("evaluator_version".equals(fieldName)) { + evaluatorVersion = reader.getString(); + } else if ("initialization_parameters".equals(fieldName)) { + initializationParameters = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); + } else if ("data_mapping".equals(fieldName)) { + dataMapping = reader.readMap(reader1 -> reader1.getString()); + } else { + reader.skipChildren(); + } + } + TestingCriterionAzureAIEvaluator deserializedTestingCriterionAzureAIEvaluator + = new TestingCriterionAzureAIEvaluator(name, evaluatorName); + deserializedTestingCriterionAzureAIEvaluator.evaluatorVersion = evaluatorVersion; + deserializedTestingCriterionAzureAIEvaluator.initializationParameters = initializationParameters; + deserializedTestingCriterionAzureAIEvaluator.dataMapping = dataMapping; + return deserializedTestingCriterionAzureAIEvaluator; + }); + } + + /** + * Set the initializationParameters property: The initialization parameters for the evaluation. Must support + * structured outputs. + * + * @param initializationParameters the initializationParameters value to set. + * @return the TestingCriterionAzureAIEvaluator object itself. + */ + @Generated + public TestingCriterionAzureAIEvaluator + setInitializationParameters(Map initializationParameters) { + this.initializationParameters = initializationParameters; + return this; + } +} diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobWithEvaluationSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobWithEvaluationSample.java new file mode 100644 index 000000000000..4cf74629b77d --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/DataGenerationJobWithEvaluationSample.java @@ -0,0 +1,297 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.azure.ai.projects; + +import com.azure.ai.projects.models.ApiError; +import com.azure.ai.projects.models.DataGenerationJob; +import com.azure.ai.projects.models.DataGenerationJobInputs; +import com.azure.ai.projects.models.DataGenerationJobOutput; +import com.azure.ai.projects.models.DataGenerationJobOutputOptions; +import com.azure.ai.projects.models.DataGenerationJobScenario; +import com.azure.ai.projects.models.DataGenerationModelOptions; +import com.azure.ai.projects.models.DatasetDataGenerationJobOutput; +import com.azure.ai.projects.models.DatasetVersion; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; +import com.azure.ai.projects.models.JobStatus; +import com.azure.ai.projects.models.PromptDataGenerationJobSource; +import com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions; +import com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator; +import com.azure.core.util.Configuration; +import com.azure.core.util.BinaryData; +import com.azure.identity.DefaultAzureCredentialBuilder; +import com.openai.client.OpenAIClient; +import com.openai.core.JsonValue; +import com.openai.models.evals.EvalCreateParams; +import com.openai.models.evals.EvalCreateParams.DataSourceConfig.Custom; +import com.openai.models.evals.EvalCreateParams.DataSourceConfig.Custom.ItemSchema; +import com.openai.models.evals.EvalCreateResponse; +import com.openai.models.evals.EvalDeleteParams; +import com.openai.models.evals.runs.CreateEvalCompletionsRunDataSource; +import com.openai.models.evals.runs.RunCreateParams; +import com.openai.models.evals.runs.RunCreateResponse; +import com.openai.models.evals.runs.RunRetrieveParams; +import com.openai.models.evals.runs.RunRetrieveResponse; +import com.openai.models.evals.runs.outputitems.OutputItemListParams; +import com.openai.models.evals.runs.outputitems.OutputItemListResponse; +import com.openai.models.responses.EasyInputMessage; + +import java.util.Arrays; +import java.util.Collections; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; + +/** + * End-to-end sample combining data generation with an OpenAI evaluation run. + * + *

    The sample creates a Simple QnA data generation job from an inline prompt, waits for the generated dataset, + * creates an OpenAI evaluation using Azure AI built-in evaluators, runs the evaluation against the dataset, and cleans + * up the evaluation and data generation job.

    + * + *

    Before running the sample, set these environment variables:

    + *
      + *
    • {@code FOUNDRY_PROJECT_ENDPOINT} - the Azure AI Foundry project endpoint.
    • + *
    • {@code FOUNDRY_MODEL_NAME} - the model deployment name used for generation and judging.
    • + *
    • {@code DATASET_NAME} - optional, the generated dataset name.
    • + *
    • {@code POLL_INTERVAL_SECONDS} - optional, seconds to wait between polling attempts.
    • + *
    + */ +public class DataGenerationJobWithEvaluationSample { + private static final FoundryFeaturesOptInKeys DATA_GENERATION_PREVIEW + = FoundryFeaturesOptInKeys.DATA_GENERATION_JOBS_V1_PREVIEW; + private static final String DEFAULT_DATASET_NAME = "dataset-generation-eval-sample"; + private static final int DEFAULT_POLL_INTERVAL_SECONDS = 10; + + public static void main(String[] args) throws InterruptedException { + String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); + String modelName = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_NAME"); + String datasetName = Configuration.getGlobalConfiguration().get("DATASET_NAME", DEFAULT_DATASET_NAME); + int pollIntervalSeconds = Integer.parseInt(Configuration.getGlobalConfiguration() + .get("POLL_INTERVAL_SECONDS", String.valueOf(DEFAULT_POLL_INTERVAL_SECONDS))); + + AIProjectClientBuilder projectClientBuilder = new AIProjectClientBuilder() + .endpoint(endpoint) + .credential(new DefaultAzureCredentialBuilder().build()); + + DataGenerationJobsClient dataGenerationJobsClient = projectClientBuilder.buildDataGenerationJobsClient(); + DatasetsClient datasetsClient = projectClientBuilder.buildDatasetsClient(); + OpenAIClient openAIClient = projectClientBuilder.buildOpenAIClient(); + + DataGenerationJob job = null; + EvalCreateResponse eval = null; + + try { + System.out.println("Create a data generation job."); + job = dataGenerationJobsClient.createGenerationJob(createDataGenerationJob(modelName, datasetName), + DATA_GENERATION_PREVIEW, UUID.randomUUID().toString()); + System.out.printf("Created data generation job `%s` (status: `%s`).%n", job.getId(), job.getStatus()); + + job = waitForDataGenerationJob(dataGenerationJobsClient, job.getId(), pollIntervalSeconds); + System.out.printf("Final job status: `%s`.%n", job.getStatus()); + + if (!JobStatus.SUCCEEDED.equals(job.getStatus())) { + ApiError error = job.getError(); + String message = error == null ? "" : error.getMessage(); + throw new IllegalStateException(String.format("Job `%s` ended with status `%s`: %s", + job.getId(), job.getStatus(), message)); + } + + DatasetDataGenerationJobOutput output = findDatasetOutput(job); + DatasetVersion dataset = datasetsClient.getDatasetVersion(output.getName(), output.getVersion()); + System.out.printf("Generated dataset: name=`%s` version=`%s` id=`%s`%n", + dataset.getName(), dataset.getVersion(), dataset.getId()); + + System.out.println("Create the evaluation."); + eval = openAIClient.evals().create(createEvaluationParams(modelName)); + System.out.printf("Evaluation created (id: %s).%n", eval.id()); + + System.out.printf("Create an evaluation run that consumes dataset `%s`.%n", dataset.getId()); + RunCreateResponse evalRun = openAIClient.evals().runs().create(createEvaluationRunParams(eval.id(), + dataset.getId(), modelName)); + System.out.printf("Evaluation run created (id: %s).%n", evalRun.id()); + + RunRetrieveResponse completedRun = waitForEvaluationRun(openAIClient, eval.id(), evalRun.id(), + pollIntervalSeconds); + System.out.printf("Final eval run status: `%s`.%n", completedRun.status()); + + if ("completed".equals(completedRun.status())) { + System.out.printf("Result counts: %s%n", completedRun.resultCounts()); + System.out.printf("Eval run report URL: %s%n", completedRun.reportUrl()); + printOutputItems(openAIClient, eval.id(), evalRun.id()); + } else { + System.out.println("Evaluation run did not complete successfully."); + } + } finally { + if (eval != null) { + System.out.printf("Delete evaluation `%s`.%n", eval.id()); + openAIClient.evals().delete(EvalDeleteParams.builder().evalId(eval.id()).build()); + } + if (job != null) { + System.out.printf("Delete the data generation job `%s`.%n", job.getId()); + dataGenerationJobsClient.deleteGenerationJob(job.getId(), DATA_GENERATION_PREVIEW); + } + } + } + + static DataGenerationJob createDataGenerationJob(String modelName, String datasetName) { + PromptDataGenerationJobSource source = new PromptDataGenerationJobSource( + "Contoso offers a full refund within 30 days of purchase for any product returned in its original " + + "condition. After 30 days, store credit may be issued at the discretion of customer support. " + + "Digital goods are non-refundable once downloaded.") + .setDescription("Contoso refund policy"); + + SimpleQnADataGenerationJobOptions options = new SimpleQnADataGenerationJobOptions(15) + .setModelOptions(new DataGenerationModelOptions(modelName)); + + DataGenerationJobOutputOptions outputOptions = new DataGenerationJobOutputOptions() + .setName(datasetName) + .setDescription("QnA pairs generated from the Contoso refund policy prompt.") + .setTags(Collections.singletonMap("sample", "dataset-generation-with-evaluation")); + + DataGenerationJobInputs inputs = new DataGenerationJobInputs("qna-from-policy-prompt", + Collections.singletonList(source), options, DataGenerationJobScenario.EVALUATION) + .setOutputOptions(outputOptions); + + return new DataGenerationJob().setInputs(inputs); + } + + private static DataGenerationJob waitForDataGenerationJob(DataGenerationJobsClient dataGenerationJobsClient, + String jobId, int pollIntervalSeconds) throws InterruptedException { + System.out.printf("Poll job `%s` until it reaches a terminal state.", jobId); + DataGenerationJob job; + do { + Thread.sleep(pollIntervalSeconds * 1000L); + System.out.print("."); + job = dataGenerationJobsClient.getGenerationJob(jobId, DATA_GENERATION_PREVIEW); + } while (!isTerminalStatus(job.getStatus())); + System.out.println(); + return job; + } + + static boolean isTerminalStatus(JobStatus status) { + return JobStatus.SUCCEEDED.equals(status) + || JobStatus.FAILED.equals(status) + || JobStatus.CANCELLED.equals(status); + } + + static DatasetDataGenerationJobOutput findDatasetOutput(DataGenerationJob job) { + if (job.getResult() != null && job.getResult().getOutputs() != null) { + for (DataGenerationJobOutput output : job.getResult().getOutputs()) { + if (output instanceof DatasetDataGenerationJobOutput) { + DatasetDataGenerationJobOutput datasetOutput = (DatasetDataGenerationJobOutput) output; + if (datasetOutput.getName() != null && datasetOutput.getVersion() != null) { + return datasetOutput; + } + } + } + } + + throw new IllegalStateException(String.format("Job `%s` did not produce a dataset output.", job.getId())); + } + + static EvalCreateParams createEvaluationParams(String modelName) { + Map queryProperty = new LinkedHashMap<>(); + queryProperty.put("type", "string"); + + Map groundTruthProperty = new LinkedHashMap<>(); + groundTruthProperty.put("type", "string"); + + Map properties = new LinkedHashMap<>(); + properties.put("query", queryProperty); + properties.put("ground_truth", groundTruthProperty); + + ItemSchema itemSchema = ItemSchema.builder() + .putAdditionalProperty("type", JsonValue.from("object")) + .putAdditionalProperty("properties", JsonValue.from(properties)) + .putAdditionalProperty("required", JsonValue.from(Collections.singletonList("query"))) + .build(); + + Custom dataSourceConfig = Custom.builder() + .itemSchema(itemSchema) + .includeSampleSchema(true) + .build(); + + return EvalCreateParams.builder() + .name("generated-qna-evaluation") + .dataSourceConfig(dataSourceConfig) + .testingCriteria(createAzureAIEvaluatorCriteria(modelName)) + .build(); + } + + private static List createAzureAIEvaluatorCriteria(String modelName) { + Map dataMapping = new LinkedHashMap<>(); + dataMapping.put("query", "{{item.query}}"); + dataMapping.put("response", "{{sample.output_text}}"); + return Arrays.asList( + createAzureAIEvaluator("coherence", "builtin.coherence", modelName, + dataMapping), + createAzureAIEvaluator("fluency", "builtin.fluency", modelName, + Collections.singletonMap("response", "{{sample.output_text}}"))); + } + + private static EvalCreateParams.TestingCriterion createAzureAIEvaluator(String name, String evaluatorName, + String modelName, Map dataMapping) { + TestingCriterionAzureAIEvaluator evaluator = new TestingCriterionAzureAIEvaluator(name, evaluatorName) + .setInitializationParameters(Collections.singletonMap("deployment_name", BinaryData.fromObject(modelName))) + .setDataMapping(dataMapping); + + return EvaluationsHelper.toTestingCriterion(evaluator); + } + + static RunCreateParams createEvaluationRunParams(String evalId, String datasetId, String modelName) { + CreateEvalCompletionsRunDataSource.InputMessages.Template inputMessages + = CreateEvalCompletionsRunDataSource.InputMessages.Template.builder() + .addTemplate(EasyInputMessage.builder() + .role(EasyInputMessage.Role.DEVELOPER) + .content("You are a Contoso customer-support assistant. Answer the user's question about the " + + "Contoso refund policy clearly and concisely.") + .build()) + .addTemplate(EasyInputMessage.builder() + .role(EasyInputMessage.Role.USER) + .content("{{item.query}}") + .build()) + .build(); + + CreateEvalCompletionsRunDataSource dataSource = CreateEvalCompletionsRunDataSource.builder() + .fileIdSource(datasetId) + .type(CreateEvalCompletionsRunDataSource.Type.COMPLETIONS) + .inputMessages(inputMessages) + .model(modelName) + .build(); + + return RunCreateParams.builder() + .evalId(evalId) + .name("generated-qna-evaluation-run") + .dataSource(dataSource) + .build(); + } + + private static RunRetrieveResponse waitForEvaluationRun(OpenAIClient openAIClient, String evalId, String runId, + int pollIntervalSeconds) throws InterruptedException { + RunRetrieveResponse evalRun = openAIClient.evals().runs().retrieve(RunRetrieveParams.builder() + .evalId(evalId) + .runId(runId) + .build()); + while (!"completed".equals(evalRun.status()) && !"failed".equals(evalRun.status())) { + Thread.sleep(pollIntervalSeconds * 1000L); + evalRun = openAIClient.evals().runs().retrieve(RunRetrieveParams.builder() + .evalId(evalId) + .runId(runId) + .build()); + } + return evalRun; + } + + private static void printOutputItems(OpenAIClient openAIClient, String evalId, String runId) { + int count = 0; + for (OutputItemListResponse item : openAIClient.evals().runs().outputItems().list(OutputItemListParams.builder() + .evalId(evalId) + .runId(runId) + .build()).autoPager()) { + count++; + System.out.printf(" item %d: status=%s | %s%n", count, item.status(), item.results()); + } + System.out.printf("Output items (total: %d).%n", count); + } +} diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ReadmeSamples.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ReadmeSamples.java index 364567005b2b..3282d8aa73b3 100644 --- a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ReadmeSamples.java +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ReadmeSamples.java @@ -8,11 +8,18 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.MemoryStoresClient; import com.azure.ai.agents.ResponsesClient; +import com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator; +import com.azure.core.util.BinaryData; import com.openai.client.OpenAIClient; import com.openai.client.OpenAIClientAsync; +import com.openai.models.evals.EvalCreateParams; import com.openai.services.async.EvalServiceAsync; import com.openai.services.blocking.EvalService; +import java.util.Collections; +import java.util.LinkedHashMap; +import java.util.Map; + public final class ReadmeSamples { public void readmeSamples() { // BEGIN: com.azure.ai.projects.readme @@ -39,6 +46,21 @@ public void readmeSamples() { EvalServiceAsync evalAsyncService = builder.buildOpenAIAsyncClient().evals(); // END: com.azure.ai.projects.evalsServices + // BEGIN: com.azure.ai.projects.evaluationsHelper + Map dataMapping = new LinkedHashMap<>(); + dataMapping.put("query", "{{item.query}}"); + dataMapping.put("response", "{{sample.output_text}}"); + + TestingCriterionAzureAIEvaluator coherenceEvaluator = new TestingCriterionAzureAIEvaluator("coherence", + "builtin.coherence") + .setInitializationParameters(Collections.singletonMap("deployment_name", + BinaryData.fromObject("gpt-4o-mini"))) + .setDataMapping(dataMapping); + + EvalCreateParams.TestingCriterion testingCriterion + = EvaluationsHelper.toTestingCriterion(coherenceEvaluator); + // END: com.azure.ai.projects.evaluationsHelper + // BEGIN: com.azure.ai.projects.openAIClient OpenAIClient openAIClient = builder.buildOpenAIClient(); OpenAIClientAsync openAIClientAsync = builder.buildOpenAIAsyncClient(); diff --git a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/ClientTestBase.java b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/ClientTestBase.java index e8f526ddc5a6..551b40ea0028 100644 --- a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/ClientTestBase.java +++ b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/ClientTestBase.java @@ -55,10 +55,10 @@ protected AIProjectClientBuilder getClientBuilder(HttpClient httpClient, builder.endpoint("https://localhost:8080").credential(new MockTokenCredential()); } else if (testMode == TestMode.RECORD) { builder.addPolicy(interceptorManager.getRecordPolicy()) - .endpoint(Configuration.getGlobalConfiguration().get("AI_PROJECTS_ENDPOINT")) + .endpoint(Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT")) .credential(new DefaultAzureCredentialBuilder().build()); } else { - builder.endpoint(Configuration.getGlobalConfiguration().get("AI_PROJECTS_ENDPOINT")) + builder.endpoint(Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT")) .credential(new DefaultAzureCredentialBuilder().build()); } diff --git a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/DataGenerationJobsAsyncClientTests.java b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/DataGenerationJobsAsyncClientTests.java new file mode 100644 index 000000000000..3d521682d1d0 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/DataGenerationJobsAsyncClientTests.java @@ -0,0 +1,193 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.azure.ai.projects; + +import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.projects.models.ApiError; +import com.azure.ai.projects.models.DataGenerationJob; +import com.azure.ai.projects.models.DatasetDataGenerationJobOutput; +import com.azure.ai.projects.models.DatasetVersion; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; +import com.azure.ai.projects.models.JobStatus; +import com.azure.core.http.HttpClient; +import com.azure.core.test.TestMode; +import com.azure.core.test.annotation.LiveOnly; +import com.azure.core.util.Configuration; +import com.openai.client.OpenAIClientAsync; +import com.openai.models.evals.EvalCreateResponse; +import com.openai.models.evals.EvalDeleteParams; +import com.openai.models.evals.runs.RunCreateResponse; +import com.openai.models.evals.runs.RunRetrieveParams; +import com.openai.models.evals.runs.RunRetrieveResponse; +import com.openai.models.evals.runs.outputitems.OutputItemListParams; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Timeout; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; +import reactor.test.StepVerifier; + +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.TimeUnit; +import java.util.function.Supplier; + +import static com.azure.ai.projects.TestUtils.DISPLAY_NAME_WITH_ARGUMENTS; + +public class DataGenerationJobsAsyncClientTests extends ClientTestBase { + private static final FoundryFeaturesOptInKeys DATA_GENERATION_PREVIEW + = FoundryFeaturesOptInKeys.DATA_GENERATION_JOBS_V1_PREVIEW; + + @LiveOnly + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void dataGenerationJobsListAsyncSample(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) { + DataGenerationJobsAsyncClient dataGenerationJobsAsyncClient + = getClientBuilder(httpClient, serviceVersion).buildDataGenerationJobsAsyncClient(); + + StepVerifier.create( + dataGenerationJobsAsyncClient.listGenerationJobs(DATA_GENERATION_PREVIEW, 5, PageOrder.DESC, null, null) + .take(5) + .doOnNext(job -> { + Assertions.assertNotNull(job); + Assertions.assertNotNull(job.getId()); + }) + .then()) + .verifyComplete(); + } + + @Timeout(value = 20, unit = TimeUnit.MINUTES) + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void dataGenerationJobWithEvaluationAsyncSample(HttpClient httpClient, + AIProjectsServiceVersion serviceVersion) { + AIProjectClientBuilder projectClientBuilder = getClientBuilder(httpClient, serviceVersion); + DataGenerationJobsAsyncClient dataGenerationJobsAsyncClient + = projectClientBuilder.buildDataGenerationJobsAsyncClient(); + DatasetsAsyncClient datasetsAsyncClient = projectClientBuilder.buildDatasetsAsyncClient(); + OpenAIClientAsync openAIAsyncClient = projectClientBuilder.buildOpenAIAsyncClient(); + + String modelName = getRecordedConfig("FOUNDRY_MODEL_NAME"); + String datasetName = testResourceNamer.randomName("dataset-generation-eval-", 64); + + Mono scenario = dataGenerationJobsAsyncClient + .createGenerationJob(DataGenerationJobWithEvaluationSample.createDataGenerationJob(modelName, datasetName), + DATA_GENERATION_PREVIEW, testResourceNamer.randomUuid()) + .flatMap(job -> waitForDataGenerationJob(dataGenerationJobsAsyncClient, job.getId(), 5, 180) + .flatMap(completedJob -> { + if (!JobStatus.SUCCEEDED.equals(completedJob.getStatus())) { + ApiError error = completedJob.getError(); + String message = error == null ? "" : error.getMessage(); + return Mono.error(new AssertionError(String.format("Job `%s` ended with status `%s`: %s", + completedJob.getId(), completedJob.getStatus(), message))); + } + + DatasetDataGenerationJobOutput output + = DataGenerationJobWithEvaluationSample.findDatasetOutput(completedJob); + return datasetsAsyncClient.getDatasetVersion(output.getName(), output.getVersion()) + .flatMap(dataset -> runEvaluation(openAIAsyncClient, dataset, modelName)) + .then(dataGenerationJobsAsyncClient.deleteGenerationJob(completedJob.getId(), + DATA_GENERATION_PREVIEW)); + })); + + StepVerifier.create(scenario).verifyComplete(); + } + + private Mono runEvaluation(OpenAIClientAsync openAIAsyncClient, DatasetVersion dataset, String modelName) { + Assertions.assertNotNull(dataset); + Assertions.assertNotNull(dataset.getId()); + + return deferFuture(() -> openAIAsyncClient.evals() + .create(DataGenerationJobWithEvaluationSample.createEvaluationParams(modelName))).flatMap(eval -> { + Assertions.assertNotNull(eval); + + Mono createRun = deferFuture(() -> openAIAsyncClient.evals() + .runs() + .create(DataGenerationJobWithEvaluationSample.createEvaluationRunParams(eval.id(), dataset.getId(), + modelName))); + + return createRun.flatMap(evalRun -> assertEvaluationRunCompleted(openAIAsyncClient, eval, evalRun)) + .then(deferFuture( + () -> openAIAsyncClient.evals().delete(EvalDeleteParams.builder().evalId(eval.id()).build()))) + .then(); + }); + } + + private Mono assertEvaluationRunCompleted(OpenAIClientAsync openAIAsyncClient, EvalCreateResponse eval, + RunCreateResponse evalRun) { + Assertions.assertNotNull(evalRun); + + return waitForEvaluationRun(openAIAsyncClient, eval.id(), evalRun.id(), 5, 180).flatMap(completedRun -> { + Assertions.assertEquals("completed", completedRun.status()); + Assertions.assertNotNull(completedRun.resultCounts()); + + OutputItemListParams outputItemsParams + = OutputItemListParams.builder().evalId(eval.id()).runId(evalRun.id()).build(); + return deferFuture(() -> openAIAsyncClient.evals().runs().outputItems().list(outputItemsParams)) + .flatMapMany(page -> Flux.fromIterable(page.items())) + .count() + .doOnNext(outputItemCount -> Assertions.assertTrue(outputItemCount > 0)) + .then(); + }); + } + + private Mono waitForDataGenerationJob( + DataGenerationJobsAsyncClient dataGenerationJobsAsyncClient, String jobId, int pollIntervalSeconds, + int maxAttempts) { + return pollDataGenerationJob(dataGenerationJobsAsyncClient, jobId, pollIntervalSeconds, maxAttempts, 0); + } + + private Mono pollDataGenerationJob(DataGenerationJobsAsyncClient dataGenerationJobsAsyncClient, + String jobId, int pollIntervalSeconds, int maxAttempts, int attempts) { + return sleepBeforePolling(pollIntervalSeconds, attempts) + .then(dataGenerationJobsAsyncClient.getGenerationJob(jobId, DATA_GENERATION_PREVIEW)) + .flatMap(job -> DataGenerationJobWithEvaluationSample.isTerminalStatus(job.getStatus()) + || attempts >= maxAttempts + ? Mono.just(job) + : pollDataGenerationJob(dataGenerationJobsAsyncClient, jobId, pollIntervalSeconds, maxAttempts, + attempts + 1)); + } + + private Mono waitForEvaluationRun(OpenAIClientAsync openAIAsyncClient, String evalId, + String runId, int pollIntervalSeconds, int maxAttempts) { + return pollEvaluationRun(openAIAsyncClient, evalId, runId, pollIntervalSeconds, maxAttempts, 0); + } + + private Mono pollEvaluationRun(OpenAIClientAsync openAIAsyncClient, String evalId, + String runId, int pollIntervalSeconds, int maxAttempts, int attempts) { + return sleepBeforePolling(pollIntervalSeconds, attempts) + .then(deferFuture(() -> openAIAsyncClient.evals() + .runs() + .retrieve(RunRetrieveParams.builder().evalId(evalId).runId(runId).build()))) + .flatMap(evalRun -> "completed".equals(evalRun.status()) + || "failed".equals(evalRun.status()) + || attempts >= maxAttempts + ? Mono.just(evalRun) + : pollEvaluationRun(openAIAsyncClient, evalId, runId, pollIntervalSeconds, maxAttempts, + attempts + 1)); + } + + private Mono sleepBeforePolling(int pollIntervalSeconds, int attempts) { + if (attempts == 0) { + return Mono.empty(); + } + + return Mono.fromRunnable(() -> sleepIfRunningAgainstService(pollIntervalSeconds * 1000L)); + } + + private Mono deferFuture(Supplier> futureSupplier) { + return Mono.defer(() -> Mono.fromFuture(futureSupplier.get())); + } + + private String getRecordedConfig(String name) { + if (getTestMode() == TestMode.PLAYBACK) { + return testResourceNamer.recordValueFromConfig(name); + } + + String value = Configuration.getGlobalConfiguration().get(name); + if (getTestMode() == TestMode.RECORD) { + testResourceNamer.recordValueFromConfig(name); + } + return value; + } +} diff --git a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/DataGenerationJobsClientTests.java b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/DataGenerationJobsClientTests.java new file mode 100644 index 000000000000..22d76ef979c6 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/DataGenerationJobsClientTests.java @@ -0,0 +1,154 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.azure.ai.projects; + +import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.projects.models.ApiError; +import com.azure.ai.projects.models.DataGenerationJob; +import com.azure.ai.projects.models.DatasetDataGenerationJobOutput; +import com.azure.ai.projects.models.DatasetVersion; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; +import com.azure.ai.projects.models.JobStatus; +import com.azure.core.http.HttpClient; +import com.azure.core.test.TestMode; +import com.azure.core.test.annotation.LiveOnly; +import com.azure.core.util.Configuration; +import com.openai.client.OpenAIClient; +import com.openai.models.evals.EvalCreateResponse; +import com.openai.models.evals.EvalDeleteParams; +import com.openai.models.evals.runs.RunCreateResponse; +import com.openai.models.evals.runs.RunRetrieveParams; +import com.openai.models.evals.runs.RunRetrieveResponse; +import com.openai.models.evals.runs.outputitems.OutputItemListParams; +import com.openai.models.evals.runs.outputitems.OutputItemListResponse; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Timeout; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + +import java.util.concurrent.TimeUnit; + +import static com.azure.ai.projects.TestUtils.DISPLAY_NAME_WITH_ARGUMENTS; + +public class DataGenerationJobsClientTests extends ClientTestBase { + private static final FoundryFeaturesOptInKeys DATA_GENERATION_PREVIEW + = FoundryFeaturesOptInKeys.DATA_GENERATION_JOBS_V1_PREVIEW; + + @LiveOnly + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void dataGenerationJobsListSample(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) { + DataGenerationJobsClient dataGenerationJobsClient + = getClientBuilder(httpClient, serviceVersion).buildDataGenerationJobsClient(); + + Iterable jobs + = dataGenerationJobsClient.listGenerationJobs(DATA_GENERATION_PREVIEW, 5, PageOrder.DESC, null, null); + Assertions.assertNotNull(jobs); + + int count = 0; + for (DataGenerationJob job : jobs) { + Assertions.assertNotNull(job); + Assertions.assertNotNull(job.getId()); + count++; + if (count >= 5) { + break; + } + } + } + + @Timeout(value = 20, unit = TimeUnit.MINUTES) + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void dataGenerationJobWithEvaluationSample(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) + throws InterruptedException { + AIProjectClientBuilder projectClientBuilder = getClientBuilder(httpClient, serviceVersion); + DataGenerationJobsClient dataGenerationJobsClient = projectClientBuilder.buildDataGenerationJobsClient(); + DatasetsClient datasetsClient = projectClientBuilder.buildDatasetsClient(); + OpenAIClient openAIClient = projectClientBuilder.buildOpenAIClient(); + + String modelName = getRecordedConfig("FOUNDRY_MODEL_NAME"); + String datasetName = testResourceNamer.randomName("dataset-generation-eval-", 64); + + DataGenerationJob job = dataGenerationJobsClient.createGenerationJob( + DataGenerationJobWithEvaluationSample.createDataGenerationJob(modelName, datasetName), + DATA_GENERATION_PREVIEW, testResourceNamer.randomUuid()); + + job = waitForDataGenerationJob(dataGenerationJobsClient, job.getId(), 5, 180); + if (!JobStatus.SUCCEEDED.equals(job.getStatus())) { + ApiError error = job.getError(); + String message = error == null ? "" : error.getMessage(); + Assertions + .fail(String.format("Job `%s` ended with status `%s`: %s", job.getId(), job.getStatus(), message)); + } + + DatasetDataGenerationJobOutput output = DataGenerationJobWithEvaluationSample.findDatasetOutput(job); + DatasetVersion dataset = datasetsClient.getDatasetVersion(output.getName(), output.getVersion()); + Assertions.assertNotNull(dataset); + Assertions.assertNotNull(dataset.getId()); + + EvalCreateResponse eval + = openAIClient.evals().create(DataGenerationJobWithEvaluationSample.createEvaluationParams(modelName)); + Assertions.assertNotNull(eval); + + RunCreateResponse evalRun = openAIClient.evals() + .runs() + .create( + DataGenerationJobWithEvaluationSample.createEvaluationRunParams(eval.id(), dataset.getId(), modelName)); + Assertions.assertNotNull(evalRun); + + RunRetrieveResponse completedRun = waitForEvaluationRun(openAIClient, eval.id(), evalRun.id(), 5, 180); + Assertions.assertEquals("completed", completedRun.status()); + Assertions.assertNotNull(completedRun.resultCounts()); + + int outputItemCount = 0; + for (OutputItemListResponse ignored : openAIClient.evals() + .runs() + .outputItems() + .list(OutputItemListParams.builder().evalId(eval.id()).runId(evalRun.id()).build()) + .autoPager()) { + outputItemCount++; + } + Assertions.assertTrue(outputItemCount > 0); + + openAIClient.evals().delete(EvalDeleteParams.builder().evalId(eval.id()).build()); + dataGenerationJobsClient.deleteGenerationJob(job.getId(), DATA_GENERATION_PREVIEW); + } + + private DataGenerationJob waitForDataGenerationJob(DataGenerationJobsClient dataGenerationJobsClient, String jobId, + int pollIntervalSeconds, int maxAttempts) throws InterruptedException { + DataGenerationJob job; + int attempts = 0; + do { + sleepIfRunningAgainstService(pollIntervalSeconds * 1000L); + job = dataGenerationJobsClient.getGenerationJob(jobId, DATA_GENERATION_PREVIEW); + attempts++; + } while (!DataGenerationJobWithEvaluationSample.isTerminalStatus(job.getStatus()) && attempts < maxAttempts); + return job; + } + + private RunRetrieveResponse waitForEvaluationRun(OpenAIClient openAIClient, String evalId, String runId, + int pollIntervalSeconds, int maxAttempts) throws InterruptedException { + RunRetrieveResponse evalRun + = openAIClient.evals().runs().retrieve(RunRetrieveParams.builder().evalId(evalId).runId(runId).build()); + int attempts = 0; + while (!"completed".equals(evalRun.status()) && !"failed".equals(evalRun.status()) && attempts < maxAttempts) { + sleepIfRunningAgainstService(pollIntervalSeconds * 1000L); + evalRun + = openAIClient.evals().runs().retrieve(RunRetrieveParams.builder().evalId(evalId).runId(runId).build()); + attempts++; + } + return evalRun; + } + + private String getRecordedConfig(String name) { + if (getTestMode() == TestMode.PLAYBACK) { + return testResourceNamer.recordValueFromConfig(name); + } + + String value = Configuration.getGlobalConfiguration().get(name); + if (getTestMode() == TestMode.RECORD) { + testResourceNamer.recordValueFromConfig(name); + } + return value; + } +} diff --git a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/EvaluationsHelperTests.java b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/EvaluationsHelperTests.java new file mode 100644 index 000000000000..30fa05e7fa5d --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/EvaluationsHelperTests.java @@ -0,0 +1,39 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.projects; + +import com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator; +import com.azure.core.util.BinaryData; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.openai.core.ObjectMappers; +import com.openai.models.evals.EvalCreateParams; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import java.util.Collections; + +public class EvaluationsHelperTests { + @Test + public void convertsAzureAIEvaluatorToTestingCriterion() throws JsonProcessingException { + TestingCriterionAzureAIEvaluator evaluator + = new TestingCriterionAzureAIEvaluator("coherence", "builtin.coherence") + .setInitializationParameters( + Collections.singletonMap("deployment_name", BinaryData.fromObject("gpt-4o-mini"))) + .setDataMapping(Collections.singletonMap("response", "{{sample.output_text}}")); + + EvalCreateParams.TestingCriterion testingCriterion = EvaluationsHelper.toTestingCriterion(evaluator); + + Assertions.assertNotNull(testingCriterion); + String json = ObjectMappers.jsonMapper().writeValueAsString(testingCriterion); + Assertions.assertTrue(json.contains("\"type\":\"azure_ai_evaluator\"")); + Assertions.assertTrue(json.contains("\"evaluator_name\":\"builtin.coherence\"")); + Assertions.assertTrue(json.contains("\"deployment_name\":\"gpt-4o-mini\"")); + Assertions.assertTrue(json.contains("\"response\":\"{{sample.output_text}}\"")); + } + + @Test + public void toTestingCriterionRequiresEvaluator() { + Assertions.assertThrows(NullPointerException.class, () -> EvaluationsHelper.toTestingCriterion(null)); + } +} diff --git a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java index fabb046753fc..613d0960e49c 100644 --- a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java +++ b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java @@ -2,11 +2,8 @@ // Licensed under the MIT License. package com.azure.ai.projects; -import com.azure.ai.agents.models.PageOrder; import com.azure.ai.projects.models.CreateSkillVersionFromFilesBody; -import com.azure.ai.projects.models.DataGenerationJob; import com.azure.ai.projects.models.FilesFileDetails; -import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; import com.azure.ai.projects.models.ModelVersion; import com.azure.ai.projects.models.Skill; import com.azure.ai.projects.models.SkillVersion; @@ -32,8 +29,6 @@ public class SamplesTests extends ClientTestBase { private static final String SAMPLE_SKILL_NAME = "java-sample-skill-package-test"; - private static final FoundryFeaturesOptInKeys DATA_GENERATION_PREVIEW - = FoundryFeaturesOptInKeys.DATA_GENERATION_JOBS_V1_PREVIEW; @LiveOnly @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @@ -93,46 +88,6 @@ public void skillsPackageAsyncSample(HttpClient httpClient, AIProjectsServiceVer })).verifyComplete(); } - @LiveOnly - @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) - @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") - public void dataGenerationJobsListSample(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) { - DataGenerationJobsClient dataGenerationJobsClient - = getClientBuilder(httpClient, serviceVersion).buildDataGenerationJobsClient(); - - Iterable jobs - = dataGenerationJobsClient.listGenerationJobs(DATA_GENERATION_PREVIEW, 5, PageOrder.DESC, null, null); - Assertions.assertNotNull(jobs); - - int count = 0; - for (DataGenerationJob job : jobs) { - Assertions.assertNotNull(job); - Assertions.assertNotNull(job.getId()); - count++; - if (count >= 5) { - break; - } - } - } - - @LiveOnly - @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) - @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") - public void dataGenerationJobsListAsyncSample(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) { - DataGenerationJobsAsyncClient dataGenerationJobsAsyncClient - = getClientBuilder(httpClient, serviceVersion).buildDataGenerationJobsAsyncClient(); - - StepVerifier.create( - dataGenerationJobsAsyncClient.listGenerationJobs(DATA_GENERATION_PREVIEW, 5, PageOrder.DESC, null, null) - .take(5) - .doOnNext(job -> { - Assertions.assertNotNull(job); - Assertions.assertNotNull(job.getId()); - }) - .then()) - .verifyComplete(); - } - @LiveOnly @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") From 8cb7f467f9abf591d01ec57ae39f2ddc1fc5bb5f Mon Sep 17 00:00:00 2001 From: kaylieee Date: Wed, 27 May 2026 11:13:25 -0700 Subject: [PATCH 44/74] deleteSkill returns void --- .../META-INF/azure-ai-agents_metadata.json | 2 +- sdk/ai/azure-ai-agents/tsp-location.yaml | 2 +- .../azure/ai/projects/SkillsAsyncClient.java | 9 +- .../com/azure/ai/projects/SkillsClient.java | 8 +- .../models/DeleteSkillVersionResponse.java | 148 ------------------ .../META-INF/azure-ai-projects_metadata.json | 2 +- sdk/ai/azure-ai-projects/tsp-location.yaml | 2 +- 7 files changed, 9 insertions(+), 164 deletions(-) delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DeleteSkillVersionResponse.java diff --git a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json index 048cc4566412..9aecdffabdb9 100644 --- a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json +++ b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"5f15da6bf1f3","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"4e6aca8234d8","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index 86bc8e3ade16..352f699b28c1 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: 34133a2aadc9cc4ac69f99e4c94b82b2a189b244 +commit: f32adc3f8ea3888eca6a43649930760e29b9c915 repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java index 0eaf238be547..c7503178bba8 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java @@ -9,7 +9,6 @@ import com.azure.ai.projects.implementation.models.CreateSkillVersionRequest; import com.azure.ai.projects.implementation.models.UpdateSkillRequest; import com.azure.ai.projects.models.CreateSkillVersionFromFilesBody; -import com.azure.ai.projects.models.DeleteSkillVersionResponse; import com.azure.ai.projects.models.FilesFileDetails; import com.azure.ai.projects.models.Skill; import com.azure.ai.projects.models.SkillInlineContent; @@ -850,14 +849,12 @@ public Mono getSkillVersionContent(String name, String version) { * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a deleted skill version on successful completion of {@link Mono}. + * @return a {@link Mono} that completes when the skill version is deleted. */ - @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteSkillVersion(String name, String version) { + public Mono deleteSkillVersion(String name, String version) { // Generated convenience method for deleteSkillVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - return deleteSkillVersionWithResponse(name, version, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(DeleteSkillVersionResponse.class)); + return deleteSkillVersionWithResponse(name, version, requestOptions).then(); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java index 1a798378f933..8346fb049629 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java @@ -9,7 +9,6 @@ import com.azure.ai.projects.implementation.models.CreateSkillVersionRequest; import com.azure.ai.projects.implementation.models.UpdateSkillRequest; import com.azure.ai.projects.models.CreateSkillVersionFromFilesBody; -import com.azure.ai.projects.models.DeleteSkillVersionResponse; import com.azure.ai.projects.models.FilesFileDetails; import com.azure.ai.projects.models.Skill; import com.azure.ai.projects.models.SkillInlineContent; @@ -793,14 +792,11 @@ public BinaryData getSkillVersionContent(String name, String version) { * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a deleted skill version. */ - @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public DeleteSkillVersionResponse deleteSkillVersion(String name, String version) { + public void deleteSkillVersion(String name, String version) { // Generated convenience method for deleteSkillVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - return deleteSkillVersionWithResponse(name, version, requestOptions).getValue() - .toObject(DeleteSkillVersionResponse.class); + deleteSkillVersionWithResponse(name, version, requestOptions); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DeleteSkillVersionResponse.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DeleteSkillVersionResponse.java deleted file mode 100644 index b3ce1610108d..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DeleteSkillVersionResponse.java +++ /dev/null @@ -1,148 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * A deleted skill version. - */ -@Immutable -public final class DeleteSkillVersionResponse implements JsonSerializable { - - /* - * The unique identifier of the deleted skill version. - */ - @Generated - private final String id; - - /* - * The name of the skill. - */ - @Generated - private final String name; - - /* - * Whether the skill version was successfully deleted. - */ - @Generated - private final boolean deleted; - - /* - * The version that was deleted. - */ - @Generated - private final String version; - - /** - * Creates an instance of DeleteSkillVersionResponse class. - * - * @param id the id value to set. - * @param name the name value to set. - * @param deleted the deleted value to set. - * @param version the version value to set. - */ - @Generated - private DeleteSkillVersionResponse(String id, String name, boolean deleted, String version) { - this.id = id; - this.name = name; - this.deleted = deleted; - this.version = version; - } - - /** - * Get the id property: The unique identifier of the deleted skill version. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Get the name property: The name of the skill. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the deleted property: Whether the skill version was successfully deleted. - * - * @return the deleted value. - */ - @Generated - public boolean isDeleted() { - return this.deleted; - } - - /** - * Get the version property: The version that was deleted. - * - * @return the version value. - */ - @Generated - public String getVersion() { - return this.version; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeBooleanField("deleted", this.deleted); - jsonWriter.writeStringField("version", this.version); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DeleteSkillVersionResponse from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DeleteSkillVersionResponse if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the DeleteSkillVersionResponse. - */ - @Generated - public static DeleteSkillVersionResponse fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String id = null; - String name = null; - boolean deleted = false; - String version = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("deleted".equals(fieldName)) { - deleted = reader.getBoolean(); - } else if ("version".equals(fieldName)) { - version = reader.getString(); - } else { - reader.skipChildren(); - } - } - return new DeleteSkillVersionResponse(id, name, deleted, version); - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json index 725c4f2c048f..1ad5aa5619af 100644 --- a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json +++ b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"fb14088bfa1d","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.deleteSkillVersion":"Azure.AI.Projects.Skills.deleteSkillVersion","com.azure.ai.projects.SkillsAsyncClient.deleteSkillVersionWithResponse":"Azure.AI.Projects.Skills.deleteSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.deleteSkillVersion":"Azure.AI.Projects.Skills.deleteSkillVersion","com.azure.ai.projects.SkillsClient.deleteSkillVersionWithResponse":"Azure.AI.Projects.Skills.deleteSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.DeleteSkillVersionResponse":"Azure.AI.Projects.DeleteSkillVersionResponse","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FilesFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.GitHubIssueOpenedRoutineTrigger":"Azure.AI.Projects.GitHubIssueOpenedRoutineTrigger","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunDiagnostics":"Azure.AI.Projects.RoutineRunDiagnostics","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/DeleteSkillVersionResponse.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FilesFileDetails.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"3ba2dc51ca7d","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FilesFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.GitHubIssueOpenedRoutineTrigger":"Azure.AI.Projects.GitHubIssueOpenedRoutineTrigger","com.azure.ai.projects.models.GraderAzureAIEvaluator":"Azure.AI.Projects.GraderAzureAIEvaluator","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunDiagnostics":"Azure.AI.Projects.RoutineRunDiagnostics","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator":"Azure.AI.Projects.TestingCriterionAzureAIEvaluator","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FilesFileDetails.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml b/sdk/ai/azure-ai-projects/tsp-location.yaml index d2d3b1566776..c3793adc1b28 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: 18719de028c67ab481f82a4fe33598be86e4c2a4 +commit: f32adc3f8ea3888eca6a43649930760e29b9c915 repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From 6e9f47f8341f1eb6588d272300472702184aa9ea Mon Sep 17 00:00:00 2001 From: kaylieee Date: Wed, 27 May 2026 11:19:16 -0700 Subject: [PATCH 45/74] formatting updates --- .../ai/projects/implementation/OpenAIJsonHelper.java | 1 - .../projects/models/AzureAIAgentTargetToolsTest.java | 12 ++++-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/OpenAIJsonHelper.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/OpenAIJsonHelper.java index 31f33a0c7ab7..86d15161a12a 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/OpenAIJsonHelper.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/OpenAIJsonHelper.java @@ -57,7 +57,6 @@ public static , T> T toOpenAIType(S azureObject, C } } - /** * Serializes an openai-java object to {@link BinaryData} whose content is a JSON object. * The resulting BinaryData can be written to a {@link com.azure.json.JsonWriter} via diff --git a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/models/AzureAIAgentTargetToolsTest.java b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/models/AzureAIAgentTargetToolsTest.java index ea6b5520dbbd..7949b42434c1 100644 --- a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/models/AzureAIAgentTargetToolsTest.java +++ b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/models/AzureAIAgentTargetToolsTest.java @@ -88,12 +88,10 @@ public void testDeserializationWithWebSearchTool() throws IOException { */ @Test public void testDeserializationWithMultipleTools() throws IOException { - String json = "{\"name\":\"test-agent\",\"type\":\"azure_ai_agent\"," - + "\"tools\":[" + String json = "{\"name\":\"test-agent\",\"type\":\"azure_ai_agent\"," + "\"tools\":[" + "{\"type\":\"function\",\"name\":\"calculate\",\"parameters\":{\"type\":\"object\"}}," + "{\"type\":\"file_search\",\"vector_store_ids\":[\"vs_1\",\"vs_2\"]}," - + "{\"type\":\"web_search\",\"search_context_size\":\"low\"}" - + "]}"; + + "{\"type\":\"web_search\",\"search_context_size\":\"low\"}" + "]}"; AzureAIAgentTarget target = deserializeFromJson(json); @@ -205,11 +203,9 @@ public void testRoundTripWithFunctionTool() throws IOException { */ @Test public void testRoundTripViaTypedSetter() throws IOException { - String inputJson = "{\"name\":\"agent\",\"type\":\"azure_ai_agent\"," - + "\"tools\":[" + String inputJson = "{\"name\":\"agent\",\"type\":\"azure_ai_agent\"," + "\"tools\":[" + "{\"type\":\"function\",\"name\":\"func1\",\"parameters\":{\"type\":\"object\"}}," - + "{\"type\":\"file_search\",\"vector_store_ids\":[\"vs_x\"]}" - + "]}"; + + "{\"type\":\"file_search\",\"vector_store_ids\":[\"vs_x\"]}" + "]}"; // Deserialize, get typed tools, set on new target, serialize, deserialize again AzureAIAgentTarget source = deserializeFromJson(inputJson); From 945dc9a43b3e6310d0a2f32f2182358ee2959a3b Mon Sep 17 00:00:00 2001 From: kaylieee Date: Wed, 27 May 2026 11:25:08 -0700 Subject: [PATCH 46/74] rename to listsessionfiles --- .../ai/agents/AgentSessionFilesAsyncClient.java | 16 ++++++++-------- .../azure/ai/agents/AgentSessionFilesClient.java | 16 ++++++++-------- .../implementation/AgentSessionFilesImpl.java | 12 ++++++------ .../META-INF/azure-ai-agents_metadata.json | 2 +- .../hostedagents/SessionFilesAsyncSample.java | 2 +- .../agents/hostedagents/SessionFilesSample.java | 2 +- sdk/ai/azure-ai-agents/tsp-location.yaml | 2 +- 7 files changed, 26 insertions(+), 26 deletions(-) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java index bd37e227f252..57f36fd3dfa9 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java @@ -403,9 +403,9 @@ public Mono deleteSessionFile(String agentName, String agentSessionId, Str */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getSessionFilesWithResponse(String agentName, String agentSessionId, String path, + public Mono> listSessionFilesWithResponse(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { - return this.serviceClient.getSessionFilesWithResponseAsync(agentName, agentSessionId, path, requestOptions); + return this.serviceClient.listSessionFilesWithResponseAsync(agentName, agentSessionId, path, requestOptions); } /** @@ -429,9 +429,9 @@ public Mono> getSessionFilesWithResponse(String agentName, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getSessionFiles(String agentName, String agentSessionId, String path, + public Mono listSessionFiles(String agentName, String agentSessionId, String path, AgentDefinitionOptInKeys foundryFeatures, String userIsolationKey) { - // Generated convenience method for getSessionFilesWithResponse + // Generated convenience method for listSessionFilesWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); @@ -439,7 +439,7 @@ public Mono getSessionFiles(String agentName, Stri if (userIsolationKey != null) { requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); } - return getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono) + return listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(SessionDirectoryListResponse.class)); } @@ -460,10 +460,10 @@ public Mono getSessionFiles(String agentName, Stri */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getSessionFiles(String agentName, String agentSessionId, String path) { - // Generated convenience method for getSessionFilesWithResponse + public Mono listSessionFiles(String agentName, String agentSessionId, String path) { + // Generated convenience method for listSessionFilesWithResponse RequestOptions requestOptions = new RequestOptions(); - return getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono) + return listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(SessionDirectoryListResponse.class)); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java index 0cd20fc25531..ead60b96fd73 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java @@ -393,9 +393,9 @@ public void deleteSessionFile(String agentName, String agentSessionId, String pa */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSessionFilesWithResponse(String agentName, String agentSessionId, String path, + public Response listSessionFilesWithResponse(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { - return this.serviceClient.getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions); + return this.serviceClient.listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions); } /** @@ -419,9 +419,9 @@ public Response getSessionFilesWithResponse(String agentName, String */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SessionDirectoryListResponse getSessionFiles(String agentName, String agentSessionId, String path, + public SessionDirectoryListResponse listSessionFiles(String agentName, String agentSessionId, String path, AgentDefinitionOptInKeys foundryFeatures, String userIsolationKey) { - // Generated convenience method for getSessionFilesWithResponse + // Generated convenience method for listSessionFilesWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); @@ -429,7 +429,7 @@ public SessionDirectoryListResponse getSessionFiles(String agentName, String age if (userIsolationKey != null) { requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); } - return getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).getValue() + return listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).getValue() .toObject(SessionDirectoryListResponse.class); } @@ -450,10 +450,10 @@ public SessionDirectoryListResponse getSessionFiles(String agentName, String age */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SessionDirectoryListResponse getSessionFiles(String agentName, String agentSessionId, String path) { - // Generated convenience method for getSessionFilesWithResponse + public SessionDirectoryListResponse listSessionFiles(String agentName, String agentSessionId, String path) { + // Generated convenience method for listSessionFilesWithResponse RequestOptions requestOptions = new RequestOptions(); - return getSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).getValue() + return listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).getValue() .toObject(SessionDirectoryListResponse.class); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java index 5f5a83f90927..2a34344c96ed 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java @@ -124,7 +124,7 @@ Response downloadSessionFileSync(@HostParam("endpoint") String endpo @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getSessionFiles(@HostParam("endpoint") String endpoint, + Mono> listSessionFiles(@HostParam("endpoint") String endpoint, @PathParam("agent_name") String agentName, @PathParam("agent_session_id") String agentSessionId, @QueryParam("path") String path, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -135,7 +135,7 @@ Mono> getSessionFiles(@HostParam("endpoint") String endpoin @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getSessionFilesSync(@HostParam("endpoint") String endpoint, + Response listSessionFilesSync(@HostParam("endpoint") String endpoint, @PathParam("agent_name") String agentName, @PathParam("agent_session_id") String agentSessionId, @QueryParam("path") String path, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -398,10 +398,10 @@ public Response downloadSessionFileWithResponse(String agentName, St * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getSessionFilesWithResponseAsync(String agentName, String agentSessionId, + public Mono> listSessionFilesWithResponseAsync(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getSessionFiles(this.client.getEndpoint(), agentName, + return FluxUtil.withContext(context -> service.listSessionFiles(this.client.getEndpoint(), agentName, agentSessionId, path, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } @@ -449,10 +449,10 @@ public Mono> getSessionFilesWithResponseAsync(String agentN * @return response from listing a directory in a session sandbox along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSessionFilesWithResponse(String agentName, String agentSessionId, String path, + public Response listSessionFilesWithResponse(String agentName, String agentSessionId, String path, RequestOptions requestOptions) { final String accept = "application/json"; - return service.getSessionFilesSync(this.client.getEndpoint(), agentName, agentSessionId, path, + return service.listSessionFilesSync(this.client.getEndpoint(), agentName, agentSessionId, path, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } diff --git a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json index 9aecdffabdb9..59a22a1a35cf 100644 --- a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json +++ b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"4e6aca8234d8","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.getSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.getSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"8d4126299a08","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.listSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesAsyncSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesAsyncSample.java index d6b26bf64600..dd75a6600fca 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesAsyncSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesAsyncSample.java @@ -60,7 +60,7 @@ public static void main(String[] args) { BinaryData.fromString("Sample session file 2."), AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null)) .doOnNext(response -> System.out.printf("Uploaded session file: %s%n", response.getPath())) - .then(sessionFilesAsyncClient.getSessionFiles(agentName, sessionId, "/remote", + .then(sessionFilesAsyncClient.listSessionFiles(agentName, sessionId, "/remote", AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null)) .doOnNext(files -> { System.out.println("Listing session files for the session at path '/remote'..."); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesSample.java index f4d0cf1f21b4..8859409181ca 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesSample.java @@ -59,7 +59,7 @@ public static void main(String[] args) { System.out.printf("Uploaded session file: %s%n", REMOTE_FILE_PATH_2); System.out.println("Listing session files for the session at path '/remote'..."); - SessionDirectoryListResponse files = sessionFilesClient.getSessionFiles(agentName, sessionId, "/remote", + SessionDirectoryListResponse files = sessionFilesClient.listSessionFiles(agentName, sessionId, "/remote", AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null); for (SessionDirectoryEntry entry : files.getEntries()) { System.out.printf(" - name=%s, size=%d, isDirectory=%s%n", entry.getName(), entry.getSize(), diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index 352f699b28c1..83bd42f1057f 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: f32adc3f8ea3888eca6a43649930760e29b9c915 +commit: 1b882c3355c140b1f78ce3d9645d644983d4a9d6 repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents From 99fc6bd0f6ef825772bc2f777ce864dd4620a437 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Wed, 27 May 2026 11:36:11 -0700 Subject: [PATCH 47/74] update readme --- sdk/ai/azure-ai-projects/README.md | 90 ++++++++++-------------------- 1 file changed, 31 insertions(+), 59 deletions(-) diff --git a/sdk/ai/azure-ai-projects/README.md b/sdk/ai/azure-ai-projects/README.md index fe5637d2259e..06002a475a60 100644 --- a/sdk/ai/azure-ai-projects/README.md +++ b/sdk/ai/azure-ai-projects/README.md @@ -648,21 +648,17 @@ Skills are a preview feature. The `SkillsClient` automatically sets the `Skills= #### Create a skill -```java com.azure.ai.projects.SkillsSample.createSkill +```java com.azure.ai.projects.SkillsSample.createSkillVersion -Map metadata = new HashMap<>(); -metadata.put("domain", "support"); - -SkillDetails skill = skillsClient.createSkill( - "product-support-skill", +SkillInlineContent inlineContent = new SkillInlineContent( "Answers product support questions using company policy.", - "You help answer product support questions using company policy and product guidance.", - metadata + "You help answer product support questions using company policy and product guidance." ); -System.out.println("Created skill: " + skill.getName()); -System.out.println("Skill ID: " + skill.getSkillId()); -System.out.println("Blob present: " + skill.isBlobPresent()); +SkillVersion skillVersion = skillsClient.createSkillVersion("product-support-skill", inlineContent, true); + +System.out.println("Created skill version: " + skillVersion.getName()); +System.out.println("Version: " + skillVersion.getVersion()); ``` @@ -671,11 +667,11 @@ System.out.println("Blob present: " + skill.isBlobPresent()); ```java com.azure.ai.projects.SkillsSample.getSkill String skillName = "product-support-skill"; -SkillDetails skill = skillsClient.getSkill(skillName); +Skill skill = skillsClient.getSkill(skillName); System.out.println("Skill name: " + skill.getName()); -System.out.println("Skill ID: " + skill.getSkillId()); System.out.println("Description: " + skill.getDescription()); +System.out.println("Default version: " + skill.getDefaultVersion()); ``` @@ -685,20 +681,10 @@ System.out.println("Description: " + skill.getDescription()); String skillName = "product-support-skill"; -Map metadata = new HashMap<>(); -metadata.put("domain", "support"); -metadata.put("status", "updated"); - -SkillDetails updated = skillsClient.updateSkill( - skillName, - "Updated description for the sample skill.", - null, - metadata -); +Skill updated = skillsClient.updateSkill(skillName, "2"); System.out.println("Updated skill: " + updated.getName()); -System.out.println("Description: " + updated.getDescription()); -System.out.println("Metadata: " + updated.getMetadata()); +System.out.println("Default version: " + updated.getDefaultVersion()); ``` @@ -706,11 +692,10 @@ System.out.println("Metadata: " + updated.getMetadata()); ```java com.azure.ai.projects.SkillsSample.listSkills -PagedIterable skills = skillsClient.listSkills(); -for (SkillDetails skill : skills) { +PagedIterable skills = skillsClient.listSkills(); +for (Skill skill : skills) { System.out.println("Skill name: " + skill.getName()); - System.out.println("Skill ID: " + skill.getSkillId()); - System.out.println("Blob present: " + skill.isBlobPresent()); + System.out.println("Description: " + skill.getDescription()); System.out.println("-------------------------------------------------"); } @@ -729,21 +714,18 @@ System.out.println("Deleted skill: " + skillName); #### Asynchronous skills operations -```java com.azure.ai.projects.SkillsAsyncSample.createSkill - -Map metadata = new HashMap<>(); -metadata.put("domain", "support"); +```java com.azure.ai.projects.SkillsAsyncSample.createSkillVersion -return skillsAsyncClient.createSkill( - "product-support-skill", +SkillInlineContent inlineContent = new SkillInlineContent( "Answers product support questions using company policy.", - "You help answer product support questions using company policy and product guidance.", - metadata -).doOnNext(skill -> { - System.out.println("Created skill: " + skill.getName()); - System.out.println("Skill ID: " + skill.getSkillId()); - System.out.println("Blob present: " + skill.isBlobPresent()); -}); + "You help answer product support questions using company policy and product guidance." +); + +return skillsAsyncClient.createSkillVersion("product-support-skill", inlineContent, true) + .doOnNext(skillVersion -> { + System.out.println("Created skill version: " + skillVersion.getName()); + System.out.println("Version: " + skillVersion.getVersion()); + }); ``` @@ -754,8 +736,8 @@ String skillName = "product-support-skill"; return skillsAsyncClient.getSkill(skillName) .doOnNext(skill -> { System.out.println("Skill name: " + skill.getName()); - System.out.println("Skill ID: " + skill.getSkillId()); System.out.println("Description: " + skill.getDescription()); + System.out.println("Default version: " + skill.getDefaultVersion()); }); ``` @@ -764,20 +746,11 @@ return skillsAsyncClient.getSkill(skillName) String skillName = "product-support-skill"; -Map metadata = new HashMap<>(); -metadata.put("domain", "support"); -metadata.put("status", "updated"); - -return skillsAsyncClient.updateSkill( - skillName, - "Updated description for the sample skill.", - null, - metadata -).doOnNext(updated -> { - System.out.println("Updated skill: " + updated.getName()); - System.out.println("Description: " + updated.getDescription()); - System.out.println("Metadata: " + updated.getMetadata()); -}); +return skillsAsyncClient.updateSkill(skillName, "2") + .doOnNext(updated -> { + System.out.println("Updated skill: " + updated.getName()); + System.out.println("Default version: " + updated.getDefaultVersion()); + }); ``` @@ -786,8 +759,7 @@ return skillsAsyncClient.updateSkill( return skillsAsyncClient.listSkills() .doOnNext(skill -> { System.out.println("Skill name: " + skill.getName()); - System.out.println("Skill ID: " + skill.getSkillId()); - System.out.println("Blob present: " + skill.isBlobPresent()); + System.out.println("Description: " + skill.getDescription()); System.out.println("-------------------------------------------------"); }); From e0651a5eac6addb0d0ddd0e562354e5b49c47cf8 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Wed, 27 May 2026 13:27:41 -0700 Subject: [PATCH 48/74] version update --- sdk/ai/azure-ai-agents/CHANGELOG.md | 2 +- sdk/ai/azure-ai-agents/README.md | 2 +- sdk/ai/azure-ai-agents/pom.xml | 2 +- sdk/ai/azure-ai-projects/CHANGELOG.md | 2 +- sdk/ai/azure-ai-projects/README.md | 2 +- sdk/ai/azure-ai-projects/pom.xml | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sdk/ai/azure-ai-agents/CHANGELOG.md b/sdk/ai/azure-ai-agents/CHANGELOG.md index e63fbb6932de..e6104b0c2ae6 100644 --- a/sdk/ai/azure-ai-agents/CHANGELOG.md +++ b/sdk/ai/azure-ai-agents/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.1.0-beta.2 (Unreleased) +## 2.1.0 (Unreleased) ### Features Added diff --git a/sdk/ai/azure-ai-agents/README.md b/sdk/ai/azure-ai-agents/README.md index 911837ba0645..5224cc181536 100644 --- a/sdk/ai/azure-ai-agents/README.md +++ b/sdk/ai/azure-ai-agents/README.md @@ -25,7 +25,7 @@ Various documentation is available to help you get started com.azure azure-ai-agents - 2.1.0-beta.2 + 2.1.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/ai/azure-ai-agents/pom.xml b/sdk/ai/azure-ai-agents/pom.xml index 2bd5bc6b788d..20334354d0bd 100644 --- a/sdk/ai/azure-ai-agents/pom.xml +++ b/sdk/ai/azure-ai-agents/pom.xml @@ -14,7 +14,7 @@ com.azure azure-ai-agents - 2.1.0-beta.2 + 2.1.0 jar Microsoft Azure SDK for Agents diff --git a/sdk/ai/azure-ai-projects/CHANGELOG.md b/sdk/ai/azure-ai-projects/CHANGELOG.md index 538c93642766..db689bfb3570 100644 --- a/sdk/ai/azure-ai-projects/CHANGELOG.md +++ b/sdk/ai/azure-ai-projects/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.1.0-beta.2 (Unreleased) +## 2.1.0 (Unreleased) ### Features Added diff --git a/sdk/ai/azure-ai-projects/README.md b/sdk/ai/azure-ai-projects/README.md index 06002a475a60..aace8f13258c 100644 --- a/sdk/ai/azure-ai-projects/README.md +++ b/sdk/ai/azure-ai-projects/README.md @@ -31,7 +31,7 @@ Various documentation is available to help you get started com.azure azure-ai-projects - 2.1.0-beta.2 + 2.1.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/ai/azure-ai-projects/pom.xml b/sdk/ai/azure-ai-projects/pom.xml index 5e4b3e5ff169..5fc0c5642698 100644 --- a/sdk/ai/azure-ai-projects/pom.xml +++ b/sdk/ai/azure-ai-projects/pom.xml @@ -14,7 +14,7 @@ Code generated by Microsoft (R) TypeSpec Code Generator. com.azure azure-ai-projects - 2.1.0-beta.2 + 2.1.0 jar Microsoft Azure SDK for Projects @@ -73,7 +73,7 @@ Code generated by Microsoft (R) TypeSpec Code Generator. com.azure azure-ai-agents - 2.1.0-beta.2 + 2.1.0 com.openai From ccb33fb8a0dbeb749a4796b69a8140ea13ba700a Mon Sep 17 00:00:00 2001 From: kaylieee Date: Wed, 27 May 2026 14:08:41 -0700 Subject: [PATCH 49/74] update version txt --- eng/versioning/version_client.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index 1a4e96ae82a3..414beb9fe326 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -37,7 +37,7 @@ com.azure:azure-data-sdk-parent;1.3.0;1.3.0 com.azure:azure-sdk-parent;1.6.0;1.6.0 com.azure:azure-client-sdk-parent;1.7.0;1.7.0 com.azure:azure-ai-agents-persistent;1.0.0-beta.2;1.0.0-beta.3 -com.azure:azure-ai-agents;2.0.1;2.1.0-beta.2 +com.azure:azure-ai-agents;2.0.1;2.1.0 com.azure:azure-ai-anomalydetector;3.0.0-beta.5;3.0.0-beta.6 com.azure:azure-ai-contentsafety;1.0.18;1.1.0-beta.1 com.azure:azure-ai-contentunderstanding;1.0.0;1.1.0-beta.2 @@ -53,7 +53,7 @@ com.azure:azure-ai-openai-assistants;1.0.0-beta.5;1.0.0-beta.6 com.azure:azure-ai-openai-realtime;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-ai-openai-stainless;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-ai-personalizer;1.0.0-beta.1;1.0.0-beta.2 -com.azure:azure-ai-projects;2.0.1;2.1.0-beta.2 +com.azure:azure-ai-projects;2.0.1;2.1.0 com.azure:azure-ai-speech-transcription;1.0.0;1.1.0-beta.1 com.azure:azure-ai-textanalytics;5.5.13;5.6.0-beta.1 com.azure:azure-ai-textanalytics-perf;1.0.0-beta.1;1.0.0-beta.1 From d80e2187a444d3bdf8df7a491face8c640bc012d Mon Sep 17 00:00:00 2001 From: kaylieee Date: Wed, 27 May 2026 14:29:38 -0700 Subject: [PATCH 50/74] rename uri to url --- .../models/EvaluatorCredentialRequest.java | 48 +++++++++---------- .../models/ModelCredentialRequest.java | 46 +++++++++--------- .../ai/projects/models/ModelVersion.java | 46 +++++++++--------- .../META-INF/azure-ai-projects_metadata.json | 2 +- sdk/ai/azure-ai-projects/tsp-location.yaml | 2 +- 5 files changed, 72 insertions(+), 72 deletions(-) diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java index 503743e1d861..43cb5f306862 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java @@ -17,31 +17,14 @@ @Immutable public final class EvaluatorCredentialRequest implements JsonSerializable { - /* - * The blob URI for the evaluator storage. Example: `https://account.blob.core.windows.net:443/container` - */ - @Generated - private final String blobUri; - /** * Creates an instance of EvaluatorCredentialRequest class. * - * @param blobUri the blobUri value to set. - */ - @Generated - public EvaluatorCredentialRequest(String blobUri) { - this.blobUri = blobUri; - } - - /** - * Get the blobUri property: The blob URI for the evaluator storage. Example: - * `https://account.blob.core.windows.net:443/container`. - * - * @return the blobUri value. + * @param blobUrl the blobUrl value to set. */ @Generated - public String getBlobUri() { - return this.blobUri; + public EvaluatorCredentialRequest(String blobUrl) { + this.blobUrl = blobUrl; } /** @@ -51,7 +34,7 @@ public String getBlobUri() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("blob_uri", this.blobUri); + jsonWriter.writeStringField("blob_uri", this.blobUrl); return jsonWriter.writeEndObject(); } @@ -67,17 +50,34 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { @Generated public static EvaluatorCredentialRequest fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - String blobUri = null; + String blobUrl = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("blob_uri".equals(fieldName)) { - blobUri = reader.getString(); + blobUrl = reader.getString(); } else { reader.skipChildren(); } } - return new EvaluatorCredentialRequest(blobUri); + return new EvaluatorCredentialRequest(blobUrl); }); } + + /* + * The blob URI for the evaluator storage. Example: `https://account.blob.core.windows.net:443/container` + */ + @Generated + private final String blobUrl; + + /** + * Get the blobUrl property: The blob URI for the evaluator storage. Example: + * `https://account.blob.core.windows.net:443/container`. + * + * @return the blobUrl value. + */ + @Generated + public String getBlobUrl() { + return this.blobUrl; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java index 4cc4dc3432a3..dccccac0dee5 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java @@ -17,30 +17,14 @@ @Immutable public final class ModelCredentialRequest implements JsonSerializable { - /* - * Blob URI of the model asset to fetch credentials for. - */ - @Generated - private final String blobUri; - /** * Creates an instance of ModelCredentialRequest class. * - * @param blobUri the blobUri value to set. - */ - @Generated - public ModelCredentialRequest(String blobUri) { - this.blobUri = blobUri; - } - - /** - * Get the blobUri property: Blob URI of the model asset to fetch credentials for. - * - * @return the blobUri value. + * @param blobUrl the blobUrl value to set. */ @Generated - public String getBlobUri() { - return this.blobUri; + public ModelCredentialRequest(String blobUrl) { + this.blobUrl = blobUrl; } /** @@ -50,7 +34,7 @@ public String getBlobUri() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("blobUri", this.blobUri); + jsonWriter.writeStringField("blobUri", this.blobUrl); return jsonWriter.writeEndObject(); } @@ -66,17 +50,33 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { @Generated public static ModelCredentialRequest fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - String blobUri = null; + String blobUrl = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("blobUri".equals(fieldName)) { - blobUri = reader.getString(); + blobUrl = reader.getString(); } else { reader.skipChildren(); } } - return new ModelCredentialRequest(blobUri); + return new ModelCredentialRequest(blobUrl); }); } + + /* + * Blob URI of the model asset to fetch credentials for. + */ + @Generated + private final String blobUrl; + + /** + * Get the blobUrl property: Blob URI of the model asset to fetch credentials for. + * + * @return the blobUrl value. + */ + @Generated + public String getBlobUrl() { + return this.blobUrl; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelVersion.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelVersion.java index 27d99e5f2da8..f152b1b39b6e 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelVersion.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelVersion.java @@ -25,12 +25,6 @@ public final class ModelVersion implements JsonSerializable { @Generated private SystemDataV3 systemData; - /* - * URI of the model artifact in blob storage - */ - @Generated - private final String blobUri; - /* * The weight type of the model */ @@ -102,11 +96,11 @@ public final class ModelVersion implements JsonSerializable { /** * Creates an instance of ModelVersion class. * - * @param blobUri the blobUri value to set. + * @param blobUrl the blobUrl value to set. */ @Generated - public ModelVersion(String blobUri) { - this.blobUri = blobUri; + public ModelVersion(String blobUrl) { + this.blobUrl = blobUrl; } /** @@ -119,16 +113,6 @@ public SystemDataV3 getSystemData() { return this.systemData; } - /** - * Get the blobUri property: URI of the model artifact in blob storage. - * - * @return the blobUri value. - */ - @Generated - public String getBlobUri() { - return this.blobUri; - } - /** * Get the weightType property: The weight type of the model. * @@ -322,7 +306,7 @@ public ModelVersion setTags(Map tags) { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("blobUri", this.blobUri); + jsonWriter.writeStringField("blobUri", this.blobUrl); jsonWriter.writeStringField("weightType", this.weightType == null ? null : this.weightType.toString()); jsonWriter.writeStringField("baseModel", this.baseModel); jsonWriter.writeJsonField("source", this.source); @@ -344,7 +328,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { @Generated public static ModelVersion fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - String blobUri = null; + String blobUrl = null; String name = null; String version = null; SystemDataV3 systemData = null; @@ -361,7 +345,7 @@ public static ModelVersion fromJson(JsonReader jsonReader) throws IOException { String fieldName = reader.getFieldName(); reader.nextToken(); if ("blobUri".equals(fieldName)) { - blobUri = reader.getString(); + blobUrl = reader.getString(); } else if ("name".equals(fieldName)) { name = reader.getString(); } else if ("version".equals(fieldName)) { @@ -390,7 +374,7 @@ public static ModelVersion fromJson(JsonReader jsonReader) throws IOException { reader.skipChildren(); } } - ModelVersion deserializedModelVersion = new ModelVersion(blobUri); + ModelVersion deserializedModelVersion = new ModelVersion(blobUrl); deserializedModelVersion.name = name; deserializedModelVersion.version = version; deserializedModelVersion.systemData = systemData; @@ -406,4 +390,20 @@ public static ModelVersion fromJson(JsonReader jsonReader) throws IOException { return deserializedModelVersion; }); } + + /* + * URI of the model artifact in blob storage + */ + @Generated + private final String blobUrl; + + /** + * Get the blobUrl property: URI of the model artifact in blob storage. + * + * @return the blobUrl value. + */ + @Generated + public String getBlobUrl() { + return this.blobUrl; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json index 1ad5aa5619af..1508366c964b 100644 --- a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json +++ b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"3ba2dc51ca7d","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FilesFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.GitHubIssueOpenedRoutineTrigger":"Azure.AI.Projects.GitHubIssueOpenedRoutineTrigger","com.azure.ai.projects.models.GraderAzureAIEvaluator":"Azure.AI.Projects.GraderAzureAIEvaluator","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunDiagnostics":"Azure.AI.Projects.RoutineRunDiagnostics","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator":"Azure.AI.Projects.TestingCriterionAzureAIEvaluator","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FilesFileDetails.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"86e7d79af6be","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FilesFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.GitHubIssueOpenedRoutineTrigger":"Azure.AI.Projects.GitHubIssueOpenedRoutineTrigger","com.azure.ai.projects.models.GraderAzureAIEvaluator":"Azure.AI.Projects.GraderAzureAIEvaluator","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunDiagnostics":"Azure.AI.Projects.RoutineRunDiagnostics","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator":"Azure.AI.Projects.TestingCriterionAzureAIEvaluator","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FilesFileDetails.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml b/sdk/ai/azure-ai-projects/tsp-location.yaml index c3793adc1b28..2107fb1d97f5 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: f32adc3f8ea3888eca6a43649930760e29b9c915 +commit: 4528d023eb4e69a896e90b51a0bfd819a2d9628a repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From 62fa995b7d71a2376041dac5ffaf79ec547f4299 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Wed, 27 May 2026 14:46:26 -0700 Subject: [PATCH 51/74] update samples --- .../samples/java/com/azure/ai/projects/ModelsAsyncSample.java | 2 +- .../src/samples/java/com/azure/ai/projects/ModelsSample.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsAsyncSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsAsyncSample.java index f6bd566fe6d0..55ef96d629a4 100644 --- a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsAsyncSample.java +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsAsyncSample.java @@ -46,7 +46,7 @@ public static Mono listLatestModelVersions() { found.set(true); System.out.printf("Model name: %s%n", modelVersion.getName()); System.out.printf("Model version: %s%n", modelVersion.getVersion()); - System.out.printf("Blob URI: %s%n", modelVersion.getBlobUri()); + System.out.printf("Blob URI: %s%n", modelVersion.getBlobUrl()); System.out.println("-------------------------------------------------"); }) .then(Mono.fromRunnable(() -> { diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsSample.java index 5b0b4b3be636..9897f4569ad8 100644 --- a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsSample.java +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsSample.java @@ -40,7 +40,7 @@ public static void listLatestModelVersions() { count++; System.out.printf("Model name: %s%n", modelVersion.getName()); System.out.printf("Model version: %s%n", modelVersion.getVersion()); - System.out.printf("Blob URI: %s%n", modelVersion.getBlobUri()); + System.out.printf("Blob URI: %s%n", modelVersion.getBlobUrl()); System.out.println("-------------------------------------------------"); } if (count == 0) { From 3dcd53c13af82bc244a2e937a86f8cca07675af7 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Wed, 27 May 2026 15:56:07 -0700 Subject: [PATCH 52/74] re-emit agents, update samples and tests --- .../src/main/java/AgentsCustomizations.java | 16 - .../agents/AgentSessionFilesAsyncClient.java | 136 ++- .../ai/agents/AgentSessionFilesClient.java | 107 +- .../azure/ai/agents/AgentsAsyncClient.java | 494 ++++---- .../com/azure/ai/agents/AgentsClient.java | 491 ++++---- .../azure/ai/agents/ToolboxesAsyncClient.java | 191 ++- .../com/azure/ai/agents/ToolboxesClient.java | 190 ++- .../implementation/AgentSessionFilesImpl.java | 262 +++- .../ai/agents/implementation/AgentsImpl.java | 1085 +++++++++-------- .../agents/implementation/ToolboxesImpl.java | 134 +- .../ai/agents/models/AgentIdentifier.java | 12 +- .../ai/agents/models/AgentSessionStatus.java | 6 - .../ai/agents/models/CandidateFileInfo.java | 4 +- .../ai/agents/models/CandidateMetadata.java | 24 +- .../ai/agents/models/CandidateResults.java | 4 +- .../azure/ai/agents/models/DatasetInfo.java | 8 +- .../models/FoundryFeaturesOptInKeys.java | 24 +- .../models/OptimizationAgentDefinition.java | 12 +- .../agents/models/OptimizationCandidate.java | 36 +- .../ai/agents/models/OptimizationJob.java | 9 +- .../agents/models/OptimizationJobInputs.java | 8 +- .../models/OptimizationJobProgress.java | 12 +- .../agents/models/OptimizationJobResult.java | 4 +- .../ai/agents/models/OptimizationOptions.java | 26 +- .../agents/models/OptimizationTaskResult.java | 75 +- .../models/PromoteCandidateRequest.java | 8 +- .../models/PromoteCandidateResponse.java | 16 +- .../azure/ai/agents/models/PromotionInfo.java | 12 +- .../models/SessionDirectoryListResponse.java | 105 -- .../META-INF/azure-ai-agents_metadata.json | 2 +- .../hostedagents/SessionFilesAsyncSample.java | 16 +- .../hostedagents/SessionFilesSample.java | 6 +- .../toolboxes/CreateToolboxVersion.java | 4 +- .../ai/agents/toolboxes/DeleteToolbox.java | 3 +- .../toolboxes/DeleteToolboxVersion.java | 4 +- .../azure/ai/agents/toolboxes/GetToolbox.java | 4 +- .../agents/toolboxes/GetToolboxVersion.java | 4 +- .../agents/toolboxes/ListToolboxVersions.java | 4 +- .../ai/agents/toolboxes/ListToolboxes.java | 4 +- .../toolboxes/ToolboxSearchToolboxSample.java | 8 +- .../toolboxes/ToolboxesAsyncSample.java | 28 +- .../ai/agents/toolboxes/UpdateToolbox.java | 4 +- .../agents/toolboxes/ToolboxSamplesTests.java | 68 +- sdk/ai/azure-ai-agents/tsp-location.yaml | 2 +- 44 files changed, 1894 insertions(+), 1778 deletions(-) delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java diff --git a/sdk/ai/azure-ai-agents/customizations/src/main/java/AgentsCustomizations.java b/sdk/ai/azure-ai-agents/customizations/src/main/java/AgentsCustomizations.java index f96d1cfea5aa..592020d63a72 100644 --- a/sdk/ai/azure-ai-agents/customizations/src/main/java/AgentsCustomizations.java +++ b/sdk/ai/azure-ai-agents/customizations/src/main/java/AgentsCustomizations.java @@ -15,7 +15,6 @@ public class AgentsCustomizations extends Customization { public void customize(LibraryCustomization libraryCustomization, Logger logger) { renameImageGenToolSize(libraryCustomization, logger); modifyPollingStrategies(libraryCustomization, logger); - addToolboxesV1PreviewEnumValue(libraryCustomization, logger); } private void renameImageGenToolSize(LibraryCustomization customization, Logger logger) { @@ -54,19 +53,4 @@ private void modifyPollingStrategies(LibraryCustomization customization, Logger clazz.addMember(StaticJavaParser.parseMethodDeclaration("@Override public PollResponse poll(PollingContext pollingContext, TypeReference pollResponseType) { return AgentsServicePollUtils.remapStatus(super.poll(pollingContext, pollResponseType)); }")); })); } - - private void addToolboxesV1PreviewEnumValue(LibraryCustomization customization, Logger logger) { - customization.getClass("com.azure.ai.agents.models", "FoundryFeaturesOptInKeys") - .customizeAst(ast -> ast.getEnumByName("FoundryFeaturesOptInKeys") - .ifPresent(clazz -> { - // Add TOOLBOXES_V1_PREVIEW enum constant if not already present - boolean alreadyExists = clazz.getEntries().stream() - .anyMatch(entry -> "TOOLBOXES_V1_PREVIEW".equals(entry.getName().getIdentifier())); - if (!alreadyExists) { - clazz.addEnumConstant("TOOLBOXES_V1_PREVIEW") - .addArgument("\"Toolboxes=V1Preview\"") - .setJavadocComment("Toolboxes V1 Preview."); - } - })); - } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java index 57f36fd3dfa9..6d8b9e29ee02 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java @@ -5,7 +5,8 @@ import com.azure.ai.agents.implementation.AgentSessionFilesImpl; import com.azure.ai.agents.models.AgentDefinitionOptInKeys; -import com.azure.ai.agents.models.SessionDirectoryListResponse; +import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.agents.models.SessionDirectoryEntry; import com.azure.ai.agents.models.SessionFileWriteResponse; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; @@ -16,10 +17,15 @@ import com.azure.core.exception.ResourceModifiedException; import com.azure.core.exception.ResourceNotFoundException; import com.azure.core.http.HttpHeaderName; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; import com.azure.core.http.rest.RequestOptions; import com.azure.core.http.rest.Response; import com.azure.core.util.BinaryData; import com.azure.core.util.FluxUtil; +import java.util.stream.Collectors; +import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; /** @@ -360,6 +366,29 @@ public Mono deleteSessionFile(String agentName, String agentSessionId, Str /** * List files and directories at a given path in the session sandbox. * Returns only the immediate children of the specified directory (non-recursive). + * If path is not provided, lists the session home directory. + *

    Query Parameters

    + * + * + * + * + * + * + * + * + *
    Query Parameters
    NameTypeRequiredDescription
    pathStringNoThe directory path to list, relative to the session home + * directory. Defaults to the home directory if not provided.
    limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
    orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
    afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
    beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
    + * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    * * @@ -377,93 +406,138 @@ public Mono deleteSessionFile(String agentName, String agentSessionId, Str *
          * {@code
          * {
    -     *     path: String (Required)
    -     *     entries (Required): [
    -     *          (Required){
    -     *             name: String (Required)
    -     *             size: long (Required)
    -     *             is_directory: boolean (Required)
    -     *             modified_time: long (Required)
    -     *         }
    -     *     ]
    +     *     name: String (Required)
    +     *     size: long (Required)
    +     *     is_directory: boolean (Required)
    +     *     modified_time: long (Required)
          * }
          * }
          * 
    * * @param agentName The name of the agent. * @param agentSessionId The session ID. - * @param path The directory path to list, relative to the session home directory. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response from listing a directory in a session sandbox along with {@link Response} on successful - * completion of {@link Mono}. + * @return the paginated response with {@link PagedFlux}. */ @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listSessionFilesWithResponse(String agentName, String agentSessionId, String path, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listSessionFiles(String agentName, String agentSessionId, RequestOptions requestOptions) { - return this.serviceClient.listSessionFilesWithResponseAsync(agentName, agentSessionId, path, requestOptions); + return this.serviceClient.listSessionFilesAsync(agentName, agentSessionId, requestOptions); } /** * List files and directories at a given path in the session sandbox. * Returns only the immediate children of the specified directory (non-recursive). + * If path is not provided, lists the session home directory. * * @param agentName The name of the agent. * @param agentSessionId The session ID. - * @param path The directory path to list, relative to the session home directory. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. + * @param path The directory path to list, relative to the session home directory. Defaults to the home directory if + * not provided. * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, * conversations, sessions) to a specific end user. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response from listing a directory in a session sandbox on successful completion of {@link Mono}. + * @return the paginated response with {@link PagedFlux}. */ @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listSessionFiles(String agentName, String agentSessionId, String path, - AgentDefinitionOptInKeys foundryFeatures, String userIsolationKey) { - // Generated convenience method for listSessionFilesWithResponse + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listSessionFiles(String agentName, String agentSessionId, + AgentDefinitionOptInKeys foundryFeatures, String path, String userIsolationKey, Integer limit, PageOrder order, + String after, String before) { + // Generated convenience method for listSessionFiles RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } + if (path != null) { + requestOptions.addQueryParam("path", path, false); + } if (userIsolationKey != null) { requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); } - return listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(SessionDirectoryListResponse.class)); + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + PagedFlux pagedFluxResponse = listSessionFiles(agentName, agentSessionId, requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux + .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(SessionDirectoryEntry.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); } /** * List files and directories at a given path in the session sandbox. * Returns only the immediate children of the specified directory (non-recursive). + * If path is not provided, lists the session home directory. * * @param agentName The name of the agent. * @param agentSessionId The session ID. - * @param path The directory path to list, relative to the session home directory. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response from listing a directory in a session sandbox on successful completion of {@link Mono}. + * @return the paginated response with {@link PagedFlux}. */ @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listSessionFiles(String agentName, String agentSessionId, String path) { - // Generated convenience method for listSessionFilesWithResponse + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listSessionFiles(String agentName, String agentSessionId) { + // Generated convenience method for listSessionFiles RequestOptions requestOptions = new RequestOptions(); - return listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(SessionDirectoryListResponse.class)); + PagedFlux pagedFluxResponse = listSessionFiles(agentName, agentSessionId, requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux + .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(SessionDirectoryEntry.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java index ead60b96fd73..e34cd1307ef5 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java @@ -5,7 +5,8 @@ import com.azure.ai.agents.implementation.AgentSessionFilesImpl; import com.azure.ai.agents.models.AgentDefinitionOptInKeys; -import com.azure.ai.agents.models.SessionDirectoryListResponse; +import com.azure.ai.agents.models.PageOrder; +import com.azure.ai.agents.models.SessionDirectoryEntry; import com.azure.ai.agents.models.SessionFileWriteResponse; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; @@ -16,6 +17,7 @@ import com.azure.core.exception.ResourceModifiedException; import com.azure.core.exception.ResourceNotFoundException; import com.azure.core.http.HttpHeaderName; +import com.azure.core.http.rest.PagedIterable; import com.azure.core.http.rest.RequestOptions; import com.azure.core.http.rest.Response; import com.azure.core.util.BinaryData; @@ -351,6 +353,29 @@ public void deleteSessionFile(String agentName, String agentSessionId, String pa /** * List files and directories at a given path in the session sandbox. * Returns only the immediate children of the specified directory (non-recursive). + * If path is not provided, lists the session home directory. + *

    Query Parameters

    + *
    Header Parameters
    + * + * + * + * + * + * + * + *
    Query Parameters
    NameTypeRequiredDescription
    pathStringNoThe directory path to list, relative to the session home + * directory. Defaults to the home directory if not provided.
    limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
    orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
    afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
    beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
    + * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    * * @@ -368,92 +393,114 @@ public void deleteSessionFile(String agentName, String agentSessionId, String pa *
          * {@code
          * {
    -     *     path: String (Required)
    -     *     entries (Required): [
    -     *          (Required){
    -     *             name: String (Required)
    -     *             size: long (Required)
    -     *             is_directory: boolean (Required)
    -     *             modified_time: long (Required)
    -     *         }
    -     *     ]
    +     *     name: String (Required)
    +     *     size: long (Required)
    +     *     is_directory: boolean (Required)
    +     *     modified_time: long (Required)
          * }
          * }
          * 
    * * @param agentName The name of the agent. * @param agentSessionId The session ID. - * @param path The directory path to list, relative to the session home directory. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response from listing a directory in a session sandbox along with {@link Response}. + * @return the paginated response with {@link PagedIterable}. */ @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response listSessionFilesWithResponse(String agentName, String agentSessionId, String path, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listSessionFiles(String agentName, String agentSessionId, RequestOptions requestOptions) { - return this.serviceClient.listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions); + return this.serviceClient.listSessionFiles(agentName, agentSessionId, requestOptions); } /** * List files and directories at a given path in the session sandbox. * Returns only the immediate children of the specified directory (non-recursive). + * If path is not provided, lists the session home directory. * * @param agentName The name of the agent. * @param agentSessionId The session ID. - * @param path The directory path to list, relative to the session home directory. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. + * @param path The directory path to list, relative to the session home directory. Defaults to the home directory if + * not provided. * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, * conversations, sessions) to a specific end user. + * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the + * default is 20. + * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` + * for descending order. + * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list. + * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response from listing a directory in a session sandbox. + * @return the paginated response with {@link PagedIterable}. */ @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public SessionDirectoryListResponse listSessionFiles(String agentName, String agentSessionId, String path, - AgentDefinitionOptInKeys foundryFeatures, String userIsolationKey) { - // Generated convenience method for listSessionFilesWithResponse + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listSessionFiles(String agentName, String agentSessionId, + AgentDefinitionOptInKeys foundryFeatures, String path, String userIsolationKey, Integer limit, PageOrder order, + String after, String before) { + // Generated convenience method for listSessionFiles RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } + if (path != null) { + requestOptions.addQueryParam("path", path, false); + } if (userIsolationKey != null) { requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); } - return listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).getValue() - .toObject(SessionDirectoryListResponse.class); + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (order != null) { + requestOptions.addQueryParam("order", order.toString(), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + return serviceClient.listSessionFiles(agentName, agentSessionId, requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(SessionDirectoryEntry.class)); } /** * List files and directories at a given path in the session sandbox. * Returns only the immediate children of the specified directory (non-recursive). + * If path is not provided, lists the session home directory. * * @param agentName The name of the agent. * @param agentSessionId The session ID. - * @param path The directory path to list, relative to the session home directory. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response from listing a directory in a session sandbox. + * @return the paginated response with {@link PagedIterable}. */ @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public SessionDirectoryListResponse listSessionFiles(String agentName, String agentSessionId, String path) { - // Generated convenience method for listSessionFilesWithResponse + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listSessionFiles(String agentName, String agentSessionId) { + // Generated convenience method for listSessionFiles RequestOptions requestOptions = new RequestOptions(); - return listSessionFilesWithResponse(agentName, agentSessionId, path, requestOptions).getValue() - .toObject(SessionDirectoryListResponse.class); + return serviceClient.listSessionFiles(agentName, agentSessionId, requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(SessionDirectoryEntry.class)); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java index 1be995d149be..57661150e2d8 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java @@ -1872,7 +1872,7 @@ Mono> internalDeleteAgentVersionWithResponse(String agentNa * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -1940,7 +1940,7 @@ public Mono> getSessionWithResponse(String agentName, Strin * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -2928,7 +2928,7 @@ public Mono> downloadAgentCodeWithResponse(String agentName * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -3474,8 +3474,8 @@ public PagedFlux listAgentConversations(Integer limit, PageOrder o * + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * *
    Header Parameters
    Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview".
    Operation-IdStringNoClient-generated unique ID for idempotent retries. When * absent, the server creates the job unconditionally.
    @@ -3486,25 +3486,25 @@ public PagedFlux listAgentConversations(Integer limit, PageOrder o * {@code * { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * } * } @@ -3534,13 +3534,13 @@ public PagedFlux listAgentConversations(Integer limit, PageOrder o * } * result (Optional): { * baseline (Optional): { - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -3555,35 +3555,35 @@ public PagedFlux listAgentConversations(Integer limit, PageOrder o * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * best (Optional): (recursive schema, see best above) @@ -3591,52 +3591,52 @@ public PagedFlux listAgentConversations(Integer limit, PageOrder o * (recursive schema, see above) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * warnings (Optional): [ * String (Optional) * ] - * allTargetAttributesFailed: Boolean (Optional) + * all_target_attributes_failed: Boolean (Optional) * } * inputs (Optional): { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): (recursive schema, see options above) * } - * createdAt: long (Required) - * updatedAt: Long (Optional) + * created_at: long (Required) + * updated_at: Long (Optional) * progress (Optional): { - * currentIteration: int (Required) - * bestScore: double (Required) - * elapsedSeconds: double (Required) + * current_iteration: int (Required) + * best_score: double (Required) + * elapsed_seconds: double (Required) * } * dataset (Optional): { * name: String (Optional) * version: String (Optional) - * taskCount: int (Required) - * isInline: boolean (Required) + * task_count: int (Required) + * is_inline: boolean (Required) * } * } * } *
    * - * @param body The optimization job inputs. + * @param inputs The optimization job inputs. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -3648,9 +3648,9 @@ public PagedFlux listAgentConversations(Integer limit, PageOrder o */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createOptimizationJobWithResponse(BinaryData body, + public Mono> createOptimizationJobWithResponse(BinaryData inputs, RequestOptions requestOptions) { - return this.serviceClient.createOptimizationJobWithResponseAsync(body, requestOptions); + return this.serviceClient.createOptimizationJobWithResponseAsync(inputs, requestOptions); } /** @@ -3664,8 +3664,8 @@ public Mono> createOptimizationJobWithResponse(BinaryData b * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -3692,13 +3692,13 @@ public Mono> createOptimizationJobWithResponse(BinaryData b * } * result (Optional): { * baseline (Optional): { - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -3713,35 +3713,35 @@ public Mono> createOptimizationJobWithResponse(BinaryData b * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * best (Optional): (recursive schema, see best above) @@ -3749,46 +3749,46 @@ public Mono> createOptimizationJobWithResponse(BinaryData b * (recursive schema, see above) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * warnings (Optional): [ * String (Optional) * ] - * allTargetAttributesFailed: Boolean (Optional) + * all_target_attributes_failed: Boolean (Optional) * } * inputs (Optional): { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): (recursive schema, see options above) * } - * createdAt: long (Required) - * updatedAt: Long (Optional) + * created_at: long (Required) + * updated_at: Long (Optional) * progress (Optional): { - * currentIteration: int (Required) - * bestScore: double (Required) - * elapsedSeconds: double (Required) + * current_iteration: int (Required) + * best_score: double (Required) + * elapsed_seconds: double (Required) * } * dataset (Optional): { * name: String (Optional) * version: String (Optional) - * taskCount: int (Required) - * isInline: boolean (Required) + * task_count: int (Required) + * is_inline: boolean (Required) * } * } * } @@ -3813,7 +3813,7 @@ public Mono> getOptimizationJobWithResponse(String jobId, R /** * Returns a list of agent optimization jobs. * - * List optimization jobs. Supports cursor pagination and optional status / agentName filters. + * List optimization jobs. Supports cursor pagination and optional status / agent_name filters. *

    Query Parameters

    * * @@ -3834,7 +3834,7 @@ public Mono> getOptimizationJobWithResponse(String jobId, R * subsequent call can include before=obj_foo in order to fetch the previous page of the list. * - * + * *
    Query Parameters
    statusStringNoFilter to jobs in this lifecycle state. Allowed values: * "queued", "in_progress", "succeeded", "failed", "cancelled".
    agentNameStringNoFilter to jobs targeting this agent name.
    agent_nameStringNoFilter to jobs targeting this agent name.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    @@ -3844,8 +3844,8 @@ public Mono> getOptimizationJobWithResponse(String jobId, R * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -3872,13 +3872,13 @@ public Mono> getOptimizationJobWithResponse(String jobId, R * } * result (Optional): { * baseline (Optional): { - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -3893,35 +3893,35 @@ public Mono> getOptimizationJobWithResponse(String jobId, R * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * best (Optional): (recursive schema, see best above) @@ -3929,46 +3929,46 @@ public Mono> getOptimizationJobWithResponse(String jobId, R * (recursive schema, see above) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * warnings (Optional): [ * String (Optional) * ] - * allTargetAttributesFailed: Boolean (Optional) + * all_target_attributes_failed: Boolean (Optional) * } * inputs (Optional): { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): (recursive schema, see options above) * } - * createdAt: long (Required) - * updatedAt: Long (Optional) + * created_at: long (Required) + * updated_at: Long (Optional) * progress (Optional): { - * currentIteration: int (Required) - * bestScore: double (Required) - * elapsedSeconds: double (Required) + * current_iteration: int (Required) + * best_score: double (Required) + * elapsed_seconds: double (Required) * } * dataset (Optional): { * name: String (Optional) * version: String (Optional) - * taskCount: int (Required) - * isInline: boolean (Required) + * task_count: int (Required) + * is_inline: boolean (Required) * } * } * } @@ -3998,8 +3998,8 @@ public PagedFlux listOptimizationJobs(RequestOptions requestOptions) * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -4026,13 +4026,13 @@ public PagedFlux listOptimizationJobs(RequestOptions requestOptions) * } * result (Optional): { * baseline (Optional): { - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -4047,35 +4047,35 @@ public PagedFlux listOptimizationJobs(RequestOptions requestOptions) * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * best (Optional): (recursive schema, see best above) @@ -4083,46 +4083,46 @@ public PagedFlux listOptimizationJobs(RequestOptions requestOptions) * (recursive schema, see above) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * warnings (Optional): [ * String (Optional) * ] - * allTargetAttributesFailed: Boolean (Optional) + * all_target_attributes_failed: Boolean (Optional) * } * inputs (Optional): { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): (recursive schema, see options above) * } - * createdAt: long (Required) - * updatedAt: Long (Optional) + * created_at: long (Required) + * updated_at: Long (Optional) * progress (Optional): { - * currentIteration: int (Required) - * bestScore: double (Required) - * elapsedSeconds: double (Required) + * current_iteration: int (Required) + * best_score: double (Required) + * elapsed_seconds: double (Required) * } * dataset (Optional): { * name: String (Optional) * version: String (Optional) - * taskCount: int (Required) - * isInline: boolean (Required) + * task_count: int (Required) + * is_inline: boolean (Required) * } * } * } @@ -4163,8 +4163,8 @@ public Mono> cancelOptimizationJobWithResponse(String jobId * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -4213,8 +4213,8 @@ public Mono> deleteOptimizationJobWithResponse(String jobId, Requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -4224,13 +4224,13 @@ public Mono> deleteOptimizationJobWithResponse(String jobId, Requ * { * data (Required): [ * (Required){ - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -4245,35 +4245,35 @@ public Mono> deleteOptimizationJobWithResponse(String jobId, Requ * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * ] @@ -4311,8 +4311,8 @@ public Mono> listOptimizationCandidatesWithResponse(String * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -4320,24 +4320,24 @@ public Mono> listOptimizationCandidatesWithResponse(String *
          * {@code
          * {
    -     *     candidateId: String (Required)
    -     *     jobId: String (Required)
    -     *     candidateName: String (Required)
    +     *     candidate_id: String (Required)
    +     *     job_id: String (Required)
    +     *     candidate_name: String (Required)
          *     status: String (Required)
          *     score: Double (Optional)
    -     *     hasResults: boolean (Required)
    -     *     createdAt: long (Required)
    -     *     updatedAt: long (Required)
    +     *     has_results: boolean (Required)
    +     *     created_at: long (Required)
    +     *     updated_at: long (Required)
          *     promotion (Optional): {
    -     *         promotedAt: long (Required)
    -     *         agentName: String (Required)
    -     *         agentVersion: String (Required)
    +     *         promoted_at: long (Required)
    +     *         agent_name: String (Required)
    +     *         agent_version: String (Required)
          *     }
          *     files (Required): [
          *          (Required){
          *             path: String (Required)
          *             type: String (Required)
    -     *             sizeBytes: long (Required)
    +     *             size_bytes: long (Required)
          *         }
          *     ]
          * }
    @@ -4374,8 +4374,8 @@ public Mono> getOptimizationCandidateWithResponse(String jo
          * Foundry-FeaturesStringNoA feature flag opt-in required when using preview
          * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview",
          * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview",
    -     * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview",
    -     * "AgentsOptimization=V1Preview".
    +     * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview",
    +     * "Models=V1Preview", "AgentsOptimization=V1Preview".
          * 
          * You can add these to a request with {@link RequestOptions#addHeader}
          * 

    Response Body Schema

    @@ -4429,8 +4429,8 @@ public Mono> getOptimizationCandidateConfigWithResponse(Str * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -4438,24 +4438,24 @@ public Mono> getOptimizationCandidateConfigWithResponse(Str *
          * {@code
          * {
    -     *     candidateId: String (Required)
    +     *     candidate_id: String (Required)
          *     results (Required): [
          *          (Required){
    -     *             taskName: String (Required)
    +     *             task_name: String (Required)
          *             query: String (Optional)
          *             scores (Required): {
          *                 String: double (Required)
          *             }
    -     *             compositeScore: double (Required)
    +     *             composite_score: double (Required)
          *             tokens: int (Required)
    -     *             durationSeconds: double (Required)
    +     *             duration_seconds: double (Required)
          *             passed: boolean (Required)
    -     *             errorMessage: String (Optional)
    +     *             error_message: String (Optional)
          *             rationales (Optional): {
          *                 String: String (Required)
          *             }
          *             response: String (Optional)
    -     *             runId: String (Optional)
    +     *             run_id: String (Optional)
          *         }
          *     ]
          * }
    @@ -4539,7 +4539,7 @@ public Mono getOptimizationJob(String jobId) {
         /**
          * Returns a list of agent optimization jobs.
          *
    -     * List optimization jobs. Supports cursor pagination and optional status / agentName filters.
    +     * List optimization jobs. Supports cursor pagination and optional status / agent_name filters.
          *
          * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted
          * preview resources.
    @@ -4588,7 +4588,7 @@ public PagedFlux listOptimizationJobs(FoundryFeaturesOptInKeys
                 requestOptions.addQueryParam("status", status.toString(), false);
             }
             if (agentName != null) {
    -            requestOptions.addQueryParam("agentName", agentName, false);
    +            requestOptions.addQueryParam("agent_name", agentName, false);
             }
             PagedFlux pagedFluxResponse = listOptimizationJobs(requestOptions);
             return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> {
    @@ -4608,7 +4608,7 @@ public PagedFlux listOptimizationJobs(FoundryFeaturesOptInKeys
         /**
          * Returns a list of agent optimization jobs.
          *
    -     * List optimization jobs. Supports cursor pagination and optional status / agentName filters.
    +     * List optimization jobs. Supports cursor pagination and optional status / agent_name filters.
          *
          * @throws HttpResponseException thrown if the request is rejected by server.
          * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
    @@ -5213,7 +5213,7 @@ public PagedFlux listSessions(String agentName, AgentDefin
          *
          * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry.
          *
    -     * @param body The optimization job inputs.
    +     * @param inputs The optimization job inputs.
          * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted
          * preview resources.
          * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job
    @@ -5229,7 +5229,7 @@ public PagedFlux listSessions(String agentName, AgentDefin
          */
         @Generated
         @ServiceMethod(returns = ReturnType.SINGLE)
    -    public Mono createOptimizationJob(OptimizationJobInputs body,
    +    public Mono createOptimizationJob(OptimizationJobInputs inputs,
             FoundryFeaturesOptInKeys foundryFeatures, String operationId) {
             // Generated convenience method for createOptimizationJobWithResponse
             RequestOptions requestOptions = new RequestOptions();
    @@ -5239,7 +5239,8 @@ public Mono createOptimizationJob(OptimizationJobInputs body,
             if (operationId != null) {
                 requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId);
             }
    -        return createOptimizationJobWithResponse(BinaryData.fromObject(body), requestOptions).flatMap(FluxUtil::toMono)
    +        return createOptimizationJobWithResponse(BinaryData.fromObject(inputs), requestOptions)
    +            .flatMap(FluxUtil::toMono)
                 .map(protocolMethodData -> protocolMethodData.toObject(OptimizationJob.class));
         }
     
    @@ -5248,7 +5249,7 @@ public Mono createOptimizationJob(OptimizationJobInputs body,
          *
          * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry.
          *
    -     * @param body The optimization job inputs.
    +     * @param inputs The optimization job inputs.
          * @throws IllegalArgumentException thrown if parameters fail the validation.
          * @throws HttpResponseException thrown if the request is rejected by server.
          * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
    @@ -5260,10 +5261,11 @@ public Mono createOptimizationJob(OptimizationJobInputs body,
          */
         @Generated
         @ServiceMethod(returns = ReturnType.SINGLE)
    -    public Mono createOptimizationJob(OptimizationJobInputs body) {
    +    public Mono createOptimizationJob(OptimizationJobInputs inputs) {
             // Generated convenience method for createOptimizationJobWithResponse
             RequestOptions requestOptions = new RequestOptions();
    -        return createOptimizationJobWithResponse(BinaryData.fromObject(body), requestOptions).flatMap(FluxUtil::toMono)
    +        return createOptimizationJobWithResponse(BinaryData.fromObject(inputs), requestOptions)
    +            .flatMap(FluxUtil::toMono)
                 .map(protocolMethodData -> protocolMethodData.toObject(OptimizationJob.class));
         }
     
    @@ -5309,8 +5311,8 @@ public Mono deleteOptimizationJob(String jobId, FoundryFeaturesOptInKeys f
          * Foundry-FeaturesStringNoA feature flag opt-in required when using preview
          * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview",
          * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview",
    -     * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview",
    -     * "AgentsOptimization=V1Preview".
    +     * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview",
    +     * "Models=V1Preview", "AgentsOptimization=V1Preview".
          * 
          * You can add these to a request with {@link RequestOptions#addHeader}
          * 

    Response Body Schema

    @@ -5353,8 +5355,8 @@ public Mono> getOptimizationCandidateFileWithResponse(Strin * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    @@ -5362,8 +5364,8 @@ public Mono> getOptimizationCandidateFileWithResponse(Strin *
          * {@code
          * {
    -     *     agentName: String (Required)
    -     *     agentVersion: String (Required)
    +     *     agent_name: String (Required)
    +     *     agent_version: String (Required)
          * }
          * }
          * 
    @@ -5373,18 +5375,18 @@ public Mono> getOptimizationCandidateFileWithResponse(Strin *
          * {@code
          * {
    -     *     candidateId: String (Required)
    +     *     candidate_id: String (Required)
          *     status: String (Required)
    -     *     promotedAt: long (Required)
    -     *     agentName: String (Required)
    -     *     agentVersion: String (Required)
    +     *     promoted_at: long (Required)
    +     *     agent_name: String (Required)
    +     *     agent_version: String (Required)
          * }
          * }
          * 
    * * @param jobId The optimization job id. * @param candidateId The candidate id to promote. - * @param body Promotion details. + * @param candidateRequest Promotion details. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5396,8 +5398,8 @@ public Mono> getOptimizationCandidateFileWithResponse(Strin @Generated @ServiceMethod(returns = ReturnType.SINGLE) public Mono> promoteOptimizationCandidateWithResponse(String jobId, String candidateId, - BinaryData body, RequestOptions requestOptions) { - return this.serviceClient.promoteOptimizationCandidateWithResponseAsync(jobId, candidateId, body, + BinaryData candidateRequest, RequestOptions requestOptions) { + return this.serviceClient.promoteOptimizationCandidateWithResponseAsync(jobId, candidateId, candidateRequest, requestOptions); } @@ -5468,7 +5470,7 @@ public Mono getOptimizationCandidateFile(String jobId, String candid * * @param jobId The optimization job id. * @param candidateId The candidate id to promote. - * @param body Promotion details. + * @param candidateRequest Promotion details. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5482,15 +5484,15 @@ public Mono getOptimizationCandidateFile(String jobId, String candid @Generated @ServiceMethod(returns = ReturnType.SINGLE) public Mono promoteOptimizationCandidate(String jobId, String candidateId, - PromoteCandidateRequest body, FoundryFeaturesOptInKeys foundryFeatures) { + PromoteCandidateRequest candidateRequest, FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for promoteOptimizationCandidateWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - return promoteOptimizationCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(body), requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(PromoteCandidateResponse.class)); + return promoteOptimizationCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(candidateRequest), + requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(PromoteCandidateResponse.class)); } /** @@ -5500,7 +5502,7 @@ public Mono promoteOptimizationCandidate(String jobId, * * @param jobId The optimization job id. * @param candidateId The candidate id to promote. - * @param body Promotion details. + * @param candidateRequest Promotion details. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5512,11 +5514,11 @@ public Mono promoteOptimizationCandidate(String jobId, @Generated @ServiceMethod(returns = ReturnType.SINGLE) public Mono promoteOptimizationCandidate(String jobId, String candidateId, - PromoteCandidateRequest body) { + PromoteCandidateRequest candidateRequest) { // Generated convenience method for promoteOptimizationCandidateWithResponse RequestOptions requestOptions = new RequestOptions(); - return promoteOptimizationCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(body), requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(PromoteCandidateResponse.class)); + return promoteOptimizationCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(candidateRequest), + requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(PromoteCandidateResponse.class)); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java index fbeef67c29f1..822f7f9fe955 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java @@ -1795,7 +1795,7 @@ Response internalDeleteAgentVersionWithResponse(String agentName, St * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -1863,7 +1863,7 @@ public Response getSessionWithResponse(String agentName, String sess * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -2828,7 +2828,7 @@ public Response downloadAgentCodeWithResponse(String agentName, Requ * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -3343,8 +3343,8 @@ public PagedIterable listAgentConversations(Integer limit, PageOrd * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * Operation-IdStringNoClient-generated unique ID for idempotent retries. When * absent, the server creates the job unconditionally. * @@ -3355,25 +3355,25 @@ public PagedIterable listAgentConversations(Integer limit, PageOrd * {@code * { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * } * } @@ -3403,13 +3403,13 @@ public PagedIterable listAgentConversations(Integer limit, PageOrd * } * result (Optional): { * baseline (Optional): { - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -3424,35 +3424,35 @@ public PagedIterable listAgentConversations(Integer limit, PageOrd * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * best (Optional): (recursive schema, see best above) @@ -3460,52 +3460,52 @@ public PagedIterable listAgentConversations(Integer limit, PageOrd * (recursive schema, see above) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * warnings (Optional): [ * String (Optional) * ] - * allTargetAttributesFailed: Boolean (Optional) + * all_target_attributes_failed: Boolean (Optional) * } * inputs (Optional): { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): (recursive schema, see options above) * } - * createdAt: long (Required) - * updatedAt: Long (Optional) + * created_at: long (Required) + * updated_at: Long (Optional) * progress (Optional): { - * currentIteration: int (Required) - * bestScore: double (Required) - * elapsedSeconds: double (Required) + * current_iteration: int (Required) + * best_score: double (Required) + * elapsed_seconds: double (Required) * } * dataset (Optional): { * name: String (Optional) * version: String (Optional) - * taskCount: int (Required) - * isInline: boolean (Required) + * task_count: int (Required) + * is_inline: boolean (Required) * } * } * } *
    * - * @param body The optimization job inputs. + * @param inputs The optimization job inputs. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -3516,8 +3516,8 @@ public PagedIterable listAgentConversations(Integer limit, PageOrd */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response createOptimizationJobWithResponse(BinaryData body, RequestOptions requestOptions) { - return this.serviceClient.createOptimizationJobWithResponse(body, requestOptions); + public Response createOptimizationJobWithResponse(BinaryData inputs, RequestOptions requestOptions) { + return this.serviceClient.createOptimizationJobWithResponse(inputs, requestOptions); } /** @@ -3531,8 +3531,8 @@ public Response createOptimizationJobWithResponse(BinaryData body, R * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -3559,13 +3559,13 @@ public Response createOptimizationJobWithResponse(BinaryData body, R * } * result (Optional): { * baseline (Optional): { - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -3580,35 +3580,35 @@ public Response createOptimizationJobWithResponse(BinaryData body, R * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * best (Optional): (recursive schema, see best above) @@ -3616,46 +3616,46 @@ public Response createOptimizationJobWithResponse(BinaryData body, R * (recursive schema, see above) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * warnings (Optional): [ * String (Optional) * ] - * allTargetAttributesFailed: Boolean (Optional) + * all_target_attributes_failed: Boolean (Optional) * } * inputs (Optional): { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): (recursive schema, see options above) * } - * createdAt: long (Required) - * updatedAt: Long (Optional) + * created_at: long (Required) + * updated_at: Long (Optional) * progress (Optional): { - * currentIteration: int (Required) - * bestScore: double (Required) - * elapsedSeconds: double (Required) + * current_iteration: int (Required) + * best_score: double (Required) + * elapsed_seconds: double (Required) * } * dataset (Optional): { * name: String (Optional) * version: String (Optional) - * taskCount: int (Required) - * isInline: boolean (Required) + * task_count: int (Required) + * is_inline: boolean (Required) * } * } * } @@ -3680,7 +3680,7 @@ public Response getOptimizationJobWithResponse(String jobId, Request /** * Returns a list of agent optimization jobs. * - * List optimization jobs. Supports cursor pagination and optional status / agentName filters. + * List optimization jobs. Supports cursor pagination and optional status / agent_name filters. *

    Query Parameters

    * * @@ -3701,7 +3701,7 @@ public Response getOptimizationJobWithResponse(String jobId, Request * subsequent call can include before=obj_foo in order to fetch the previous page of the list. * - * + * *
    Query Parameters
    statusStringNoFilter to jobs in this lifecycle state. Allowed values: * "queued", "in_progress", "succeeded", "failed", "cancelled".
    agentNameStringNoFilter to jobs targeting this agent name.
    agent_nameStringNoFilter to jobs targeting this agent name.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    @@ -3711,8 +3711,8 @@ public Response getOptimizationJobWithResponse(String jobId, Request * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -3739,13 +3739,13 @@ public Response getOptimizationJobWithResponse(String jobId, Request * } * result (Optional): { * baseline (Optional): { - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -3760,35 +3760,35 @@ public Response getOptimizationJobWithResponse(String jobId, Request * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * best (Optional): (recursive schema, see best above) @@ -3796,46 +3796,46 @@ public Response getOptimizationJobWithResponse(String jobId, Request * (recursive schema, see above) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * warnings (Optional): [ * String (Optional) * ] - * allTargetAttributesFailed: Boolean (Optional) + * all_target_attributes_failed: Boolean (Optional) * } * inputs (Optional): { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): (recursive schema, see options above) * } - * createdAt: long (Required) - * updatedAt: Long (Optional) + * created_at: long (Required) + * updated_at: Long (Optional) * progress (Optional): { - * currentIteration: int (Required) - * bestScore: double (Required) - * elapsedSeconds: double (Required) + * current_iteration: int (Required) + * best_score: double (Required) + * elapsed_seconds: double (Required) * } * dataset (Optional): { * name: String (Optional) * version: String (Optional) - * taskCount: int (Required) - * isInline: boolean (Required) + * task_count: int (Required) + * is_inline: boolean (Required) * } * } * } @@ -3865,8 +3865,8 @@ public PagedIterable listOptimizationJobs(RequestOptions requestOpti * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -3893,13 +3893,13 @@ public PagedIterable listOptimizationJobs(RequestOptions requestOpti * } * result (Optional): { * baseline (Optional): { - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -3914,35 +3914,35 @@ public PagedIterable listOptimizationJobs(RequestOptions requestOpti * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * best (Optional): (recursive schema, see best above) @@ -3950,46 +3950,46 @@ public PagedIterable listOptimizationJobs(RequestOptions requestOpti * (recursive schema, see above) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * warnings (Optional): [ * String (Optional) * ] - * allTargetAttributesFailed: Boolean (Optional) + * all_target_attributes_failed: Boolean (Optional) * } * inputs (Optional): { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): (recursive schema, see options above) * } - * createdAt: long (Required) - * updatedAt: Long (Optional) + * created_at: long (Required) + * updated_at: Long (Optional) * progress (Optional): { - * currentIteration: int (Required) - * bestScore: double (Required) - * elapsedSeconds: double (Required) + * current_iteration: int (Required) + * best_score: double (Required) + * elapsed_seconds: double (Required) * } * dataset (Optional): { * name: String (Optional) * version: String (Optional) - * taskCount: int (Required) - * isInline: boolean (Required) + * task_count: int (Required) + * is_inline: boolean (Required) * } * } * } @@ -4029,8 +4029,8 @@ public Response cancelOptimizationJobWithResponse(String jobId, Requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -4079,8 +4079,8 @@ public Response deleteOptimizationJobWithResponse(String jobId, RequestOpt * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -4090,13 +4090,13 @@ public Response deleteOptimizationJobWithResponse(String jobId, RequestOpt * { * data (Required): [ * (Required){ - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -4111,35 +4111,35 @@ public Response deleteOptimizationJobWithResponse(String jobId, RequestOpt * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * ] @@ -4175,8 +4175,8 @@ public Response listOptimizationCandidatesWithResponse(String jobId, * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -4184,24 +4184,24 @@ public Response listOptimizationCandidatesWithResponse(String jobId, *
          * {@code
          * {
    -     *     candidateId: String (Required)
    -     *     jobId: String (Required)
    -     *     candidateName: String (Required)
    +     *     candidate_id: String (Required)
    +     *     job_id: String (Required)
    +     *     candidate_name: String (Required)
          *     status: String (Required)
          *     score: Double (Optional)
    -     *     hasResults: boolean (Required)
    -     *     createdAt: long (Required)
    -     *     updatedAt: long (Required)
    +     *     has_results: boolean (Required)
    +     *     created_at: long (Required)
    +     *     updated_at: long (Required)
          *     promotion (Optional): {
    -     *         promotedAt: long (Required)
    -     *         agentName: String (Required)
    -     *         agentVersion: String (Required)
    +     *         promoted_at: long (Required)
    +     *         agent_name: String (Required)
    +     *         agent_version: String (Required)
          *     }
          *     files (Required): [
          *          (Required){
          *             path: String (Required)
          *             type: String (Required)
    -     *             sizeBytes: long (Required)
    +     *             size_bytes: long (Required)
          *         }
          *     ]
          * }
    @@ -4237,8 +4237,8 @@ public Response getOptimizationCandidateWithResponse(String jobId, S
          * Foundry-FeaturesStringNoA feature flag opt-in required when using preview
          * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview",
          * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview",
    -     * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview",
    -     * "AgentsOptimization=V1Preview".
    +     * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview",
    +     * "Models=V1Preview", "AgentsOptimization=V1Preview".
          * 
          * You can add these to a request with {@link RequestOptions#addHeader}
          * 

    Response Body Schema

    @@ -4292,8 +4292,8 @@ public Response getOptimizationCandidateConfigWithResponse(String jo * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -4301,24 +4301,24 @@ public Response getOptimizationCandidateConfigWithResponse(String jo *
          * {@code
          * {
    -     *     candidateId: String (Required)
    +     *     candidate_id: String (Required)
          *     results (Required): [
          *          (Required){
    -     *             taskName: String (Required)
    +     *             task_name: String (Required)
          *             query: String (Optional)
          *             scores (Required): {
          *                 String: double (Required)
          *             }
    -     *             compositeScore: double (Required)
    +     *             composite_score: double (Required)
          *             tokens: int (Required)
    -     *             durationSeconds: double (Required)
    +     *             duration_seconds: double (Required)
          *             passed: boolean (Required)
    -     *             errorMessage: String (Optional)
    +     *             error_message: String (Optional)
          *             rationales (Optional): {
          *                 String: String (Required)
          *             }
          *             response: String (Optional)
    -     *             runId: String (Optional)
    +     *             run_id: String (Optional)
          *         }
          *     ]
          * }
    @@ -4399,7 +4399,7 @@ public OptimizationJob getOptimizationJob(String jobId) {
         /**
          * Returns a list of agent optimization jobs.
          *
    -     * List optimization jobs. Supports cursor pagination and optional status / agentName filters.
    +     * List optimization jobs. Supports cursor pagination and optional status / agent_name filters.
          *
          * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted
          * preview resources.
    @@ -4448,7 +4448,7 @@ public PagedIterable listOptimizationJobs(FoundryFeaturesOptInK
                 requestOptions.addQueryParam("status", status.toString(), false);
             }
             if (agentName != null) {
    -            requestOptions.addQueryParam("agentName", agentName, false);
    +            requestOptions.addQueryParam("agent_name", agentName, false);
             }
             return serviceClient.listOptimizationJobs(requestOptions)
                 .mapPage(bodyItemValue -> bodyItemValue.toObject(OptimizationJob.class));
    @@ -4457,7 +4457,7 @@ public PagedIterable listOptimizationJobs(FoundryFeaturesOptInK
         /**
          * Returns a list of agent optimization jobs.
          *
    -     * List optimization jobs. Supports cursor pagination and optional status / agentName filters.
    +     * List optimization jobs. Supports cursor pagination and optional status / agent_name filters.
          *
          * @throws HttpResponseException thrown if the request is rejected by server.
          * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
    @@ -5030,7 +5030,7 @@ public PagedIterable listSessions(String agentName, AgentD
          *
          * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry.
          *
    -     * @param body The optimization job inputs.
    +     * @param inputs The optimization job inputs.
          * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted
          * preview resources.
          * @param operationId Client-generated unique ID for idempotent retries. When absent, the server creates the job
    @@ -5046,7 +5046,7 @@ public PagedIterable listSessions(String agentName, AgentD
          */
         @Generated
         @ServiceMethod(returns = ReturnType.SINGLE)
    -    public OptimizationJob createOptimizationJob(OptimizationJobInputs body, FoundryFeaturesOptInKeys foundryFeatures,
    +    public OptimizationJob createOptimizationJob(OptimizationJobInputs inputs, FoundryFeaturesOptInKeys foundryFeatures,
             String operationId) {
             // Generated convenience method for createOptimizationJobWithResponse
             RequestOptions requestOptions = new RequestOptions();
    @@ -5056,7 +5056,7 @@ public OptimizationJob createOptimizationJob(OptimizationJobInputs body, Foundry
             if (operationId != null) {
                 requestOptions.setHeader(HttpHeaderName.fromString("Operation-Id"), operationId);
             }
    -        return createOptimizationJobWithResponse(BinaryData.fromObject(body), requestOptions).getValue()
    +        return createOptimizationJobWithResponse(BinaryData.fromObject(inputs), requestOptions).getValue()
                 .toObject(OptimizationJob.class);
         }
     
    @@ -5065,7 +5065,7 @@ public OptimizationJob createOptimizationJob(OptimizationJobInputs body, Foundry
          *
          * Create an optimization job. Returns 201 with the queued job. Honours `Operation-Id` for idempotent retry.
          *
    -     * @param body The optimization job inputs.
    +     * @param inputs The optimization job inputs.
          * @throws IllegalArgumentException thrown if parameters fail the validation.
          * @throws HttpResponseException thrown if the request is rejected by server.
          * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
    @@ -5077,10 +5077,10 @@ public OptimizationJob createOptimizationJob(OptimizationJobInputs body, Foundry
          */
         @Generated
         @ServiceMethod(returns = ReturnType.SINGLE)
    -    public OptimizationJob createOptimizationJob(OptimizationJobInputs body) {
    +    public OptimizationJob createOptimizationJob(OptimizationJobInputs inputs) {
             // Generated convenience method for createOptimizationJobWithResponse
             RequestOptions requestOptions = new RequestOptions();
    -        return createOptimizationJobWithResponse(BinaryData.fromObject(body), requestOptions).getValue()
    +        return createOptimizationJobWithResponse(BinaryData.fromObject(inputs), requestOptions).getValue()
                 .toObject(OptimizationJob.class);
         }
     
    @@ -5125,8 +5125,8 @@ public void deleteOptimizationJob(String jobId, FoundryFeaturesOptInKeys foundry
          * Foundry-FeaturesStringNoA feature flag opt-in required when using preview
          * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview",
          * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview",
    -     * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview",
    -     * "AgentsOptimization=V1Preview".
    +     * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview",
    +     * "Models=V1Preview", "AgentsOptimization=V1Preview".
          * 
          * You can add these to a request with {@link RequestOptions#addHeader}
          * 

    Response Body Schema

    @@ -5167,8 +5167,8 @@ public Response getOptimizationCandidateFileWithResponse(String jobI * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    @@ -5176,8 +5176,8 @@ public Response getOptimizationCandidateFileWithResponse(String jobI *
          * {@code
          * {
    -     *     agentName: String (Required)
    -     *     agentVersion: String (Required)
    +     *     agent_name: String (Required)
    +     *     agent_version: String (Required)
          * }
          * }
          * 
    @@ -5187,18 +5187,18 @@ public Response getOptimizationCandidateFileWithResponse(String jobI *
          * {@code
          * {
    -     *     candidateId: String (Required)
    +     *     candidate_id: String (Required)
          *     status: String (Required)
    -     *     promotedAt: long (Required)
    -     *     agentName: String (Required)
    -     *     agentVersion: String (Required)
    +     *     promoted_at: long (Required)
    +     *     agent_name: String (Required)
    +     *     agent_version: String (Required)
          * }
          * }
          * 
    * * @param jobId The optimization job id. * @param candidateId The candidate id to promote. - * @param body Promotion details. + * @param candidateRequest Promotion details. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5209,8 +5209,9 @@ public Response getOptimizationCandidateFileWithResponse(String jobI @Generated @ServiceMethod(returns = ReturnType.SINGLE) public Response promoteOptimizationCandidateWithResponse(String jobId, String candidateId, - BinaryData body, RequestOptions requestOptions) { - return this.serviceClient.promoteOptimizationCandidateWithResponse(jobId, candidateId, body, requestOptions); + BinaryData candidateRequest, RequestOptions requestOptions) { + return this.serviceClient.promoteOptimizationCandidateWithResponse(jobId, candidateId, candidateRequest, + requestOptions); } /** @@ -5278,7 +5279,7 @@ public BinaryData getOptimizationCandidateFile(String jobId, String candidateId, * * @param jobId The optimization job id. * @param candidateId The candidate id to promote. - * @param body Promotion details. + * @param candidateRequest Promotion details. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5292,15 +5293,14 @@ public BinaryData getOptimizationCandidateFile(String jobId, String candidateId, @Generated @ServiceMethod(returns = ReturnType.SINGLE) public PromoteCandidateResponse promoteOptimizationCandidate(String jobId, String candidateId, - PromoteCandidateRequest body, FoundryFeaturesOptInKeys foundryFeatures) { + PromoteCandidateRequest candidateRequest, FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for promoteOptimizationCandidateWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } - return promoteOptimizationCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(body), requestOptions) - .getValue() - .toObject(PromoteCandidateResponse.class); + return promoteOptimizationCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(candidateRequest), + requestOptions).getValue().toObject(PromoteCandidateResponse.class); } /** @@ -5310,7 +5310,7 @@ public PromoteCandidateResponse promoteOptimizationCandidate(String jobId, Strin * * @param jobId The optimization job id. * @param candidateId The candidate id to promote. - * @param body Promotion details. + * @param candidateRequest Promotion details. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5322,11 +5322,10 @@ public PromoteCandidateResponse promoteOptimizationCandidate(String jobId, Strin @Generated @ServiceMethod(returns = ReturnType.SINGLE) public PromoteCandidateResponse promoteOptimizationCandidate(String jobId, String candidateId, - PromoteCandidateRequest body) { + PromoteCandidateRequest candidateRequest) { // Generated convenience method for promoteOptimizationCandidateWithResponse RequestOptions requestOptions = new RequestOptions(); - return promoteOptimizationCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(body), requestOptions) - .getValue() - .toObject(PromoteCandidateResponse.class); + return promoteOptimizationCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(candidateRequest), + requestOptions).getValue().toObject(PromoteCandidateResponse.class); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java index af8e728f6d14..fa7523a8f8a4 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java @@ -1,12 +1,12 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. + package com.azure.ai.agents; import com.azure.ai.agents.implementation.ToolboxesImpl; import com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest; import com.azure.ai.agents.implementation.models.UpdateToolboxRequest; -import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.PageOrder; import com.azure.ai.agents.models.Tool; import com.azure.ai.agents.models.ToolboxDetails; @@ -21,7 +21,6 @@ import com.azure.core.exception.HttpResponseException; import com.azure.core.exception.ResourceModifiedException; import com.azure.core.exception.ResourceNotFoundException; -import com.azure.core.http.HttpHeaderName; import com.azure.core.http.rest.PagedFlux; import com.azure.core.http.rest.PagedResponse; import com.azure.core.http.rest.PagedResponseBase; @@ -40,13 +39,12 @@ */ @ServiceClient(builder = AgentsClientBuilder.class, isAsync = true) public final class ToolboxesAsyncClient { - @Generated private final ToolboxesImpl serviceClient; /** * Initializes an instance of ToolboxesAsyncClient class. - * + * * @param serviceClient the service client implementation. */ @Generated @@ -115,7 +113,7 @@ public final class ToolboxesAsyncClient { * } * } *
    - * + * * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param createToolboxVersionRequest The createToolboxVersionRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -146,7 +144,7 @@ public Mono> createToolboxVersionWithResponse(String name, * } * } *
    - * + * * @param name The name of the toolbox to retrieve. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -195,7 +193,7 @@ public Mono> getToolboxWithResponse(String name, RequestOpt * } * } *
    - * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -262,7 +260,7 @@ public PagedFlux listToolboxes(RequestOptions requestOptions) { * } * } *
    - * + * * @param name The name of the toolbox to list versions for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -310,7 +308,7 @@ public PagedFlux listToolboxVersions(String name, RequestOptions req * } * } *
    - * + * * @param name The name of the toolbox. * @param version The version identifier to retrieve. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -350,7 +348,7 @@ public Mono> getToolboxVersionWithResponse(String name, Str * } * } *
    - * + * * @param name The name of the toolbox to update. * @param updateToolboxRequest The updateToolboxRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -370,7 +368,7 @@ public Mono> updateToolboxWithResponse(String name, BinaryD /** * Delete a toolbox and all its versions. - * + * * @param name The name of the toolbox to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -387,7 +385,7 @@ public Mono> deleteToolboxWithResponse(String name, RequestOption /** * Delete a specific version of a toolbox. - * + * * @param name The name of the toolbox. * @param version The version identifier to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -406,10 +404,14 @@ public Mono> deleteToolboxVersionWithResponse(String name, String /** * Create a new version of a toolbox. If the toolbox does not exist, it will be created. - * + * * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param tools The list of tools to include in this version. - * @param foundryFeatures The Foundry preview feature opt-in header. + * @param description A human-readable description of the toolbox. + * @param metadata Arbitrary key-value metadata to associate with the toolbox. + * @param skills The list of skill sources to include in this version. A skill reference specifies a skill name and + * optionally a version. If version is omitted, the skill's default version is used. + * @param policies Policy configuration for this toolbox version. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -418,14 +420,41 @@ public Mono> deleteToolboxVersionWithResponse(String name, String * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a specific version of a toolbox on successful completion of {@link Mono}. */ + @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createToolboxVersion(String name, List tools, - FoundryFeaturesOptInKeys foundryFeatures) { + public Mono createToolboxVersion(String name, List tools, String description, + Map metadata, List skills, ToolboxPolicies policies) { + // Generated convenience method for createToolboxVersionWithResponse + RequestOptions requestOptions = new RequestOptions(); + CreateToolboxVersionRequest createToolboxVersionRequestObj + = new CreateToolboxVersionRequest(tools).setDescription(description) + .setMetadata(metadata) + .setSkills(skills) + .setPolicies(policies); + BinaryData createToolboxVersionRequest = BinaryData.fromObject(createToolboxVersionRequestObj); + return createToolboxVersionWithResponse(name, createToolboxVersionRequest, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(ToolboxVersionDetails.class)); + } + + /** + * Create a new version of a toolbox. If the toolbox does not exist, it will be created. + * + * @param name The name of the toolbox. If the toolbox does not exist, it will be created. + * @param tools The list of tools to include in this version. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a specific version of a toolbox on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createToolboxVersion(String name, List tools) { // Generated convenience method for createToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } CreateToolboxVersionRequest createToolboxVersionRequestObj = new CreateToolboxVersionRequest(tools); BinaryData createToolboxVersionRequest = BinaryData.fromObject(createToolboxVersionRequestObj); return createToolboxVersionWithResponse(name, createToolboxVersionRequest, requestOptions) @@ -435,9 +464,8 @@ public Mono createToolboxVersion(String name, List /** * Retrieve a toolbox. - * + * * @param name The name of the toolbox to retrieve. - * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -446,21 +474,18 @@ public Mono createToolboxVersion(String name, List * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a toolbox that stores reusable tool definitions for agents on successful completion of {@link Mono}. */ + @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getToolbox(String name, FoundryFeaturesOptInKeys foundryFeatures) { + public Mono getToolbox(String name) { // Generated convenience method for getToolboxWithResponse RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } return getToolboxWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(ToolboxDetails.class)); } /** * List all toolboxes. - * - * @param foundryFeatures The Foundry preview feature opt-in header. + * * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the * default is 20. * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` @@ -479,14 +504,11 @@ public Mono getToolbox(String name, FoundryFeaturesOptInKeys fou * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. */ + @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listToolboxes(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, - PageOrder order, String after, String before) { + public PagedFlux listToolboxes(Integer limit, PageOrder order, String after, String before) { // Generated convenience method for listToolboxes RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } if (limit != null) { requestOptions.addQueryParam("limit", String.valueOf(limit), false); } @@ -516,8 +538,7 @@ public PagedFlux listToolboxes(FoundryFeaturesOptInKeys foundryF /** * List all toolboxes. - * - * @param foundryFeatures The Foundry preview feature opt-in header. + * * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. @@ -525,13 +546,11 @@ public PagedFlux listToolboxes(FoundryFeaturesOptInKeys foundryF * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. */ + @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listToolboxes(FoundryFeaturesOptInKeys foundryFeatures) { + public PagedFlux listToolboxes() { // Generated convenience method for listToolboxes RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } PagedFlux pagedFluxResponse = listToolboxes(requestOptions); return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { Flux> flux = (continuationTokenParam == null) @@ -549,9 +568,8 @@ public PagedFlux listToolboxes(FoundryFeaturesOptInKeys foundryF /** * List all versions of a toolbox. - * + * * @param name The name of the toolbox to list versions for. - * @param foundryFeatures The Foundry preview feature opt-in header. * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the * default is 20. * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` @@ -570,14 +588,12 @@ public PagedFlux listToolboxes(FoundryFeaturesOptInKeys foundryF * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. */ + @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listToolboxVersions(String name, FoundryFeaturesOptInKeys foundryFeatures, - Integer limit, PageOrder order, String after, String before) { + public PagedFlux listToolboxVersions(String name, Integer limit, PageOrder order, + String after, String before) { // Generated convenience method for listToolboxVersions RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } if (limit != null) { requestOptions.addQueryParam("limit", String.valueOf(limit), false); } @@ -608,9 +624,8 @@ public PagedFlux listToolboxVersions(String name, Foundry /** * List all versions of a toolbox. - * + * * @param name The name of the toolbox to list versions for. - * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -619,13 +634,11 @@ public PagedFlux listToolboxVersions(String name, Foundry * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. */ + @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listToolboxVersions(String name, FoundryFeaturesOptInKeys foundryFeatures) { + public PagedFlux listToolboxVersions(String name) { // Generated convenience method for listToolboxVersions RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } PagedFlux pagedFluxResponse = listToolboxVersions(name, requestOptions); return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { Flux> flux = (continuationTokenParam == null) @@ -644,10 +657,9 @@ public PagedFlux listToolboxVersions(String name, Foundry /** * Retrieve a specific version of a toolbox. - * + * * @param name The name of the toolbox. * @param version The version identifier to retrieve. - * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -656,25 +668,21 @@ public PagedFlux listToolboxVersions(String name, Foundry * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a specific version of a toolbox on successful completion of {@link Mono}. */ + @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getToolboxVersion(String name, String version, - FoundryFeaturesOptInKeys foundryFeatures) { + public Mono getToolboxVersion(String name, String version) { // Generated convenience method for getToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } return getToolboxVersionWithResponse(name, version, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(ToolboxVersionDetails.class)); } /** * Update a toolbox to point to a specific version. - * + * * @param name The name of the toolbox to update. * @param defaultVersion The version identifier that the toolbox should point to. When set, the toolbox's default * version will resolve to this version instead of the latest. - * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -683,14 +691,11 @@ public Mono getToolboxVersion(String name, String version * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a toolbox that stores reusable tool definitions for agents on successful completion of {@link Mono}. */ + @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateToolbox(String name, String defaultVersion, - FoundryFeaturesOptInKeys foundryFeatures) { + public Mono updateToolbox(String name, String defaultVersion) { // Generated convenience method for updateToolboxWithResponse RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } UpdateToolboxRequest updateToolboxRequestObj = new UpdateToolboxRequest(defaultVersion); BinaryData updateToolboxRequest = BinaryData.fromObject(updateToolboxRequestObj); return updateToolboxWithResponse(name, updateToolboxRequest, requestOptions).flatMap(FluxUtil::toMono) @@ -699,9 +704,8 @@ public Mono updateToolbox(String name, String defaultVersion, /** * Delete a toolbox and all its versions. - * + * * @param name The name of the toolbox to delete. - * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -710,22 +714,19 @@ public Mono updateToolbox(String name, String defaultVersion, * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return A {@link Mono} that completes when a successful response is received. */ + @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteToolbox(String name, FoundryFeaturesOptInKeys foundryFeatures) { + public Mono deleteToolbox(String name) { // Generated convenience method for deleteToolboxWithResponse RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } return deleteToolboxWithResponse(name, requestOptions).flatMap(FluxUtil::toMono); } /** * Delete a specific version of a toolbox. - * + * * @param name The name of the toolbox. * @param version The version identifier to delete. - * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -734,51 +735,11 @@ public Mono deleteToolbox(String name, FoundryFeaturesOptInKeys foundryFea * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return A {@link Mono} that completes when a successful response is received. */ + @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteToolboxVersion(String name, String version, FoundryFeaturesOptInKeys foundryFeatures) { + public Mono deleteToolboxVersion(String name, String version) { // Generated convenience method for deleteToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } return deleteToolboxVersionWithResponse(name, version, requestOptions).flatMap(FluxUtil::toMono); } - - /** - * Create a new version of a toolbox. If the toolbox does not exist, it will be created. - * - * @param name The name of the toolbox. If the toolbox does not exist, it will be created. - * @param tools The list of tools to include in this version. - * @param description A human-readable description of the toolbox. - * @param metadata Arbitrary key-value metadata to associate with the toolbox. - * @param skills The list of skill sources to include in this version. - * @param policies Policy configuration for this toolbox version. - * @param foundryFeatures The Foundry preview feature opt-in header. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a specific version of a toolbox on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createToolboxVersion(String name, List tools, String description, - Map metadata, List skills, ToolboxPolicies policies, - FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for createToolboxVersionWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - CreateToolboxVersionRequest createToolboxVersionRequestObj - = new CreateToolboxVersionRequest(tools).setDescription(description) - .setMetadata(metadata) - .setSkills(skills) - .setPolicies(policies); - BinaryData createToolboxVersionRequest = BinaryData.fromObject(createToolboxVersionRequestObj); - return createToolboxVersionWithResponse(name, createToolboxVersionRequest, requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(ToolboxVersionDetails.class)); - } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java index 48c0c256f8e3..60f2be30514a 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java @@ -1,12 +1,12 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. + package com.azure.ai.agents; import com.azure.ai.agents.implementation.ToolboxesImpl; import com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest; import com.azure.ai.agents.implementation.models.UpdateToolboxRequest; -import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.PageOrder; import com.azure.ai.agents.models.Tool; import com.azure.ai.agents.models.ToolboxDetails; @@ -21,7 +21,6 @@ import com.azure.core.exception.HttpResponseException; import com.azure.core.exception.ResourceModifiedException; import com.azure.core.exception.ResourceNotFoundException; -import com.azure.core.http.HttpHeaderName; import com.azure.core.http.rest.PagedIterable; import com.azure.core.http.rest.RequestOptions; import com.azure.core.http.rest.Response; @@ -34,13 +33,12 @@ */ @ServiceClient(builder = AgentsClientBuilder.class) public final class ToolboxesClient { - @Generated private final ToolboxesImpl serviceClient; /** * Initializes an instance of ToolboxesClient class. - * + * * @param serviceClient the service client implementation. */ @Generated @@ -109,7 +107,7 @@ public final class ToolboxesClient { * } * } *
    - * + * * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param createToolboxVersionRequest The createToolboxVersionRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -139,7 +137,7 @@ public Response createToolboxVersionWithResponse(String name, Binary * } * } *
    - * + * * @param name The name of the toolbox to retrieve. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -187,7 +185,7 @@ public Response getToolboxWithResponse(String name, RequestOptions r * } * } *
    - * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -254,7 +252,7 @@ public PagedIterable listToolboxes(RequestOptions requestOptions) { * } * } *
    - * + * * @param name The name of the toolbox to list versions for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -302,7 +300,7 @@ public PagedIterable listToolboxVersions(String name, RequestOptions * } * } *
    - * + * * @param name The name of the toolbox. * @param version The version identifier to retrieve. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -342,7 +340,7 @@ public Response getToolboxVersionWithResponse(String name, String ve * } * } *
    - * + * * @param name The name of the toolbox to update. * @param updateToolboxRequest The updateToolboxRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -361,7 +359,7 @@ public Response updateToolboxWithResponse(String name, BinaryData up /** * Delete a toolbox and all its versions. - * + * * @param name The name of the toolbox to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -378,7 +376,7 @@ public Response deleteToolboxWithResponse(String name, RequestOptions requ /** * Delete a specific version of a toolbox. - * + * * @param name The name of the toolbox. * @param version The version identifier to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -396,10 +394,14 @@ public Response deleteToolboxVersionWithResponse(String name, String versi /** * Create a new version of a toolbox. If the toolbox does not exist, it will be created. - * + * * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param tools The list of tools to include in this version. - * @param foundryFeatures The Foundry preview feature opt-in header. + * @param description A human-readable description of the toolbox. + * @param metadata Arbitrary key-value metadata to associate with the toolbox. + * @param skills The list of skill sources to include in this version. A skill reference specifies a skill name and + * optionally a version. If version is omitted, the skill's default version is used. + * @param policies Policy configuration for this toolbox version. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -408,14 +410,40 @@ public Response deleteToolboxVersionWithResponse(String name, String versi * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a specific version of a toolbox. */ + @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public ToolboxVersionDetails createToolboxVersion(String name, List tools, - FoundryFeaturesOptInKeys foundryFeatures) { + public ToolboxVersionDetails createToolboxVersion(String name, List tools, String description, + Map metadata, List skills, ToolboxPolicies policies) { + // Generated convenience method for createToolboxVersionWithResponse + RequestOptions requestOptions = new RequestOptions(); + CreateToolboxVersionRequest createToolboxVersionRequestObj + = new CreateToolboxVersionRequest(tools).setDescription(description) + .setMetadata(metadata) + .setSkills(skills) + .setPolicies(policies); + BinaryData createToolboxVersionRequest = BinaryData.fromObject(createToolboxVersionRequestObj); + return createToolboxVersionWithResponse(name, createToolboxVersionRequest, requestOptions).getValue() + .toObject(ToolboxVersionDetails.class); + } + + /** + * Create a new version of a toolbox. If the toolbox does not exist, it will be created. + * + * @param name The name of the toolbox. If the toolbox does not exist, it will be created. + * @param tools The list of tools to include in this version. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a specific version of a toolbox. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public ToolboxVersionDetails createToolboxVersion(String name, List tools) { // Generated convenience method for createToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } CreateToolboxVersionRequest createToolboxVersionRequestObj = new CreateToolboxVersionRequest(tools); BinaryData createToolboxVersionRequest = BinaryData.fromObject(createToolboxVersionRequestObj); return createToolboxVersionWithResponse(name, createToolboxVersionRequest, requestOptions).getValue() @@ -424,9 +452,8 @@ public ToolboxVersionDetails createToolboxVersion(String name, List tools, /** * Retrieve a toolbox. - * + * * @param name The name of the toolbox to retrieve. - * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -435,20 +462,17 @@ public ToolboxVersionDetails createToolboxVersion(String name, List tools, * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a toolbox that stores reusable tool definitions for agents. */ + @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public ToolboxDetails getToolbox(String name, FoundryFeaturesOptInKeys foundryFeatures) { + public ToolboxDetails getToolbox(String name) { // Generated convenience method for getToolboxWithResponse RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } return getToolboxWithResponse(name, requestOptions).getValue().toObject(ToolboxDetails.class); } /** * List all toolboxes. - * - * @param foundryFeatures The Foundry preview feature opt-in header. + * * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the * default is 20. * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` @@ -467,14 +491,11 @@ public ToolboxDetails getToolbox(String name, FoundryFeaturesOptInKeys foundryFe * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. */ + @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listToolboxes(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, - PageOrder order, String after, String before) { + public PagedIterable listToolboxes(Integer limit, PageOrder order, String after, String before) { // Generated convenience method for listToolboxes RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } if (limit != null) { requestOptions.addQueryParam("limit", String.valueOf(limit), false); } @@ -493,8 +514,7 @@ public PagedIterable listToolboxes(FoundryFeaturesOptInKeys foun /** * List all toolboxes. - * - * @param foundryFeatures The Foundry preview feature opt-in header. + * * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. @@ -502,22 +522,19 @@ public PagedIterable listToolboxes(FoundryFeaturesOptInKeys foun * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. */ + @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listToolboxes(FoundryFeaturesOptInKeys foundryFeatures) { + public PagedIterable listToolboxes() { // Generated convenience method for listToolboxes RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } return serviceClient.listToolboxes(requestOptions) .mapPage(bodyItemValue -> bodyItemValue.toObject(ToolboxDetails.class)); } /** * List all versions of a toolbox. - * + * * @param name The name of the toolbox to list versions for. - * @param foundryFeatures The Foundry preview feature opt-in header. * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the * default is 20. * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` @@ -536,14 +553,12 @@ public PagedIterable listToolboxes(FoundryFeaturesOptInKeys foun * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. */ + @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listToolboxVersions(String name, - FoundryFeaturesOptInKeys foundryFeatures, Integer limit, PageOrder order, String after, String before) { + public PagedIterable listToolboxVersions(String name, Integer limit, PageOrder order, + String after, String before) { // Generated convenience method for listToolboxVersions RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } if (limit != null) { requestOptions.addQueryParam("limit", String.valueOf(limit), false); } @@ -562,9 +577,8 @@ public PagedIterable listToolboxVersions(String name, /** * List all versions of a toolbox. - * + * * @param name The name of the toolbox to list versions for. - * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -573,24 +587,20 @@ public PagedIterable listToolboxVersions(String name, * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. */ + @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listToolboxVersions(String name, - FoundryFeaturesOptInKeys foundryFeatures) { + public PagedIterable listToolboxVersions(String name) { // Generated convenience method for listToolboxVersions RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } return serviceClient.listToolboxVersions(name, requestOptions) .mapPage(bodyItemValue -> bodyItemValue.toObject(ToolboxVersionDetails.class)); } /** * Retrieve a specific version of a toolbox. - * + * * @param name The name of the toolbox. * @param version The version identifier to retrieve. - * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -599,25 +609,21 @@ public PagedIterable listToolboxVersions(String name, * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a specific version of a toolbox. */ + @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public ToolboxVersionDetails getToolboxVersion(String name, String version, - FoundryFeaturesOptInKeys foundryFeatures) { + public ToolboxVersionDetails getToolboxVersion(String name, String version) { // Generated convenience method for getToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } return getToolboxVersionWithResponse(name, version, requestOptions).getValue() .toObject(ToolboxVersionDetails.class); } /** * Update a toolbox to point to a specific version. - * + * * @param name The name of the toolbox to update. * @param defaultVersion The version identifier that the toolbox should point to. When set, the toolbox's default * version will resolve to this version instead of the latest. - * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -626,13 +632,11 @@ public ToolboxVersionDetails getToolboxVersion(String name, String version, * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a toolbox that stores reusable tool definitions for agents. */ + @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public ToolboxDetails updateToolbox(String name, String defaultVersion, FoundryFeaturesOptInKeys foundryFeatures) { + public ToolboxDetails updateToolbox(String name, String defaultVersion) { // Generated convenience method for updateToolboxWithResponse RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } UpdateToolboxRequest updateToolboxRequestObj = new UpdateToolboxRequest(defaultVersion); BinaryData updateToolboxRequest = BinaryData.fromObject(updateToolboxRequestObj); return updateToolboxWithResponse(name, updateToolboxRequest, requestOptions).getValue() @@ -641,9 +645,8 @@ public ToolboxDetails updateToolbox(String name, String defaultVersion, FoundryF /** * Delete a toolbox and all its versions. - * + * * @param name The name of the toolbox to delete. - * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -651,22 +654,19 @@ public ToolboxDetails updateToolbox(String name, String defaultVersion, FoundryF * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ + @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteToolbox(String name, FoundryFeaturesOptInKeys foundryFeatures) { + public void deleteToolbox(String name) { // Generated convenience method for deleteToolboxWithResponse RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } deleteToolboxWithResponse(name, requestOptions).getValue(); } /** * Delete a specific version of a toolbox. - * + * * @param name The name of the toolbox. * @param version The version identifier to delete. - * @param foundryFeatures The Foundry preview feature opt-in header. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -674,51 +674,11 @@ public void deleteToolbox(String name, FoundryFeaturesOptInKeys foundryFeatures) * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ + @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public void deleteToolboxVersion(String name, String version, FoundryFeaturesOptInKeys foundryFeatures) { + public void deleteToolboxVersion(String name, String version) { // Generated convenience method for deleteToolboxVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } deleteToolboxVersionWithResponse(name, version, requestOptions).getValue(); } - - /** - * Create a new version of a toolbox. If the toolbox does not exist, it will be created. - * - * @param name The name of the toolbox. If the toolbox does not exist, it will be created. - * @param tools The list of tools to include in this version. - * @param description A human-readable description of the toolbox. - * @param metadata Arbitrary key-value metadata to associate with the toolbox. - * @param skills The list of skill sources to include in this version. A skill reference specifies a skill name and - * optionally a version. If version is omitted, the skill's default version is used. - * @param policies Policy configuration for this toolbox version. - * @param foundryFeatures The Foundry preview feature opt-in header. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a specific version of a toolbox. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ToolboxVersionDetails createToolboxVersion(String name, List tools, String description, - Map metadata, List skills, ToolboxPolicies policies, - FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for createToolboxVersionWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - CreateToolboxVersionRequest createToolboxVersionRequestObj - = new CreateToolboxVersionRequest(tools).setDescription(description) - .setMetadata(metadata) - .setSkills(skills) - .setPolicies(policies); - BinaryData createToolboxVersionRequest = BinaryData.fromObject(createToolboxVersionRequestObj); - return createToolboxVersionWithResponse(name, createToolboxVersionRequest, requestOptions).getValue() - .toObject(ToolboxVersionDetails.class); - } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java index 2a34344c96ed..73b250882ed8 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java @@ -23,12 +23,19 @@ import com.azure.core.exception.HttpResponseException; import com.azure.core.exception.ResourceModifiedException; import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; import com.azure.core.http.rest.RequestOptions; import com.azure.core.http.rest.Response; import com.azure.core.http.rest.RestProxy; import com.azure.core.util.BinaryData; import com.azure.core.util.Context; import com.azure.core.util.FluxUtil; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; import reactor.core.publisher.Mono; /** @@ -126,8 +133,8 @@ Response downloadSessionFileSync(@HostParam("endpoint") String endpo @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> listSessionFiles(@HostParam("endpoint") String endpoint, @PathParam("agent_name") String agentName, @PathParam("agent_session_id") String agentSessionId, - @QueryParam("path") String path, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); @Get("/agents/{agent_name}/endpoint/sessions/{agent_session_id}/files") @ExpectedResponses({ 200 }) @@ -137,8 +144,8 @@ Mono> listSessionFiles(@HostParam("endpoint") String endpoi @UnexpectedResponseExceptionType(HttpResponseException.class) Response listSessionFilesSync(@HostParam("endpoint") String endpoint, @PathParam("agent_name") String agentName, @PathParam("agent_session_id") String agentSessionId, - @QueryParam("path") String path, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); @Delete("/agents/{agent_name}/endpoint/sessions/{agent_session_id}/files") @ExpectedResponses({ 204 }) @@ -356,6 +363,29 @@ public Response downloadSessionFileWithResponse(String agentName, St /** * List files and directories at a given path in the session sandbox. * Returns only the immediate children of the specified directory (non-recursive). + * If path is not provided, lists the session home directory. + *

    Query Parameters

    + * + * + * + * + * + * + * + * + *
    Query Parameters
    NameTypeRequiredDescription
    pathStringNoThe directory path to list, relative to the session home + * directory. Defaults to the home directory if not provided.
    limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
    orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
    afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
    beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
    + * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    * * @@ -373,41 +403,60 @@ public Response downloadSessionFileWithResponse(String agentName, St *
          * {@code
          * {
    -     *     path: String (Required)
    -     *     entries (Required): [
    -     *          (Required){
    -     *             name: String (Required)
    -     *             size: long (Required)
    -     *             is_directory: boolean (Required)
    -     *             modified_time: long (Required)
    -     *         }
    -     *     ]
    +     *     name: String (Required)
    +     *     size: long (Required)
    +     *     is_directory: boolean (Required)
    +     *     modified_time: long (Required)
          * }
          * }
          * 
    * * @param agentName The name of the agent. * @param agentSessionId The session ID. - * @param path The directory path to list, relative to the session home directory. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response from listing a directory in a session sandbox along with {@link Response} on successful - * completion of {@link Mono}. + * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listSessionFilesWithResponseAsync(String agentName, String agentSessionId, - String path, RequestOptions requestOptions) { + private Mono> listSessionFilesSinglePageAsync(String agentName, String agentSessionId, + RequestOptions requestOptions) { final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listSessionFiles(this.client.getEndpoint(), agentName, - agentSessionId, path, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + return FluxUtil + .withContext(context -> service.listSessionFiles(this.client.getEndpoint(), agentName, agentSessionId, + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "entries"), null, null)); } /** * List files and directories at a given path in the session sandbox. * Returns only the immediate children of the specified directory (non-recursive). + * If path is not provided, lists the session home directory. + *

    Query Parameters

    + *
    Header Parameters
    + * + * + * + * + * + * + * + *
    Query Parameters
    NameTypeRequiredDescription
    pathStringNoThe directory path to list, relative to the session home + * directory. Defaults to the home directory if not provided.
    limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
    orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
    afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
    beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
    + * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    * * @@ -425,35 +474,163 @@ public Mono> listSessionFilesWithResponseAsync(String agent *
          * {@code
          * {
    -     *     path: String (Required)
    -     *     entries (Required): [
    -     *          (Required){
    -     *             name: String (Required)
    -     *             size: long (Required)
    -     *             is_directory: boolean (Required)
    -     *             modified_time: long (Required)
    -     *         }
    -     *     ]
    +     *     name: String (Required)
    +     *     size: long (Required)
    +     *     is_directory: boolean (Required)
    +     *     modified_time: long (Required)
          * }
          * }
          * 
    * * @param agentName The name of the agent. * @param agentSessionId The session ID. - * @param path The directory path to list, relative to the session home directory. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response from listing a directory in a session sandbox along with {@link Response}. + * @return the paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listSessionFilesAsync(String agentName, String agentSessionId, + RequestOptions requestOptions) { + return new PagedFlux<>(() -> listSessionFilesSinglePageAsync(agentName, agentSessionId, requestOptions)); + } + + /** + * List files and directories at a given path in the session sandbox. + * Returns only the immediate children of the specified directory (non-recursive). + * If path is not provided, lists the session home directory. + *

    Query Parameters

    + *
    Header Parameters
    + * + * + * + * + * + * + * + *
    Query Parameters
    NameTypeRequiredDescription
    pathStringNoThe directory path to list, relative to the session home + * directory. Defaults to the home directory if not provided.
    limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
    orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
    afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
    beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
    + * You can add these to a request with {@link RequestOptions#addQueryParam} + *

    Header Parameters

    + * + * + * + * + * + *
    Header Parameters
    NameTypeRequiredDescription
    Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview".
    x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user.
    + * You can add these to a request with {@link RequestOptions#addHeader} + *

    Response Body Schema

    + * + *
    +     * {@code
    +     * {
    +     *     name: String (Required)
    +     *     size: long (Required)
    +     *     is_directory: boolean (Required)
    +     *     modified_time: long (Required)
    +     * }
    +     * }
    +     * 
    + * + * @param agentName The name of the agent. + * @param agentSessionId The session ID. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link PagedResponse}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response listSessionFilesWithResponse(String agentName, String agentSessionId, String path, + private PagedResponse listSessionFilesSinglePage(String agentName, String agentSessionId, RequestOptions requestOptions) { final String accept = "application/json"; - return service.listSessionFilesSync(this.client.getEndpoint(), agentName, agentSessionId, path, + Response res = service.listSessionFilesSync(this.client.getEndpoint(), agentName, agentSessionId, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "entries"), null, null); + } + + /** + * List files and directories at a given path in the session sandbox. + * Returns only the immediate children of the specified directory (non-recursive). + * If path is not provided, lists the session home directory. + *

    Query Parameters

    + * + * + * + * + * + * + * + * + *
    Query Parameters
    NameTypeRequiredDescription
    pathStringNoThe directory path to list, relative to the session home + * directory. Defaults to the home directory if not provided.
    limitIntegerNoA limit on the number of objects to be returned. Limit can range + * between 1 and 100, and the + * default is 20.
    orderStringNoSort order by the `created_at` timestamp of the objects. `asc` + * for ascending order and`desc` + * for descending order. Allowed values: "asc", "desc".
    afterStringNoA cursor for use in pagination. `after` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include after=obj_foo in order to fetch the next page of the list.
    beforeStringNoA cursor for use in pagination. `before` is an object ID that + * defines your place in the list. + * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your + * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
    + * You can add these to a request with {@link RequestOptions#addQueryParam} + *

    Header Parameters

    + * + * + * + * + * + *
    Header Parameters
    NameTypeRequiredDescription
    Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "HostedAgents=V1Preview", + * "WorkflowAgents=V1Preview", "AgentEndpoints=V1Preview", "CodeAgents=V1Preview", + * "ExternalAgents=V1Preview".
    x-ms-user-isolation-keyStringNoOpaque per-user isolation key used to scope + * endpoint-scoped data (responses, conversations, sessions) to a specific end user.
    + * You can add these to a request with {@link RequestOptions#addHeader} + *

    Response Body Schema

    + * + *
    +     * {@code
    +     * {
    +     *     name: String (Required)
    +     *     size: long (Required)
    +     *     is_directory: boolean (Required)
    +     *     modified_time: long (Required)
    +     * }
    +     * }
    +     * 
    + * + * @param agentName The name of the agent. + * @param agentSessionId The session ID. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listSessionFiles(String agentName, String agentSessionId, + RequestOptions requestOptions) { + return new PagedIterable<>(() -> listSessionFilesSinglePage(agentName, agentSessionId, requestOptions)); } /** @@ -537,4 +714,23 @@ public Response deleteSessionFileWithResponse(String agentName, String age return service.deleteSessionFileSync(this.client.getEndpoint(), agentName, agentSessionId, path, this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); } + + private List getValues(BinaryData binaryData, String path) { + try { + Map obj = binaryData.toObject(Map.class); + List values = (List) obj.get(path); + return values.stream().map(BinaryData::fromObject).collect(Collectors.toList()); + } catch (RuntimeException e) { + return null; + } + } + + private String getNextLink(BinaryData binaryData, String path) { + try { + Map obj = binaryData.toObject(Map.class); + return (String) obj.get(path); + } catch (RuntimeException e) { + return null; + } + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java index 584e0c53f228..63cdd0d26045 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java @@ -603,7 +603,7 @@ Response getSessionLogStreamSync(@HostParam("endpoint") String endpo @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> createOptimizationJob(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData inputs, RequestOptions requestOptions, Context context); @Post("/agent_optimization_jobs") @@ -614,7 +614,7 @@ Mono> createOptimizationJob(@HostParam("endpoint") String e @UnexpectedResponseExceptionType(HttpResponseException.class) Response createOptimizationJobSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData inputs, RequestOptions requestOptions, Context context); @Get("/agent_optimization_jobs/{jobId}") @@ -814,7 +814,7 @@ Response getOptimizationCandidateFileSync(@HostParam("endpoint") Str Mono> promoteOptimizationCandidate(@HostParam("endpoint") String endpoint, @PathParam("jobId") String jobId, @PathParam("candidateId") String candidateId, @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData candidateRequest, RequestOptions requestOptions, Context context); @Post("/agent_optimization_jobs/{jobId}/candidates/{candidateId}:promote") @@ -826,7 +826,7 @@ Mono> promoteOptimizationCandidate(@HostParam("endpoint") S Response promoteOptimizationCandidateSync(@HostParam("endpoint") String endpoint, @PathParam("jobId") String jobId, @PathParam("candidateId") String candidateId, @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData candidateRequest, RequestOptions requestOptions, Context context); @Get("/openai/v1/conversations") @@ -4528,7 +4528,7 @@ public Response downloadAgentCodeWithResponse(String agentName, Requ * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -4594,7 +4594,7 @@ public Mono> createSessionWithResponseAsync(String agentNam * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -4645,7 +4645,7 @@ public Response createSessionWithResponse(String agentName, BinaryDa * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -4694,7 +4694,7 @@ public Mono> getSessionWithResponseAsync(String agentName, * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -4885,7 +4885,7 @@ public Response stopSessionWithResponse(String agentName, String sessionId * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -4956,7 +4956,7 @@ private Mono> listSessionsSinglePageAsync(String agent * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -5020,7 +5020,7 @@ public PagedFlux listSessionsAsync(String agentName, RequestOptions * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -5088,7 +5088,7 @@ private PagedResponse listSessionsSinglePage(String agentName, Reque * version_indicator (Required): { * type: String(version_ref) (Required) * } - * status: String(creating/active/idle/updating/failed/stopping/deleting/deleted/expired) (Required) + * status: String(creating/active/idle/updating/failed/deleting/deleted/expired) (Required) * created_at: long (Required) * last_accessed_at: long (Required) * expires_at: long (Required) @@ -5260,8 +5260,8 @@ public Response getSessionLogStreamWithResponse(String agentName, St * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * Operation-IdStringNoClient-generated unique ID for idempotent retries. When * absent, the server creates the job unconditionally. * @@ -5272,25 +5272,25 @@ public Response getSessionLogStreamWithResponse(String agentName, St * {@code * { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * } * } @@ -5320,13 +5320,13 @@ public Response getSessionLogStreamWithResponse(String agentName, St * } * result (Optional): { * baseline (Optional): { - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -5341,35 +5341,35 @@ public Response getSessionLogStreamWithResponse(String agentName, St * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * best (Optional): (recursive schema, see best above) @@ -5377,52 +5377,52 @@ public Response getSessionLogStreamWithResponse(String agentName, St * (recursive schema, see above) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * warnings (Optional): [ * String (Optional) * ] - * allTargetAttributesFailed: Boolean (Optional) + * all_target_attributes_failed: Boolean (Optional) * } * inputs (Optional): { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): (recursive schema, see options above) * } - * createdAt: long (Required) - * updatedAt: Long (Optional) + * created_at: long (Required) + * updated_at: Long (Optional) * progress (Optional): { - * currentIteration: int (Required) - * bestScore: double (Required) - * elapsedSeconds: double (Required) + * current_iteration: int (Required) + * best_score: double (Required) + * elapsed_seconds: double (Required) * } * dataset (Optional): { * name: String (Optional) * version: String (Optional) - * taskCount: int (Required) - * isInline: boolean (Required) + * task_count: int (Required) + * is_inline: boolean (Required) * } * } * } *
    * - * @param body The optimization job inputs. + * @param inputs The optimization job inputs. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5433,12 +5433,12 @@ public Response getSessionLogStreamWithResponse(String agentName, St * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createOptimizationJobWithResponseAsync(BinaryData body, + public Mono> createOptimizationJobWithResponseAsync(BinaryData inputs, RequestOptions requestOptions) { final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil.withContext(context -> service.createOptimizationJob(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), contentType, accept, body, requestOptions, context)); + this.client.getServiceVersion().getVersion(), contentType, accept, inputs, requestOptions, context)); } /** @@ -5452,8 +5452,8 @@ public Mono> createOptimizationJobWithResponseAsync(BinaryD * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * Operation-IdStringNoClient-generated unique ID for idempotent retries. When * absent, the server creates the job unconditionally. * @@ -5464,25 +5464,25 @@ public Mono> createOptimizationJobWithResponseAsync(BinaryD * {@code * { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * } * } @@ -5512,13 +5512,13 @@ public Mono> createOptimizationJobWithResponseAsync(BinaryD * } * result (Optional): { * baseline (Optional): { - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -5533,35 +5533,35 @@ public Mono> createOptimizationJobWithResponseAsync(BinaryD * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * best (Optional): (recursive schema, see best above) @@ -5569,52 +5569,52 @@ public Mono> createOptimizationJobWithResponseAsync(BinaryD * (recursive schema, see above) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * warnings (Optional): [ * String (Optional) * ] - * allTargetAttributesFailed: Boolean (Optional) + * all_target_attributes_failed: Boolean (Optional) * } * inputs (Optional): { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): (recursive schema, see options above) * } - * createdAt: long (Required) - * updatedAt: Long (Optional) + * created_at: long (Required) + * updated_at: Long (Optional) * progress (Optional): { - * currentIteration: int (Required) - * bestScore: double (Required) - * elapsedSeconds: double (Required) + * current_iteration: int (Required) + * best_score: double (Required) + * elapsed_seconds: double (Required) * } * dataset (Optional): { * name: String (Optional) * version: String (Optional) - * taskCount: int (Required) - * isInline: boolean (Required) + * task_count: int (Required) + * is_inline: boolean (Required) * } * } * } *
    * - * @param body The optimization job inputs. + * @param inputs The optimization job inputs. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5624,11 +5624,11 @@ public Mono> createOptimizationJobWithResponseAsync(BinaryD * (instructions, model, skills, tools) to maximize evaluation scores along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response createOptimizationJobWithResponse(BinaryData body, RequestOptions requestOptions) { + public Response createOptimizationJobWithResponse(BinaryData inputs, RequestOptions requestOptions) { final String contentType = "application/json"; final String accept = "application/json"; return service.createOptimizationJobSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), contentType, accept, body, requestOptions, Context.NONE); + this.client.getServiceVersion().getVersion(), contentType, accept, inputs, requestOptions, Context.NONE); } /** @@ -5642,8 +5642,8 @@ public Response createOptimizationJobWithResponse(BinaryData body, R * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -5670,13 +5670,13 @@ public Response createOptimizationJobWithResponse(BinaryData body, R * } * result (Optional): { * baseline (Optional): { - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -5691,35 +5691,35 @@ public Response createOptimizationJobWithResponse(BinaryData body, R * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * best (Optional): (recursive schema, see best above) @@ -5727,46 +5727,46 @@ public Response createOptimizationJobWithResponse(BinaryData body, R * (recursive schema, see above) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * warnings (Optional): [ * String (Optional) * ] - * allTargetAttributesFailed: Boolean (Optional) + * all_target_attributes_failed: Boolean (Optional) * } * inputs (Optional): { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): (recursive schema, see options above) * } - * createdAt: long (Required) - * updatedAt: Long (Optional) + * created_at: long (Required) + * updated_at: Long (Optional) * progress (Optional): { - * currentIteration: int (Required) - * bestScore: double (Required) - * elapsedSeconds: double (Required) + * current_iteration: int (Required) + * best_score: double (Required) + * elapsed_seconds: double (Required) * } * dataset (Optional): { * name: String (Optional) * version: String (Optional) - * taskCount: int (Required) - * isInline: boolean (Required) + * task_count: int (Required) + * is_inline: boolean (Required) * } * } * } @@ -5800,8 +5800,8 @@ public Mono> getOptimizationJobWithResponseAsync(String job * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -5828,13 +5828,13 @@ public Mono> getOptimizationJobWithResponseAsync(String job * } * result (Optional): { * baseline (Optional): { - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -5849,35 +5849,35 @@ public Mono> getOptimizationJobWithResponseAsync(String job * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * best (Optional): (recursive schema, see best above) @@ -5885,46 +5885,46 @@ public Mono> getOptimizationJobWithResponseAsync(String job * (recursive schema, see above) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * warnings (Optional): [ * String (Optional) * ] - * allTargetAttributesFailed: Boolean (Optional) + * all_target_attributes_failed: Boolean (Optional) * } * inputs (Optional): { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): (recursive schema, see options above) * } - * createdAt: long (Required) - * updatedAt: Long (Optional) + * created_at: long (Required) + * updated_at: Long (Optional) * progress (Optional): { - * currentIteration: int (Required) - * bestScore: double (Required) - * elapsedSeconds: double (Required) + * current_iteration: int (Required) + * best_score: double (Required) + * elapsed_seconds: double (Required) * } * dataset (Optional): { * name: String (Optional) * version: String (Optional) - * taskCount: int (Required) - * isInline: boolean (Required) + * task_count: int (Required) + * is_inline: boolean (Required) * } * } * } @@ -5950,7 +5950,7 @@ public Response getOptimizationJobWithResponse(String jobId, Request /** * Returns a list of agent optimization jobs. * - * List optimization jobs. Supports cursor pagination and optional status / agentName filters. + * List optimization jobs. Supports cursor pagination and optional status / agent_name filters. *

    Query Parameters

    * * @@ -5971,7 +5971,7 @@ public Response getOptimizationJobWithResponse(String jobId, Request * subsequent call can include before=obj_foo in order to fetch the previous page of the list. * - * + * *
    Query Parameters
    statusStringNoFilter to jobs in this lifecycle state. Allowed values: * "queued", "in_progress", "succeeded", "failed", "cancelled".
    agentNameStringNoFilter to jobs targeting this agent name.
    agent_nameStringNoFilter to jobs targeting this agent name.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    @@ -5981,8 +5981,8 @@ public Response getOptimizationJobWithResponse(String jobId, Request * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -6009,13 +6009,13 @@ public Response getOptimizationJobWithResponse(String jobId, Request * } * result (Optional): { * baseline (Optional): { - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -6030,35 +6030,35 @@ public Response getOptimizationJobWithResponse(String jobId, Request * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * best (Optional): (recursive schema, see best above) @@ -6066,46 +6066,46 @@ public Response getOptimizationJobWithResponse(String jobId, Request * (recursive schema, see above) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * warnings (Optional): [ * String (Optional) * ] - * allTargetAttributesFailed: Boolean (Optional) + * all_target_attributes_failed: Boolean (Optional) * } * inputs (Optional): { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): (recursive schema, see options above) * } - * createdAt: long (Required) - * updatedAt: Long (Optional) + * created_at: long (Required) + * updated_at: Long (Optional) * progress (Optional): { - * currentIteration: int (Required) - * bestScore: double (Required) - * elapsedSeconds: double (Required) + * current_iteration: int (Required) + * best_score: double (Required) + * elapsed_seconds: double (Required) * } * dataset (Optional): { * name: String (Optional) * version: String (Optional) - * taskCount: int (Required) - * isInline: boolean (Required) + * task_count: int (Required) + * is_inline: boolean (Required) * } * } * } @@ -6132,7 +6132,7 @@ private Mono> listOptimizationJobsSinglePageAsync(Requ /** * Returns a list of agent optimization jobs. * - * List optimization jobs. Supports cursor pagination and optional status / agentName filters. + * List optimization jobs. Supports cursor pagination and optional status / agent_name filters. *

    Query Parameters

    * * @@ -6153,7 +6153,7 @@ private Mono> listOptimizationJobsSinglePageAsync(Requ * subsequent call can include before=obj_foo in order to fetch the previous page of the list. * - * + * *
    Query Parameters
    statusStringNoFilter to jobs in this lifecycle state. Allowed values: * "queued", "in_progress", "succeeded", "failed", "cancelled".
    agentNameStringNoFilter to jobs targeting this agent name.
    agent_nameStringNoFilter to jobs targeting this agent name.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    @@ -6163,8 +6163,8 @@ private Mono> listOptimizationJobsSinglePageAsync(Requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -6191,13 +6191,13 @@ private Mono> listOptimizationJobsSinglePageAsync(Requ * } * result (Optional): { * baseline (Optional): { - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -6212,35 +6212,35 @@ private Mono> listOptimizationJobsSinglePageAsync(Requ * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * best (Optional): (recursive schema, see best above) @@ -6248,46 +6248,46 @@ private Mono> listOptimizationJobsSinglePageAsync(Requ * (recursive schema, see above) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * warnings (Optional): [ * String (Optional) * ] - * allTargetAttributesFailed: Boolean (Optional) + * all_target_attributes_failed: Boolean (Optional) * } * inputs (Optional): { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): (recursive schema, see options above) * } - * createdAt: long (Required) - * updatedAt: Long (Optional) + * created_at: long (Required) + * updated_at: Long (Optional) * progress (Optional): { - * currentIteration: int (Required) - * bestScore: double (Required) - * elapsedSeconds: double (Required) + * current_iteration: int (Required) + * best_score: double (Required) + * elapsed_seconds: double (Required) * } * dataset (Optional): { * name: String (Optional) * version: String (Optional) - * taskCount: int (Required) - * isInline: boolean (Required) + * task_count: int (Required) + * is_inline: boolean (Required) * } * } * } @@ -6308,7 +6308,7 @@ public PagedFlux listOptimizationJobsAsync(RequestOptions requestOpt /** * Returns a list of agent optimization jobs. * - * List optimization jobs. Supports cursor pagination and optional status / agentName filters. + * List optimization jobs. Supports cursor pagination and optional status / agent_name filters. *

    Query Parameters

    * * @@ -6329,7 +6329,7 @@ public PagedFlux listOptimizationJobsAsync(RequestOptions requestOpt * subsequent call can include before=obj_foo in order to fetch the previous page of the list. * - * + * *
    Query Parameters
    statusStringNoFilter to jobs in this lifecycle state. Allowed values: * "queued", "in_progress", "succeeded", "failed", "cancelled".
    agentNameStringNoFilter to jobs targeting this agent name.
    agent_nameStringNoFilter to jobs targeting this agent name.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    @@ -6339,8 +6339,8 @@ public PagedFlux listOptimizationJobsAsync(RequestOptions requestOpt * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -6367,13 +6367,13 @@ public PagedFlux listOptimizationJobsAsync(RequestOptions requestOpt * } * result (Optional): { * baseline (Optional): { - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -6388,35 +6388,35 @@ public PagedFlux listOptimizationJobsAsync(RequestOptions requestOpt * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * best (Optional): (recursive schema, see best above) @@ -6424,46 +6424,46 @@ public PagedFlux listOptimizationJobsAsync(RequestOptions requestOpt * (recursive schema, see above) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * warnings (Optional): [ * String (Optional) * ] - * allTargetAttributesFailed: Boolean (Optional) + * all_target_attributes_failed: Boolean (Optional) * } * inputs (Optional): { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): (recursive schema, see options above) * } - * createdAt: long (Required) - * updatedAt: Long (Optional) + * created_at: long (Required) + * updated_at: Long (Optional) * progress (Optional): { - * currentIteration: int (Required) - * bestScore: double (Required) - * elapsedSeconds: double (Required) + * current_iteration: int (Required) + * best_score: double (Required) + * elapsed_seconds: double (Required) * } * dataset (Optional): { * name: String (Optional) * version: String (Optional) - * taskCount: int (Required) - * isInline: boolean (Required) + * task_count: int (Required) + * is_inline: boolean (Required) * } * } * } @@ -6488,7 +6488,7 @@ private PagedResponse listOptimizationJobsSinglePage(RequestOptions /** * Returns a list of agent optimization jobs. * - * List optimization jobs. Supports cursor pagination and optional status / agentName filters. + * List optimization jobs. Supports cursor pagination and optional status / agent_name filters. *

    Query Parameters

    * * @@ -6509,7 +6509,7 @@ private PagedResponse listOptimizationJobsSinglePage(RequestOptions * subsequent call can include before=obj_foo in order to fetch the previous page of the list. * - * + * *
    Query Parameters
    statusStringNoFilter to jobs in this lifecycle state. Allowed values: * "queued", "in_progress", "succeeded", "failed", "cancelled".
    agentNameStringNoFilter to jobs targeting this agent name.
    agent_nameStringNoFilter to jobs targeting this agent name.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    @@ -6519,8 +6519,8 @@ private PagedResponse listOptimizationJobsSinglePage(RequestOptions * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -6547,13 +6547,13 @@ private PagedResponse listOptimizationJobsSinglePage(RequestOptions * } * result (Optional): { * baseline (Optional): { - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -6568,35 +6568,35 @@ private PagedResponse listOptimizationJobsSinglePage(RequestOptions * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * best (Optional): (recursive schema, see best above) @@ -6604,46 +6604,46 @@ private PagedResponse listOptimizationJobsSinglePage(RequestOptions * (recursive schema, see above) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * warnings (Optional): [ * String (Optional) * ] - * allTargetAttributesFailed: Boolean (Optional) + * all_target_attributes_failed: Boolean (Optional) * } * inputs (Optional): { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): (recursive schema, see options above) * } - * createdAt: long (Required) - * updatedAt: Long (Optional) + * created_at: long (Required) + * updated_at: Long (Optional) * progress (Optional): { - * currentIteration: int (Required) - * bestScore: double (Required) - * elapsedSeconds: double (Required) + * current_iteration: int (Required) + * best_score: double (Required) + * elapsed_seconds: double (Required) * } * dataset (Optional): { * name: String (Optional) * version: String (Optional) - * taskCount: int (Required) - * isInline: boolean (Required) + * task_count: int (Required) + * is_inline: boolean (Required) * } * } * } @@ -6672,8 +6672,8 @@ public PagedIterable listOptimizationJobs(RequestOptions requestOpti * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -6700,13 +6700,13 @@ public PagedIterable listOptimizationJobs(RequestOptions requestOpti * } * result (Optional): { * baseline (Optional): { - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -6721,35 +6721,35 @@ public PagedIterable listOptimizationJobs(RequestOptions requestOpti * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * best (Optional): (recursive schema, see best above) @@ -6757,46 +6757,46 @@ public PagedIterable listOptimizationJobs(RequestOptions requestOpti * (recursive schema, see above) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * warnings (Optional): [ * String (Optional) * ] - * allTargetAttributesFailed: Boolean (Optional) + * all_target_attributes_failed: Boolean (Optional) * } * inputs (Optional): { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): (recursive schema, see options above) * } - * createdAt: long (Required) - * updatedAt: Long (Optional) + * created_at: long (Required) + * updated_at: Long (Optional) * progress (Optional): { - * currentIteration: int (Required) - * bestScore: double (Required) - * elapsedSeconds: double (Required) + * current_iteration: int (Required) + * best_score: double (Required) + * elapsed_seconds: double (Required) * } * dataset (Optional): { * name: String (Optional) * version: String (Optional) - * taskCount: int (Required) - * isInline: boolean (Required) + * task_count: int (Required) + * is_inline: boolean (Required) * } * } * } @@ -6831,8 +6831,8 @@ public Mono> cancelOptimizationJobWithResponseAsync(String * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -6859,13 +6859,13 @@ public Mono> cancelOptimizationJobWithResponseAsync(String * } * result (Optional): { * baseline (Optional): { - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -6880,35 +6880,35 @@ public Mono> cancelOptimizationJobWithResponseAsync(String * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * best (Optional): (recursive schema, see best above) @@ -6916,46 +6916,46 @@ public Mono> cancelOptimizationJobWithResponseAsync(String * (recursive schema, see above) * ] * options (Optional): { - * maxIterations: Integer (Optional) - * optimizationConfig (Optional): { + * max_iterations: Integer (Optional) + * optimization_config (Optional): { * String: BinaryData (Required) * } - * evalModel: String (Optional) - * optimizationModel: String (Optional) - * evaluationLevel: String(turn/conversation) (Optional) + * eval_model: String (Optional) + * optimization_model: String (Optional) + * evaluation_level: String(turn/conversation) (Optional) * } * warnings (Optional): [ * String (Optional) * ] - * allTargetAttributesFailed: Boolean (Optional) + * all_target_attributes_failed: Boolean (Optional) * } * inputs (Optional): { * agent (Required): { - * agentName: String (Required) - * agentVersion: String (Optional) + * agent_name: String (Required) + * agent_version: String (Optional) * } - * trainDatasetReference (Required): { + * train_dataset_reference (Required): { * name: String (Required) * version: String (Optional) * } - * validationDatasetReference (Optional): (recursive schema, see validationDatasetReference above) + * validation_dataset_reference (Optional): (recursive schema, see validation_dataset_reference above) * evaluators (Optional): [ * String (Optional) * ] * options (Optional): (recursive schema, see options above) * } - * createdAt: long (Required) - * updatedAt: Long (Optional) + * created_at: long (Required) + * updated_at: Long (Optional) * progress (Optional): { - * currentIteration: int (Required) - * bestScore: double (Required) - * elapsedSeconds: double (Required) + * current_iteration: int (Required) + * best_score: double (Required) + * elapsed_seconds: double (Required) * } * dataset (Optional): { * name: String (Optional) * version: String (Optional) - * taskCount: int (Required) - * isInline: boolean (Required) + * task_count: int (Required) + * is_inline: boolean (Required) * } * } * } @@ -6996,8 +6996,8 @@ public Response cancelOptimizationJobWithResponse(String jobId, Requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -7034,8 +7034,8 @@ public Mono> deleteOptimizationJobWithResponseAsync(String jobId, * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -7084,8 +7084,8 @@ public Response deleteOptimizationJobWithResponse(String jobId, RequestOpt * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -7095,13 +7095,13 @@ public Response deleteOptimizationJobWithResponse(String jobId, RequestOpt * { * data (Required): [ * (Required){ - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -7116,35 +7116,35 @@ public Response deleteOptimizationJobWithResponse(String jobId, RequestOpt * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * ] @@ -7203,8 +7203,8 @@ public Mono> listOptimizationCandidatesWithResponseAsync(St * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -7214,13 +7214,13 @@ public Mono> listOptimizationCandidatesWithResponseAsync(St * { * data (Required): [ * (Required){ - * candidateId: String (Optional) + * candidate_id: String (Optional) * name: String (Required) * config (Required): { - * agentName: String (Optional) - * agentVersion: String (Optional) + * agent_name: String (Optional) + * agent_version: String (Optional) * model: String (Optional) - * systemPrompt: String (Optional) + * system_prompt: String (Optional) * skills (Optional): [ * (Optional){ * String: BinaryData (Required) @@ -7235,35 +7235,35 @@ public Mono> listOptimizationCandidatesWithResponseAsync(St * mutations (Required): { * String: BinaryData (Required) * } - * avgScore: double (Required) - * avgTokens: double (Required) - * passRate: double (Required) - * taskScores (Required): [ + * avg_score: double (Required) + * avg_tokens: double (Required) + * pass_rate: double (Required) + * task_scores (Required): [ * (Required){ - * taskName: String (Required) + * task_name: String (Required) * query: String (Optional) * scores (Required): { * String: double (Required) * } - * compositeScore: double (Required) + * composite_score: double (Required) * tokens: int (Required) - * durationSeconds: double (Required) + * duration_seconds: double (Required) * passed: boolean (Required) - * errorMessage: String (Optional) + * error_message: String (Optional) * rationales (Optional): { * String: String (Required) * } * response: String (Optional) - * runId: String (Optional) + * run_id: String (Optional) * } * ] - * isParetoOptimal: boolean (Required) - * evalId: String (Optional) - * evalRunId: String (Optional) + * is_pareto_optimal: boolean (Required) + * eval_id: String (Optional) + * eval_run_id: String (Optional) * promotion (Optional): { - * promotedAt: long (Required) - * agentName: String (Required) - * agentVersion: String (Required) + * promoted_at: long (Required) + * agent_name: String (Required) + * agent_version: String (Required) * } * } * ] @@ -7300,8 +7300,8 @@ public Response listOptimizationCandidatesWithResponse(String jobId, * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -7309,24 +7309,24 @@ public Response listOptimizationCandidatesWithResponse(String jobId, *
          * {@code
          * {
    -     *     candidateId: String (Required)
    -     *     jobId: String (Required)
    -     *     candidateName: String (Required)
    +     *     candidate_id: String (Required)
    +     *     job_id: String (Required)
    +     *     candidate_name: String (Required)
          *     status: String (Required)
          *     score: Double (Optional)
    -     *     hasResults: boolean (Required)
    -     *     createdAt: long (Required)
    -     *     updatedAt: long (Required)
    +     *     has_results: boolean (Required)
    +     *     created_at: long (Required)
    +     *     updated_at: long (Required)
          *     promotion (Optional): {
    -     *         promotedAt: long (Required)
    -     *         agentName: String (Required)
    -     *         agentVersion: String (Required)
    +     *         promoted_at: long (Required)
    +     *         agent_name: String (Required)
    +     *         agent_version: String (Required)
          *     }
          *     files (Required): [
          *          (Required){
          *             path: String (Required)
          *             type: String (Required)
    -     *             sizeBytes: long (Required)
    +     *             size_bytes: long (Required)
          *         }
          *     ]
          * }
    @@ -7364,8 +7364,8 @@ public Mono> getOptimizationCandidateWithResponseAsync(Stri
          * Foundry-FeaturesStringNoA feature flag opt-in required when using preview
          * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview",
          * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview",
    -     * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview",
    -     * "AgentsOptimization=V1Preview".
    +     * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview",
    +     * "Models=V1Preview", "AgentsOptimization=V1Preview".
          * 
          * You can add these to a request with {@link RequestOptions#addHeader}
          * 

    Response Body Schema

    @@ -7373,24 +7373,24 @@ public Mono> getOptimizationCandidateWithResponseAsync(Stri *
          * {@code
          * {
    -     *     candidateId: String (Required)
    -     *     jobId: String (Required)
    -     *     candidateName: String (Required)
    +     *     candidate_id: String (Required)
    +     *     job_id: String (Required)
    +     *     candidate_name: String (Required)
          *     status: String (Required)
          *     score: Double (Optional)
    -     *     hasResults: boolean (Required)
    -     *     createdAt: long (Required)
    -     *     updatedAt: long (Required)
    +     *     has_results: boolean (Required)
    +     *     created_at: long (Required)
    +     *     updated_at: long (Required)
          *     promotion (Optional): {
    -     *         promotedAt: long (Required)
    -     *         agentName: String (Required)
    -     *         agentVersion: String (Required)
    +     *         promoted_at: long (Required)
    +     *         agent_name: String (Required)
    +     *         agent_version: String (Required)
          *     }
          *     files (Required): [
          *          (Required){
          *             path: String (Required)
          *             type: String (Required)
    -     *             sizeBytes: long (Required)
    +     *             size_bytes: long (Required)
          *         }
          *     ]
          * }
    @@ -7427,8 +7427,8 @@ public Response getOptimizationCandidateWithResponse(String jobId, S
          * Foundry-FeaturesStringNoA feature flag opt-in required when using preview
          * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview",
          * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview",
    -     * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview",
    -     * "AgentsOptimization=V1Preview".
    +     * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview",
    +     * "Models=V1Preview", "AgentsOptimization=V1Preview".
          * 
          * You can add these to a request with {@link RequestOptions#addHeader}
          * 

    Response Body Schema

    @@ -7483,8 +7483,8 @@ public Mono> getOptimizationCandidateConfigWithResponseAsyn * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -7539,8 +7539,8 @@ public Response getOptimizationCandidateConfigWithResponse(String jo * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -7548,24 +7548,24 @@ public Response getOptimizationCandidateConfigWithResponse(String jo *
          * {@code
          * {
    -     *     candidateId: String (Required)
    +     *     candidate_id: String (Required)
          *     results (Required): [
          *          (Required){
    -     *             taskName: String (Required)
    +     *             task_name: String (Required)
          *             query: String (Optional)
          *             scores (Required): {
          *                 String: double (Required)
          *             }
    -     *             compositeScore: double (Required)
    +     *             composite_score: double (Required)
          *             tokens: int (Required)
    -     *             durationSeconds: double (Required)
    +     *             duration_seconds: double (Required)
          *             passed: boolean (Required)
    -     *             errorMessage: String (Optional)
    +     *             error_message: String (Optional)
          *             rationales (Optional): {
          *                 String: String (Required)
          *             }
          *             response: String (Optional)
    -     *             runId: String (Optional)
    +     *             run_id: String (Optional)
          *         }
          *     ]
          * }
    @@ -7603,8 +7603,8 @@ public Mono> getOptimizationCandidateResultsWithResponseAsy
          * Foundry-FeaturesStringNoA feature flag opt-in required when using preview
          * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview",
          * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview",
    -     * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview",
    -     * "AgentsOptimization=V1Preview".
    +     * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview",
    +     * "Models=V1Preview", "AgentsOptimization=V1Preview".
          * 
          * You can add these to a request with {@link RequestOptions#addHeader}
          * 

    Response Body Schema

    @@ -7612,24 +7612,24 @@ public Mono> getOptimizationCandidateResultsWithResponseAsy *
          * {@code
          * {
    -     *     candidateId: String (Required)
    +     *     candidate_id: String (Required)
          *     results (Required): [
          *          (Required){
    -     *             taskName: String (Required)
    +     *             task_name: String (Required)
          *             query: String (Optional)
          *             scores (Required): {
          *                 String: double (Required)
          *             }
    -     *             compositeScore: double (Required)
    +     *             composite_score: double (Required)
          *             tokens: int (Required)
    -     *             durationSeconds: double (Required)
    +     *             duration_seconds: double (Required)
          *             passed: boolean (Required)
    -     *             errorMessage: String (Optional)
    +     *             error_message: String (Optional)
          *             rationales (Optional): {
          *                 String: String (Required)
          *             }
          *             response: String (Optional)
    -     *             runId: String (Optional)
    +     *             run_id: String (Optional)
          *         }
          *     ]
          * }
    @@ -7666,8 +7666,8 @@ public Response getOptimizationCandidateResultsWithResponse(String j
          * Foundry-FeaturesStringNoA feature flag opt-in required when using preview
          * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview",
          * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview",
    -     * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview",
    -     * "AgentsOptimization=V1Preview".
    +     * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview",
    +     * "Models=V1Preview", "AgentsOptimization=V1Preview".
          * 
          * You can add these to a request with {@link RequestOptions#addHeader}
          * 

    Response Body Schema

    @@ -7710,8 +7710,8 @@ public Mono> getOptimizationCandidateFileWithResponseAsync( * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -7753,8 +7753,8 @@ public Response getOptimizationCandidateFileWithResponse(String jobI * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    @@ -7762,8 +7762,8 @@ public Response getOptimizationCandidateFileWithResponse(String jobI *
          * {@code
          * {
    -     *     agentName: String (Required)
    -     *     agentVersion: String (Required)
    +     *     agent_name: String (Required)
    +     *     agent_version: String (Required)
          * }
          * }
          * 
    @@ -7773,18 +7773,18 @@ public Response getOptimizationCandidateFileWithResponse(String jobI *
          * {@code
          * {
    -     *     candidateId: String (Required)
    +     *     candidate_id: String (Required)
          *     status: String (Required)
    -     *     promotedAt: long (Required)
    -     *     agentName: String (Required)
    -     *     agentVersion: String (Required)
    +     *     promoted_at: long (Required)
    +     *     agent_name: String (Required)
    +     *     agent_version: String (Required)
          * }
          * }
          * 
    * * @param jobId The optimization job id. * @param candidateId The candidate id to promote. - * @param body Promotion details. + * @param candidateRequest Promotion details. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -7795,12 +7795,12 @@ public Response getOptimizationCandidateFileWithResponse(String jobI */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> promoteOptimizationCandidateWithResponseAsync(String jobId, String candidateId, - BinaryData body, RequestOptions requestOptions) { + BinaryData candidateRequest, RequestOptions requestOptions) { final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.promoteOptimizationCandidate(this.client.getEndpoint(), jobId, candidateId, - this.client.getServiceVersion().getVersion(), contentType, accept, body, requestOptions, context)); + return FluxUtil.withContext(context -> service.promoteOptimizationCandidate(this.client.getEndpoint(), jobId, + candidateId, this.client.getServiceVersion().getVersion(), contentType, accept, candidateRequest, + requestOptions, context)); } /** @@ -7814,8 +7814,8 @@ public Mono> promoteOptimizationCandidateWithResponseAsync( * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    @@ -7823,8 +7823,8 @@ public Mono> promoteOptimizationCandidateWithResponseAsync( *
          * {@code
          * {
    -     *     agentName: String (Required)
    -     *     agentVersion: String (Required)
    +     *     agent_name: String (Required)
    +     *     agent_version: String (Required)
          * }
          * }
          * 
    @@ -7834,18 +7834,18 @@ public Mono> promoteOptimizationCandidateWithResponseAsync( *
          * {@code
          * {
    -     *     candidateId: String (Required)
    +     *     candidate_id: String (Required)
          *     status: String (Required)
    -     *     promotedAt: long (Required)
    -     *     agentName: String (Required)
    -     *     agentVersion: String (Required)
    +     *     promoted_at: long (Required)
    +     *     agent_name: String (Required)
    +     *     agent_version: String (Required)
          * }
          * }
          * 
    * * @param jobId The optimization job id. * @param candidateId The candidate id to promote. - * @param body Promotion details. + * @param candidateRequest Promotion details. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -7855,11 +7855,12 @@ public Mono> promoteOptimizationCandidateWithResponseAsync( */ @ServiceMethod(returns = ReturnType.SINGLE) public Response promoteOptimizationCandidateWithResponse(String jobId, String candidateId, - BinaryData body, RequestOptions requestOptions) { + BinaryData candidateRequest, RequestOptions requestOptions) { final String contentType = "application/json"; final String accept = "application/json"; return service.promoteOptimizationCandidateSync(this.client.getEndpoint(), jobId, candidateId, - this.client.getServiceVersion().getVersion(), contentType, accept, body, requestOptions, Context.NONE); + this.client.getServiceVersion().getVersion(), contentType, accept, candidateRequest, requestOptions, + Context.NONE); } /** diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java index ec6423108ef8..1a277fe21d91 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java @@ -87,10 +87,10 @@ public interface ToolboxesService { @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> createToolboxVersion(@HostParam("endpoint") String endpoint, - @PathParam("name") String name, @QueryParam("api-version") String apiVersion, - @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") BinaryData createToolboxVersionRequest, RequestOptions requestOptions, - Context context); + @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData createToolboxVersionRequest, + RequestOptions requestOptions, Context context); @Post("/toolboxes/{name}/versions") @ExpectedResponses({ 200 }) @@ -99,10 +99,10 @@ Mono> createToolboxVersion(@HostParam("endpoint") String en @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response createToolboxVersionSync(@HostParam("endpoint") String endpoint, - @PathParam("name") String name, @QueryParam("api-version") String apiVersion, - @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") BinaryData createToolboxVersionRequest, RequestOptions requestOptions, - Context context); + @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData createToolboxVersionRequest, + RequestOptions requestOptions, Context context); @Get("/toolboxes/{name}") @ExpectedResponses({ 200 }) @@ -111,8 +111,8 @@ Response createToolboxVersionSync(@HostParam("endpoint") String endp @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> getToolbox(@HostParam("endpoint") String endpoint, @PathParam("name") String name, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @Get("/toolboxes/{name}") @ExpectedResponses({ 200 }) @@ -121,8 +121,8 @@ Mono> getToolbox(@HostParam("endpoint") String endpoint, @P @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response getToolboxSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @Get("/toolboxes") @ExpectedResponses({ 200 }) @@ -131,8 +131,8 @@ Response getToolboxSync(@HostParam("endpoint") String endpoint, @Pat @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> listToolboxes(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @Get("/toolboxes") @ExpectedResponses({ 200 }) @@ -141,8 +141,8 @@ Mono> listToolboxes(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response listToolboxesSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @Get("/toolboxes/{name}/versions") @ExpectedResponses({ 200 }) @@ -151,8 +151,9 @@ Response listToolboxesSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> listToolboxVersions(@HostParam("endpoint") String endpoint, - @PathParam("name") String name, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); @Get("/toolboxes/{name}/versions") @ExpectedResponses({ 200 }) @@ -161,8 +162,9 @@ Mono> listToolboxVersions(@HostParam("endpoint") String end @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response listToolboxVersionsSync(@HostParam("endpoint") String endpoint, - @PathParam("name") String name, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); @Get("/toolboxes/{name}/versions/{version}") @ExpectedResponses({ 200 }) @@ -172,8 +174,8 @@ Response listToolboxVersionsSync(@HostParam("endpoint") String endpo @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> getToolboxVersion(@HostParam("endpoint") String endpoint, @PathParam("name") String name, @PathParam("version") String version, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @Get("/toolboxes/{name}/versions/{version}") @ExpectedResponses({ 200 }) @@ -183,8 +185,8 @@ Mono> getToolboxVersion(@HostParam("endpoint") String endpo @UnexpectedResponseExceptionType(HttpResponseException.class) Response getToolboxVersionSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, @PathParam("version") String version, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @Patch("/toolboxes/{name}") @ExpectedResponses({ 200 }) @@ -193,9 +195,10 @@ Response getToolboxVersionSync(@HostParam("endpoint") String endpoin @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> updateToolbox(@HostParam("endpoint") String endpoint, @PathParam("name") String name, - @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData updateToolboxRequest, - RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData updateToolboxRequest, RequestOptions requestOptions, + Context context); @Patch("/toolboxes/{name}") @ExpectedResponses({ 200 }) @@ -204,9 +207,10 @@ Mono> updateToolbox(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response updateToolboxSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, - @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData updateToolboxRequest, - RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData updateToolboxRequest, RequestOptions requestOptions, + Context context); @Delete("/toolboxes/{name}") @ExpectedResponses({ 204 }) @@ -215,7 +219,8 @@ Response updateToolboxSync(@HostParam("endpoint") String endpoint, @ @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> deleteToolbox(@HostParam("endpoint") String endpoint, @PathParam("name") String name, - @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + RequestOptions requestOptions, Context context); @Delete("/toolboxes/{name}") @ExpectedResponses({ 204 }) @@ -224,7 +229,8 @@ Mono> deleteToolbox(@HostParam("endpoint") String endpoint, @Path @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response deleteToolboxSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, - @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + RequestOptions requestOptions, Context context); @Delete("/toolboxes/{name}/versions/{version}") @ExpectedResponses({ 204 }) @@ -234,7 +240,8 @@ Response deleteToolboxSync(@HostParam("endpoint") String endpoint, @PathPa @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> deleteToolboxVersion(@HostParam("endpoint") String endpoint, @PathParam("name") String name, @PathParam("version") String version, - @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); + @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, + RequestOptions requestOptions, Context context); @Delete("/toolboxes/{name}/versions/{version}") @ExpectedResponses({ 204 }) @@ -243,8 +250,8 @@ Mono> deleteToolboxVersion(@HostParam("endpoint") String endpoint @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response deleteToolboxVersionSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, - @PathParam("version") String version, @QueryParam("api-version") String apiVersion, - RequestOptions requestOptions, Context context); + @PathParam("version") String version, @HeaderParam("Foundry-Features") String foundryFeatures, + @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); } /** @@ -321,11 +328,12 @@ Response deleteToolboxVersionSync(@HostParam("endpoint") String endpoint, @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createToolboxVersionWithResponseAsync(String name, BinaryData createToolboxVersionRequest, RequestOptions requestOptions) { + final String foundryFeatures = "Toolboxes=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil.withContext(context -> service.createToolboxVersion(this.client.getEndpoint(), name, - this.client.getServiceVersion().getVersion(), contentType, accept, createToolboxVersionRequest, - requestOptions, context)); + foundryFeatures, this.client.getServiceVersion().getVersion(), contentType, accept, + createToolboxVersionRequest, requestOptions, context)); } /** @@ -402,9 +410,10 @@ public Mono> createToolboxVersionWithResponseAsync(String n @ServiceMethod(returns = ReturnType.SINGLE) public Response createToolboxVersionWithResponse(String name, BinaryData createToolboxVersionRequest, RequestOptions requestOptions) { + final String foundryFeatures = "Toolboxes=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; - return service.createToolboxVersionSync(this.client.getEndpoint(), name, + return service.createToolboxVersionSync(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), contentType, accept, createToolboxVersionRequest, requestOptions, Context.NONE); } @@ -434,8 +443,9 @@ public Response createToolboxVersionWithResponse(String name, Binary */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getToolboxWithResponseAsync(String name, RequestOptions requestOptions) { + final String foundryFeatures = "Toolboxes=V1Preview"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getToolbox(this.client.getEndpoint(), name, + return FluxUtil.withContext(context -> service.getToolbox(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } @@ -463,9 +473,10 @@ public Mono> getToolboxWithResponseAsync(String name, Reque */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getToolboxWithResponse(String name, RequestOptions requestOptions) { + final String foundryFeatures = "Toolboxes=V1Preview"; final String accept = "application/json"; - return service.getToolboxSync(this.client.getEndpoint(), name, this.client.getServiceVersion().getVersion(), - accept, requestOptions, Context.NONE); + return service.getToolboxSync(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } /** @@ -512,9 +523,10 @@ public Response getToolboxWithResponse(String name, RequestOptions r */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listToolboxesSinglePageAsync(RequestOptions requestOptions) { + final String foundryFeatures = "Toolboxes=V1Preview"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listToolboxes(this.client.getEndpoint(), + .withContext(context -> service.listToolboxes(this.client.getEndpoint(), foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "data"), null, null)); @@ -609,8 +621,9 @@ public PagedFlux listToolboxesAsync(RequestOptions requestOptions) { */ @ServiceMethod(returns = ReturnType.SINGLE) private PagedResponse listToolboxesSinglePage(RequestOptions requestOptions) { + final String foundryFeatures = "Toolboxes=V1Preview"; final String accept = "application/json"; - Response res = service.listToolboxesSync(this.client.getEndpoint(), + Response res = service.listToolboxesSync(this.client.getEndpoint(), foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "data"), null, null); @@ -728,9 +741,10 @@ public PagedIterable listToolboxes(RequestOptions requestOptions) { @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listToolboxVersionsSinglePageAsync(String name, RequestOptions requestOptions) { + final String foundryFeatures = "Toolboxes=V1Preview"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listToolboxVersions(this.client.getEndpoint(), name, + .withContext(context -> service.listToolboxVersions(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "data"), null, null)); @@ -867,8 +881,9 @@ public PagedFlux listToolboxVersionsAsync(String name, RequestOption */ @ServiceMethod(returns = ReturnType.SINGLE) private PagedResponse listToolboxVersionsSinglePage(String name, RequestOptions requestOptions) { + final String foundryFeatures = "Toolboxes=V1Preview"; final String accept = "application/json"; - Response res = service.listToolboxVersionsSync(this.client.getEndpoint(), name, + Response res = service.listToolboxVersionsSync(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "data"), null, null); @@ -987,9 +1002,10 @@ public PagedIterable listToolboxVersions(String name, RequestOptions @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getToolboxVersionWithResponseAsync(String name, String version, RequestOptions requestOptions) { + final String foundryFeatures = "Toolboxes=V1Preview"; final String accept = "application/json"; return FluxUtil.withContext(context -> service.getToolboxVersion(this.client.getEndpoint(), name, version, - this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } /** @@ -1038,8 +1054,9 @@ public Mono> getToolboxVersionWithResponseAsync(String name @ServiceMethod(returns = ReturnType.SINGLE) public Response getToolboxVersionWithResponse(String name, String version, RequestOptions requestOptions) { + final String foundryFeatures = "Toolboxes=V1Preview"; final String accept = "application/json"; - return service.getToolboxVersionSync(this.client.getEndpoint(), name, version, + return service.getToolboxVersionSync(this.client.getEndpoint(), name, version, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } @@ -1080,9 +1097,10 @@ public Response getToolboxVersionWithResponse(String name, String ve @ServiceMethod(returns = ReturnType.SINGLE) public Mono> updateToolboxWithResponseAsync(String name, BinaryData updateToolboxRequest, RequestOptions requestOptions) { + final String foundryFeatures = "Toolboxes=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.updateToolbox(this.client.getEndpoint(), name, + return FluxUtil.withContext(context -> service.updateToolbox(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), contentType, accept, updateToolboxRequest, requestOptions, context)); } @@ -1123,10 +1141,12 @@ public Mono> updateToolboxWithResponseAsync(String name, Bi @ServiceMethod(returns = ReturnType.SINGLE) public Response updateToolboxWithResponse(String name, BinaryData updateToolboxRequest, RequestOptions requestOptions) { + final String foundryFeatures = "Toolboxes=V1Preview"; final String contentType = "application/json"; final String accept = "application/json"; - return service.updateToolboxSync(this.client.getEndpoint(), name, this.client.getServiceVersion().getVersion(), - contentType, accept, updateToolboxRequest, requestOptions, Context.NONE); + return service.updateToolboxSync(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), contentType, accept, updateToolboxRequest, requestOptions, + Context.NONE); } /** @@ -1142,7 +1162,8 @@ public Response updateToolboxWithResponse(String name, BinaryData up */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteToolboxWithResponseAsync(String name, RequestOptions requestOptions) { - return FluxUtil.withContext(context -> service.deleteToolbox(this.client.getEndpoint(), name, + final String foundryFeatures = "Toolboxes=V1Preview"; + return FluxUtil.withContext(context -> service.deleteToolbox(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), requestOptions, context)); } @@ -1159,8 +1180,9 @@ public Mono> deleteToolboxWithResponseAsync(String name, RequestO */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteToolboxWithResponse(String name, RequestOptions requestOptions) { - return service.deleteToolboxSync(this.client.getEndpoint(), name, this.client.getServiceVersion().getVersion(), - requestOptions, Context.NONE); + final String foundryFeatures = "Toolboxes=V1Preview"; + return service.deleteToolboxSync(this.client.getEndpoint(), name, foundryFeatures, + this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); } /** @@ -1178,8 +1200,9 @@ public Response deleteToolboxWithResponse(String name, RequestOptions requ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteToolboxVersionWithResponseAsync(String name, String version, RequestOptions requestOptions) { + final String foundryFeatures = "Toolboxes=V1Preview"; return FluxUtil.withContext(context -> service.deleteToolboxVersion(this.client.getEndpoint(), name, version, - this.client.getServiceVersion().getVersion(), requestOptions, context)); + foundryFeatures, this.client.getServiceVersion().getVersion(), requestOptions, context)); } /** @@ -1196,7 +1219,8 @@ public Mono> deleteToolboxVersionWithResponseAsync(String name, S */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteToolboxVersionWithResponse(String name, String version, RequestOptions requestOptions) { - return service.deleteToolboxVersionSync(this.client.getEndpoint(), name, version, + final String foundryFeatures = "Toolboxes=V1Preview"; + return service.deleteToolboxVersionSync(this.client.getEndpoint(), name, version, foundryFeatures, this.client.getServiceVersion().getVersion(), requestOptions, Context.NONE); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentIdentifier.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentIdentifier.java index 3632c212e68c..267090138d66 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentIdentifier.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentIdentifier.java @@ -12,8 +12,8 @@ import java.io.IOException; /** - * Identifies the registered Foundry agent to optimize (request-only). Skills, tools, and systemPrompt are specified in - * options.optimizationConfig. + * Identifies the registered Foundry agent to optimize (request-only). Skills, tools, and system_prompt are specified in + * options.optimization_config. */ @Fluent public final class AgentIdentifier implements JsonSerializable { @@ -79,8 +79,8 @@ public AgentIdentifier setAgentVersion(String agentVersion) { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("agentName", this.agentName); - jsonWriter.writeStringField("agentVersion", this.agentVersion); + jsonWriter.writeStringField("agent_name", this.agentName); + jsonWriter.writeStringField("agent_version", this.agentVersion); return jsonWriter.writeEndObject(); } @@ -101,9 +101,9 @@ public static AgentIdentifier fromJson(JsonReader jsonReader) throws IOException while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("agentName".equals(fieldName)) { + if ("agent_name".equals(fieldName)) { agentName = reader.getString(); - } else if ("agentVersion".equals(fieldName)) { + } else if ("agent_version".equals(fieldName)) { agentVersion = reader.getString(); } else { reader.skipChildren(); diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java index fa97f18e062d..8ed919459b6b 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java @@ -90,10 +90,4 @@ public static AgentSessionStatus fromString(String name) { public static Collection values() { return values(AgentSessionStatus.class); } - - /** - * Session is being stopped. - */ - @Generated - public static final AgentSessionStatus STOPPING = fromString("stopping"); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java index 411f367a5411..b828cd92d5d1 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java @@ -88,7 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("path", this.path); jsonWriter.writeStringField("type", this.type); - jsonWriter.writeLongField("sizeBytes", this.sizeBytes); + jsonWriter.writeLongField("size_bytes", this.sizeBytes); return jsonWriter.writeEndObject(); } @@ -114,7 +114,7 @@ public static CandidateFileInfo fromJson(JsonReader jsonReader) throws IOExcepti path = reader.getString(); } else if ("type".equals(fieldName)) { type = reader.getString(); - } else if ("sizeBytes".equals(fieldName)) { + } else if ("size_bytes".equals(fieldName)) { sizeBytes = reader.getLong(); } else { reader.skipChildren(); diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateMetadata.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateMetadata.java index f039bf9d95f4..4c23a2eb41b1 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateMetadata.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateMetadata.java @@ -221,13 +221,13 @@ public List getFiles() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("candidateId", this.candidateId); - jsonWriter.writeStringField("jobId", this.jobId); - jsonWriter.writeStringField("candidateName", this.candidateName); + jsonWriter.writeStringField("candidate_id", this.candidateId); + jsonWriter.writeStringField("job_id", this.jobId); + jsonWriter.writeStringField("candidate_name", this.candidateName); jsonWriter.writeStringField("status", this.status); - jsonWriter.writeBooleanField("hasResults", this.hasResults); - jsonWriter.writeLongField("createdAt", this.createdAt); - jsonWriter.writeLongField("updatedAt", this.updatedAt); + jsonWriter.writeBooleanField("has_results", this.hasResults); + jsonWriter.writeLongField("created_at", this.createdAt); + jsonWriter.writeLongField("updated_at", this.updatedAt); jsonWriter.writeArrayField("files", this.files, (writer, element) -> writer.writeJson(element)); jsonWriter.writeNumberField("score", this.score); jsonWriter.writeJsonField("promotion", this.promotion); @@ -259,19 +259,19 @@ public static CandidateMetadata fromJson(JsonReader jsonReader) throws IOExcepti while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("candidateId".equals(fieldName)) { + if ("candidate_id".equals(fieldName)) { candidateId = reader.getString(); - } else if ("jobId".equals(fieldName)) { + } else if ("job_id".equals(fieldName)) { jobId = reader.getString(); - } else if ("candidateName".equals(fieldName)) { + } else if ("candidate_name".equals(fieldName)) { candidateName = reader.getString(); } else if ("status".equals(fieldName)) { status = reader.getString(); - } else if ("hasResults".equals(fieldName)) { + } else if ("has_results".equals(fieldName)) { hasResults = reader.getBoolean(); - } else if ("createdAt".equals(fieldName)) { + } else if ("created_at".equals(fieldName)) { createdAt = OffsetDateTime.ofInstant(Instant.ofEpochSecond(reader.getLong()), ZoneOffset.UTC); - } else if ("updatedAt".equals(fieldName)) { + } else if ("updated_at".equals(fieldName)) { updatedAt = OffsetDateTime.ofInstant(Instant.ofEpochSecond(reader.getLong()), ZoneOffset.UTC); } else if ("files".equals(fieldName)) { files = reader.readArray(reader1 -> CandidateFileInfo.fromJson(reader1)); diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateResults.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateResults.java index 49a6b72d4e2a..bc52fc380664 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateResults.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CandidateResults.java @@ -69,7 +69,7 @@ public List getResults() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("candidateId", this.candidateId); + jsonWriter.writeStringField("candidate_id", this.candidateId); jsonWriter.writeArrayField("results", this.results, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -91,7 +91,7 @@ public static CandidateResults fromJson(JsonReader jsonReader) throws IOExceptio while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("candidateId".equals(fieldName)) { + if ("candidate_id".equals(fieldName)) { candidateId = reader.getString(); } else if ("results".equals(fieldName)) { results = reader.readArray(reader1 -> OptimizationTaskResult.fromJson(reader1)); diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetInfo.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetInfo.java index 829186815ecd..bf416b7d2a7a 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetInfo.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DatasetInfo.java @@ -100,8 +100,8 @@ public boolean isInline() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeIntField("taskCount", this.taskCount); - jsonWriter.writeBooleanField("isInline", this.isInline); + jsonWriter.writeIntField("task_count", this.taskCount); + jsonWriter.writeBooleanField("is_inline", this.isInline); jsonWriter.writeStringField("name", this.name); jsonWriter.writeStringField("version", this.version); return jsonWriter.writeEndObject(); @@ -126,9 +126,9 @@ public static DatasetInfo fromJson(JsonReader jsonReader) throws IOException { while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("taskCount".equals(fieldName)) { + if ("task_count".equals(fieldName)) { taskCount = reader.getInt(); - } else if ("isInline".equals(fieldName)) { + } else if ("is_inline".equals(fieldName)) { isInline = reader.getBoolean(); } else if ("name".equals(fieldName)) { name = reader.getString(); diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java index fcef76f83730..53346b08034c 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java @@ -1,57 +1,67 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. + package com.azure.ai.agents.models; /** * Defines values for FoundryFeaturesOptInKeys. */ public enum FoundryFeaturesOptInKeys { - /** * Enum value Evaluations=V1Preview. */ EVALUATIONS_V1_PREVIEW("Evaluations=V1Preview"), + /** * Enum value Schedules=V1Preview. */ SCHEDULES_V1_PREVIEW("Schedules=V1Preview"), + /** * Enum value RedTeams=V1Preview. */ RED_TEAMS_V1_PREVIEW("RedTeams=V1Preview"), + /** * Enum value Insights=V1Preview. */ INSIGHTS_V1_PREVIEW("Insights=V1Preview"), + /** * Enum value MemoryStores=V1Preview. */ MEMORY_STORES_V1_PREVIEW("MemoryStores=V1Preview"), + /** * Enum value Routines=V1Preview. */ ROUTINES_V1_PREVIEW("Routines=V1Preview"), + + /** + * Enum value Toolboxes=V1Preview. + */ + TOOLBOXES_V1_PREVIEW("Toolboxes=V1Preview"), + /** * Enum value Skills=V1Preview. */ SKILLS_V1_PREVIEW("Skills=V1Preview"), + /** * Enum value DataGenerationJobs=V1Preview. */ DATA_GENERATION_JOBS_V1_PREVIEW("DataGenerationJobs=V1Preview"), + /** * Enum value Models=V1Preview. */ MODELS_V1_PREVIEW("Models=V1Preview"), + /** * Enum value AgentsOptimization=V1Preview. */ - AGENTS_OPTIMIZATION_V1_PREVIEW("AgentsOptimization=V1Preview"), - /** - * Toolboxes V1 Preview. - */ - TOOLBOXES_V1_PREVIEW("Toolboxes=V1Preview"); + AGENTS_OPTIMIZATION_V1_PREVIEW("AgentsOptimization=V1Preview"); /** * The actual serialized value for a FoundryFeaturesOptInKeys instance. @@ -64,7 +74,7 @@ public enum FoundryFeaturesOptInKeys { /** * Parses a serialized value to a FoundryFeaturesOptInKeys instance. - * + * * @param value the serialized value to parse. * @return the parsed FoundryFeaturesOptInKeys object, or null if unable to parse. */ diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java index ec848a3acb21..dc2b2666b2d3 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java @@ -107,10 +107,10 @@ public List> getSkills() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("agentName", this.agentName); - jsonWriter.writeStringField("agentVersion", this.agentVersion); + jsonWriter.writeStringField("agent_name", this.agentName); + jsonWriter.writeStringField("agent_version", this.agentVersion); jsonWriter.writeStringField("model", this.model); - jsonWriter.writeStringField("systemPrompt", this.systemPrompt); + jsonWriter.writeStringField("system_prompt", this.systemPrompt); jsonWriter.writeArrayField("skills", this.skills, (writer, element) -> writer.writeMap(element, (writer1, element1) -> { if (element1 == null) { @@ -145,13 +145,13 @@ public static OptimizationAgentDefinition fromJson(JsonReader jsonReader) throws while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("agentName".equals(fieldName)) { + if ("agent_name".equals(fieldName)) { deserializedOptimizationAgentDefinition.agentName = reader.getString(); - } else if ("agentVersion".equals(fieldName)) { + } else if ("agent_version".equals(fieldName)) { deserializedOptimizationAgentDefinition.agentVersion = reader.getString(); } else if ("model".equals(fieldName)) { deserializedOptimizationAgentDefinition.model = reader.getString(); - } else if ("systemPrompt".equals(fieldName)) { + } else if ("system_prompt".equals(fieldName)) { deserializedOptimizationAgentDefinition.systemPrompt = reader.getString(); } else if ("skills".equals(fieldName)) { List> skills diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java index 046a4680fb5c..40645386b1ad 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java @@ -39,7 +39,7 @@ public final class OptimizationCandidate implements JsonSerializable mutations; @@ -117,7 +117,7 @@ public OptimizationAgentDefinition getConfig() { } /** - * Get the mutations property: What was mutated from the baseline (e.g., {systemPrompt: 'new prompt'}). + * Get the mutations property: What was mutated from the baseline (e.g., {system_prompt: 'new prompt'}). * * @return the mutations value. */ @@ -212,14 +212,14 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { element.writeTo(writer); } }); - jsonWriter.writeDoubleField("avgScore", this.avgScore); - jsonWriter.writeDoubleField("avgTokens", this.avgTokens); - jsonWriter.writeDoubleField("passRate", this.passRate); - jsonWriter.writeArrayField("taskScores", this.taskScores, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeBooleanField("isParetoOptimal", this.isParetoOptimal); - jsonWriter.writeStringField("candidateId", this.candidateId); - jsonWriter.writeStringField("evalId", this.evalId); - jsonWriter.writeStringField("evalRunId", this.evalRunId); + jsonWriter.writeDoubleField("avg_score", this.avgScore); + jsonWriter.writeDoubleField("avg_tokens", this.avgTokens); + jsonWriter.writeDoubleField("pass_rate", this.passRate); + jsonWriter.writeArrayField("task_scores", this.taskScores, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeBooleanField("is_pareto_optimal", this.isParetoOptimal); + jsonWriter.writeStringField("candidate_id", this.candidateId); + jsonWriter.writeStringField("eval_id", this.evalId); + jsonWriter.writeStringField("eval_run_id", this.evalRunId); jsonWriter.writeJsonField("promotion", this.promotion); return jsonWriter.writeEndObject(); } @@ -258,21 +258,21 @@ public static OptimizationCandidate fromJson(JsonReader jsonReader) throws IOExc } else if ("mutations".equals(fieldName)) { mutations = reader.readMap(reader1 -> reader1 .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); - } else if ("avgScore".equals(fieldName)) { + } else if ("avg_score".equals(fieldName)) { avgScore = reader.getDouble(); - } else if ("avgTokens".equals(fieldName)) { + } else if ("avg_tokens".equals(fieldName)) { avgTokens = reader.getDouble(); - } else if ("passRate".equals(fieldName)) { + } else if ("pass_rate".equals(fieldName)) { passRate = reader.getDouble(); - } else if ("taskScores".equals(fieldName)) { + } else if ("task_scores".equals(fieldName)) { taskScores = reader.readArray(reader1 -> OptimizationTaskResult.fromJson(reader1)); - } else if ("isParetoOptimal".equals(fieldName)) { + } else if ("is_pareto_optimal".equals(fieldName)) { isParetoOptimal = reader.getBoolean(); - } else if ("candidateId".equals(fieldName)) { + } else if ("candidate_id".equals(fieldName)) { candidateId = reader.getString(); - } else if ("evalId".equals(fieldName)) { + } else if ("eval_id".equals(fieldName)) { evalId = reader.getString(); - } else if ("evalRunId".equals(fieldName)) { + } else if ("eval_run_id".equals(fieldName)) { evalRunId = reader.getString(); } else if ("promotion".equals(fieldName)) { promotion = PromotionInfo.fromJson(reader); diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJob.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJob.java index 18a8045d9d0a..65a261c8d865 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJob.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJob.java @@ -58,7 +58,7 @@ public final class OptimizationJob implements JsonSerializable private long createdAt; /* - * The timestamp when the job was last updated, represented in Unix time. + * The timestamp when the job was last updated (status, progress, or result change), represented in Unix time. */ @Generated private Long updatedAt; @@ -137,7 +137,8 @@ public OffsetDateTime getCreatedAt() { } /** - * Get the updatedAt property: The timestamp when the job was last updated, represented in Unix time. + * Get the updatedAt property: The timestamp when the job was last updated (status, progress, or result change), + * represented in Unix time. * * @return the updatedAt value. */ @@ -190,7 +191,7 @@ public static OptimizationJob fromJson(JsonReader jsonReader) throws IOException deserializedOptimizationJob.id = reader.getString(); } else if ("status".equals(fieldName)) { deserializedOptimizationJob.status = JobStatus.fromString(reader.getString()); - } else if ("createdAt".equals(fieldName)) { + } else if ("created_at".equals(fieldName)) { deserializedOptimizationJob.createdAt = reader.getLong(); } else if ("error".equals(fieldName)) { deserializedOptimizationJob.error = ApiError.fromJson(reader); @@ -198,7 +199,7 @@ public static OptimizationJob fromJson(JsonReader jsonReader) throws IOException deserializedOptimizationJob.result = OptimizationJobResult.fromJson(reader); } else if ("inputs".equals(fieldName)) { deserializedOptimizationJob.inputs = OptimizationJobInputs.fromJson(reader); - } else if ("updatedAt".equals(fieldName)) { + } else if ("updated_at".equals(fieldName)) { deserializedOptimizationJob.updatedAt = reader.getNullable(JsonReader::getLong); } else if ("progress".equals(fieldName)) { deserializedOptimizationJob.progress = OptimizationJobProgress.fromJson(reader); diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java index 5f5770f12713..a960bb191263 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java @@ -146,8 +146,8 @@ public OptimizationJobInputs setOptions(OptimizationOptions options) { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeJsonField("agent", this.agent); - jsonWriter.writeJsonField("trainDatasetReference", this.trainDatasetReference); - jsonWriter.writeJsonField("validationDatasetReference", this.validationDatasetReference); + jsonWriter.writeJsonField("train_dataset_reference", this.trainDatasetReference); + jsonWriter.writeJsonField("validation_dataset_reference", this.validationDatasetReference); jsonWriter.writeArrayField("evaluators", this.evaluators, (writer, element) -> writer.writeString(element)); jsonWriter.writeJsonField("options", this.options); return jsonWriter.writeEndObject(); @@ -175,9 +175,9 @@ public static OptimizationJobInputs fromJson(JsonReader jsonReader) throws IOExc reader.nextToken(); if ("agent".equals(fieldName)) { agent = AgentIdentifier.fromJson(reader); - } else if ("trainDatasetReference".equals(fieldName)) { + } else if ("train_dataset_reference".equals(fieldName)) { trainDatasetReference = DatasetRef.fromJson(reader); - } else if ("validationDatasetReference".equals(fieldName)) { + } else if ("validation_dataset_reference".equals(fieldName)) { validationDatasetReference = DatasetRef.fromJson(reader); } else if ("evaluators".equals(fieldName)) { evaluators = reader.readArray(reader1 -> reader1.getString()); diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java index da6e208283b8..080a8336f92a 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java @@ -72,9 +72,9 @@ public double getElapsedSeconds() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeIntField("currentIteration", this.currentIteration); - jsonWriter.writeDoubleField("bestScore", this.bestScore); - jsonWriter.writeDoubleField("elapsedSeconds", this.elapsedSeconds); + jsonWriter.writeIntField("current_iteration", this.currentIteration); + jsonWriter.writeDoubleField("best_score", this.bestScore); + jsonWriter.writeDoubleField("elapsed_seconds", this.elapsedSeconds); return jsonWriter.writeEndObject(); } @@ -96,11 +96,11 @@ public static OptimizationJobProgress fromJson(JsonReader jsonReader) throws IOE while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("currentIteration".equals(fieldName)) { + if ("current_iteration".equals(fieldName)) { currentIteration = reader.getInt(); - } else if ("bestScore".equals(fieldName)) { + } else if ("best_score".equals(fieldName)) { bestScore = reader.getDouble(); - } else if ("elapsedSeconds".equals(fieldName)) { + } else if ("elapsed_seconds".equals(fieldName)) { elapsedSeconds = reader.getDouble(); } else { reader.skipChildren(); diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java index dcc71df7c4af..e807b45c5278 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java @@ -118,7 +118,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeArrayField("candidates", this.candidates, (writer, element) -> writer.writeJson(element)); jsonWriter.writeJsonField("options", this.options); jsonWriter.writeArrayField("warnings", this.warnings, (writer, element) -> writer.writeString(element)); - jsonWriter.writeBooleanField("allTargetAttributesFailed", this.allTargetAttributesFailed); + jsonWriter.writeBooleanField("all_target_attributes_failed", this.allTargetAttributesFailed); return jsonWriter.writeEndObject(); } @@ -150,7 +150,7 @@ public static OptimizationJobResult fromJson(JsonReader jsonReader) throws IOExc } else if ("warnings".equals(fieldName)) { List warnings = reader.readArray(reader1 -> reader1.getString()); deserializedOptimizationJobResult.warnings = warnings; - } else if ("allTargetAttributesFailed".equals(fieldName)) { + } else if ("all_target_attributes_failed".equals(fieldName)) { deserializedOptimizationJobResult.allTargetAttributesFailed = reader.getNullable(JsonReader::getBoolean); } else { diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationOptions.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationOptions.java index 94d4685a42aa..b8e43b91a0bb 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationOptions.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationOptions.java @@ -89,17 +89,17 @@ public OptimizationOptions setEvalModel(String evalModel) { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeNumberField("maxIterations", this.maxIterations); - jsonWriter.writeMapField("optimizationConfig", this.optimizationConfig, (writer, element) -> { + jsonWriter.writeNumberField("max_iterations", this.maxIterations); + jsonWriter.writeMapField("optimization_config", this.optimizationConfig, (writer, element) -> { if (element == null) { writer.writeNull(); } else { element.writeTo(writer); } }); - jsonWriter.writeStringField("evalModel", this.evalModel); - jsonWriter.writeStringField("optimizationModel", this.optimizationModel); - jsonWriter.writeStringField("evaluationLevel", + jsonWriter.writeStringField("eval_model", this.evalModel); + jsonWriter.writeStringField("optimization_model", this.optimizationModel); + jsonWriter.writeStringField("evaluation_level", this.evaluationLevel == null ? null : this.evaluationLevel.toString()); return jsonWriter.writeEndObject(); } @@ -119,17 +119,17 @@ public static OptimizationOptions fromJson(JsonReader jsonReader) throws IOExcep while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("maxIterations".equals(fieldName)) { + if ("max_iterations".equals(fieldName)) { deserializedOptimizationOptions.maxIterations = reader.getNullable(JsonReader::getInt); - } else if ("optimizationConfig".equals(fieldName)) { + } else if ("optimization_config".equals(fieldName)) { Map optimizationConfig = reader.readMap(reader1 -> reader1 .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); deserializedOptimizationOptions.optimizationConfig = optimizationConfig; - } else if ("evalModel".equals(fieldName)) { + } else if ("eval_model".equals(fieldName)) { deserializedOptimizationOptions.evalModel = reader.getString(); - } else if ("optimizationModel".equals(fieldName)) { + } else if ("optimization_model".equals(fieldName)) { deserializedOptimizationOptions.optimizationModel = reader.getString(); - } else if ("evaluationLevel".equals(fieldName)) { + } else if ("evaluation_level".equals(fieldName)) { deserializedOptimizationOptions.evaluationLevel = EvaluationLevel.fromString(reader.getString()); } else { reader.skipChildren(); @@ -140,7 +140,7 @@ public static OptimizationOptions fromJson(JsonReader jsonReader) throws IOExcep } /* - * Per-target-attribute configuration overrides. Contains skills, tools, systemPrompt for the agent, plus model + * Per-target-attribute configuration overrides. Contains skills, tools, system_prompt for the agent, plus model * space for model optimization. */ @Generated @@ -162,7 +162,7 @@ public static OptimizationOptions fromJson(JsonReader jsonReader) throws IOExcep /** * Get the optimizationConfig property: Per-target-attribute configuration overrides. Contains skills, tools, - * systemPrompt for the agent, plus model space for model optimization. + * system_prompt for the agent, plus model space for model optimization. * * @return the optimizationConfig value. */ @@ -173,7 +173,7 @@ public Map getOptimizationConfig() { /** * Set the optimizationConfig property: Per-target-attribute configuration overrides. Contains skills, tools, - * systemPrompt for the agent, plus model space for model optimization. + * system_prompt for the agent, plus model space for model optimization. * * @param optimizationConfig the optimizationConfig value to set. * @return the OptimizationOptions object itself. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java index 02f80a7ae37c..1bb96a6fff4d 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java @@ -10,6 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.time.Duration; import java.util.Map; /** @@ -84,27 +85,6 @@ public final class OptimizationTaskResult implements JsonSerializable scores, double compositeScore, int tokens, - double durationSeconds, boolean passed) { - this.taskName = taskName; - this.scores = scores; - this.compositeScore = compositeScore; - this.tokens = tokens; - this.durationSeconds = durationSeconds; - this.passed = passed; - } - /** * Get the taskName property: Task name (from the dataset). * @@ -161,8 +141,8 @@ public int getTokens() { * @return the durationSeconds value. */ @Generated - public double getDurationSeconds() { - return this.durationSeconds; + public Duration getDurationSeconds() { + return Duration.ofNanos((long) (this.durationSeconds * 1000_000_000L)); } /** @@ -222,17 +202,17 @@ public String getRunId() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("taskName", this.taskName); + jsonWriter.writeStringField("task_name", this.taskName); jsonWriter.writeMapField("scores", this.scores, (writer, element) -> writer.writeDouble(element)); - jsonWriter.writeDoubleField("compositeScore", this.compositeScore); + jsonWriter.writeDoubleField("composite_score", this.compositeScore); jsonWriter.writeIntField("tokens", this.tokens); - jsonWriter.writeDoubleField("durationSeconds", this.durationSeconds); + jsonWriter.writeDoubleField("duration_seconds", this.durationSeconds); jsonWriter.writeBooleanField("passed", this.passed); jsonWriter.writeStringField("query", this.query); - jsonWriter.writeStringField("errorMessage", this.errorMessage); + jsonWriter.writeStringField("error_message", this.errorMessage); jsonWriter.writeMapField("rationales", this.rationales, (writer, element) -> writer.writeString(element)); jsonWriter.writeStringField("response", this.response); - jsonWriter.writeStringField("runId", this.runId); + jsonWriter.writeStringField("run_id", this.runId); return jsonWriter.writeEndObject(); } @@ -252,7 +232,7 @@ public static OptimizationTaskResult fromJson(JsonReader jsonReader) throws IOEx Map scores = null; double compositeScore = 0.0; int tokens = 0; - double durationSeconds = 0.0; + Duration durationSeconds = null; boolean passed = false; String query = null; String errorMessage = null; @@ -262,27 +242,27 @@ public static OptimizationTaskResult fromJson(JsonReader jsonReader) throws IOEx while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("taskName".equals(fieldName)) { + if ("task_name".equals(fieldName)) { taskName = reader.getString(); } else if ("scores".equals(fieldName)) { scores = reader.readMap(reader1 -> reader1.getDouble()); - } else if ("compositeScore".equals(fieldName)) { + } else if ("composite_score".equals(fieldName)) { compositeScore = reader.getDouble(); } else if ("tokens".equals(fieldName)) { tokens = reader.getInt(); - } else if ("durationSeconds".equals(fieldName)) { - durationSeconds = reader.getDouble(); + } else if ("duration_seconds".equals(fieldName)) { + durationSeconds = Duration.ofNanos((long) (reader.getDouble() * 1000_000_000L)); } else if ("passed".equals(fieldName)) { passed = reader.getBoolean(); } else if ("query".equals(fieldName)) { query = reader.getString(); - } else if ("errorMessage".equals(fieldName)) { + } else if ("error_message".equals(fieldName)) { errorMessage = reader.getString(); } else if ("rationales".equals(fieldName)) { rationales = reader.readMap(reader1 -> reader1.getString()); } else if ("response".equals(fieldName)) { response = reader.getString(); - } else if ("runId".equals(fieldName)) { + } else if ("run_id".equals(fieldName)) { runId = reader.getString(); } else { reader.skipChildren(); @@ -298,4 +278,29 @@ public static OptimizationTaskResult fromJson(JsonReader jsonReader) throws IOEx return deserializedOptimizationTaskResult; }); } + + /** + * Creates an instance of OptimizationTaskResult class. + * + * @param taskName the taskName value to set. + * @param scores the scores value to set. + * @param compositeScore the compositeScore value to set. + * @param tokens the tokens value to set. + * @param durationSeconds the durationSeconds value to set. + * @param passed the passed value to set. + */ + @Generated + private OptimizationTaskResult(String taskName, Map scores, double compositeScore, int tokens, + Duration durationSeconds, boolean passed) { + this.taskName = taskName; + this.scores = scores; + this.compositeScore = compositeScore; + this.tokens = tokens; + if (durationSeconds == null) { + this.durationSeconds = 0.0; + } else { + this.durationSeconds = (double) durationSeconds.toNanos() / 1000_000_000L; + } + this.passed = passed; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java index b3fa9ade7a34..70bfd1081af4 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java @@ -68,8 +68,8 @@ public String getAgentVersion() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("agentName", this.agentName); - jsonWriter.writeStringField("agentVersion", this.agentVersion); + jsonWriter.writeStringField("agent_name", this.agentName); + jsonWriter.writeStringField("agent_version", this.agentVersion); return jsonWriter.writeEndObject(); } @@ -90,9 +90,9 @@ public static PromoteCandidateRequest fromJson(JsonReader jsonReader) throws IOE while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("agentName".equals(fieldName)) { + if ("agent_name".equals(fieldName)) { agentName = reader.getString(); - } else if ("agentVersion".equals(fieldName)) { + } else if ("agent_version".equals(fieldName)) { agentVersion = reader.getString(); } else { reader.skipChildren(); diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java index bf918541e63a..3e60831aaa8e 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java @@ -130,11 +130,11 @@ public String getAgentVersion() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("candidateId", this.candidateId); + jsonWriter.writeStringField("candidate_id", this.candidateId); jsonWriter.writeStringField("status", this.status); - jsonWriter.writeLongField("promotedAt", this.promotedAt); - jsonWriter.writeStringField("agentName", this.agentName); - jsonWriter.writeStringField("agentVersion", this.agentVersion); + jsonWriter.writeLongField("promoted_at", this.promotedAt); + jsonWriter.writeStringField("agent_name", this.agentName); + jsonWriter.writeStringField("agent_version", this.agentVersion); return jsonWriter.writeEndObject(); } @@ -158,15 +158,15 @@ public static PromoteCandidateResponse fromJson(JsonReader jsonReader) throws IO while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("candidateId".equals(fieldName)) { + if ("candidate_id".equals(fieldName)) { candidateId = reader.getString(); } else if ("status".equals(fieldName)) { status = reader.getString(); - } else if ("promotedAt".equals(fieldName)) { + } else if ("promoted_at".equals(fieldName)) { promotedAt = OffsetDateTime.ofInstant(Instant.ofEpochSecond(reader.getLong()), ZoneOffset.UTC); - } else if ("agentName".equals(fieldName)) { + } else if ("agent_name".equals(fieldName)) { agentName = reader.getString(); - } else if ("agentVersion".equals(fieldName)) { + } else if ("agent_version".equals(fieldName)) { agentVersion = reader.getString(); } else { reader.skipChildren(); diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromotionInfo.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromotionInfo.java index 8e842b645b20..28a64d567154 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromotionInfo.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromotionInfo.java @@ -93,9 +93,9 @@ public String getAgentVersion() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeLongField("promotedAt", this.promotedAt); - jsonWriter.writeStringField("agentName", this.agentName); - jsonWriter.writeStringField("agentVersion", this.agentVersion); + jsonWriter.writeLongField("promoted_at", this.promotedAt); + jsonWriter.writeStringField("agent_name", this.agentName); + jsonWriter.writeStringField("agent_version", this.agentVersion); return jsonWriter.writeEndObject(); } @@ -117,11 +117,11 @@ public static PromotionInfo fromJson(JsonReader jsonReader) throws IOException { while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("promotedAt".equals(fieldName)) { + if ("promoted_at".equals(fieldName)) { promotedAt = OffsetDateTime.ofInstant(Instant.ofEpochSecond(reader.getLong()), ZoneOffset.UTC); - } else if ("agentName".equals(fieldName)) { + } else if ("agent_name".equals(fieldName)) { agentName = reader.getString(); - } else if ("agentVersion".equals(fieldName)) { + } else if ("agent_version".equals(fieldName)) { agentVersion = reader.getString(); } else { reader.skipChildren(); diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java deleted file mode 100644 index b2cdc1cfe8a7..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Response from listing a directory in a session sandbox. - */ -@Immutable -public final class SessionDirectoryListResponse implements JsonSerializable { - - /* - * The path that was listed, relative to the session home directory. - */ - @Generated - private final String path; - - /* - * The directory entries. - */ - @Generated - private final List entries; - - /** - * Creates an instance of SessionDirectoryListResponse class. - * - * @param path the path value to set. - * @param entries the entries value to set. - */ - @Generated - private SessionDirectoryListResponse(String path, List entries) { - this.path = path; - this.entries = entries; - } - - /** - * Get the path property: The path that was listed, relative to the session home directory. - * - * @return the path value. - */ - @Generated - public String getPath() { - return this.path; - } - - /** - * Get the entries property: The directory entries. - * - * @return the entries value. - */ - @Generated - public List getEntries() { - return this.entries; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("path", this.path); - jsonWriter.writeArrayField("entries", this.entries, (writer, element) -> writer.writeJson(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of SessionDirectoryListResponse from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of SessionDirectoryListResponse if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the SessionDirectoryListResponse. - */ - @Generated - public static SessionDirectoryListResponse fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String path = null; - List entries = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("path".equals(fieldName)) { - path = reader.getString(); - } else if ("entries".equals(fieldName)) { - entries = reader.readArray(reader1 -> SessionDirectoryEntry.fromJson(reader1)); - } else { - reader.skipChildren(); - } - } - return new SessionDirectoryListResponse(path, entries); - }); - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json index 59a22a1a35cf..1d5cd980105e 100644 --- a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json +++ b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"8d4126299a08","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.listSessionFilesWithResponse":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionDirectoryListResponse":"Azure.AI.Projects.SessionDirectoryListResponse","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryListResponse.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"c4fb6b68442f","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesAsyncSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesAsyncSample.java index dd75a6600fca..cb429333fd01 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesAsyncSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesAsyncSample.java @@ -8,7 +8,6 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.hostedagents.HostedAgentsSampleUtils.HostedAgentSessionResources; import com.azure.ai.agents.models.AgentDefinitionOptInKeys; -import com.azure.ai.agents.models.SessionDirectoryEntry; import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -60,15 +59,14 @@ public static void main(String[] args) { BinaryData.fromString("Sample session file 2."), AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null)) .doOnNext(response -> System.out.printf("Uploaded session file: %s%n", response.getPath())) - .then(sessionFilesAsyncClient.listSessionFiles(agentName, sessionId, "/remote", - AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null)) - .doOnNext(files -> { + .then(Mono.defer(() -> { System.out.println("Listing session files for the session at path '/remote'..."); - for (SessionDirectoryEntry entry : files.getEntries()) { - System.out.printf(" - name=%s, size=%d, isDirectory=%s%n", entry.getName(), - entry.getSize(), entry.isDirectory()); - } - }) + return sessionFilesAsyncClient.listSessionFiles(agentName, sessionId, + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, "/remote", null, null, null, null, null) + .doOnNext(entry -> System.out.printf(" - name=%s, size=%d, isDirectory=%s%n", + entry.getName(), entry.getSize(), entry.isDirectory())) + .then(); + })) .then(sessionFilesAsyncClient.downloadSessionFile(agentName, sessionId, REMOTE_FILE_PATH_1, AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null)) .doOnNext(downloaded -> { diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesSample.java index 8859409181ca..20fc6876f2d4 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesSample.java @@ -9,7 +9,6 @@ import com.azure.ai.agents.hostedagents.HostedAgentsSampleUtils.HostedAgentSessionResources; import com.azure.ai.agents.models.AgentDefinitionOptInKeys; import com.azure.ai.agents.models.SessionDirectoryEntry; -import com.azure.ai.agents.models.SessionDirectoryListResponse; import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -59,9 +58,8 @@ public static void main(String[] args) { System.out.printf("Uploaded session file: %s%n", REMOTE_FILE_PATH_2); System.out.println("Listing session files for the session at path '/remote'..."); - SessionDirectoryListResponse files = sessionFilesClient.listSessionFiles(agentName, sessionId, "/remote", - AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null); - for (SessionDirectoryEntry entry : files.getEntries()) { + for (SessionDirectoryEntry entry : sessionFilesClient.listSessionFiles(agentName, sessionId, + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, "/remote", null, null, null, null, null)) { System.out.printf(" - name=%s, size=%d, isDirectory=%s%n", entry.getName(), entry.getSize(), entry.isDirectory()); } diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/CreateToolboxVersion.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/CreateToolboxVersion.java index a5202dff05f3..e516aec6e2df 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/CreateToolboxVersion.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/CreateToolboxVersion.java @@ -5,7 +5,6 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesClient; -import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.McpTool; import com.azure.ai.agents.models.Tool; import com.azure.ai.agents.models.ToolboxVersionDetails; @@ -44,8 +43,7 @@ public static void main(String[] args) { ToolboxVersionDetails toolboxVersion = toolboxesClient.createToolboxVersion( "toolbox_created_from_java", tools, - "Toolbox with MCP tool requiring approval 'never'.", null, null, null, - FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); + "Toolbox with MCP tool requiring approval 'never'.", null, null, null); System.out.println("Toolbox Name: " + toolboxVersion.getName()); System.out.println("Toolbox Version: " + toolboxVersion.getVersion()); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/DeleteToolbox.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/DeleteToolbox.java index 8f24c1c02556..a6a798e90511 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/DeleteToolbox.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/DeleteToolbox.java @@ -5,7 +5,6 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesClient; -import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -31,7 +30,7 @@ public static void main(String[] args) { .endpoint(endpoint) .buildToolboxesClient(); - toolboxesClient.deleteToolbox(toolboxName, FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); + toolboxesClient.deleteToolbox(toolboxName); System.out.println("Deleted toolbox with the following details:"); System.out.println("\tToolbox Name: " + toolboxName); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/DeleteToolboxVersion.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/DeleteToolboxVersion.java index c2434fcb8c93..d777ab2c12a9 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/DeleteToolboxVersion.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/DeleteToolboxVersion.java @@ -5,7 +5,6 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesClient; -import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -32,8 +31,7 @@ public static void main(String[] args) { .endpoint(endpoint) .buildToolboxesClient(); - toolboxesClient.deleteToolboxVersion(toolboxName, version, - FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); + toolboxesClient.deleteToolboxVersion(toolboxName, version); System.out.println("Deleted toolbox version with the following details:"); System.out.println("\tToolbox Name: " + toolboxName); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/GetToolbox.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/GetToolbox.java index 97a4aac7dc98..b1c260bc1b36 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/GetToolbox.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/GetToolbox.java @@ -5,7 +5,6 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesClient; -import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.ToolboxDetails; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -31,8 +30,7 @@ public static void main(String[] args) { .endpoint(endpoint) .buildToolboxesClient(); - ToolboxDetails toolbox = toolboxesClient.getToolbox(toolboxName, - FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); + ToolboxDetails toolbox = toolboxesClient.getToolbox(toolboxName); System.out.println("Toolbox ID: " + toolbox.getId()); System.out.println("Toolbox Name: " + toolbox.getName()); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/GetToolboxVersion.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/GetToolboxVersion.java index 58c2f27ff7ce..e66037b156b1 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/GetToolboxVersion.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/GetToolboxVersion.java @@ -5,7 +5,6 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesClient; -import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.McpTool; import com.azure.ai.agents.models.Tool; import com.azure.ai.agents.models.ToolboxVersionDetails; @@ -35,8 +34,7 @@ public static void main(String[] args) { .endpoint(endpoint) .buildToolboxesClient(); - ToolboxVersionDetails toolboxVersion = toolboxesClient.getToolboxVersion(toolboxName, version, - FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); + ToolboxVersionDetails toolboxVersion = toolboxesClient.getToolboxVersion(toolboxName, version); System.out.println("Toolbox Name: " + toolboxVersion.getName()); System.out.println("Toolbox Version: " + toolboxVersion.getVersion()); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ListToolboxVersions.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ListToolboxVersions.java index c03c9e43e7fa..978d13b12d62 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ListToolboxVersions.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ListToolboxVersions.java @@ -5,7 +5,6 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesClient; -import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.ToolboxVersionDetails; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -33,8 +32,7 @@ public static void main(String[] args) { .buildToolboxesClient(); System.out.println("Listing all versions of toolbox '" + toolboxName + "':"); - for (ToolboxVersionDetails version : toolboxesClient.listToolboxVersions(toolboxName, - FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) { + for (ToolboxVersionDetails version : toolboxesClient.listToolboxVersions(toolboxName)) { System.out.println("Version: " + version.getVersion()); System.out.println("Version ID: " + version.getId()); System.out.println("Description: " + version.getDescription()); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ListToolboxes.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ListToolboxes.java index b83e51a0195f..2d8e9f5ea43b 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ListToolboxes.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ListToolboxes.java @@ -5,7 +5,6 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesClient; -import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.ToolboxDetails; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -31,8 +30,7 @@ public static void main(String[] args) { .buildToolboxesClient(); System.out.println("Listing all toolboxes:"); - for (ToolboxDetails toolbox : toolboxesClient.listToolboxes( - FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) { + for (ToolboxDetails toolbox : toolboxesClient.listToolboxes()) { System.out.println("Toolbox ID: " + toolbox.getId()); System.out.println("Toolbox Name: " + toolbox.getName()); System.out.println("Default Version: " + toolbox.getDefaultVersion()); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxSearchToolboxSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxSearchToolboxSample.java index 7b53941fd626..778e883120cf 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxSearchToolboxSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxSearchToolboxSample.java @@ -5,7 +5,6 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesClient; -import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.Tool; import com.azure.ai.agents.models.ToolboxSearchPreviewTool; import com.azure.ai.agents.models.ToolboxVersionDetails; @@ -32,7 +31,7 @@ public static void main(String[] args) { .buildToolboxesClient(); try { - toolboxesClient.deleteToolbox(toolboxName, FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); + toolboxesClient.deleteToolbox(toolboxName); } catch (ResourceNotFoundException ignored) { // The sample toolbox does not already exist. } @@ -50,8 +49,7 @@ public static void main(String[] args) { "Toolbox version with a Toolbox Search preview tool.", null, null, - null, - FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); + null); System.out.printf("Created toolbox: %s%n", version.getName()); System.out.printf("Toolbox version: %s%n", version.getVersion()); @@ -62,7 +60,7 @@ public static void main(String[] args) { // END: com.azure.ai.agents.toolboxes.ToolboxSearchToolboxSample.createToolboxSearchToolbox } finally { try { - toolboxesClient.deleteToolbox(toolboxName, FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); + toolboxesClient.deleteToolbox(toolboxName); System.out.printf("Deleted toolbox: %s%n", toolboxName); } catch (ResourceNotFoundException ignored) { // The sample toolbox may not have been created. diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxesAsyncSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxesAsyncSample.java index f574c8256f91..5e48d20f91cd 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxesAsyncSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxesAsyncSample.java @@ -5,7 +5,6 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesAsyncClient; -import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.McpTool; import com.azure.ai.agents.models.Tool; import com.azure.ai.agents.models.ToolboxDetails; @@ -51,38 +50,31 @@ public static void main(String[] args) { .setServerUrl("https://gitmcp.io/Azure/azure-rest-api-specs") .setRequireApproval("always")); - Mono workflow = toolboxesAsyncClient.deleteToolbox(toolboxName, - FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW) + Mono workflow = toolboxesAsyncClient.deleteToolbox(toolboxName) .doOnSuccess(unused -> System.out.printf("Toolbox `%s` deleted%n", toolboxName)) .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()) .then(toolboxesAsyncClient.createToolboxVersion(toolboxName, toolsWithMcpApprovalNever, - "Toolbox version with MCP require_approval set to 'never'.", null, null, null, - FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) + "Toolbox version with MCP require_approval set to 'never'.", null, null, null)) .doOnNext(created -> System.out.printf( "Created toolbox: %s with MCP tools requiring approval 'never' in version %s%n", created.getName(), created.getVersion())) .then(toolboxesAsyncClient.createToolboxVersion(toolboxName, toolsWithMcpApprovalAlways, - "Toolbox version with MCP require_approval set to 'always'.", null, null, null, - FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) + "Toolbox version with MCP require_approval set to 'always'.", null, null, null)) .doOnNext(created -> System.out.printf( "Created toolbox: %s with MCP tools requiring approval 'always' in version %s%n", created.getName(), created.getVersion())) - .then(toolboxesAsyncClient.updateToolbox(toolboxName, "2", - FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) + .then(toolboxesAsyncClient.updateToolbox(toolboxName, "2")) .flatMap(updated -> printFetchedDefaultToolboxVersion(toolboxesAsyncClient, updated)) - .then(toolboxesAsyncClient.updateToolbox(toolboxName, "1", - FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) + .then(toolboxesAsyncClient.updateToolbox(toolboxName, "1")) .flatMap(updated -> printFetchedDefaultToolboxVersion(toolboxesAsyncClient, updated)) .then(Mono.fromRunnable(() -> System.out.println("Listing toolboxes..."))) - .thenMany(toolboxesAsyncClient.listToolboxes(FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) + .thenMany(toolboxesAsyncClient.listToolboxes()) .doOnNext(item -> System.out.printf(" - %s (%s)%n", item.getName(), item.getId())) - .then(toolboxesAsyncClient.deleteToolbox(toolboxName, - FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) + .then(toolboxesAsyncClient.deleteToolbox(toolboxName)) .doOnSuccess(unused -> System.out.println("Toolbox deleted")); workflow - .onErrorResume(error -> toolboxesAsyncClient.deleteToolbox(toolboxName, - FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW) + .onErrorResume(error -> toolboxesAsyncClient.deleteToolbox(toolboxName) .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()) .then(Mono.error(error))) .timeout(Duration.ofMinutes(5)) @@ -94,11 +86,11 @@ private static Mono printFetchedDefaultToolboxVersion( System.out.printf("Updated toolbox: %s default version is now %s%n", updated.getName(), updated.getDefaultVersion()); - return toolboxesAsyncClient.getToolbox(updated.getName(), FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW) + return toolboxesAsyncClient.getToolbox(updated.getName()) .doOnNext(fetched -> System.out.printf("Retrieved toolbox with default version: %s%n", fetched.getDefaultVersion())) .flatMap(fetched -> toolboxesAsyncClient.getToolboxVersion(fetched.getName(), - fetched.getDefaultVersion(), FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) + fetched.getDefaultVersion())) .doOnNext(version -> printMcpRequireApproval(version.getTools())); } diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/UpdateToolbox.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/UpdateToolbox.java index 17e44e5013d9..2bcdfc716307 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/UpdateToolbox.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/UpdateToolbox.java @@ -5,7 +5,6 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.ToolboxesClient; -import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.ToolboxDetails; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -32,8 +31,7 @@ public static void main(String[] args) { .endpoint(endpoint) .buildToolboxesClient(); - ToolboxDetails updatedToolbox = toolboxesClient.updateToolbox(toolboxName, "2", - FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); + ToolboxDetails updatedToolbox = toolboxesClient.updateToolbox(toolboxName, "2"); System.out.println("Updated Toolbox Name: " + updatedToolbox.getName()); System.out.println("Updated Default Version: " + updatedToolbox.getDefaultVersion()); diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/toolboxes/ToolboxSamplesTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/toolboxes/ToolboxSamplesTests.java index f07089f41560..2d90faa0c038 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/toolboxes/ToolboxSamplesTests.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/toolboxes/ToolboxSamplesTests.java @@ -8,7 +8,6 @@ import com.azure.ai.agents.ClientTestBase; import com.azure.ai.agents.ToolboxesAsyncClient; import com.azure.ai.agents.ToolboxesClient; -import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.McpTool; import com.azure.ai.agents.models.Tool; import com.azure.ai.agents.models.ToolType; @@ -48,7 +47,7 @@ public void toolboxSearchToolboxSample(HttpClient httpClient, AgentsServiceVersi String toolboxName = "toolbox-search-tool-java-test"; try { - toolboxesClient.deleteToolbox(toolboxName, FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); + toolboxesClient.deleteToolbox(toolboxName); } catch (ResourceNotFoundException ignored) { // The sample toolbox does not already exist. } @@ -57,9 +56,9 @@ public void toolboxSearchToolboxSample(HttpClient httpClient, AgentsServiceVersi ToolboxSearchPreviewTool toolboxSearchTool = new ToolboxSearchPreviewTool().setName("search_tools") .setDescription("Search over available toolbox tools at runtime."); - ToolboxVersionDetails version = toolboxesClient.createToolboxVersion(toolboxName, - Collections.singletonList(toolboxSearchTool), "Toolbox version with a Toolbox Search preview tool.", - null, null, null, FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); + ToolboxVersionDetails version + = toolboxesClient.createToolboxVersion(toolboxName, Collections.singletonList(toolboxSearchTool), + "Toolbox version with a Toolbox Search preview tool.", null, null, null); Assertions.assertNotNull(version); Assertions.assertEquals(toolboxName, version.getName()); @@ -67,7 +66,7 @@ public void toolboxSearchToolboxSample(HttpClient httpClient, AgentsServiceVersi Assertions.assertEquals(ToolType.TOOLBOX_SEARCH_PREVIEW, version.getTools().get(0).getType()); } finally { try { - toolboxesClient.deleteToolbox(toolboxName, FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW); + toolboxesClient.deleteToolbox(toolboxName); } catch (ResourceNotFoundException ignored) { // The sample toolbox may not have been created. } @@ -90,38 +89,31 @@ public void toolboxesAsyncSample(HttpClient httpClient, AgentsServiceVersion ser .singletonList(new McpTool("api_specs").setServerUrl("https://gitmcp.io/Azure/azure-rest-api-specs") .setRequireApproval("always")); - Mono testFlow - = toolboxesAsyncClient.deleteToolbox(toolboxName, FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW) - .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()) - .then(toolboxesAsyncClient.createToolboxVersion(toolboxName, toolsWithMcpApprovalNever, - "Toolbox version with MCP require_approval set to 'never'.", null, null, null, - FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) - .doOnNext(created -> { - Assertions.assertEquals(toolboxName, created.getName()); - Assertions.assertEquals("1", created.getVersion()); - }) - .then(toolboxesAsyncClient.createToolboxVersion(toolboxName, toolsWithMcpApprovalAlways, - "Toolbox version with MCP require_approval set to 'always'.", null, null, null, - FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) - .doOnNext(created -> { - Assertions.assertEquals(toolboxName, created.getName()); - Assertions.assertEquals("2", created.getVersion()); - }) - .then( - toolboxesAsyncClient.updateToolbox(toolboxName, "2", FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) - .flatMap(updated -> toolboxesAsyncClient.getToolboxVersion(updated.getName(), - updated.getDefaultVersion(), FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) - .doOnNext(version -> assertMcpRequireApproval(version, "always")) - .then( - toolboxesAsyncClient.updateToolbox(toolboxName, "1", FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) - .flatMap(updated -> toolboxesAsyncClient.getToolboxVersion(updated.getName(), - updated.getDefaultVersion(), FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)) - .doOnNext(version -> assertMcpRequireApproval(version, "never")) - .thenMany(toolboxesAsyncClient.listToolboxes(FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW).take(10)) - .filter(toolbox -> toolboxName.equals(toolbox.getName())) - .next() - .doOnNext(toolbox -> Assertions.assertEquals(toolboxName, toolbox.getName())) - .then(toolboxesAsyncClient.deleteToolbox(toolboxName, FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW)); + Mono testFlow = toolboxesAsyncClient.deleteToolbox(toolboxName) + .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()) + .then(toolboxesAsyncClient.createToolboxVersion(toolboxName, toolsWithMcpApprovalNever, + "Toolbox version with MCP require_approval set to 'never'.", null, null, null)) + .doOnNext(created -> { + Assertions.assertEquals(toolboxName, created.getName()); + Assertions.assertEquals("1", created.getVersion()); + }) + .then(toolboxesAsyncClient.createToolboxVersion(toolboxName, toolsWithMcpApprovalAlways, + "Toolbox version with MCP require_approval set to 'always'.", null, null, null)) + .doOnNext(created -> { + Assertions.assertEquals(toolboxName, created.getName()); + Assertions.assertEquals("2", created.getVersion()); + }) + .then(toolboxesAsyncClient.updateToolbox(toolboxName, "2")) + .flatMap(updated -> toolboxesAsyncClient.getToolboxVersion(updated.getName(), updated.getDefaultVersion())) + .doOnNext(version -> assertMcpRequireApproval(version, "always")) + .then(toolboxesAsyncClient.updateToolbox(toolboxName, "1")) + .flatMap(updated -> toolboxesAsyncClient.getToolboxVersion(updated.getName(), updated.getDefaultVersion())) + .doOnNext(version -> assertMcpRequireApproval(version, "never")) + .thenMany(toolboxesAsyncClient.listToolboxes().take(10)) + .filter(toolbox -> toolboxName.equals(toolbox.getName())) + .next() + .doOnNext(toolbox -> Assertions.assertEquals(toolboxName, toolbox.getName())) + .then(toolboxesAsyncClient.deleteToolbox(toolboxName)); StepVerifier.create(testFlow).verifyComplete(); } diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index 83bd42f1057f..675d21bb1872 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: 1b882c3355c140b1f78ce3d9645d644983d4a9d6 +commit: 89682e5cd7d0d71e7f95ec590b4873bc228dd36f repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents From 5151afd9e775694be3388833a2f911fd07f42ff9 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Wed, 27 May 2026 16:06:46 -0700 Subject: [PATCH 53/74] re-emit for optin keys --- .../DataGenerationJobsAsyncClient.java | 20 ++--- .../ai/projects/DataGenerationJobsClient.java | 20 ++--- .../projects/EvaluationRulesAsyncClient.java | 4 +- .../ai/projects/EvaluationRulesClient.java | 4 +- .../ai/projects/EvaluatorsAsyncClient.java | 28 +++---- .../azure/ai/projects/EvaluatorsClient.java | 28 +++---- .../ai/projects/InsightsAsyncClient.java | 12 +-- .../com/azure/ai/projects/InsightsClient.java | 12 +-- .../ai/projects/RoutinesAsyncClient.java | 32 ++++---- .../com/azure/ai/projects/RoutinesClient.java | 32 ++++---- .../DataGenerationJobsImpl.java | 48 +++++------ .../implementation/EvaluationRulesImpl.java | 8 +- .../implementation/EvaluatorsImpl.java | 64 +++++++-------- .../projects/implementation/InsightsImpl.java | 40 +++++----- .../projects/implementation/RoutinesImpl.java | 80 +++++++++---------- .../models/FoundryFeaturesOptInKeys.java | 5 ++ .../META-INF/azure-ai-projects_metadata.json | 2 +- sdk/ai/azure-ai-projects/tsp-location.yaml | 2 +- 18 files changed, 223 insertions(+), 218 deletions(-) diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java index 9485a2b85d16..6bc7d04834aa 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java @@ -57,8 +57,8 @@ public final class DataGenerationJobsAsyncClient { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -175,8 +175,8 @@ public Mono> getGenerationJobWithResponse(String jobId, Req * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -267,8 +267,8 @@ public PagedFlux listGenerationJobs(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * Operation-IdStringNoClient-generated unique ID for idempotent retries. When * absent, the server creates the job unconditionally. * @@ -430,8 +430,8 @@ public Mono> createGenerationJobWithResponse(BinaryData job * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -525,8 +525,8 @@ public Mono> cancelGenerationJobWithResponse(String jobId, * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java index a4a1790bfbdd..46c9617afbce 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java @@ -51,8 +51,8 @@ public final class DataGenerationJobsClient { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -168,8 +168,8 @@ public Response getGenerationJobWithResponse(String jobId, RequestOp * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -260,8 +260,8 @@ public PagedIterable listGenerationJobs(RequestOptions requestOption * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * Operation-IdStringNoClient-generated unique ID for idempotent retries. When * absent, the server creates the job unconditionally. * @@ -423,8 +423,8 @@ public Response createGenerationJobWithResponse(BinaryData job, Requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -518,8 +518,8 @@ public Response cancelGenerationJobWithResponse(String jobId, Reques * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java index 4966585afb82..8cced7de37f4 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java @@ -111,8 +111,8 @@ public Mono> deleteEvaluationRuleWithResponse(String id, RequestO * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java index 828b6957105a..9be8ad6e1445 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluationRulesClient.java @@ -105,8 +105,8 @@ public Response deleteEvaluationRuleWithResponse(String id, RequestOptions * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java index 44db27a91418..7378a96c1d68 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java @@ -811,8 +811,8 @@ public Mono updateEvaluatorVersion(String name, String version * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    @@ -875,8 +875,8 @@ public Mono> startPendingUploadWithResponse(String name, St * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    @@ -1048,8 +1048,8 @@ public Mono getCredentials(String name, String version, * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * Operation-IdStringNoClient-generated unique ID for idempotent retries. When * absent, the server creates the job unconditionally. * @@ -1265,8 +1265,8 @@ public Mono> createEvaluatorGenerationJobWithResponse(Binar * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -1408,8 +1408,8 @@ public Mono> getEvaluatorGenerationJobWithResponse(String j * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -1528,8 +1528,8 @@ public PagedFlux listEvaluatorGenerationJobs(RequestOptions requestO * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -1650,8 +1650,8 @@ public Mono> cancelEvaluatorGenerationJobWithResponse(Strin * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java index b6455191950b..3e8c984d899c 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java @@ -757,8 +757,8 @@ public EvaluatorVersion updateEvaluatorVersion(String name, String version, Eval * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    @@ -819,8 +819,8 @@ public Response startPendingUploadWithResponse(String name, String v * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    @@ -987,8 +987,8 @@ public DatasetCredential getCredentials(String name, String version, EvaluatorCr * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * Operation-IdStringNoClient-generated unique ID for idempotent retries. When * absent, the server creates the job unconditionally. * @@ -1204,8 +1204,8 @@ public Response createEvaluatorGenerationJobWithResponse(BinaryData * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -1345,8 +1345,8 @@ public Response getEvaluatorGenerationJobWithResponse(String jobId, * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -1465,8 +1465,8 @@ public PagedIterable listEvaluatorGenerationJobs(RequestOptions requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -1586,8 +1586,8 @@ public Response cancelEvaluatorGenerationJobWithResponse(String jobI * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java index 10e6ba27a93c..b13854e1452f 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsAsyncClient.java @@ -55,8 +55,8 @@ public final class InsightsAsyncClient { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -138,8 +138,8 @@ public Mono> generateInsightWithResponse(BinaryData insight * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -200,8 +200,8 @@ public Mono> getInsightWithResponse(String id, RequestOptio * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java index 5aed4cf313c6..970636a976f9 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/InsightsClient.java @@ -49,8 +49,8 @@ public final class InsightsClient { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -131,8 +131,8 @@ public Response generateInsightWithResponse(BinaryData insight, Requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -193,8 +193,8 @@ public Response getInsightWithResponse(String id, RequestOptions req * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java index c3e898c944e6..16859d35089e 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java @@ -63,8 +63,8 @@ public final class RoutinesAsyncClient { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    @@ -135,8 +135,8 @@ public Mono> createOrUpdateRoutineWithResponse(String routi * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -185,8 +185,8 @@ public Mono> getRoutineWithResponse(String routineName, Req * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -235,8 +235,8 @@ public Mono> enableRoutineWithResponse(String routineName, * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -305,8 +305,8 @@ public Mono> disableRoutineWithResponse(String routineName, * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -353,8 +353,8 @@ public PagedFlux listRoutines(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -403,8 +403,8 @@ public Mono> deleteRoutineWithResponse(String routineName, Reques * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -465,8 +465,8 @@ public PagedFlux listRoutineRuns(String routineName, RequestOptions * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java index 7f5bab26d066..1690b0d7d4e7 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java @@ -57,8 +57,8 @@ public final class RoutinesClient { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    @@ -128,8 +128,8 @@ public Response createOrUpdateRoutineWithResponse(String routineName * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -177,8 +177,8 @@ public Response getRoutineWithResponse(String routineName, RequestOp * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -226,8 +226,8 @@ public Response enableRoutineWithResponse(String routineName, Reques * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -295,8 +295,8 @@ public Response disableRoutineWithResponse(String routineName, Reque * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -343,8 +343,8 @@ public PagedIterable listRoutines(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -393,8 +393,8 @@ public Response deleteRoutineWithResponse(String routineName, RequestOptio * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -455,8 +455,8 @@ public PagedIterable listRoutineRuns(String routineName, RequestOpti * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java index f8a5101d14af..b2e87a11a7ed 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java @@ -192,8 +192,8 @@ Response deleteGenerationJobSync(@HostParam("endpoint") String endpoint, @ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -291,8 +291,8 @@ public Mono> getGenerationJobWithResponseAsync(String jobId * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -409,8 +409,8 @@ public Response getGenerationJobWithResponse(String jobId, RequestOp * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -528,8 +528,8 @@ private Mono> listGenerationJobsSinglePageAsync(Reques * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -641,8 +641,8 @@ public PagedFlux listGenerationJobsAsync(RequestOptions requestOptio * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -758,8 +758,8 @@ private PagedResponse listGenerationJobsSinglePage(RequestOptions re * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -849,8 +849,8 @@ public PagedIterable listGenerationJobs(RequestOptions requestOption * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * Operation-IdStringNoClient-generated unique ID for idempotent retries. When * absent, the server creates the job unconditionally. * @@ -1013,8 +1013,8 @@ public Mono> createGenerationJobWithResponseAsync(BinaryDat * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * Operation-IdStringNoClient-generated unique ID for idempotent retries. When * absent, the server creates the job unconditionally. * @@ -1178,8 +1178,8 @@ public Response createGenerationJobWithResponse(BinaryData job, Requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -1275,8 +1275,8 @@ public Mono> cancelGenerationJobWithResponseAsync(String jo * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -1371,8 +1371,8 @@ public Response cancelGenerationJobWithResponse(String jobId, Reques * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -1401,8 +1401,8 @@ public Mono> deleteGenerationJobWithResponseAsync(String jobId, R * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java index c70d0bcfcc83..ee85841e9314 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java @@ -305,8 +305,8 @@ public Response deleteEvaluationRuleWithResponse(String id, RequestOptions * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    @@ -383,8 +383,8 @@ public Mono> createOrUpdateEvaluationRuleWithResponseAsync( * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java index 4a77e4b81369..6274b0ee1e43 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java @@ -1821,8 +1821,8 @@ public Response updateEvaluatorVersionWithResponse(String name, Stri * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    @@ -1887,8 +1887,8 @@ public Mono> startPendingUploadWithResponseAsync(String nam * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    @@ -1952,8 +1952,8 @@ public Response startPendingUploadWithResponse(String name, String v * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    @@ -2013,8 +2013,8 @@ public Mono> getCredentialsWithResponseAsync(String name, S * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    @@ -2077,8 +2077,8 @@ public Response getCredentialsWithResponse(String name, String versi * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * Operation-IdStringNoClient-generated unique ID for idempotent retries. When * absent, the server creates the job unconditionally. * @@ -2297,8 +2297,8 @@ public Mono> createEvaluatorGenerationJobWithResponseAsync( * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * Operation-IdStringNoClient-generated unique ID for idempotent retries. When * absent, the server creates the job unconditionally. * @@ -2516,8 +2516,8 @@ public Response createEvaluatorGenerationJobWithResponse(BinaryData * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -2642,8 +2642,8 @@ public Mono> getEvaluatorGenerationJobWithResponseAsync(Str * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -2784,8 +2784,8 @@ public Response getEvaluatorGenerationJobWithResponse(String jobId, * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -2927,8 +2927,8 @@ private Mono> listEvaluatorGenerationJobsSinglePageAsy * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -3064,8 +3064,8 @@ public PagedFlux listEvaluatorGenerationJobsAsync(RequestOptions req * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -3205,8 +3205,8 @@ private PagedResponse listEvaluatorGenerationJobsSinglePage(RequestO * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -3324,8 +3324,8 @@ public PagedIterable listEvaluatorGenerationJobs(RequestOptions requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -3448,8 +3448,8 @@ public Mono> cancelEvaluatorGenerationJobWithResponseAsync( * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -3570,8 +3570,8 @@ public Response cancelEvaluatorGenerationJobWithResponse(String jobI * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -3600,8 +3600,8 @@ public Mono> deleteEvaluatorGenerationJobWithResponseAsync(String * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java index b460cdc7a5f8..2c32171b387c 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java @@ -173,8 +173,8 @@ Response listInsightsNextSync(@PathParam(value = "nextLink", encoded * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -265,8 +265,8 @@ public Mono> generateInsightWithResponseAsync(BinaryData in * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * repeatability-request-idStringNoRepeatability request ID header * repeatability-first-sentStringNoRepeatability first sent header as * HTTP-date @@ -363,8 +363,8 @@ public Response generateInsightWithResponse(BinaryData insight, Requ * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -421,8 +421,8 @@ public Mono> getInsightWithResponseAsync(String id, Request * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -484,8 +484,8 @@ public Response getInsightWithResponse(String id, RequestOptions req * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -550,8 +550,8 @@ private Mono> listInsightsSinglePageAsync(RequestOptio * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -614,8 +614,8 @@ public PagedFlux listInsightsAsync(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -678,8 +678,8 @@ private PagedResponse listInsightsSinglePage(RequestOptions requestO * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -729,8 +729,8 @@ public PagedIterable listInsights(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -783,8 +783,8 @@ private Mono> listInsightsNextSinglePageAsync(String n * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java index 9e2ae1ba947b..5a89c4dead65 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java @@ -257,8 +257,8 @@ Response dispatchRoutineAsyncSync(@HostParam("endpoint") String endp * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    @@ -331,8 +331,8 @@ public Mono> createOrUpdateRoutineWithResponseAsync(String * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    @@ -404,8 +404,8 @@ public Response createOrUpdateRoutineWithResponse(String routineName * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -455,8 +455,8 @@ public Mono> getRoutineWithResponseAsync(String routineName * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -505,8 +505,8 @@ public Response getRoutineWithResponse(String routineName, RequestOp * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -557,8 +557,8 @@ public Mono> enableRoutineWithResponseAsync(String routineN * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -607,8 +607,8 @@ public Response enableRoutineWithResponse(String routineName, Reques * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -659,8 +659,8 @@ public Mono> disableRoutineWithResponseAsync(String routine * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -729,8 +729,8 @@ public Response disableRoutineWithResponse(String routineName, Reque * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -802,8 +802,8 @@ private Mono> listRoutinesSinglePageAsync(RequestOptio * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -869,8 +869,8 @@ public PagedFlux listRoutinesAsync(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -940,8 +940,8 @@ private PagedResponse listRoutinesSinglePage(RequestOptions requestO * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -987,8 +987,8 @@ public PagedIterable listRoutines(RequestOptions requestOptions) { * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -1015,8 +1015,8 @@ public Mono> deleteRoutineWithResponseAsync(String routineName, R * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} * @@ -1065,8 +1065,8 @@ public Response deleteRoutineWithResponse(String routineName, RequestOptio * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -1155,8 +1155,8 @@ private Mono> listRoutineRunsSinglePageAsync(String ro * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -1238,8 +1238,8 @@ public PagedFlux listRoutineRunsAsync(String routineName, RequestOpt * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -1325,8 +1325,8 @@ private PagedResponse listRoutineRunsSinglePage(String routineName, * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Response Body Schema

    @@ -1386,8 +1386,8 @@ public PagedIterable listRoutineRuns(String routineName, RequestOpti * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    @@ -1443,8 +1443,8 @@ public Mono> dispatchRoutineAsyncWithResponseAsync(String r * Foundry-FeaturesStringNoA feature flag opt-in required when using preview * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", "Models=V1Preview", - * "AgentsOptimization=V1Preview". + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview". * * You can add these to a request with {@link RequestOptions#addHeader} *

    Request Body Schema

    diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java index af36ffc5542f..78b225e0fa57 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java @@ -38,6 +38,11 @@ public enum FoundryFeaturesOptInKeys { */ ROUTINES_V1_PREVIEW("Routines=V1Preview"), + /** + * Enum value Toolboxes=V1Preview. + */ + TOOLBOXES_V1_PREVIEW("Toolboxes=V1Preview"), + /** * Enum value Skills=V1Preview. */ diff --git a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json index 1508366c964b..4a4c5ec024a1 100644 --- a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json +++ b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"86e7d79af6be","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FilesFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.GitHubIssueOpenedRoutineTrigger":"Azure.AI.Projects.GitHubIssueOpenedRoutineTrigger","com.azure.ai.projects.models.GraderAzureAIEvaluator":"Azure.AI.Projects.GraderAzureAIEvaluator","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunDiagnostics":"Azure.AI.Projects.RoutineRunDiagnostics","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator":"Azure.AI.Projects.TestingCriterionAzureAIEvaluator","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FilesFileDetails.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"22db907c8c13","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FilesFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.GitHubIssueOpenedRoutineTrigger":"Azure.AI.Projects.GitHubIssueOpenedRoutineTrigger","com.azure.ai.projects.models.GraderAzureAIEvaluator":"Azure.AI.Projects.GraderAzureAIEvaluator","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunDiagnostics":"Azure.AI.Projects.RoutineRunDiagnostics","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator":"Azure.AI.Projects.TestingCriterionAzureAIEvaluator","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FilesFileDetails.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml b/sdk/ai/azure-ai-projects/tsp-location.yaml index 2107fb1d97f5..9d93c9bcaa69 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: 4528d023eb4e69a896e90b51a0bfd819a2d9628a +commit: 89682e5cd7d0d71e7f95ec590b4873bc228dd36f repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From cf5d13fad574e8434c938ef03e65cf5f77cb8a35 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Wed, 27 May 2026 16:41:58 -0700 Subject: [PATCH 54/74] rename fabricig --- .../azure/ai/agents/ToolboxesAsyncClient.java | 42 ++-- .../com/azure/ai/agents/ToolboxesClient.java | 42 ++-- ...viewTool.java => FabricIqPreviewTool.java} | 212 +++++++----------- .../java/com/azure/ai/agents/models/Tool.java | 2 +- .../META-INF/azure-ai-agents_metadata.json | 2 +- sdk/ai/azure-ai-agents/tsp-location.yaml | 2 +- 6 files changed, 125 insertions(+), 177 deletions(-) rename sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/{FabricIQPreviewTool.java => FabricIqPreviewTool.java} (69%) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java index fa7523a8f8a4..015a007274aa 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.agents; import com.azure.ai.agents.implementation.ToolboxesImpl; @@ -39,12 +38,13 @@ */ @ServiceClient(builder = AgentsClientBuilder.class, isAsync = true) public final class ToolboxesAsyncClient { + @Generated private final ToolboxesImpl serviceClient; /** * Initializes an instance of ToolboxesAsyncClient class. - * + * * @param serviceClient the service client implementation. */ @Generated @@ -113,7 +113,7 @@ public final class ToolboxesAsyncClient { * } * } *
    - * + * * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param createToolboxVersionRequest The createToolboxVersionRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -144,7 +144,7 @@ public Mono> createToolboxVersionWithResponse(String name, * } * } *
    - * + * * @param name The name of the toolbox to retrieve. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -193,7 +193,7 @@ public Mono> getToolboxWithResponse(String name, RequestOpt * } * } *
    - * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -260,7 +260,7 @@ public PagedFlux listToolboxes(RequestOptions requestOptions) { * } * } *
    - * + * * @param name The name of the toolbox to list versions for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -308,7 +308,7 @@ public PagedFlux listToolboxVersions(String name, RequestOptions req * } * } *
    - * + * * @param name The name of the toolbox. * @param version The version identifier to retrieve. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -348,7 +348,7 @@ public Mono> getToolboxVersionWithResponse(String name, Str * } * } *
    - * + * * @param name The name of the toolbox to update. * @param updateToolboxRequest The updateToolboxRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -368,7 +368,7 @@ public Mono> updateToolboxWithResponse(String name, BinaryD /** * Delete a toolbox and all its versions. - * + * * @param name The name of the toolbox to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -385,7 +385,7 @@ public Mono> deleteToolboxWithResponse(String name, RequestOption /** * Delete a specific version of a toolbox. - * + * * @param name The name of the toolbox. * @param version The version identifier to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -404,7 +404,7 @@ public Mono> deleteToolboxVersionWithResponse(String name, String /** * Create a new version of a toolbox. If the toolbox does not exist, it will be created. - * + * * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param tools The list of tools to include in this version. * @param description A human-readable description of the toolbox. @@ -439,7 +439,7 @@ public Mono createToolboxVersion(String name, List /** * Create a new version of a toolbox. If the toolbox does not exist, it will be created. - * + * * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param tools The list of tools to include in this version. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -464,7 +464,7 @@ public Mono createToolboxVersion(String name, List /** * Retrieve a toolbox. - * + * * @param name The name of the toolbox to retrieve. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -485,7 +485,7 @@ public Mono getToolbox(String name) { /** * List all toolboxes. - * + * * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the * default is 20. * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` @@ -538,7 +538,7 @@ public PagedFlux listToolboxes(Integer limit, PageOrder order, S /** * List all toolboxes. - * + * * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. @@ -568,7 +568,7 @@ public PagedFlux listToolboxes() { /** * List all versions of a toolbox. - * + * * @param name The name of the toolbox to list versions for. * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the * default is 20. @@ -624,7 +624,7 @@ public PagedFlux listToolboxVersions(String name, Integer /** * List all versions of a toolbox. - * + * * @param name The name of the toolbox to list versions for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -657,7 +657,7 @@ public PagedFlux listToolboxVersions(String name) { /** * Retrieve a specific version of a toolbox. - * + * * @param name The name of the toolbox. * @param version The version identifier to retrieve. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -679,7 +679,7 @@ public Mono getToolboxVersion(String name, String version /** * Update a toolbox to point to a specific version. - * + * * @param name The name of the toolbox to update. * @param defaultVersion The version identifier that the toolbox should point to. When set, the toolbox's default * version will resolve to this version instead of the latest. @@ -704,7 +704,7 @@ public Mono updateToolbox(String name, String defaultVersion) { /** * Delete a toolbox and all its versions. - * + * * @param name The name of the toolbox to delete. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -724,7 +724,7 @@ public Mono deleteToolbox(String name) { /** * Delete a specific version of a toolbox. - * + * * @param name The name of the toolbox. * @param version The version identifier to delete. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java index 60f2be30514a..2be515c98fd3 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/ToolboxesClient.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.agents; import com.azure.ai.agents.implementation.ToolboxesImpl; @@ -33,12 +32,13 @@ */ @ServiceClient(builder = AgentsClientBuilder.class) public final class ToolboxesClient { + @Generated private final ToolboxesImpl serviceClient; /** * Initializes an instance of ToolboxesClient class. - * + * * @param serviceClient the service client implementation. */ @Generated @@ -107,7 +107,7 @@ public final class ToolboxesClient { * } * } *
    - * + * * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param createToolboxVersionRequest The createToolboxVersionRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -137,7 +137,7 @@ public Response createToolboxVersionWithResponse(String name, Binary * } * } *
    - * + * * @param name The name of the toolbox to retrieve. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -185,7 +185,7 @@ public Response getToolboxWithResponse(String name, RequestOptions r * } * } *
    - * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -252,7 +252,7 @@ public PagedIterable listToolboxes(RequestOptions requestOptions) { * } * } *
    - * + * * @param name The name of the toolbox to list versions for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -300,7 +300,7 @@ public PagedIterable listToolboxVersions(String name, RequestOptions * } * } *
    - * + * * @param name The name of the toolbox. * @param version The version identifier to retrieve. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -340,7 +340,7 @@ public Response getToolboxVersionWithResponse(String name, String ve * } * } *
    - * + * * @param name The name of the toolbox to update. * @param updateToolboxRequest The updateToolboxRequest parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -359,7 +359,7 @@ public Response updateToolboxWithResponse(String name, BinaryData up /** * Delete a toolbox and all its versions. - * + * * @param name The name of the toolbox to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -376,7 +376,7 @@ public Response deleteToolboxWithResponse(String name, RequestOptions requ /** * Delete a specific version of a toolbox. - * + * * @param name The name of the toolbox. * @param version The version identifier to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -394,7 +394,7 @@ public Response deleteToolboxVersionWithResponse(String name, String versi /** * Create a new version of a toolbox. If the toolbox does not exist, it will be created. - * + * * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param tools The list of tools to include in this version. * @param description A human-readable description of the toolbox. @@ -428,7 +428,7 @@ public ToolboxVersionDetails createToolboxVersion(String name, List tools, /** * Create a new version of a toolbox. If the toolbox does not exist, it will be created. - * + * * @param name The name of the toolbox. If the toolbox does not exist, it will be created. * @param tools The list of tools to include in this version. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -452,7 +452,7 @@ public ToolboxVersionDetails createToolboxVersion(String name, List tools) /** * Retrieve a toolbox. - * + * * @param name The name of the toolbox to retrieve. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -472,7 +472,7 @@ public ToolboxDetails getToolbox(String name) { /** * List all toolboxes. - * + * * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the * default is 20. * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` @@ -514,7 +514,7 @@ public PagedIterable listToolboxes(Integer limit, PageOrder orde /** * List all toolboxes. - * + * * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. @@ -533,7 +533,7 @@ public PagedIterable listToolboxes() { /** * List all versions of a toolbox. - * + * * @param name The name of the toolbox to list versions for. * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the * default is 20. @@ -577,7 +577,7 @@ public PagedIterable listToolboxVersions(String name, Int /** * List all versions of a toolbox. - * + * * @param name The name of the toolbox to list versions for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -598,7 +598,7 @@ public PagedIterable listToolboxVersions(String name) { /** * Retrieve a specific version of a toolbox. - * + * * @param name The name of the toolbox. * @param version The version identifier to retrieve. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -620,7 +620,7 @@ public ToolboxVersionDetails getToolboxVersion(String name, String version) { /** * Update a toolbox to point to a specific version. - * + * * @param name The name of the toolbox to update. * @param defaultVersion The version identifier that the toolbox should point to. When set, the toolbox's default * version will resolve to this version instead of the latest. @@ -645,7 +645,7 @@ public ToolboxDetails updateToolbox(String name, String defaultVersion) { /** * Delete a toolbox and all its versions. - * + * * @param name The name of the toolbox to delete. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -664,7 +664,7 @@ public void deleteToolbox(String name) { /** * Delete a specific version of a toolbox. - * + * * @param name The name of the toolbox. * @param version The version identifier to delete. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java similarity index 69% rename from sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java rename to sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java index 50863f9f4035..e7c97593d6af 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. + package com.azure.ai.agents.models; import com.azure.core.annotation.Fluent; @@ -16,8 +17,7 @@ * A FabricIQ server-side tool. */ @Fluent -public final class FabricIQPreviewTool extends Tool { - +public final class FabricIqPreviewTool extends Tool { /* * The type property. */ @@ -60,19 +60,27 @@ public final class FabricIQPreviewTool extends Tool { @Generated private String description; + /* + * Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + */ + @Generated + private Map toolConfigs; + /** - * Creates an instance of FabricIQPreviewTool class. - * + * Creates an instance of FabricIqPreviewTool class. + * * @param projectConnectionId the projectConnectionId value to set. */ @Generated - public FabricIQPreviewTool(String projectConnectionId) { + public FabricIqPreviewTool(String projectConnectionId) { this.projectConnectionId = projectConnectionId; } /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -83,7 +91,7 @@ public ToolType getType() { /** * Get the projectConnectionId property: The ID of the FabricIQ project connection. - * + * * @return the projectConnectionId value. */ @Generated @@ -93,7 +101,7 @@ public String getProjectConnectionId() { /** * Get the serverLabel property: (Optional) The label of the FabricIQ MCP server to connect to. - * + * * @return the serverLabel value. */ @Generated @@ -103,12 +111,12 @@ public String getServerLabel() { /** * Set the serverLabel property: (Optional) The label of the FabricIQ MCP server to connect to. - * + * * @param serverLabel the serverLabel value to set. - * @return the FabricIQPreviewTool object itself. + * @return the FabricIqPreviewTool object itself. */ @Generated - public FabricIQPreviewTool setServerLabel(String serverLabel) { + public FabricIqPreviewTool setServerLabel(String serverLabel) { this.serverLabel = serverLabel; return this; } @@ -116,7 +124,7 @@ public FabricIQPreviewTool setServerLabel(String serverLabel) { /** * Get the serverUrl property: (Optional) The URL of the FabricIQ MCP server. If not provided, the URL from the * project connection will be used. - * + * * @return the serverUrl value. */ @Generated @@ -127,12 +135,12 @@ public String getServerUrl() { /** * Set the serverUrl property: (Optional) The URL of the FabricIQ MCP server. If not provided, the URL from the * project connection will be used. - * + * * @param serverUrl the serverUrl value to set. - * @return the FabricIQPreviewTool object itself. + * @return the FabricIqPreviewTool object itself. */ @Generated - public FabricIQPreviewTool setServerUrl(String serverUrl) { + public FabricIqPreviewTool setServerUrl(String serverUrl) { this.serverUrl = serverUrl; return this; } @@ -140,84 +148,30 @@ public FabricIQPreviewTool setServerUrl(String serverUrl) { /** * Get the requireApproval property: (Optional) Whether the agent requires approval before executing actions. * Default is always. - * + * * @return the requireApproval value. */ - BinaryData getRequireApproval() { - // AI Tooling: union type + @Generated + public BinaryData getRequireApproval() { return this.requireApproval; } /** * Set the requireApproval property: (Optional) Whether the agent requires approval before executing actions. * Default is always. - * + * * @param requireApproval the requireApproval value to set. - * @return the FabricIQPreviewTool object itself. + * @return the FabricIqPreviewTool object itself. */ - FabricIQPreviewTool setRequireApproval(BinaryData requireApproval) { - // AI Tooling: union type + @Generated + public FabricIqPreviewTool setRequireApproval(BinaryData requireApproval) { this.requireApproval = requireApproval; return this; } - /** - * Set the requireApproval property: (Optional) Whether the agent requires approval before executing actions. - * Default is always. - * - * @param requireApproval the approval setting string to set (e.g., "always" or "never"). - * @return the FabricIQPreviewTool object itself. - */ - public FabricIQPreviewTool setRequireApproval(String requireApproval) { - // AI Tooling: union type - this.requireApproval = BinaryData.fromString(requireApproval); - return this; - } - - /** - * Set the requireApproval property: (Optional) Whether the agent requires approval before executing actions. - * Default is always. - * - * @param requireApproval the {@link McpToolRequireApproval} value to set. - * @return the FabricIQPreviewTool object itself. - */ - public FabricIQPreviewTool setRequireApproval(McpToolRequireApproval requireApproval) { - // AI Tooling: union type - this.requireApproval = BinaryData.fromObject(requireApproval); - return this; - } - - /** - * Get the requireApproval property as a String: (Optional) Whether the agent requires approval before executing - * actions. Default is always. - * - * @return the requireApproval value as a String. - */ - public String getRequireApprovalAsString() { - // AI Tooling: union type - if (this.requireApproval == null) { - return null; - } - return this.requireApproval.toObject(String.class); - } - - /** - * Get the requireApproval property as a {@link McpToolRequireApproval}: (Optional) Whether the agent requires - * approval before executing actions. Default is always. - * - * @return the requireApproval value as a {@link McpToolRequireApproval}. - */ - public McpToolRequireApproval getRequireApprovalAsMcpToolRequireApproval() { - // AI Tooling: union type - if (this.requireApproval == null) { - return null; - } - return this.requireApproval.toObject(McpToolRequireApproval.class); - } - /** * Get the name property: Optional user-defined name for this tool or configuration. - * + * * @return the name value. */ @Generated @@ -227,19 +181,19 @@ public String getName() { /** * Set the name property: Optional user-defined name for this tool or configuration. - * + * * @param name the name value to set. - * @return the FabricIQPreviewTool object itself. + * @return the FabricIqPreviewTool object itself. */ @Generated - public FabricIQPreviewTool setName(String name) { + public FabricIqPreviewTool setName(String name) { this.name = name; return this; } /** * Get the description property: Optional user-defined description for this tool or configuration. - * + * * @return the description value. */ @Generated @@ -249,16 +203,42 @@ public String getDescription() { /** * Set the description property: Optional user-defined description for this tool or configuration. - * + * * @param description the description value to set. - * @return the FabricIQPreviewTool object itself. + * @return the FabricIqPreviewTool object itself. */ @Generated - public FabricIQPreviewTool setDescription(String description) { + public FabricIqPreviewTool setDescription(String description) { this.description = description; return this; } + /** + * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @return the toolConfigs value. + */ + @Generated + public Map getToolConfigs() { + return this.toolConfigs; + } + + /** + * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). + * Resolution order: exact tool name match takes priority over `*`. + * Unknown tool names are silently ignored at runtime. + * + * @param toolConfigs the toolConfigs value to set. + * @return the FabricIqPreviewTool object itself. + */ + @Generated + public FabricIqPreviewTool setToolConfigs(Map toolConfigs) { + this.toolConfigs = toolConfigs; + return this; + } + /** * {@inheritDoc} */ @@ -281,16 +261,16 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of FabricIQPreviewTool from the JsonReader. - * + * Reads an instance of FabricIqPreviewTool from the JsonReader. + * * @param jsonReader The JsonReader being read. - * @return An instance of FabricIQPreviewTool if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of FabricIqPreviewTool if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the FabricIQPreviewTool. + * @throws IOException If an error occurs while reading the FabricIqPreviewTool. */ @Generated - public static FabricIQPreviewTool fromJson(JsonReader jsonReader) throws IOException { + public static FabricIqPreviewTool fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String projectConnectionId = null; ToolType type = ToolType.FABRIC_IQ_PREVIEW; @@ -303,6 +283,7 @@ public static FabricIQPreviewTool fromJson(JsonReader jsonReader) throws IOExcep while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); + if ("project_connection_id".equals(fieldName)) { projectConnectionId = reader.getString(); } else if ("type".equals(fieldName)) { @@ -324,49 +305,16 @@ public static FabricIQPreviewTool fromJson(JsonReader jsonReader) throws IOExcep reader.skipChildren(); } } - FabricIQPreviewTool deserializedFabricIQPreviewTool = new FabricIQPreviewTool(projectConnectionId); - deserializedFabricIQPreviewTool.type = type; - deserializedFabricIQPreviewTool.serverLabel = serverLabel; - deserializedFabricIQPreviewTool.serverUrl = serverUrl; - deserializedFabricIQPreviewTool.requireApproval = requireApproval; - deserializedFabricIQPreviewTool.name = name; - deserializedFabricIQPreviewTool.description = description; - deserializedFabricIQPreviewTool.toolConfigs = toolConfigs; - return deserializedFabricIQPreviewTool; - }); - } + FabricIqPreviewTool deserializedFabricIqPreviewTool = new FabricIqPreviewTool(projectConnectionId); + deserializedFabricIqPreviewTool.type = type; + deserializedFabricIqPreviewTool.serverLabel = serverLabel; + deserializedFabricIqPreviewTool.serverUrl = serverUrl; + deserializedFabricIqPreviewTool.requireApproval = requireApproval; + deserializedFabricIqPreviewTool.name = name; + deserializedFabricIqPreviewTool.description = description; + deserializedFabricIqPreviewTool.toolConfigs = toolConfigs; - /* - * Per-tool configuration map. Keys are tool names or `*` (catch-all default). - * Resolution order: exact tool name match takes priority over `*`. - * Unknown tool names are silently ignored at runtime. - */ - @Generated - private Map toolConfigs; - - /** - * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). - * Resolution order: exact tool name match takes priority over `*`. - * Unknown tool names are silently ignored at runtime. - * - * @return the toolConfigs value. - */ - @Generated - public Map getToolConfigs() { - return this.toolConfigs; - } - - /** - * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). - * Resolution order: exact tool name match takes priority over `*`. - * Unknown tool names are silently ignored at runtime. - * - * @param toolConfigs the toolConfigs value to set. - * @return the FabricIQPreviewTool object itself. - */ - @Generated - public FabricIQPreviewTool setToolConfigs(Map toolConfigs) { - this.toolConfigs = toolConfigs; - return this; + return deserializedFabricIqPreviewTool; + }); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/Tool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/Tool.java index 5751d4c490d5..945afbf6b46e 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/Tool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/Tool.java @@ -100,7 +100,7 @@ public static Tool fromJson(JsonReader jsonReader) throws IOException { } else if ("work_iq_preview".equals(discriminatorValue)) { return WorkIqPreviewTool.fromJson(readerToUse.reset()); } else if ("fabric_iq_preview".equals(discriminatorValue)) { - return FabricIQPreviewTool.fromJson(readerToUse.reset()); + return FabricIqPreviewTool.fromJson(readerToUse.reset()); } else if ("memory_search_preview".equals(discriminatorValue)) { return MemorySearchPreviewTool.fromJson(readerToUse.reset()); } else if ("toolbox_search_preview".equals(discriminatorValue)) { diff --git a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json index 1d5cd980105e..faae0b522c5a 100644 --- a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json +++ b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"c4fb6b68442f","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIQPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIQPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"4c3d17820e2d","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIqPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index 675d21bb1872..c84c147717dc 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: 89682e5cd7d0d71e7f95ec590b4873bc228dd36f +commit: b6b6a3a3f912cd4f9e03e112a4d5485d0dc2af2e repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents From 7e761ba295e58034fd7b6e542c5ac1d94e1ba1e4 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Wed, 27 May 2026 17:40:40 -0700 Subject: [PATCH 55/74] typed getters and setters for fabriciq require approval --- .../ai/agents/models/FabricIqPreviewTool.java | 90 +++++++++++++++---- .../azure/ai/agents/tools/FabricIQAsync.java | 4 +- .../azure/ai/agents/tools/FabricIQSync.java | 4 +- ...abricIqPreviewToolSerializationTests.java} | 46 +++++----- .../agents/tools/FabricIQSamplesTestBase.java | 6 +- 5 files changed, 101 insertions(+), 49 deletions(-) rename sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/{FabricIQPreviewToolSerializationTests.java => FabricIqPreviewToolSerializationTests.java} (86%) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java index e7c97593d6af..6c2004657f18 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.agents.models; import com.azure.core.annotation.Fluent; @@ -18,6 +17,7 @@ */ @Fluent public final class FabricIqPreviewTool extends Tool { + /* * The type property. */ @@ -70,7 +70,7 @@ public final class FabricIqPreviewTool extends Tool { /** * Creates an instance of FabricIqPreviewTool class. - * + * * @param projectConnectionId the projectConnectionId value to set. */ @Generated @@ -80,7 +80,7 @@ public FabricIqPreviewTool(String projectConnectionId) { /** * Get the type property: The type property. - * + * * @return the type value. */ @Generated @@ -91,7 +91,7 @@ public ToolType getType() { /** * Get the projectConnectionId property: The ID of the FabricIQ project connection. - * + * * @return the projectConnectionId value. */ @Generated @@ -101,7 +101,7 @@ public String getProjectConnectionId() { /** * Get the serverLabel property: (Optional) The label of the FabricIQ MCP server to connect to. - * + * * @return the serverLabel value. */ @Generated @@ -111,7 +111,7 @@ public String getServerLabel() { /** * Set the serverLabel property: (Optional) The label of the FabricIQ MCP server to connect to. - * + * * @param serverLabel the serverLabel value to set. * @return the FabricIqPreviewTool object itself. */ @@ -124,7 +124,7 @@ public FabricIqPreviewTool setServerLabel(String serverLabel) { /** * Get the serverUrl property: (Optional) The URL of the FabricIQ MCP server. If not provided, the URL from the * project connection will be used. - * + * * @return the serverUrl value. */ @Generated @@ -135,7 +135,7 @@ public String getServerUrl() { /** * Set the serverUrl property: (Optional) The URL of the FabricIQ MCP server. If not provided, the URL from the * project connection will be used. - * + * * @param serverUrl the serverUrl value to set. * @return the FabricIqPreviewTool object itself. */ @@ -148,7 +148,7 @@ public FabricIqPreviewTool setServerUrl(String serverUrl) { /** * Get the requireApproval property: (Optional) Whether the agent requires approval before executing actions. * Default is always. - * + * * @return the requireApproval value. */ @Generated @@ -159,7 +159,7 @@ public BinaryData getRequireApproval() { /** * Set the requireApproval property: (Optional) Whether the agent requires approval before executing actions. * Default is always. - * + * * @param requireApproval the requireApproval value to set. * @return the FabricIqPreviewTool object itself. */ @@ -169,9 +169,63 @@ public FabricIqPreviewTool setRequireApproval(BinaryData requireApproval) { return this; } + /** + * Set the requireApproval property: (Optional) Whether the agent requires approval before executing actions. + * Default is always. + * + * @param requireApproval the approval setting string to set (e.g., "always" or "never"). + * @return the FabricIqPreviewTool object itself. + */ + public FabricIqPreviewTool setRequireApproval(String requireApproval) { + // AI Tooling: union type + this.requireApproval = BinaryData.fromString(requireApproval); + return this; + } + + /** + * Set the requireApproval property: (Optional) Whether the agent requires approval before executing actions. + * Default is always. + * + * @param requireApproval the {@link McpToolRequireApproval} filter to set. + * @return the FabricIqPreviewTool object itself. + */ + public FabricIqPreviewTool setRequireApproval(McpToolRequireApproval requireApproval) { + // AI Tooling: union type + this.requireApproval = BinaryData.fromObject(requireApproval); + return this; + } + + /** + * Get the requireApproval property: (Optional) Whether the agent requires approval before executing actions. + * Default is always. + * + * @return the requireApproval value as a String. + */ + public String getRequireApprovalAsString() { + // AI Tooling: union type + if (this.requireApproval == null) { + return null; + } + return this.requireApproval.toObject(String.class); + } + + /** + * Get the requireApproval property: (Optional) Whether the agent requires approval before executing actions. + * Default is always. + * + * @return the requireApproval value as a {@link McpToolRequireApproval}. + */ + public McpToolRequireApproval getRequireApprovalAsMcpToolRequireApproval() { + // AI Tooling: union type + if (this.requireApproval == null) { + return null; + } + return this.requireApproval.toObject(McpToolRequireApproval.class); + } + /** * Get the name property: Optional user-defined name for this tool or configuration. - * + * * @return the name value. */ @Generated @@ -181,7 +235,7 @@ public String getName() { /** * Set the name property: Optional user-defined name for this tool or configuration. - * + * * @param name the name value to set. * @return the FabricIqPreviewTool object itself. */ @@ -193,7 +247,7 @@ public FabricIqPreviewTool setName(String name) { /** * Get the description property: Optional user-defined description for this tool or configuration. - * + * * @return the description value. */ @Generated @@ -203,7 +257,7 @@ public String getDescription() { /** * Set the description property: Optional user-defined description for this tool or configuration. - * + * * @param description the description value to set. * @return the FabricIqPreviewTool object itself. */ @@ -217,7 +271,7 @@ public FabricIqPreviewTool setDescription(String description) { * Get the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). * Resolution order: exact tool name match takes priority over `*`. * Unknown tool names are silently ignored at runtime. - * + * * @return the toolConfigs value. */ @Generated @@ -229,7 +283,7 @@ public Map getToolConfigs() { * Set the toolConfigs property: Per-tool configuration map. Keys are tool names or `*` (catch-all default). * Resolution order: exact tool name match takes priority over `*`. * Unknown tool names are silently ignored at runtime. - * + * * @param toolConfigs the toolConfigs value to set. * @return the FabricIqPreviewTool object itself. */ @@ -262,7 +316,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of FabricIqPreviewTool from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of FabricIqPreviewTool if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -283,7 +337,6 @@ public static FabricIqPreviewTool fromJson(JsonReader jsonReader) throws IOExcep while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("project_connection_id".equals(fieldName)) { projectConnectionId = reader.getString(); } else if ("type".equals(fieldName)) { @@ -313,7 +366,6 @@ public static FabricIqPreviewTool fromJson(JsonReader jsonReader) throws IOExcep deserializedFabricIqPreviewTool.name = name; deserializedFabricIqPreviewTool.description = description; deserializedFabricIqPreviewTool.toolConfigs = toolConfigs; - return deserializedFabricIqPreviewTool; }); } diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQAsync.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQAsync.java index 3c1ac5bae159..cce6023009ff 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQAsync.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQAsync.java @@ -9,7 +9,7 @@ import com.azure.ai.agents.models.AgentReference; import com.azure.ai.agents.models.AzureCreateResponseOptions; import com.azure.ai.agents.models.AgentVersionDetails; -import com.azure.ai.agents.models.FabricIQPreviewTool; +import com.azure.ai.agents.models.FabricIqPreviewTool; import com.azure.ai.agents.models.PromptAgentDefinition; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -47,7 +47,7 @@ public static void main(String[] args) { ResponsesAsyncClient responsesAsyncClient = builder.buildResponsesAsyncClient(); AtomicReference agentRef = new AtomicReference<>(); - FabricIQPreviewTool fabricIqTool = new FabricIQPreviewTool(fabricIqConnectionId) + FabricIqPreviewTool fabricIqTool = new FabricIqPreviewTool(fabricIqConnectionId) .setServerLabel("fabric_iq") .setRequireApproval("never") .setName("fabric_iq_lookup") diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQSync.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQSync.java index bbdbc1d6bfea..62b97406e9bc 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQSync.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQSync.java @@ -9,7 +9,7 @@ import com.azure.ai.agents.models.AgentReference; import com.azure.ai.agents.models.AzureCreateResponseOptions; import com.azure.ai.agents.models.AgentVersionDetails; -import com.azure.ai.agents.models.FabricIQPreviewTool; +import com.azure.ai.agents.models.FabricIqPreviewTool; import com.azure.ai.agents.models.PromptAgentDefinition; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -46,7 +46,7 @@ public static void main(String[] args) { // BEGIN: com.azure.ai.agents.define_fabric_iq - FabricIQPreviewTool fabricIqTool = new FabricIQPreviewTool(fabricIqConnectionId) + FabricIqPreviewTool fabricIqTool = new FabricIqPreviewTool(fabricIqConnectionId) .setServerLabel("fabric_iq") .setRequireApproval("never") .setName("fabric_iq_lookup") diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/FabricIQPreviewToolSerializationTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/FabricIqPreviewToolSerializationTests.java similarity index 86% rename from sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/FabricIQPreviewToolSerializationTests.java rename to sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/FabricIqPreviewToolSerializationTests.java index a421b794060f..2a6eafbe0332 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/FabricIQPreviewToolSerializationTests.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/FabricIqPreviewToolSerializationTests.java @@ -19,10 +19,10 @@ import static org.junit.jupiter.api.Assertions.assertTrue; /** - * Tests for FabricIQPreviewTool serialization, focusing on the requireApproval union type handling. + * Tests for FabricIqPreviewTool serialization, focusing on the requireApproval union type handling. * requireApproval is a union type: String ("always"/"never") | McpToolRequireApproval. */ -public class FabricIQPreviewToolSerializationTests { +public class FabricIqPreviewToolSerializationTests { private static final String TEST_CONNECTION_ID = "test-connection-id"; @@ -33,7 +33,7 @@ public class FabricIQPreviewToolSerializationTests { */ @Test public void testSerializationWithoutRequireApproval() throws IOException { - FabricIQPreviewTool tool = new FabricIQPreviewTool(TEST_CONNECTION_ID); + FabricIqPreviewTool tool = new FabricIqPreviewTool(TEST_CONNECTION_ID); String json = serializeToJson(tool); @@ -47,7 +47,7 @@ public void testSerializationWithoutRequireApproval() throws IOException { */ @Test public void testSerializationWithRequireApprovalAlwaysString() throws IOException { - FabricIQPreviewTool tool = new FabricIQPreviewTool(TEST_CONNECTION_ID).setRequireApproval("always"); + FabricIqPreviewTool tool = new FabricIqPreviewTool(TEST_CONNECTION_ID).setRequireApproval("always"); String json = serializeToJson(tool); @@ -60,7 +60,7 @@ public void testSerializationWithRequireApprovalAlwaysString() throws IOExceptio */ @Test public void testSerializationWithRequireApprovalNeverString() throws IOException { - FabricIQPreviewTool tool = new FabricIQPreviewTool(TEST_CONNECTION_ID).setRequireApproval("never"); + FabricIqPreviewTool tool = new FabricIqPreviewTool(TEST_CONNECTION_ID).setRequireApproval("never"); String json = serializeToJson(tool); @@ -77,7 +77,7 @@ public void testSerializationWithRequireApprovalAsMcpToolRequireApproval() throw McpToolFilter neverFilter = new McpToolFilter().setToolNames(Arrays.asList("safe_tool")); McpToolRequireApproval approval = new McpToolRequireApproval().setAlways(alwaysFilter).setNever(neverFilter); - FabricIQPreviewTool tool = new FabricIQPreviewTool(TEST_CONNECTION_ID).setRequireApproval(approval); + FabricIqPreviewTool tool = new FabricIqPreviewTool(TEST_CONNECTION_ID).setRequireApproval(approval); String json = serializeToJson(tool); @@ -97,7 +97,7 @@ public void testDeserializationWithRequireApprovalAlwaysString() throws IOExcept String json = "{\"project_connection_id\":\"test-connection-id\",\"type\":\"fabric_iq_preview\",\"require_approval\":\"always\"}"; - FabricIQPreviewTool tool = deserializeFromJson(json); + FabricIqPreviewTool tool = deserializeFromJson(json); assertNotNull(tool); assertEquals("always", tool.getRequireApprovalAsString()); @@ -111,7 +111,7 @@ public void testDeserializationWithRequireApprovalNeverString() throws IOExcepti String json = "{\"project_connection_id\":\"test-connection-id\",\"type\":\"fabric_iq_preview\",\"require_approval\":\"never\"}"; - FabricIQPreviewTool tool = deserializeFromJson(json); + FabricIqPreviewTool tool = deserializeFromJson(json); assertNotNull(tool); assertEquals("never", tool.getRequireApprovalAsString()); @@ -125,7 +125,7 @@ public void testDeserializationWithRequireApprovalAsMcpToolRequireApproval() thr String json = "{\"project_connection_id\":\"test-connection-id\",\"type\":\"fabric_iq_preview\",\"require_approval\":{\"always\":{\"tool_names\":[\"dangerous_tool\"]},\"never\":{\"tool_names\":[\"safe_tool\"]}}}"; - FabricIQPreviewTool tool = deserializeFromJson(json); + FabricIqPreviewTool tool = deserializeFromJson(json); assertNotNull(tool); McpToolRequireApproval approval = tool.getRequireApprovalAsMcpToolRequireApproval(); @@ -144,7 +144,7 @@ public void testDeserializationWithRequireApprovalAsMcpToolRequireApproval() thr public void testDeserializationWithoutRequireApproval() throws IOException { String json = "{\"project_connection_id\":\"test-connection-id\",\"type\":\"fabric_iq_preview\"}"; - FabricIQPreviewTool tool = deserializeFromJson(json); + FabricIqPreviewTool tool = deserializeFromJson(json); assertNotNull(tool); assertNull(tool.getRequireApprovalAsString()); @@ -156,10 +156,10 @@ public void testDeserializationWithoutRequireApproval() throws IOException { */ @Test public void testRoundTripWithRequireApprovalAlwaysString() throws IOException { - FabricIQPreviewTool original = new FabricIQPreviewTool(TEST_CONNECTION_ID).setRequireApproval("always"); + FabricIqPreviewTool original = new FabricIqPreviewTool(TEST_CONNECTION_ID).setRequireApproval("always"); String json = serializeToJson(original); - FabricIQPreviewTool deserialized = deserializeFromJson(json); + FabricIqPreviewTool deserialized = deserializeFromJson(json); assertNotNull(deserialized); assertEquals("always", deserialized.getRequireApprovalAsString()); @@ -170,10 +170,10 @@ public void testRoundTripWithRequireApprovalAlwaysString() throws IOException { */ @Test public void testRoundTripWithRequireApprovalNeverString() throws IOException { - FabricIQPreviewTool original = new FabricIQPreviewTool(TEST_CONNECTION_ID).setRequireApproval("never"); + FabricIqPreviewTool original = new FabricIqPreviewTool(TEST_CONNECTION_ID).setRequireApproval("never"); String json = serializeToJson(original); - FabricIQPreviewTool deserialized = deserializeFromJson(json); + FabricIqPreviewTool deserialized = deserializeFromJson(json); assertNotNull(deserialized); assertEquals("never", deserialized.getRequireApprovalAsString()); @@ -187,10 +187,10 @@ public void testRoundTripWithRequireApprovalAsMcpToolRequireApproval() throws IO McpToolFilter alwaysFilter = new McpToolFilter().setToolNames(Arrays.asList("tool_1")); McpToolRequireApproval approval = new McpToolRequireApproval().setAlways(alwaysFilter); - FabricIQPreviewTool original = new FabricIQPreviewTool(TEST_CONNECTION_ID).setRequireApproval(approval); + FabricIqPreviewTool original = new FabricIqPreviewTool(TEST_CONNECTION_ID).setRequireApproval(approval); String json = serializeToJson(original); - FabricIQPreviewTool deserialized = deserializeFromJson(json); + FabricIqPreviewTool deserialized = deserializeFromJson(json); assertNotNull(deserialized); McpToolRequireApproval deserializedApproval = deserialized.getRequireApprovalAsMcpToolRequireApproval(); @@ -207,7 +207,7 @@ public void testRoundTripWithRequireApprovalAsMcpToolRequireApproval() throws IO */ @Test public void testRequireApprovalStringNoDoubleQuoting() throws IOException { - FabricIQPreviewTool tool = new FabricIQPreviewTool(TEST_CONNECTION_ID).setRequireApproval("always"); + FabricIqPreviewTool tool = new FabricIqPreviewTool(TEST_CONNECTION_ID).setRequireApproval("always"); String json = serializeToJson(tool); @@ -222,10 +222,10 @@ public void testRequireApprovalStringNoDoubleQuoting() throws IOException { */ @Test public void testRequireApprovalStringRoundTripNoExtraQuotes() throws IOException { - FabricIQPreviewTool original = new FabricIQPreviewTool(TEST_CONNECTION_ID).setRequireApproval("always"); + FabricIqPreviewTool original = new FabricIqPreviewTool(TEST_CONNECTION_ID).setRequireApproval("always"); String json = serializeToJson(original); - FabricIQPreviewTool deserialized = deserializeFromJson(json); + FabricIqPreviewTool deserialized = deserializeFromJson(json); assertEquals("always", deserialized.getRequireApprovalAsString(), "Round-tripped requireApproval string must not have extra quotes"); @@ -236,7 +236,7 @@ public void testRequireApprovalStringRoundTripNoExtraQuotes() throws IOException */ @Test public void testSerializationWithAllProperties() throws IOException { - FabricIQPreviewTool tool = new FabricIQPreviewTool(TEST_CONNECTION_ID).setServerLabel("my-server") + FabricIqPreviewTool tool = new FabricIqPreviewTool(TEST_CONNECTION_ID).setServerLabel("my-server") .setServerUrl("https://fabriciq.example.com") .setRequireApproval("always") .setName("my-fabric-tool") @@ -255,7 +255,7 @@ public void testSerializationWithAllProperties() throws IOException { } // Helper method to serialize to JSON string - private String serializeToJson(FabricIQPreviewTool tool) throws IOException { + private String serializeToJson(FabricIqPreviewTool tool) throws IOException { ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); try (JsonWriter jsonWriter = JsonProviders.createWriter(outputStream)) { tool.toJson(jsonWriter); @@ -264,9 +264,9 @@ private String serializeToJson(FabricIQPreviewTool tool) throws IOException { } // Helper method to deserialize from JSON string - private FabricIQPreviewTool deserializeFromJson(String json) throws IOException { + private FabricIqPreviewTool deserializeFromJson(String json) throws IOException { try (JsonReader jsonReader = JsonProviders.createReader(json)) { - return FabricIQPreviewTool.fromJson(jsonReader); + return FabricIqPreviewTool.fromJson(jsonReader); } } } diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTestBase.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTestBase.java index a4782fdf689b..4d503036c901 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTestBase.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTestBase.java @@ -5,7 +5,7 @@ import com.azure.ai.agents.AgentsServiceVersion; import com.azure.ai.agents.ClientTestBase; -import com.azure.ai.agents.models.FabricIQPreviewTool; +import com.azure.ai.agents.models.FabricIqPreviewTool; import com.azure.ai.agents.models.PromptAgentDefinition; import com.azure.core.test.TestMode; import com.azure.core.util.Configuration; @@ -35,8 +35,8 @@ static Stream getTestParameters() { } PromptAgentDefinition createAgentDefinition() { - FabricIQPreviewTool fabricIqTool - = new FabricIQPreviewTool(getRecordedConfig("FABRIC_IQ_PROJECT_CONNECTION_ID")).setRequireApproval("never"); + FabricIqPreviewTool fabricIqTool + = new FabricIqPreviewTool(getRecordedConfig("FABRIC_IQ_PROJECT_CONNECTION_ID")).setRequireApproval("never"); return new PromptAgentDefinition(getRecordedConfig("FOUNDRY_MODEL_NAME")) .setInstructions("Use the available Fabric IQ tools to answer questions and perform tasks.") From c2a9684c7d4290d4637040a3a24b50918a16063b Mon Sep 17 00:00:00 2001 From: kaylieee Date: Thu, 28 May 2026 14:09:19 -0700 Subject: [PATCH 56/74] rename to blueprintIdentity --- .../azure/ai/agents/models/AgentDetails.java | 38 +++++++++---------- .../META-INF/azure-ai-agents_metadata.json | 2 +- sdk/ai/azure-ai-agents/tsp-location.yaml | 2 +- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDetails.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDetails.java index 05893327cf1b..d43e734b034b 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDetails.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentDetails.java @@ -98,7 +98,7 @@ public static AgentDetails fromJson(JsonReader jsonReader) throws IOException { AgentDetailsVersions versions = null; AgentEndpointConfig agentEndpoint = null; AgentIdentity instanceIdentity = null; - AgentIdentity blueprint = null; + AgentIdentity blueprintIdentity = null; AgentBlueprintReference blueprintReference = null; AgentCard agentCard = null; while (reader.nextToken() != JsonToken.END_OBJECT) { @@ -115,7 +115,7 @@ public static AgentDetails fromJson(JsonReader jsonReader) throws IOException { } else if ("instance_identity".equals(fieldName)) { instanceIdentity = AgentIdentity.fromJson(reader); } else if ("blueprint".equals(fieldName)) { - blueprint = AgentIdentity.fromJson(reader); + blueprintIdentity = AgentIdentity.fromJson(reader); } else if ("blueprint_reference".equals(fieldName)) { blueprintReference = AgentBlueprintReference.fromJson(reader); } else if ("agent_card".equals(fieldName)) { @@ -127,7 +127,7 @@ public static AgentDetails fromJson(JsonReader jsonReader) throws IOException { AgentDetails deserializedAgentDetails = new AgentDetails(id, name, versions); deserializedAgentDetails.agentEndpoint = agentEndpoint; deserializedAgentDetails.instanceIdentity = instanceIdentity; - deserializedAgentDetails.blueprint = blueprint; + deserializedAgentDetails.blueprintIdentity = blueprintIdentity; deserializedAgentDetails.blueprintReference = blueprintReference; deserializedAgentDetails.agentCard = agentCard; return deserializedAgentDetails; @@ -176,12 +176,6 @@ public AgentObjectType getObjectType() { @Generated private AgentIdentity instanceIdentity; - /* - * The blueprint for the agent - */ - @Generated - private AgentIdentity blueprint; - /* * The blueprint for the agent */ @@ -214,16 +208,6 @@ public AgentIdentity getInstanceIdentity() { return this.instanceIdentity; } - /** - * Get the blueprint property: The blueprint for the agent. - * - * @return the blueprint value. - */ - @Generated - public AgentIdentity getBlueprint() { - return this.blueprint; - } - /** * Get the blueprintReference property: The blueprint for the agent. * @@ -243,4 +227,20 @@ public AgentBlueprintReference getBlueprintReference() { public AgentCard getAgentCard() { return this.agentCard; } + + /* + * The blueprint for the agent + */ + @Generated + private AgentIdentity blueprintIdentity; + + /** + * Get the blueprintIdentity property: The blueprint for the agent. + * + * @return the blueprintIdentity value. + */ + @Generated + public AgentIdentity getBlueprintIdentity() { + return this.blueprintIdentity; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json index faae0b522c5a..92cbfb409aee 100644 --- a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json +++ b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"4c3d17820e2d","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIqPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"290a241e3207","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIqPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index c84c147717dc..b6ecdd24d0df 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: b6b6a3a3f912cd4f9e03e112a4d5485d0dc2af2e +commit: 4c0ef5292911ccaa4e25b86eb177af654baa423c repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents From 79f5566a7701062a875418dd72c437849136b5b8 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Thu, 28 May 2026 14:56:01 -0700 Subject: [PATCH 57/74] rename to specify hash type --- .../ai/agents/models/CodeConfiguration.java | 28 +++++++++---------- .../META-INF/azure-ai-agents_metadata.json | 2 +- sdk/ai/azure-ai-agents/tsp-location.yaml | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeConfiguration.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeConfiguration.java index 7221675de0da..80e762577ae6 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeConfiguration.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/CodeConfiguration.java @@ -80,7 +80,7 @@ public static CodeConfiguration fromJson(JsonReader jsonReader) throws IOExcepti String runtime = null; List entryPoint = null; CodeDependencyResolution dependencyResolution = null; - String contentHash = null; + String contentSha256 = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -91,14 +91,14 @@ public static CodeConfiguration fromJson(JsonReader jsonReader) throws IOExcepti } else if ("dependency_resolution".equals(fieldName)) { dependencyResolution = CodeDependencyResolution.fromString(reader.getString()); } else if ("content_hash".equals(fieldName)) { - contentHash = reader.getString(); + contentSha256 = reader.getString(); } else { reader.skipChildren(); } } CodeConfiguration deserializedCodeConfiguration = new CodeConfiguration(runtime, entryPoint, dependencyResolution); - deserializedCodeConfiguration.contentHash = contentHash; + deserializedCodeConfiguration.contentSha256 = contentSha256; return deserializedCodeConfiguration; }); } @@ -112,13 +112,6 @@ public static CodeConfiguration fromJson(JsonReader jsonReader) throws IOExcepti @Generated private final CodeDependencyResolution dependencyResolution; - /* - * The SHA-256 hex digest of the uploaded code zip. Set by the service from the `x-ms-code-zip-sha256` request - * header; read-only in responses and never accepted in request payloads. - */ - @Generated - private String contentHash; - /** * Creates an instance of CodeConfiguration class. * @@ -147,14 +140,21 @@ public CodeDependencyResolution getDependencyResolution() { return this.dependencyResolution; } + /* + * The SHA-256 hex digest of the uploaded code zip. Set by the service from the `x-ms-code-zip-sha256` request + * header; read-only in responses and never accepted in request payloads. + */ + @Generated + private String contentSha256; + /** - * Get the contentHash property: The SHA-256 hex digest of the uploaded code zip. Set by the service from the + * Get the contentSha256 property: The SHA-256 hex digest of the uploaded code zip. Set by the service from the * `x-ms-code-zip-sha256` request header; read-only in responses and never accepted in request payloads. * - * @return the contentHash value. + * @return the contentSha256 value. */ @Generated - public String getContentHash() { - return this.contentHash; + public String getContentSha256() { + return this.contentSha256; } } diff --git a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json index 92cbfb409aee..f3c31ba0bcd4 100644 --- a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json +++ b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"290a241e3207","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIqPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"4d8061c9b4c6","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIqPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index b6ecdd24d0df..f0cd81828c5d 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: 4c0ef5292911ccaa4e25b86eb177af654baa423c +commit: e437a05b202340082bcaa8ce341ddfb225c50000 repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents From 3779a296a2f6ae5f12f5b4d7c6669b3ba43b0320 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Thu, 28 May 2026 15:03:28 -0700 Subject: [PATCH 58/74] rename avg to average --- .../agents/models/OptimizationCandidate.java | 88 +++++++++---------- .../META-INF/azure-ai-agents_metadata.json | 2 +- sdk/ai/azure-ai-agents/tsp-location.yaml | 2 +- 3 files changed, 46 insertions(+), 46 deletions(-) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java index 40645386b1ad..536e382f4dbe 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java @@ -44,18 +44,6 @@ public final class OptimizationCandidate implements JsonSerializable mutations; - /* - * Average composite score across all tasks. - */ - @Generated - private final double avgScore; - - /* - * Average token usage across all tasks. - */ - @Generated - private final double avgTokens; - /* * Fraction of tasks that met the pass threshold. */ @@ -126,26 +114,6 @@ public Map getMutations() { return this.mutations; } - /** - * Get the avgScore property: Average composite score across all tasks. - * - * @return the avgScore value. - */ - @Generated - public double getAvgScore() { - return this.avgScore; - } - - /** - * Get the avgTokens property: Average token usage across all tasks. - * - * @return the avgTokens value. - */ - @Generated - public double getAvgTokens() { - return this.avgTokens; - } - /** * Get the passRate property: Fraction of tasks that met the pass threshold. * @@ -212,8 +180,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { element.writeTo(writer); } }); - jsonWriter.writeDoubleField("avg_score", this.avgScore); - jsonWriter.writeDoubleField("avg_tokens", this.avgTokens); + jsonWriter.writeDoubleField("avg_score", this.averageScore); + jsonWriter.writeDoubleField("avg_tokens", this.averageTokens); jsonWriter.writeDoubleField("pass_rate", this.passRate); jsonWriter.writeArrayField("task_scores", this.taskScores, (writer, element) -> writer.writeJson(element)); jsonWriter.writeBooleanField("is_pareto_optimal", this.isParetoOptimal); @@ -239,8 +207,8 @@ public static OptimizationCandidate fromJson(JsonReader jsonReader) throws IOExc String name = null; OptimizationAgentDefinition config = null; Map mutations = null; - double avgScore = 0.0; - double avgTokens = 0.0; + double averageScore = 0.0; + double averageTokens = 0.0; double passRate = 0.0; List taskScores = null; boolean isParetoOptimal = false; @@ -259,9 +227,9 @@ public static OptimizationCandidate fromJson(JsonReader jsonReader) throws IOExc mutations = reader.readMap(reader1 -> reader1 .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); } else if ("avg_score".equals(fieldName)) { - avgScore = reader.getDouble(); + averageScore = reader.getDouble(); } else if ("avg_tokens".equals(fieldName)) { - avgTokens = reader.getDouble(); + averageTokens = reader.getDouble(); } else if ("pass_rate".equals(fieldName)) { passRate = reader.getDouble(); } else if ("task_scores".equals(fieldName)) { @@ -281,7 +249,7 @@ public static OptimizationCandidate fromJson(JsonReader jsonReader) throws IOExc } } OptimizationCandidate deserializedOptimizationCandidate = new OptimizationCandidate(name, config, mutations, - avgScore, avgTokens, passRate, taskScores, isParetoOptimal); + averageScore, averageTokens, passRate, taskScores, isParetoOptimal); deserializedOptimizationCandidate.candidateId = candidateId; deserializedOptimizationCandidate.evalId = evalId; deserializedOptimizationCandidate.evalRunId = evalRunId; @@ -302,21 +270,21 @@ public static OptimizationCandidate fromJson(JsonReader jsonReader) throws IOExc * @param name the name value to set. * @param config the config value to set. * @param mutations the mutations value to set. - * @param avgScore the avgScore value to set. - * @param avgTokens the avgTokens value to set. + * @param averageScore the averageScore value to set. + * @param averageTokens the averageTokens value to set. * @param passRate the passRate value to set. * @param taskScores the taskScores value to set. * @param isParetoOptimal the isParetoOptimal value to set. */ @Generated private OptimizationCandidate(String name, OptimizationAgentDefinition config, Map mutations, - double avgScore, double avgTokens, double passRate, List taskScores, + double averageScore, double averageTokens, double passRate, List taskScores, boolean isParetoOptimal) { this.name = name; this.config = config; this.mutations = mutations; - this.avgScore = avgScore; - this.avgTokens = avgTokens; + this.averageScore = averageScore; + this.averageTokens = averageTokens; this.passRate = passRate; this.taskScores = taskScores; this.isParetoOptimal = isParetoOptimal; @@ -331,4 +299,36 @@ private OptimizationCandidate(String name, OptimizationAgentDefinition config, M public PromotionInfo getPromotion() { return this.promotion; } + + /* + * Average composite score across all tasks. + */ + @Generated + private final double averageScore; + + /* + * Average token usage across all tasks. + */ + @Generated + private final double averageTokens; + + /** + * Get the averageScore property: Average composite score across all tasks. + * + * @return the averageScore value. + */ + @Generated + public double getAverageScore() { + return this.averageScore; + } + + /** + * Get the averageTokens property: Average token usage across all tasks. + * + * @return the averageTokens value. + */ + @Generated + public double getAverageTokens() { + return this.averageTokens; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json index f3c31ba0bcd4..a380077b1737 100644 --- a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json +++ b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"4d8061c9b4c6","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIqPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"4a56100226d8","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIqPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index f0cd81828c5d..1336ab8af5dc 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: e437a05b202340082bcaa8ce341ddfb225c50000 +commit: 49b3a220875685804d905859b394f4c1a81d3491 repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents From 456cefa4e2b32566d9cde431c2729caba88d7703 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Thu, 28 May 2026 15:14:33 -0700 Subject: [PATCH 59/74] fix sample --- .../com/azure/ai/agents/hostedagents/CodeAgentSampleUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSampleUtils.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSampleUtils.java index 4d58d7ebd9ff..a0a685d947eb 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSampleUtils.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/CodeAgentSampleUtils.java @@ -65,7 +65,7 @@ static void printLatestVersion(AgentVersionDetails version) { if (version.getDefinition() instanceof HostedAgentDefinition) { HostedAgentDefinition definition = (HostedAgentDefinition) version.getDefinition(); if (definition.getCodeConfiguration() != null) { - System.out.printf("Code content hash: %s%n", definition.getCodeConfiguration().getContentHash()); + System.out.printf("Code content hash: %s%n", definition.getCodeConfiguration().getContentSha256()); } } } From cc1e991e59a91409a70d2fcc78c4cbe4213a3a8e Mon Sep 17 00:00:00 2001 From: kaylieee Date: Thu, 28 May 2026 15:30:32 -0700 Subject: [PATCH 60/74] hide no-arg constructor --- .../azure/ai/agents/models/FixedRatioVersionSelectionRule.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java index 9b7ac82251cb..c9c7d35eb129 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java @@ -40,8 +40,7 @@ public final class FixedRatioVersionSelectionRule extends VersionSelectionRule { /** * Creates an instance of FixedRatioVersionSelectionRule class. */ - @Generated - public FixedRatioVersionSelectionRule() { + FixedRatioVersionSelectionRule() { } /** From 9cbcb80ba80e24b4d47d605abfe962dc8d5ea29a Mon Sep 17 00:00:00 2001 From: kaylieee Date: Thu, 28 May 2026 16:02:22 -0700 Subject: [PATCH 61/74] add new constructor, update samples --- .../agents/models/FixedRatioVersionSelectionRule.java | 10 ++++++++++ .../agents/hostedagents/AgentEndpointAsyncSample.java | 5 ++--- .../ai/agents/hostedagents/AgentEndpointSample.java | 5 ++--- .../hostedagents/SessionLogStreamAsyncSample.java | 5 ++--- .../ai/agents/hostedagents/SessionLogStreamSample.java | 5 ++--- 5 files changed, 18 insertions(+), 12 deletions(-) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java index c9c7d35eb129..80ebec2ec6e0 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java @@ -43,6 +43,16 @@ public final class FixedRatioVersionSelectionRule extends VersionSelectionRule { FixedRatioVersionSelectionRule() { } + /** + * Creates an instance of FixedRatioVersionSelectionRule class. + * + * @param trafficPercentage the percentage of traffic to route to the version. Must be between 0 and 100. + */ + public FixedRatioVersionSelectionRule(int trafficPercentage) { + this.trafficPercentage = trafficPercentage; + this.updatedProperties.add("trafficPercentage"); + } + /** * Get the type property: The type property. * diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/AgentEndpointAsyncSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/AgentEndpointAsyncSample.java index 29c62aab1167..fb7512b7bfc9 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/AgentEndpointAsyncSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/AgentEndpointAsyncSample.java @@ -53,9 +53,8 @@ public static void main(String[] args) { AgentEndpointConfig endpointConfig = new AgentEndpointConfig() .setVersionSelector(new VersionSelector().setVersionSelectionRules(Collections.singletonList( - new FixedRatioVersionSelectionRule() - .setAgentVersion(resources.getAgent().getVersion()) - .setTrafficPercentage(100)))) + new FixedRatioVersionSelectionRule(100) + .setAgentVersion(resources.getAgent().getVersion())))) .setProtocols(Collections.singletonList(AgentEndpointProtocol.RESPONSES)); OpenAIClientAsync openAIAsyncClient = builder.buildAgentScopedOpenAIAsyncClient(agentName); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/AgentEndpointSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/AgentEndpointSample.java index 1aa9f6805fb6..69c2030e6f05 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/AgentEndpointSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/AgentEndpointSample.java @@ -50,9 +50,8 @@ public static void main(String[] args) { AgentEndpointConfig endpointConfig = new AgentEndpointConfig() .setVersionSelector(new VersionSelector().setVersionSelectionRules(Collections.singletonList( - new FixedRatioVersionSelectionRule() - .setAgentVersion(resources.getAgent().getVersion()) - .setTrafficPercentage(100)))) + new FixedRatioVersionSelectionRule(100) + .setAgentVersion(resources.getAgent().getVersion())))) .setProtocols(Collections.singletonList(AgentEndpointProtocol.RESPONSES)); agentsClient.updateAgentDetails(agentName, diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionLogStreamAsyncSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionLogStreamAsyncSample.java index 6b7e07d32913..a99bc2a63739 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionLogStreamAsyncSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionLogStreamAsyncSample.java @@ -55,9 +55,8 @@ public static void main(String[] args) { AgentEndpointConfig endpointConfig = new AgentEndpointConfig() .setVersionSelector(new VersionSelector().setVersionSelectionRules(Collections.singletonList( - new FixedRatioVersionSelectionRule() - .setAgentVersion(resources.getAgent().getVersion()) - .setTrafficPercentage(100)))) + new FixedRatioVersionSelectionRule(100) + .setAgentVersion(resources.getAgent().getVersion())))) .setProtocols(Collections.singletonList(AgentEndpointProtocol.RESPONSES)); OpenAIClientAsync openAIAsyncClient = builder.buildAgentScopedOpenAIAsyncClient(agentName); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionLogStreamSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionLogStreamSample.java index b21b7891460f..0234f006ee50 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionLogStreamSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionLogStreamSample.java @@ -53,9 +53,8 @@ public static void main(String[] args) throws IOException { AgentEndpointConfig endpointConfig = new AgentEndpointConfig() .setVersionSelector(new VersionSelector().setVersionSelectionRules(Collections.singletonList( - new FixedRatioVersionSelectionRule() - .setAgentVersion(resources.getAgent().getVersion()) - .setTrafficPercentage(100)))) + new FixedRatioVersionSelectionRule(100) + .setAgentVersion(resources.getAgent().getVersion())))) .setProtocols(Collections.singletonList(AgentEndpointProtocol.RESPONSES)); agentsClient.updateAgentDetails(agentName, From 335e1741a449febf97da42811219b971e41c8888 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Thu, 28 May 2026 16:16:15 -0700 Subject: [PATCH 62/74] re emit from latest spec --- .../azure/ai/projects/ModelsAsyncClient.java | 27 +- .../com/azure/ai/projects/ModelsClient.java | 24 +- .../ai/projects/RoutinesAsyncClient.java | 460 ++++++++---------- .../com/azure/ai/projects/RoutinesClient.java | 412 ++++++++-------- .../projects/implementation/ModelsImpl.java | 24 +- .../projects/implementation/RoutinesImpl.java | 372 ++++++-------- .../models/CreateOrUpdateRoutineRequest.java | 77 +-- .../projects/models/CustomRoutineTrigger.java | 170 +++++++ .../ai/projects/models/GitHubIssueEvent.java | 57 +++ ...er.java => GitHubIssueRoutineTrigger.java} | 94 ++-- ...okeAgentInvocationsApiDispatchPayload.java | 64 ++- ...nvokeAgentInvocationsApiRoutineAction.java | 131 +++-- ...nvokeAgentResponsesApiDispatchPayload.java | 64 ++- .../InvokeAgentResponsesApiRoutineAction.java | 117 +++-- .../com/azure/ai/projects/models/Routine.java | 55 +-- .../azure/ai/projects/models/RoutineRun.java | 270 ++++++---- .../models/RoutineRunDiagnostics.java | 128 ----- .../ai/projects/models/RoutineTrigger.java | 6 +- .../projects/models/RoutineTriggerType.java | 18 +- .../projects/models/TimerRoutineTrigger.java | 95 ++-- .../META-INF/azure-ai-projects_metadata.json | 2 +- sdk/ai/azure-ai-projects/tsp-location.yaml | 2 +- 22 files changed, 1422 insertions(+), 1247 deletions(-) create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomRoutineTrigger.java create mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueEvent.java rename sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/{GitHubIssueOpenedRoutineTrigger.java => GitHubIssueRoutineTrigger.java} (59%) delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java index 6f320245cd89..67f9e6d37331 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java @@ -334,7 +334,7 @@ public Mono> deleteModelVersionWithResponse(String name, String v * * @param name The name of the resource. * @param version The specific version id of the UpdateModelVersionRequest to create or update. - * @param body The UpdateModelVersionRequest to create or update. + * @param modelVersionUpdate The UpdateModelVersionRequest to create or update. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -344,9 +344,10 @@ public Mono> deleteModelVersionWithResponse(String name, String v */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateModelVersionWithResponse(String name, String version, BinaryData body, - RequestOptions requestOptions) { - return this.serviceClient.updateModelVersionWithResponseAsync(name, version, body, requestOptions); + public Mono> updateModelVersionWithResponse(String name, String version, + BinaryData modelVersionUpdate, RequestOptions requestOptions) { + return this.serviceClient.updateModelVersionWithResponseAsync(name, version, modelVersionUpdate, + requestOptions); } /** @@ -562,7 +563,7 @@ public Mono deleteModelVersion(String name, String version) { * * @param name The name of the resource. * @param version The specific version id of the UpdateModelVersionRequest to create or update. - * @param body The UpdateModelVersionRequest to create or update. + * @param modelVersionUpdate The UpdateModelVersionRequest to create or update. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -573,15 +574,19 @@ public Mono deleteModelVersion(String name, String version) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateModelVersion(String name, String version, UpdateModelVersionRequest body) { + public Mono updateModelVersion(String name, String version, + UpdateModelVersionRequest modelVersionUpdate) { // Generated convenience method for updateModelVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - JsonMergePatchHelper.getUpdateModelVersionRequestAccessor().prepareModelForJsonMergePatch(body, true); - BinaryData bodyInBinaryData = BinaryData.fromObject(body); + JsonMergePatchHelper.getUpdateModelVersionRequestAccessor() + .prepareModelForJsonMergePatch(modelVersionUpdate, true); + BinaryData modelVersionUpdateInBinaryData = BinaryData.fromObject(modelVersionUpdate); // BinaryData.fromObject() will not fire serialization, use getLength() to fire serialization. - bodyInBinaryData.getLength(); - JsonMergePatchHelper.getUpdateModelVersionRequestAccessor().prepareModelForJsonMergePatch(body, false); - return updateModelVersionWithResponse(name, version, bodyInBinaryData, requestOptions).flatMap(FluxUtil::toMono) + modelVersionUpdateInBinaryData.getLength(); + JsonMergePatchHelper.getUpdateModelVersionRequestAccessor() + .prepareModelForJsonMergePatch(modelVersionUpdate, false); + return updateModelVersionWithResponse(name, version, modelVersionUpdateInBinaryData, requestOptions) + .flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(ModelVersion.class)); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java index 187f54a5269a..57135dc3956a 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java @@ -326,7 +326,7 @@ public Response deleteModelVersionWithResponse(String name, String version * * @param name The name of the resource. * @param version The specific version id of the UpdateModelVersionRequest to create or update. - * @param body The UpdateModelVersionRequest to create or update. + * @param modelVersionUpdate The UpdateModelVersionRequest to create or update. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -336,9 +336,9 @@ public Response deleteModelVersionWithResponse(String name, String version */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateModelVersionWithResponse(String name, String version, BinaryData body, - RequestOptions requestOptions) { - return this.serviceClient.updateModelVersionWithResponse(name, version, body, requestOptions); + public Response updateModelVersionWithResponse(String name, String version, + BinaryData modelVersionUpdate, RequestOptions requestOptions) { + return this.serviceClient.updateModelVersionWithResponse(name, version, modelVersionUpdate, requestOptions); } /** @@ -527,7 +527,7 @@ public void deleteModelVersion(String name, String version) { * * @param name The name of the resource. * @param version The specific version id of the UpdateModelVersionRequest to create or update. - * @param body The UpdateModelVersionRequest to create or update. + * @param modelVersionUpdate The UpdateModelVersionRequest to create or update. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -538,15 +538,17 @@ public void deleteModelVersion(String name, String version) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public ModelVersion updateModelVersion(String name, String version, UpdateModelVersionRequest body) { + public ModelVersion updateModelVersion(String name, String version, UpdateModelVersionRequest modelVersionUpdate) { // Generated convenience method for updateModelVersionWithResponse RequestOptions requestOptions = new RequestOptions(); - JsonMergePatchHelper.getUpdateModelVersionRequestAccessor().prepareModelForJsonMergePatch(body, true); - BinaryData bodyInBinaryData = BinaryData.fromObject(body); + JsonMergePatchHelper.getUpdateModelVersionRequestAccessor() + .prepareModelForJsonMergePatch(modelVersionUpdate, true); + BinaryData modelVersionUpdateInBinaryData = BinaryData.fromObject(modelVersionUpdate); // BinaryData.fromObject() will not fire serialization, use getLength() to fire serialization. - bodyInBinaryData.getLength(); - JsonMergePatchHelper.getUpdateModelVersionRequestAccessor().prepareModelForJsonMergePatch(body, false); - return updateModelVersionWithResponse(name, version, bodyInBinaryData, requestOptions).getValue() + modelVersionUpdateInBinaryData.getLength(); + JsonMergePatchHelper.getUpdateModelVersionRequestAccessor() + .prepareModelForJsonMergePatch(modelVersionUpdate, false); + return updateModelVersionWithResponse(name, version, modelVersionUpdateInBinaryData, requestOptions).getValue() .toObject(ModelVersion.class); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java index 16859d35089e..420b6e1b8cf6 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java @@ -3,7 +3,6 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.ai.projects; -import com.azure.ai.agents.models.PageOrder; import com.azure.ai.projects.implementation.RoutinesImpl; import com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest; import com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest; @@ -74,12 +73,12 @@ public final class RoutinesAsyncClient { * { * description: String (Optional) * enabled: Boolean (Optional) - * triggers (Required): { + * triggers (Optional): { * String (Required): { - * type: String(github_issue_opened/schedule/timer) (Required) + * type: String(custom/github_issue/schedule/timer) (Required) * } * } - * action (Required): { + * action (Optional): { * type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required) * } * } @@ -91,15 +90,15 @@ public final class RoutinesAsyncClient { *
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -144,15 +143,15 @@ public Mono> createOrUpdateRoutineWithResponse(String routi
          * 
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -194,15 +193,15 @@ public Mono> getRoutineWithResponse(String routineName, Req
          * 
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -244,15 +243,15 @@ public Mono> enableRoutineWithResponse(String routineName,
          * 
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -282,20 +281,13 @@ public Mono> disableRoutineWithResponse(String routineName,
          * 
          * 
          * 
    -     * 
    -     * 
    -     * 
    -     * 
    +     * 
    +     * 
    +     * 
    +     * 
          * 
    Query Parameters
    NameTypeRequiredDescription
    limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
    orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
    afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
    beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
    limitIntegerNoThe maximum number of routines to return.
    afterStringNoAn opaque cursor returned as last_id by the previous list + * response.
    beforeStringNoUnsupported. Reserved for future backward pagination + * support.
    orderStringNoThe ordering direction. Supported values are asc and + * desc.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    @@ -314,15 +306,15 @@ public Mono> disableRoutineWithResponse(String routineName, *
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -380,20 +372,13 @@ public Mono> deleteRoutineWithResponse(String routineName, Reques
          * NameTypeRequiredDescription
          * filterStringNoAn optional MLflow search-runs filter expression applied within
          * the routine's experiment.
    -     * limitIntegerNoA limit on the number of objects to be returned. Limit can range
    -     * between 1 and 100, and the
    -     * default is 20.
    -     * orderStringNoSort order by the `created_at` timestamp of the objects. `asc`
    -     * for ascending order and`desc`
    -     * for descending order. Allowed values: "asc", "desc".
    -     * afterStringNoA cursor for use in pagination. `after` is an object ID that
    -     * defines your place in the list.
    -     * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
    -     * subsequent call can include after=obj_foo in order to fetch the next page of the list.
    -     * beforeStringNoA cursor for use in pagination. `before` is an object ID that
    -     * defines your place in the list.
    -     * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
    -     * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
    +     * limitIntegerNoThe maximum number of runs to return.
    +     * afterStringNoAn opaque cursor returned as last_id by the previous list-runs
    +     * response.
    +     * beforeStringNoUnsupported. Reserved for future backward pagination
    +     * support.
    +     * orderStringNoThe ordering direction. Supported values are asc and
    +     * desc.
          * 
          * You can add these to a request with {@link RequestOptions#addQueryParam}
          * 

    Header Parameters

    @@ -413,31 +398,27 @@ public Mono> deleteRoutineWithResponse(String routineName, Reques * {@code * { * id: String (Required) - * status: String (Required) + * status: String (Optional) * phase: String(queued/dispatching/completed/failed) (Optional) - * trigger_type: String(github_issue_opened/schedule/timer) (Required) + * trigger_type: String(custom/github_issue/schedule/timer) (Optional) + * trigger_name: String (Optional) * attempt_source: String(event_fire/manual_dispatch/queued_dispatch/schedule_delivery/timer_delivery) (Optional) * action_type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Optional) + * agent_id: String (Optional) + * agent_endpoint_id: String (Optional) + * conversation_id: String (Optional) + * session_id: String (Optional) * triggered_at: Long (Optional) - * started_at: long (Required) + * scheduled_fire_at: Long (Optional) + * started_at: Long (Optional) * ended_at: Long (Optional) * dispatch_id: String (Optional) * action_correlation_id: String (Optional) * response_id: String (Optional) * task_id: String (Optional) + * error_status_code: Integer (Optional) * error_type: String (Optional) * error_message: String (Optional) - * diagnostics (Optional): { - * parameters (Required): { - * String: String (Required) - * } - * tags (Required): { - * String: String (Required) - * } - * metrics (Required): { - * String: double (Required) - * } - * } * } * } *
    @@ -511,64 +492,6 @@ public Mono> dispatchRoutineAsyncWithResponse(String routin requestOptions); } - /** - * Create or update a routine. - * - * @param routineName The unique name of the routine. - * @param triggers The triggers configured for the routine. In v1, exactly one trigger entry is supported. - * @param action The action executed when the routine fires. - * @param description A human-readable description of the routine. - * @param enabled Whether the routine is enabled. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a routine definition returned by the service on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateRoutine(String routineName, Map triggers, - RoutineAction action, String description, Boolean enabled) { - // Generated convenience method for createOrUpdateRoutineWithResponse - RequestOptions requestOptions = new RequestOptions(); - CreateOrUpdateRoutineRequest createOrUpdateRoutineRequestObj - = new CreateOrUpdateRoutineRequest(triggers, action).setDescription(description).setEnabled(enabled); - BinaryData createOrUpdateRoutineRequest = BinaryData.fromObject(createOrUpdateRoutineRequestObj); - return createOrUpdateRoutineWithResponse(routineName, createOrUpdateRoutineRequest, requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(Routine.class)); - } - - /** - * Create or update a routine. - * - * @param routineName The unique name of the routine. - * @param triggers The triggers configured for the routine. In v1, exactly one trigger entry is supported. - * @param action The action executed when the routine fires. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a routine definition returned by the service on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateRoutine(String routineName, Map triggers, - RoutineAction action) { - // Generated convenience method for createOrUpdateRoutineWithResponse - RequestOptions requestOptions = new RequestOptions(); - CreateOrUpdateRoutineRequest createOrUpdateRoutineRequestObj - = new CreateOrUpdateRoutineRequest(triggers, action); - BinaryData createOrUpdateRoutineRequest = BinaryData.fromObject(createOrUpdateRoutineRequestObj); - return createOrUpdateRoutineWithResponse(routineName, createOrUpdateRoutineRequest, requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(Routine.class)); - } - /** * Retrieve a routine. * @@ -710,65 +633,6 @@ public Mono disableRoutine(String routineName) { .map(protocolMethodData -> protocolMethodData.toObject(Routine.class)); } - /** - * List routines. - * - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the - * default is 20. - * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` - * for descending order. - * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list. - * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listRoutines(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, PageOrder order, - String after, String before) { - // Generated convenience method for listRoutines - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (limit != null) { - requestOptions.addQueryParam("limit", String.valueOf(limit), false); - } - if (order != null) { - requestOptions.addQueryParam("order", order.toString(), false); - } - if (after != null) { - requestOptions.addQueryParam("after", after, false); - } - if (before != null) { - requestOptions.addQueryParam("before", before, false); - } - PagedFlux pagedFluxResponse = listRoutines(requestOptions); - return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { - Flux> flux = (continuationTokenParam == null) - ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationTokenParam).take(1); - return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), - pagedResponse.getStatusCode(), pagedResponse.getHeaders(), - pagedResponse.getValue() - .stream() - .map(protocolMethodData -> protocolMethodData.toObject(Routine.class)) - .collect(Collectors.toList()), - pagedResponse.getContinuationToken(), null)); - }); - } - /** * List routines. * @@ -848,19 +712,6 @@ public Mono deleteRoutine(String routineName) { * List prior runs for a routine. * * @param routineName The unique name of the routine. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param filter An optional MLflow search-runs filter expression applied within the routine's experiment. - * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the - * default is 20. - * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` - * for descending order. - * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list. - * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -871,28 +722,9 @@ public Mono deleteRoutine(String routineName) { */ @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listRoutineRuns(String routineName, FoundryFeaturesOptInKeys foundryFeatures, - String filter, Integer limit, PageOrder order, String after, String before) { + public PagedFlux listRoutineRuns(String routineName) { // Generated convenience method for listRoutineRuns RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (filter != null) { - requestOptions.addQueryParam("filter", filter, false); - } - if (limit != null) { - requestOptions.addQueryParam("limit", String.valueOf(limit), false); - } - if (order != null) { - requestOptions.addQueryParam("order", order.toString(), false); - } - if (after != null) { - requestOptions.addQueryParam("after", after, false); - } - if (before != null) { - requestOptions.addQueryParam("before", before, false); - } PagedFlux pagedFluxResponse = listRoutineRuns(routineName, requestOptions); return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { Flux> flux = (continuationTokenParam == null) @@ -909,42 +741,35 @@ public PagedFlux listRoutineRuns(String routineName, FoundryFeatures } /** - * List prior runs for a routine. + * Queue an asynchronous routine dispatch. * * @param routineName The unique name of the routine. + * @param payload A direct action-input override sent downstream when testing a routine. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + * @return identifiers returned after a routine dispatch is queued on successful completion of {@link Mono}. */ @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listRoutineRuns(String routineName) { - // Generated convenience method for listRoutineRuns + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono dispatchRoutineAsync(String routineName, RoutineDispatchPayload payload) { + // Generated convenience method for dispatchRoutineAsyncWithResponse RequestOptions requestOptions = new RequestOptions(); - PagedFlux pagedFluxResponse = listRoutineRuns(routineName, requestOptions); - return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { - Flux> flux = (continuationTokenParam == null) - ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationTokenParam).take(1); - return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), - pagedResponse.getStatusCode(), pagedResponse.getHeaders(), - pagedResponse.getValue() - .stream() - .map(protocolMethodData -> protocolMethodData.toObject(RoutineRun.class)) - .collect(Collectors.toList()), - pagedResponse.getContinuationToken(), null)); - }); + DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj + = new DispatchRoutineAsyncRequest().setPayload(payload); + BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); + return dispatchRoutineAsyncWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DispatchRoutineResponse.class)); } /** * Queue an asynchronous routine dispatch. * * @param routineName The unique name of the routine. - * @param payload A direct action-input override sent downstream when testing a routine. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -955,11 +780,10 @@ public PagedFlux listRoutineRuns(String routineName) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono dispatchRoutineAsync(String routineName, RoutineDispatchPayload payload) { + public Mono dispatchRoutineAsync(String routineName) { // Generated convenience method for dispatchRoutineAsyncWithResponse RequestOptions requestOptions = new RequestOptions(); - DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj - = new DispatchRoutineAsyncRequest().setPayload(payload); + DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj = new DispatchRoutineAsyncRequest(); BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); return dispatchRoutineAsyncWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions) .flatMap(FluxUtil::toMono) @@ -967,26 +791,170 @@ public Mono dispatchRoutineAsync(String routineName, Ro } /** - * Queue an asynchronous routine dispatch. + * Create or update a routine. * * @param routineName The unique name of the routine. + * @param description A human-readable description of the routine. + * @param enabled Whether the routine is enabled. + * @param triggers The triggers configured for the routine. In v1, exactly one trigger entry is supported. + * @param action The action executed when the routine fires. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return identifiers returned after a routine dispatch is queued on successful completion of {@link Mono}. + * @return a routine definition returned by the service on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono dispatchRoutineAsync(String routineName) { - // Generated convenience method for dispatchRoutineAsyncWithResponse + public Mono createOrUpdateRoutine(String routineName, String description, Boolean enabled, + Map triggers, RoutineAction action) { + // Generated convenience method for createOrUpdateRoutineWithResponse RequestOptions requestOptions = new RequestOptions(); - DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj = new DispatchRoutineAsyncRequest(); - BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); - return dispatchRoutineAsyncWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions) + CreateOrUpdateRoutineRequest createOrUpdateRoutineRequestObj + = new CreateOrUpdateRoutineRequest().setDescription(description) + .setEnabled(enabled) + .setTriggers(triggers) + .setAction(action); + BinaryData createOrUpdateRoutineRequest = BinaryData.fromObject(createOrUpdateRoutineRequestObj); + return createOrUpdateRoutineWithResponse(routineName, createOrUpdateRoutineRequest, requestOptions) .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(DispatchRoutineResponse.class)); + .map(protocolMethodData -> protocolMethodData.toObject(Routine.class)); + } + + /** + * Create or update a routine. + * + * @param routineName The unique name of the routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a routine definition returned by the service on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createOrUpdateRoutine(String routineName) { + // Generated convenience method for createOrUpdateRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + CreateOrUpdateRoutineRequest createOrUpdateRoutineRequestObj = new CreateOrUpdateRoutineRequest(); + BinaryData createOrUpdateRoutineRequest = BinaryData.fromObject(createOrUpdateRoutineRequestObj); + return createOrUpdateRoutineWithResponse(routineName, createOrUpdateRoutineRequest, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(Routine.class)); + } + + /** + * List routines. + * + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit The maximum number of routines to return. + * @param after An opaque cursor returned as last_id by the previous list response. + * @param before Unsupported. Reserved for future backward pagination support. + * @param order The ordering direction. Supported values are asc and desc. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listRoutines(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, String after, + String before, String order) { + // Generated convenience method for listRoutines + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + if (order != null) { + requestOptions.addQueryParam("order", order, false); + } + PagedFlux pagedFluxResponse = listRoutines(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(Routine.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * List prior runs for a routine. + * + * @param routineName The unique name of the routine. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param filter An optional MLflow search-runs filter expression applied within the routine's experiment. + * @param limit The maximum number of runs to return. + * @param after An opaque cursor returned as last_id by the previous list-runs response. + * @param before Unsupported. Reserved for future backward pagination support. + * @param order The ordering direction. Supported values are asc and desc. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listRoutineRuns(String routineName, FoundryFeaturesOptInKeys foundryFeatures, + String filter, Integer limit, String after, String before, String order) { + // Generated convenience method for listRoutineRuns + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (filter != null) { + requestOptions.addQueryParam("filter", filter, false); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + if (order != null) { + requestOptions.addQueryParam("order", order, false); + } + PagedFlux pagedFluxResponse = listRoutineRuns(routineName, requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(RoutineRun.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java index 1690b0d7d4e7..8c9c112fab20 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java @@ -3,7 +3,6 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.ai.projects; -import com.azure.ai.agents.models.PageOrder; import com.azure.ai.projects.implementation.RoutinesImpl; import com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest; import com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest; @@ -68,12 +67,12 @@ public final class RoutinesClient { * { * description: String (Optional) * enabled: Boolean (Optional) - * triggers (Required): { + * triggers (Optional): { * String (Required): { - * type: String(github_issue_opened/schedule/timer) (Required) + * type: String(custom/github_issue/schedule/timer) (Required) * } * } - * action (Required): { + * action (Optional): { * type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required) * } * } @@ -85,15 +84,15 @@ public final class RoutinesClient { *
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -137,15 +136,15 @@ public Response createOrUpdateRoutineWithResponse(String routineName
          * 
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -186,15 +185,15 @@ public Response getRoutineWithResponse(String routineName, RequestOp
          * 
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -235,15 +234,15 @@ public Response enableRoutineWithResponse(String routineName, Reques
          * 
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -272,20 +271,13 @@ public Response disableRoutineWithResponse(String routineName, Reque
          * 
          * 
          * 
    -     * 
    -     * 
    -     * 
    -     * 
    +     * 
    +     * 
    +     * 
    +     * 
          * 
    Query Parameters
    NameTypeRequiredDescription
    limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
    orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
    afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
    beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
    limitIntegerNoThe maximum number of routines to return.
    afterStringNoAn opaque cursor returned as last_id by the previous list + * response.
    beforeStringNoUnsupported. Reserved for future backward pagination + * support.
    orderStringNoThe ordering direction. Supported values are asc and + * desc.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    @@ -304,15 +296,15 @@ public Response disableRoutineWithResponse(String routineName, Reque *
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -370,20 +362,13 @@ public Response deleteRoutineWithResponse(String routineName, RequestOptio
          * NameTypeRequiredDescription
          * filterStringNoAn optional MLflow search-runs filter expression applied within
          * the routine's experiment.
    -     * limitIntegerNoA limit on the number of objects to be returned. Limit can range
    -     * between 1 and 100, and the
    -     * default is 20.
    -     * orderStringNoSort order by the `created_at` timestamp of the objects. `asc`
    -     * for ascending order and`desc`
    -     * for descending order. Allowed values: "asc", "desc".
    -     * afterStringNoA cursor for use in pagination. `after` is an object ID that
    -     * defines your place in the list.
    -     * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
    -     * subsequent call can include after=obj_foo in order to fetch the next page of the list.
    -     * beforeStringNoA cursor for use in pagination. `before` is an object ID that
    -     * defines your place in the list.
    -     * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
    -     * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
    +     * limitIntegerNoThe maximum number of runs to return.
    +     * afterStringNoAn opaque cursor returned as last_id by the previous list-runs
    +     * response.
    +     * beforeStringNoUnsupported. Reserved for future backward pagination
    +     * support.
    +     * orderStringNoThe ordering direction. Supported values are asc and
    +     * desc.
          * 
          * You can add these to a request with {@link RequestOptions#addQueryParam}
          * 

    Header Parameters

    @@ -403,31 +388,27 @@ public Response deleteRoutineWithResponse(String routineName, RequestOptio * {@code * { * id: String (Required) - * status: String (Required) + * status: String (Optional) * phase: String(queued/dispatching/completed/failed) (Optional) - * trigger_type: String(github_issue_opened/schedule/timer) (Required) + * trigger_type: String(custom/github_issue/schedule/timer) (Optional) + * trigger_name: String (Optional) * attempt_source: String(event_fire/manual_dispatch/queued_dispatch/schedule_delivery/timer_delivery) (Optional) * action_type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Optional) + * agent_id: String (Optional) + * agent_endpoint_id: String (Optional) + * conversation_id: String (Optional) + * session_id: String (Optional) * triggered_at: Long (Optional) - * started_at: long (Required) + * scheduled_fire_at: Long (Optional) + * started_at: Long (Optional) * ended_at: Long (Optional) * dispatch_id: String (Optional) * action_correlation_id: String (Optional) * response_id: String (Optional) * task_id: String (Optional) + * error_status_code: Integer (Optional) * error_type: String (Optional) * error_message: String (Optional) - * diagnostics (Optional): { - * parameters (Required): { - * String: String (Required) - * } - * tags (Required): { - * String: String (Required) - * } - * metrics (Required): { - * String: double (Required) - * } - * } * } * } *
    @@ -500,62 +481,6 @@ public Response dispatchRoutineAsyncWithResponse(String routineName, requestOptions); } - /** - * Create or update a routine. - * - * @param routineName The unique name of the routine. - * @param triggers The triggers configured for the routine. In v1, exactly one trigger entry is supported. - * @param action The action executed when the routine fires. - * @param description A human-readable description of the routine. - * @param enabled Whether the routine is enabled. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a routine definition returned by the service. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Routine createOrUpdateRoutine(String routineName, Map triggers, RoutineAction action, - String description, Boolean enabled) { - // Generated convenience method for createOrUpdateRoutineWithResponse - RequestOptions requestOptions = new RequestOptions(); - CreateOrUpdateRoutineRequest createOrUpdateRoutineRequestObj - = new CreateOrUpdateRoutineRequest(triggers, action).setDescription(description).setEnabled(enabled); - BinaryData createOrUpdateRoutineRequest = BinaryData.fromObject(createOrUpdateRoutineRequestObj); - return createOrUpdateRoutineWithResponse(routineName, createOrUpdateRoutineRequest, requestOptions).getValue() - .toObject(Routine.class); - } - - /** - * Create or update a routine. - * - * @param routineName The unique name of the routine. - * @param triggers The triggers configured for the routine. In v1, exactly one trigger entry is supported. - * @param action The action executed when the routine fires. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a routine definition returned by the service. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Routine createOrUpdateRoutine(String routineName, Map triggers, - RoutineAction action) { - // Generated convenience method for createOrUpdateRoutineWithResponse - RequestOptions requestOptions = new RequestOptions(); - CreateOrUpdateRoutineRequest createOrUpdateRoutineRequestObj - = new CreateOrUpdateRoutineRequest(triggers, action); - BinaryData createOrUpdateRoutineRequest = BinaryData.fromObject(createOrUpdateRoutineRequestObj); - return createOrUpdateRoutineWithResponse(routineName, createOrUpdateRoutineRequest, requestOptions).getValue() - .toObject(Routine.class); - } - /** * Retrieve a routine. * @@ -691,54 +616,6 @@ public Routine disableRoutine(String routineName) { return disableRoutineWithResponse(routineName, requestOptions).getValue().toObject(Routine.class); } - /** - * List routines. - * - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the - * default is 20. - * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` - * for descending order. - * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list. - * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listRoutines(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, PageOrder order, - String after, String before) { - // Generated convenience method for listRoutines - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (limit != null) { - requestOptions.addQueryParam("limit", String.valueOf(limit), false); - } - if (order != null) { - requestOptions.addQueryParam("order", order.toString(), false); - } - if (after != null) { - requestOptions.addQueryParam("after", after, false); - } - if (before != null) { - requestOptions.addQueryParam("before", before, false); - } - return serviceClient.listRoutines(requestOptions) - .mapPage(bodyItemValue -> bodyItemValue.toObject(Routine.class)); - } - /** * List routines. * @@ -805,19 +682,6 @@ public void deleteRoutine(String routineName) { * List prior runs for a routine. * * @param routineName The unique name of the routine. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @param filter An optional MLflow search-runs filter expression applied within the routine's experiment. - * @param limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the - * default is 20. - * @param order Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` - * for descending order. - * @param after A cursor for use in pagination. `after` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list. - * @param before A cursor for use in pagination. `before` is an object ID that defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -828,58 +692,42 @@ public void deleteRoutine(String routineName) { */ @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listRoutineRuns(String routineName, FoundryFeaturesOptInKeys foundryFeatures, - String filter, Integer limit, PageOrder order, String after, String before) { + public PagedIterable listRoutineRuns(String routineName) { // Generated convenience method for listRoutineRuns RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - if (filter != null) { - requestOptions.addQueryParam("filter", filter, false); - } - if (limit != null) { - requestOptions.addQueryParam("limit", String.valueOf(limit), false); - } - if (order != null) { - requestOptions.addQueryParam("order", order.toString(), false); - } - if (after != null) { - requestOptions.addQueryParam("after", after, false); - } - if (before != null) { - requestOptions.addQueryParam("before", before, false); - } return serviceClient.listRoutineRuns(routineName, requestOptions) .mapPage(bodyItemValue -> bodyItemValue.toObject(RoutineRun.class)); } /** - * List prior runs for a routine. + * Queue an asynchronous routine dispatch. * * @param routineName The unique name of the routine. + * @param payload A direct action-input override sent downstream when testing a routine. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + * @return identifiers returned after a routine dispatch is queued. */ @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listRoutineRuns(String routineName) { - // Generated convenience method for listRoutineRuns + @ServiceMethod(returns = ReturnType.SINGLE) + public DispatchRoutineResponse dispatchRoutineAsync(String routineName, RoutineDispatchPayload payload) { + // Generated convenience method for dispatchRoutineAsyncWithResponse RequestOptions requestOptions = new RequestOptions(); - return serviceClient.listRoutineRuns(routineName, requestOptions) - .mapPage(bodyItemValue -> bodyItemValue.toObject(RoutineRun.class)); + DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj + = new DispatchRoutineAsyncRequest().setPayload(payload); + BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); + return dispatchRoutineAsyncWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions).getValue() + .toObject(DispatchRoutineResponse.class); } /** * Queue an asynchronous routine dispatch. * * @param routineName The unique name of the routine. - * @param payload A direct action-input override sent downstream when testing a routine. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -890,36 +738,156 @@ public PagedIterable listRoutineRuns(String routineName) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public DispatchRoutineResponse dispatchRoutineAsync(String routineName, RoutineDispatchPayload payload) { + public DispatchRoutineResponse dispatchRoutineAsync(String routineName) { // Generated convenience method for dispatchRoutineAsyncWithResponse RequestOptions requestOptions = new RequestOptions(); - DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj - = new DispatchRoutineAsyncRequest().setPayload(payload); + DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj = new DispatchRoutineAsyncRequest(); BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); return dispatchRoutineAsyncWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions).getValue() .toObject(DispatchRoutineResponse.class); } /** - * Queue an asynchronous routine dispatch. + * Create or update a routine. * * @param routineName The unique name of the routine. + * @param description A human-readable description of the routine. + * @param enabled Whether the routine is enabled. + * @param triggers The triggers configured for the routine. In v1, exactly one trigger entry is supported. + * @param action The action executed when the routine fires. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return identifiers returned after a routine dispatch is queued. + * @return a routine definition returned by the service. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public DispatchRoutineResponse dispatchRoutineAsync(String routineName) { - // Generated convenience method for dispatchRoutineAsyncWithResponse + public Routine createOrUpdateRoutine(String routineName, String description, Boolean enabled, + Map triggers, RoutineAction action) { + // Generated convenience method for createOrUpdateRoutineWithResponse RequestOptions requestOptions = new RequestOptions(); - DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj = new DispatchRoutineAsyncRequest(); - BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); - return dispatchRoutineAsyncWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions).getValue() - .toObject(DispatchRoutineResponse.class); + CreateOrUpdateRoutineRequest createOrUpdateRoutineRequestObj + = new CreateOrUpdateRoutineRequest().setDescription(description) + .setEnabled(enabled) + .setTriggers(triggers) + .setAction(action); + BinaryData createOrUpdateRoutineRequest = BinaryData.fromObject(createOrUpdateRoutineRequestObj); + return createOrUpdateRoutineWithResponse(routineName, createOrUpdateRoutineRequest, requestOptions).getValue() + .toObject(Routine.class); + } + + /** + * Create or update a routine. + * + * @param routineName The unique name of the routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a routine definition returned by the service. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Routine createOrUpdateRoutine(String routineName) { + // Generated convenience method for createOrUpdateRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + CreateOrUpdateRoutineRequest createOrUpdateRoutineRequestObj = new CreateOrUpdateRoutineRequest(); + BinaryData createOrUpdateRoutineRequest = BinaryData.fromObject(createOrUpdateRoutineRequestObj); + return createOrUpdateRoutineWithResponse(routineName, createOrUpdateRoutineRequest, requestOptions).getValue() + .toObject(Routine.class); + } + + /** + * List routines. + * + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param limit The maximum number of routines to return. + * @param after An opaque cursor returned as last_id by the previous list response. + * @param before Unsupported. Reserved for future backward pagination support. + * @param order The ordering direction. Supported values are asc and desc. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listRoutines(FoundryFeaturesOptInKeys foundryFeatures, Integer limit, String after, + String before, String order) { + // Generated convenience method for listRoutines + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + if (order != null) { + requestOptions.addQueryParam("order", order, false); + } + return serviceClient.listRoutines(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(Routine.class)); + } + + /** + * List prior runs for a routine. + * + * @param routineName The unique name of the routine. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @param filter An optional MLflow search-runs filter expression applied within the routine's experiment. + * @param limit The maximum number of runs to return. + * @param after An opaque cursor returned as last_id by the previous list-runs response. + * @param before Unsupported. Reserved for future backward pagination support. + * @param order The ordering direction. Supported values are asc and desc. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response data for a requested list of items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listRoutineRuns(String routineName, FoundryFeaturesOptInKeys foundryFeatures, + String filter, Integer limit, String after, String before, String order) { + // Generated convenience method for listRoutineRuns + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + if (filter != null) { + requestOptions.addQueryParam("filter", filter, false); + } + if (limit != null) { + requestOptions.addQueryParam("limit", String.valueOf(limit), false); + } + if (after != null) { + requestOptions.addQueryParam("after", after, false); + } + if (before != null) { + requestOptions.addQueryParam("before", before, false); + } + if (order != null) { + requestOptions.addQueryParam("order", order, false); + } + return serviceClient.listRoutineRuns(routineName, requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(RoutineRun.class)); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java index 1ad4ed120286..7461b04e8d46 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java @@ -175,7 +175,8 @@ Mono> updateModelVersion(@HostParam("endpoint") String endp @QueryParam("api-version") String apiVersion, @PathParam("name") String name, @HeaderParam("Content-Type") String contentType, @PathParam("version") String version, @HeaderParam("Foundry-Features") String foundryFeatures, @HeaderParam("Accept") String accept, - @BodyParam("application/merge-patch+json") BinaryData body, RequestOptions requestOptions, Context context); + @BodyParam("application/merge-patch+json") BinaryData modelVersionUpdate, RequestOptions requestOptions, + Context context); @Patch("/models/{name}/versions/{version}") @ExpectedResponses({ 200, 201 }) @@ -187,7 +188,8 @@ Response updateModelVersionSync(@HostParam("endpoint") String endpoi @QueryParam("api-version") String apiVersion, @PathParam("name") String name, @HeaderParam("Content-Type") String contentType, @PathParam("version") String version, @HeaderParam("Foundry-Features") String foundryFeatures, @HeaderParam("Accept") String accept, - @BodyParam("application/merge-patch+json") BinaryData body, RequestOptions requestOptions, Context context); + @BodyParam("application/merge-patch+json") BinaryData modelVersionUpdate, RequestOptions requestOptions, + Context context); @Post("/models/{name}/versions/{version}/createAsync") @ExpectedResponses({ 202 }) @@ -1106,7 +1108,7 @@ public Response deleteModelVersionWithResponse(String name, String version * * @param name The name of the resource. * @param version The specific version id of the UpdateModelVersionRequest to create or update. - * @param body The UpdateModelVersionRequest to create or update. + * @param modelVersionUpdate The UpdateModelVersionRequest to create or update. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1115,14 +1117,14 @@ public Response deleteModelVersionWithResponse(String name, String version * @return model Version Definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateModelVersionWithResponseAsync(String name, String version, BinaryData body, - RequestOptions requestOptions) { + public Mono> updateModelVersionWithResponseAsync(String name, String version, + BinaryData modelVersionUpdate, RequestOptions requestOptions) { final String contentType = "application/merge-patch+json"; final String foundryFeatures = "Models=V1Preview"; final String accept = "application/json"; return FluxUtil.withContext(context -> service.updateModelVersion(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), name, contentType, version, foundryFeatures, accept, body, - requestOptions, context)); + this.client.getServiceVersion().getVersion(), name, contentType, version, foundryFeatures, accept, + modelVersionUpdate, requestOptions, context)); } /** @@ -1191,7 +1193,7 @@ public Mono> updateModelVersionWithResponseAsync(String nam * * @param name The name of the resource. * @param version The specific version id of the UpdateModelVersionRequest to create or update. - * @param body The UpdateModelVersionRequest to create or update. + * @param modelVersionUpdate The UpdateModelVersionRequest to create or update. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1200,13 +1202,13 @@ public Mono> updateModelVersionWithResponseAsync(String nam * @return model Version Definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateModelVersionWithResponse(String name, String version, BinaryData body, - RequestOptions requestOptions) { + public Response updateModelVersionWithResponse(String name, String version, + BinaryData modelVersionUpdate, RequestOptions requestOptions) { final String contentType = "application/merge-patch+json"; final String foundryFeatures = "Models=V1Preview"; final String accept = "application/json"; return service.updateModelVersionSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - name, contentType, version, foundryFeatures, accept, body, requestOptions, Context.NONE); + name, contentType, version, foundryFeatures, accept, modelVersionUpdate, requestOptions, Context.NONE); } /** diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java index 5a89c4dead65..1a0fb42e6570 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java @@ -268,12 +268,12 @@ Response dispatchRoutineAsyncSync(@HostParam("endpoint") String endp * { * description: String (Optional) * enabled: Boolean (Optional) - * triggers (Required): { + * triggers (Optional): { * String (Required): { - * type: String(github_issue_opened/schedule/timer) (Required) + * type: String(custom/github_issue/schedule/timer) (Required) * } * } - * action (Required): { + * action (Optional): { * type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required) * } * } @@ -285,15 +285,15 @@ Response dispatchRoutineAsyncSync(@HostParam("endpoint") String endp *
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -342,12 +342,12 @@ public Mono> createOrUpdateRoutineWithResponseAsync(String
          * {
          *     description: String (Optional)
          *     enabled: Boolean (Optional)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          * }
    @@ -359,15 +359,15 @@ public Mono> createOrUpdateRoutineWithResponseAsync(String
          * 
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -413,15 +413,15 @@ public Response createOrUpdateRoutineWithResponse(String routineName
          * 
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -464,15 +464,15 @@ public Mono> getRoutineWithResponseAsync(String routineName
          * 
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -514,15 +514,15 @@ public Response getRoutineWithResponse(String routineName, RequestOp
          * 
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -566,15 +566,15 @@ public Mono> enableRoutineWithResponseAsync(String routineN
          * 
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -616,15 +616,15 @@ public Response enableRoutineWithResponse(String routineName, Reques
          * 
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -668,15 +668,15 @@ public Mono> disableRoutineWithResponseAsync(String routine
          * 
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -706,20 +706,13 @@ public Response disableRoutineWithResponse(String routineName, Reque
          * 
          * 
          * 
    -     * 
    -     * 
    -     * 
    -     * 
    +     * 
    +     * 
    +     * 
    +     * 
          * 
    Query Parameters
    NameTypeRequiredDescription
    limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
    orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
    afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
    beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
    limitIntegerNoThe maximum number of routines to return.
    afterStringNoAn opaque cursor returned as last_id by the previous list + * response.
    beforeStringNoUnsupported. Reserved for future backward pagination + * support.
    orderStringNoThe ordering direction. Supported values are asc and + * desc.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    @@ -738,15 +731,15 @@ public Response disableRoutineWithResponse(String routineName, Reque *
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -779,20 +772,13 @@ private Mono> listRoutinesSinglePageAsync(RequestOptio
          * 
          * 
          * 
    -     * 
    -     * 
    -     * 
    -     * 
    +     * 
    +     * 
    +     * 
    +     * 
          * 
    Query Parameters
    NameTypeRequiredDescription
    limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
    orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
    afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
    beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
    limitIntegerNoThe maximum number of routines to return.
    afterStringNoAn opaque cursor returned as last_id by the previous list + * response.
    beforeStringNoUnsupported. Reserved for future backward pagination + * support.
    orderStringNoThe ordering direction. Supported values are asc and + * desc.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    @@ -811,15 +797,15 @@ private Mono> listRoutinesSinglePageAsync(RequestOptio *
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -846,20 +832,13 @@ public PagedFlux listRoutinesAsync(RequestOptions requestOptions) {
          * 
          * 
          * 
    -     * 
    -     * 
    -     * 
    -     * 
    +     * 
    +     * 
    +     * 
    +     * 
          * 
    Query Parameters
    NameTypeRequiredDescription
    limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
    orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
    afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
    beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
    limitIntegerNoThe maximum number of routines to return.
    afterStringNoAn opaque cursor returned as last_id by the previous list + * response.
    beforeStringNoUnsupported. Reserved for future backward pagination + * support.
    orderStringNoThe ordering direction. Supported values are asc and + * desc.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    @@ -878,15 +857,15 @@ public PagedFlux listRoutinesAsync(RequestOptions requestOptions) { *
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -917,20 +896,13 @@ private PagedResponse listRoutinesSinglePage(RequestOptions requestO
          * 
          * 
          * 
    -     * 
    -     * 
    -     * 
    -     * 
    +     * 
    +     * 
    +     * 
    +     * 
          * 
    Query Parameters
    NameTypeRequiredDescription
    limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20.
    orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc".
    afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list.
    beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
    limitIntegerNoThe maximum number of routines to return.
    afterStringNoAn opaque cursor returned as last_id by the previous list + * response.
    beforeStringNoUnsupported. Reserved for future backward pagination + * support.
    orderStringNoThe ordering direction. Supported values are asc and + * desc.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    @@ -949,15 +921,15 @@ private PagedResponse listRoutinesSinglePage(RequestOptions requestO *
          * {@code
          * {
    -     *     name: String (Required)
    +     *     name: String (Optional)
          *     description: String (Optional)
          *     enabled: boolean (Required)
    -     *     triggers (Required): {
    +     *     triggers (Optional): {
          *         String (Required): {
    -     *             type: String(github_issue_opened/schedule/timer) (Required)
    +     *             type: String(custom/github_issue/schedule/timer) (Required)
          *         }
          *     }
    -     *     action (Required): {
    +     *     action (Optional): {
          *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
          *     }
          *     created_at: Long (Optional)
    @@ -1042,20 +1014,13 @@ public Response deleteRoutineWithResponse(String routineName, RequestOptio
          * NameTypeRequiredDescription
          * filterStringNoAn optional MLflow search-runs filter expression applied within
          * the routine's experiment.
    -     * limitIntegerNoA limit on the number of objects to be returned. Limit can range
    -     * between 1 and 100, and the
    -     * default is 20.
    -     * orderStringNoSort order by the `created_at` timestamp of the objects. `asc`
    -     * for ascending order and`desc`
    -     * for descending order. Allowed values: "asc", "desc".
    -     * afterStringNoA cursor for use in pagination. `after` is an object ID that
    -     * defines your place in the list.
    -     * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
    -     * subsequent call can include after=obj_foo in order to fetch the next page of the list.
    -     * beforeStringNoA cursor for use in pagination. `before` is an object ID that
    -     * defines your place in the list.
    -     * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
    -     * subsequent call can include before=obj_foo in order to fetch the previous page of the list.
    +     * limitIntegerNoThe maximum number of runs to return.
    +     * afterStringNoAn opaque cursor returned as last_id by the previous list-runs
    +     * response.
    +     * beforeStringNoUnsupported. Reserved for future backward pagination
    +     * support.
    +     * orderStringNoThe ordering direction. Supported values are asc and
    +     * desc.
          * 
          * You can add these to a request with {@link RequestOptions#addQueryParam}
          * 

    Header Parameters

    @@ -1075,31 +1040,27 @@ public Response deleteRoutineWithResponse(String routineName, RequestOptio * {@code * { * id: String (Required) - * status: String (Required) + * status: String (Optional) * phase: String(queued/dispatching/completed/failed) (Optional) - * trigger_type: String(github_issue_opened/schedule/timer) (Required) + * trigger_type: String(custom/github_issue/schedule/timer) (Optional) + * trigger_name: String (Optional) * attempt_source: String(event_fire/manual_dispatch/queued_dispatch/schedule_delivery/timer_delivery) (Optional) * action_type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Optional) + * agent_id: String (Optional) + * agent_endpoint_id: String (Optional) + * conversation_id: String (Optional) + * session_id: String (Optional) * triggered_at: Long (Optional) - * started_at: long (Required) + * scheduled_fire_at: Long (Optional) + * started_at: Long (Optional) * ended_at: Long (Optional) * dispatch_id: String (Optional) * action_correlation_id: String (Optional) * response_id: String (Optional) * task_id: String (Optional) + * error_status_code: Integer (Optional) * error_type: String (Optional) * error_message: String (Optional) - * diagnostics (Optional): { - * parameters (Required): { - * String: String (Required) - * } - * tags (Required): { - * String: String (Required) - * } - * metrics (Required): { - * String: double (Required) - * } - * } * } * } *
    @@ -1132,20 +1093,13 @@ private Mono> listRoutineRunsSinglePageAsync(String ro * NameTypeRequiredDescription * filterStringNoAn optional MLflow search-runs filter expression applied within * the routine's experiment. - * limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20. - * orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc". - * afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list. - * beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * limitIntegerNoThe maximum number of runs to return. + * afterStringNoAn opaque cursor returned as last_id by the previous list-runs + * response. + * beforeStringNoUnsupported. Reserved for future backward pagination + * support. + * orderStringNoThe ordering direction. Supported values are asc and + * desc. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    @@ -1165,31 +1119,27 @@ private Mono> listRoutineRunsSinglePageAsync(String ro * {@code * { * id: String (Required) - * status: String (Required) + * status: String (Optional) * phase: String(queued/dispatching/completed/failed) (Optional) - * trigger_type: String(github_issue_opened/schedule/timer) (Required) + * trigger_type: String(custom/github_issue/schedule/timer) (Optional) + * trigger_name: String (Optional) * attempt_source: String(event_fire/manual_dispatch/queued_dispatch/schedule_delivery/timer_delivery) (Optional) * action_type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Optional) + * agent_id: String (Optional) + * agent_endpoint_id: String (Optional) + * conversation_id: String (Optional) + * session_id: String (Optional) * triggered_at: Long (Optional) - * started_at: long (Required) + * scheduled_fire_at: Long (Optional) + * started_at: Long (Optional) * ended_at: Long (Optional) * dispatch_id: String (Optional) * action_correlation_id: String (Optional) * response_id: String (Optional) * task_id: String (Optional) + * error_status_code: Integer (Optional) * error_type: String (Optional) * error_message: String (Optional) - * diagnostics (Optional): { - * parameters (Required): { - * String: String (Required) - * } - * tags (Required): { - * String: String (Required) - * } - * metrics (Required): { - * String: double (Required) - * } - * } * } * } *
    @@ -1215,20 +1165,13 @@ public PagedFlux listRoutineRunsAsync(String routineName, RequestOpt * NameTypeRequiredDescription * filterStringNoAn optional MLflow search-runs filter expression applied within * the routine's experiment. - * limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20. - * orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc". - * afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list. - * beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * limitIntegerNoThe maximum number of runs to return. + * afterStringNoAn opaque cursor returned as last_id by the previous list-runs + * response. + * beforeStringNoUnsupported. Reserved for future backward pagination + * support. + * orderStringNoThe ordering direction. Supported values are asc and + * desc. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    @@ -1248,31 +1191,27 @@ public PagedFlux listRoutineRunsAsync(String routineName, RequestOpt * {@code * { * id: String (Required) - * status: String (Required) + * status: String (Optional) * phase: String(queued/dispatching/completed/failed) (Optional) - * trigger_type: String(github_issue_opened/schedule/timer) (Required) + * trigger_type: String(custom/github_issue/schedule/timer) (Optional) + * trigger_name: String (Optional) * attempt_source: String(event_fire/manual_dispatch/queued_dispatch/schedule_delivery/timer_delivery) (Optional) * action_type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Optional) + * agent_id: String (Optional) + * agent_endpoint_id: String (Optional) + * conversation_id: String (Optional) + * session_id: String (Optional) * triggered_at: Long (Optional) - * started_at: long (Required) + * scheduled_fire_at: Long (Optional) + * started_at: Long (Optional) * ended_at: Long (Optional) * dispatch_id: String (Optional) * action_correlation_id: String (Optional) * response_id: String (Optional) * task_id: String (Optional) + * error_status_code: Integer (Optional) * error_type: String (Optional) * error_message: String (Optional) - * diagnostics (Optional): { - * parameters (Required): { - * String: String (Required) - * } - * tags (Required): { - * String: String (Required) - * } - * metrics (Required): { - * String: double (Required) - * } - * } * } * } *
    @@ -1302,20 +1241,13 @@ private PagedResponse listRoutineRunsSinglePage(String routineName, * NameTypeRequiredDescription * filterStringNoAn optional MLflow search-runs filter expression applied within * the routine's experiment. - * limitIntegerNoA limit on the number of objects to be returned. Limit can range - * between 1 and 100, and the - * default is 20. - * orderStringNoSort order by the `created_at` timestamp of the objects. `asc` - * for ascending order and`desc` - * for descending order. Allowed values: "asc", "desc". - * afterStringNoA cursor for use in pagination. `after` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include after=obj_foo in order to fetch the next page of the list. - * beforeStringNoA cursor for use in pagination. `before` is an object ID that - * defines your place in the list. - * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your - * subsequent call can include before=obj_foo in order to fetch the previous page of the list. + * limitIntegerNoThe maximum number of runs to return. + * afterStringNoAn opaque cursor returned as last_id by the previous list-runs + * response. + * beforeStringNoUnsupported. Reserved for future backward pagination + * support. + * orderStringNoThe ordering direction. Supported values are asc and + * desc. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    @@ -1335,31 +1267,27 @@ private PagedResponse listRoutineRunsSinglePage(String routineName, * {@code * { * id: String (Required) - * status: String (Required) + * status: String (Optional) * phase: String(queued/dispatching/completed/failed) (Optional) - * trigger_type: String(github_issue_opened/schedule/timer) (Required) + * trigger_type: String(custom/github_issue/schedule/timer) (Optional) + * trigger_name: String (Optional) * attempt_source: String(event_fire/manual_dispatch/queued_dispatch/schedule_delivery/timer_delivery) (Optional) * action_type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Optional) + * agent_id: String (Optional) + * agent_endpoint_id: String (Optional) + * conversation_id: String (Optional) + * session_id: String (Optional) * triggered_at: Long (Optional) - * started_at: long (Required) + * scheduled_fire_at: Long (Optional) + * started_at: Long (Optional) * ended_at: Long (Optional) * dispatch_id: String (Optional) * action_correlation_id: String (Optional) * response_id: String (Optional) * task_id: String (Optional) + * error_status_code: Integer (Optional) * error_type: String (Optional) * error_message: String (Optional) - * diagnostics (Optional): { - * parameters (Required): { - * String: String (Required) - * } - * tags (Required): { - * String: String (Required) - * } - * metrics (Required): { - * String: double (Required) - * } - * } * } * } *
    diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java index 182a93b705f1..12463e3a9be3 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java @@ -36,25 +36,13 @@ public final class CreateOrUpdateRoutineRequest implements JsonSerializable triggers; + private Map triggers; /* * The action executed when the routine fires. */ @Generated - private final RoutineAction action; - - /** - * Creates an instance of CreateOrUpdateRoutineRequest class. - * - * @param triggers the triggers value to set. - * @param action the action value to set. - */ - @Generated - public CreateOrUpdateRoutineRequest(Map triggers, RoutineAction action) { - this.triggers = triggers; - this.action = action; - } + private RoutineAction action; /** * Get the description property: A human-readable description of the routine. @@ -128,10 +116,10 @@ public RoutineAction getAction() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeMapField("triggers", this.triggers, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeJsonField("action", this.action); jsonWriter.writeStringField("description", this.description); jsonWriter.writeBooleanField("enabled", this.enabled); + jsonWriter.writeMapField("triggers", this.triggers, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeJsonField("action", this.action); return jsonWriter.writeEndObject(); } @@ -141,36 +129,61 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of CreateOrUpdateRoutineRequest if the JsonReader was pointing to an instance of it, or null * if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. * @throws IOException If an error occurs while reading the CreateOrUpdateRoutineRequest. */ @Generated public static CreateOrUpdateRoutineRequest fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - Map triggers = null; - RoutineAction action = null; - String description = null; - Boolean enabled = null; + CreateOrUpdateRoutineRequest deserializedCreateOrUpdateRoutineRequest = new CreateOrUpdateRoutineRequest(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("triggers".equals(fieldName)) { - triggers = reader.readMap(reader1 -> RoutineTrigger.fromJson(reader1)); - } else if ("action".equals(fieldName)) { - action = RoutineAction.fromJson(reader); - } else if ("description".equals(fieldName)) { - description = reader.getString(); + if ("description".equals(fieldName)) { + deserializedCreateOrUpdateRoutineRequest.description = reader.getString(); } else if ("enabled".equals(fieldName)) { - enabled = reader.getNullable(JsonReader::getBoolean); + deserializedCreateOrUpdateRoutineRequest.enabled = reader.getNullable(JsonReader::getBoolean); + } else if ("triggers".equals(fieldName)) { + Map triggers = reader.readMap(reader1 -> RoutineTrigger.fromJson(reader1)); + deserializedCreateOrUpdateRoutineRequest.triggers = triggers; + } else if ("action".equals(fieldName)) { + deserializedCreateOrUpdateRoutineRequest.action = RoutineAction.fromJson(reader); } else { reader.skipChildren(); } } - CreateOrUpdateRoutineRequest deserializedCreateOrUpdateRoutineRequest - = new CreateOrUpdateRoutineRequest(triggers, action); - deserializedCreateOrUpdateRoutineRequest.description = description; - deserializedCreateOrUpdateRoutineRequest.enabled = enabled; return deserializedCreateOrUpdateRoutineRequest; }); } + + /** + * Creates an instance of CreateOrUpdateRoutineRequest class. + */ + @Generated + public CreateOrUpdateRoutineRequest() { + } + + /** + * Set the triggers property: The triggers configured for the routine. In v1, exactly one trigger entry is + * supported. + * + * @param triggers the triggers value to set. + * @return the CreateOrUpdateRoutineRequest object itself. + */ + @Generated + public CreateOrUpdateRoutineRequest setTriggers(Map triggers) { + this.triggers = triggers; + return this; + } + + /** + * Set the action property: The action executed when the routine fires. + * + * @param action the action value to set. + * @return the CreateOrUpdateRoutineRequest object itself. + */ + @Generated + public CreateOrUpdateRoutineRequest setAction(RoutineAction action) { + this.action = action; + return this; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomRoutineTrigger.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomRoutineTrigger.java new file mode 100644 index 000000000000..bb348e16d3d4 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomRoutineTrigger.java @@ -0,0 +1,170 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.Map; + +/** + * A custom event routine trigger. + */ +@Fluent +public final class CustomRoutineTrigger extends RoutineTrigger { + /* + * The trigger type. + */ + @Generated + private RoutineTriggerType type = RoutineTriggerType.CUSTOM; + + /* + * The external provider that emits the custom event. + */ + @Generated + private final String provider; + + /* + * The provider-specific event name that fires the routine. + */ + @Generated + private String eventName; + + /* + * Provider-specific trigger parameters. + */ + @Generated + private final Map parameters; + + /** + * Creates an instance of CustomRoutineTrigger class. + * + * @param provider the provider value to set. + * @param parameters the parameters value to set. + */ + @Generated + public CustomRoutineTrigger(String provider, Map parameters) { + this.provider = provider; + this.parameters = parameters; + } + + /** + * Get the type property: The trigger type. + * + * @return the type value. + */ + @Generated + @Override + public RoutineTriggerType getType() { + return this.type; + } + + /** + * Get the provider property: The external provider that emits the custom event. + * + * @return the provider value. + */ + @Generated + public String getProvider() { + return this.provider; + } + + /** + * Get the eventName property: The provider-specific event name that fires the routine. + * + * @return the eventName value. + */ + @Generated + public String getEventName() { + return this.eventName; + } + + /** + * Set the eventName property: The provider-specific event name that fires the routine. + * + * @param eventName the eventName value to set. + * @return the CustomRoutineTrigger object itself. + */ + @Generated + public CustomRoutineTrigger setEventName(String eventName) { + this.eventName = eventName; + return this; + } + + /** + * Get the parameters property: Provider-specific trigger parameters. + * + * @return the parameters value. + */ + @Generated + public Map getParameters() { + return this.parameters; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("provider", this.provider); + jsonWriter.writeMapField("parameters", this.parameters, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("event_name", this.eventName); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of CustomRoutineTrigger from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of CustomRoutineTrigger if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the CustomRoutineTrigger. + */ + @Generated + public static CustomRoutineTrigger fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String provider = null; + Map parameters = null; + RoutineTriggerType type = RoutineTriggerType.CUSTOM; + String eventName = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("provider".equals(fieldName)) { + provider = reader.getString(); + } else if ("parameters".equals(fieldName)) { + parameters = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); + } else if ("type".equals(fieldName)) { + type = RoutineTriggerType.fromString(reader.getString()); + } else if ("event_name".equals(fieldName)) { + eventName = reader.getString(); + } else { + reader.skipChildren(); + } + } + CustomRoutineTrigger deserializedCustomRoutineTrigger = new CustomRoutineTrigger(provider, parameters); + deserializedCustomRoutineTrigger.type = type; + deserializedCustomRoutineTrigger.eventName = eventName; + + return deserializedCustomRoutineTrigger; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueEvent.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueEvent.java new file mode 100644 index 000000000000..f904ca62cb5a --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueEvent.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Known GitHub issue events that can fire a routine. + */ +public final class GitHubIssueEvent extends ExpandableStringEnum { + /** + * The routine fires when a GitHub issue is opened. + */ + @Generated + public static final GitHubIssueEvent OPENED = fromString("opened"); + + /** + * The routine fires when a GitHub issue is closed. + */ + @Generated + public static final GitHubIssueEvent CLOSED = fromString("closed"); + + /** + * Creates a new instance of GitHubIssueEvent value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public GitHubIssueEvent() { + } + + /** + * Creates or finds a GitHubIssueEvent from its string representation. + * + * @param name a name to look for. + * @return the corresponding GitHubIssueEvent. + */ + @Generated + public static GitHubIssueEvent fromString(String name) { + return fromString(name, GitHubIssueEvent.class); + } + + /** + * Gets known GitHubIssueEvent values. + * + * @return known GitHubIssueEvent values. + */ + @Generated + public static Collection values() { + return values(GitHubIssueEvent.class); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueRoutineTrigger.java similarity index 59% rename from sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java rename to sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueRoutineTrigger.java index 1bb28f557549..8822f09ba941 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueRoutineTrigger.java @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. + package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -11,16 +12,15 @@ import java.io.IOException; /** - * A GitHub issue-opened routine trigger. + * A GitHub issue routine trigger. */ @Immutable -public final class GitHubIssueOpenedRoutineTrigger extends RoutineTrigger { - +public final class GitHubIssueRoutineTrigger extends RoutineTrigger { /* * The trigger type. */ @Generated - private RoutineTriggerType type = RoutineTriggerType.GITHUB_ISSUE_OPENED; + private RoutineTriggerType type = RoutineTriggerType.GITHUB_ISSUE; /* * The workspace connection identifier that resolves the GitHub configuration for the trigger. @@ -29,10 +29,10 @@ public final class GitHubIssueOpenedRoutineTrigger extends RoutineTrigger { private final String connectionId; /* - * The GitHub assignee or organization filter that scopes which issues can fire the trigger. + * The GitHub owner or organization that scopes which issues can fire the trigger. */ @Generated - private final String assignee; + private final String owner; /* * The GitHub repository filter that scopes which issues can fire the trigger. @@ -40,23 +40,32 @@ public final class GitHubIssueOpenedRoutineTrigger extends RoutineTrigger { @Generated private final String repository; + /* + * The GitHub issue event that fires the routine. + */ + @Generated + private final GitHubIssueEvent issueEvent; + /** - * Creates an instance of GitHubIssueOpenedRoutineTrigger class. - * + * Creates an instance of GitHubIssueRoutineTrigger class. + * * @param connectionId the connectionId value to set. - * @param assignee the assignee value to set. + * @param owner the owner value to set. * @param repository the repository value to set. + * @param issueEvent the issueEvent value to set. */ @Generated - public GitHubIssueOpenedRoutineTrigger(String connectionId, String assignee, String repository) { + public GitHubIssueRoutineTrigger(String connectionId, String owner, String repository, + GitHubIssueEvent issueEvent) { this.connectionId = connectionId; - this.assignee = assignee; + this.owner = owner; this.repository = repository; + this.issueEvent = issueEvent; } /** * Get the type property: The trigger type. - * + * * @return the type value. */ @Generated @@ -68,7 +77,7 @@ public RoutineTriggerType getType() { /** * Get the connectionId property: The workspace connection identifier that resolves the GitHub configuration for the * trigger. - * + * * @return the connectionId value. */ @Generated @@ -77,19 +86,18 @@ public String getConnectionId() { } /** - * Get the assignee property: The GitHub assignee or organization filter that scopes which issues can fire the - * trigger. - * - * @return the assignee value. + * Get the owner property: The GitHub owner or organization that scopes which issues can fire the trigger. + * + * @return the owner value. */ @Generated - public String getAssignee() { - return this.assignee; + public String getOwner() { + return this.owner; } /** * Get the repository property: The GitHub repository filter that scopes which issues can fire the trigger. - * + * * @return the repository value. */ @Generated @@ -97,6 +105,16 @@ public String getRepository() { return this.repository; } + /** + * Get the issueEvent property: The GitHub issue event that fires the routine. + * + * @return the issueEvent value. + */ + @Generated + public GitHubIssueEvent getIssueEvent() { + return this.issueEvent; + } + /** * {@inheritDoc} */ @@ -105,47 +123,53 @@ public String getRepository() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("connection_id", this.connectionId); - jsonWriter.writeStringField("assignee", this.assignee); + jsonWriter.writeStringField("owner", this.owner); jsonWriter.writeStringField("repository", this.repository); + jsonWriter.writeStringField("issue_event", this.issueEvent == null ? null : this.issueEvent.toString()); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); return jsonWriter.writeEndObject(); } /** - * Reads an instance of GitHubIssueOpenedRoutineTrigger from the JsonReader. - * + * Reads an instance of GitHubIssueRoutineTrigger from the JsonReader. + * * @param jsonReader The JsonReader being read. - * @return An instance of GitHubIssueOpenedRoutineTrigger if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. + * @return An instance of GitHubIssueRoutineTrigger if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the GitHubIssueOpenedRoutineTrigger. + * @throws IOException If an error occurs while reading the GitHubIssueRoutineTrigger. */ @Generated - public static GitHubIssueOpenedRoutineTrigger fromJson(JsonReader jsonReader) throws IOException { + public static GitHubIssueRoutineTrigger fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String connectionId = null; - String assignee = null; + String owner = null; String repository = null; - RoutineTriggerType type = RoutineTriggerType.GITHUB_ISSUE_OPENED; + GitHubIssueEvent issueEvent = null; + RoutineTriggerType type = RoutineTriggerType.GITHUB_ISSUE; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); + if ("connection_id".equals(fieldName)) { connectionId = reader.getString(); - } else if ("assignee".equals(fieldName)) { - assignee = reader.getString(); + } else if ("owner".equals(fieldName)) { + owner = reader.getString(); } else if ("repository".equals(fieldName)) { repository = reader.getString(); + } else if ("issue_event".equals(fieldName)) { + issueEvent = GitHubIssueEvent.fromString(reader.getString()); } else if ("type".equals(fieldName)) { type = RoutineTriggerType.fromString(reader.getString()); } else { reader.skipChildren(); } } - GitHubIssueOpenedRoutineTrigger deserializedGitHubIssueOpenedRoutineTrigger - = new GitHubIssueOpenedRoutineTrigger(connectionId, assignee, repository); - deserializedGitHubIssueOpenedRoutineTrigger.type = type; - return deserializedGitHubIssueOpenedRoutineTrigger; + GitHubIssueRoutineTrigger deserializedGitHubIssueRoutineTrigger + = new GitHubIssueRoutineTrigger(connectionId, owner, repository, issueEvent); + deserializedGitHubIssueRoutineTrigger.type = type; + + return deserializedGitHubIssueRoutineTrigger; }); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java index 06019189e939..668a5a90400c 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java @@ -3,8 +3,9 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.ai.projects.models; -import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -13,7 +14,7 @@ /** * A manual payload used to test an invocations API routine dispatch. */ -@Fluent +@Immutable public final class InvokeAgentInvocationsApiDispatchPayload extends RoutineDispatchPayload { /* @@ -23,17 +24,11 @@ public final class InvokeAgentInvocationsApiDispatchPayload extends RoutineDispa private RoutineDispatchPayloadType type = RoutineDispatchPayloadType.INVOKE_AGENT_INVOCATIONS_API; /* - * The raw input sent to the downstream invocations target. + * The JSON value sent as the complete downstream invocations input. The value is passed through as-is and can be an + * object, string, number, boolean, array, or null. */ @Generated - private String input; - - /** - * Creates an instance of InvokeAgentInvocationsApiDispatchPayload class. - */ - @Generated - public InvokeAgentInvocationsApiDispatchPayload() { - } + private final BinaryData input; /** * Get the type property: The manual dispatch payload type. @@ -47,27 +42,16 @@ public RoutineDispatchPayloadType getType() { } /** - * Get the input property: The raw input sent to the downstream invocations target. + * Get the input property: The JSON value sent as the complete downstream invocations input. The value is passed + * through as-is and can be an object, string, number, boolean, array, or null. * * @return the input value. */ @Generated - public String getInput() { + public BinaryData getInput() { return this.input; } - /** - * Set the input property: The raw input sent to the downstream invocations target. - * - * @param input the input value to set. - * @return the InvokeAgentInvocationsApiDispatchPayload object itself. - */ - @Generated - public InvokeAgentInvocationsApiDispatchPayload setInput(String input) { - this.input = input; - return this; - } - /** * {@inheritDoc} */ @@ -75,8 +59,9 @@ public InvokeAgentInvocationsApiDispatchPayload setInput(String input) { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); + jsonWriter.writeFieldName("input"); + this.input.writeTo(jsonWriter); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("input", this.input); return jsonWriter.writeEndObject(); } @@ -86,26 +71,39 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of InvokeAgentInvocationsApiDispatchPayload if the JsonReader was pointing to an instance of * it, or null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. * @throws IOException If an error occurs while reading the InvokeAgentInvocationsApiDispatchPayload. */ @Generated public static InvokeAgentInvocationsApiDispatchPayload fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - InvokeAgentInvocationsApiDispatchPayload deserializedInvokeAgentInvocationsApiDispatchPayload - = new InvokeAgentInvocationsApiDispatchPayload(); + BinaryData input = null; + RoutineDispatchPayloadType type = RoutineDispatchPayloadType.INVOKE_AGENT_INVOCATIONS_API; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedInvokeAgentInvocationsApiDispatchPayload.type - = RoutineDispatchPayloadType.fromString(reader.getString()); - } else if ("input".equals(fieldName)) { - deserializedInvokeAgentInvocationsApiDispatchPayload.input = reader.getString(); + if ("input".equals(fieldName)) { + input = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); + } else if ("type".equals(fieldName)) { + type = RoutineDispatchPayloadType.fromString(reader.getString()); } else { reader.skipChildren(); } } + InvokeAgentInvocationsApiDispatchPayload deserializedInvokeAgentInvocationsApiDispatchPayload + = new InvokeAgentInvocationsApiDispatchPayload(input); + deserializedInvokeAgentInvocationsApiDispatchPayload.type = type; return deserializedInvokeAgentInvocationsApiDispatchPayload; }); } + + /** + * Creates an instance of InvokeAgentInvocationsApiDispatchPayload class. + * + * @param input the input value to set. + */ + @Generated + public InvokeAgentInvocationsApiDispatchPayload(BinaryData input) { + this.input = input; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java index 6769fe19f8a6..3caa41ed2066 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java @@ -5,13 +5,15 @@ import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; /** - * Dispatches a routine through the raw invocations API. + * Dispatches a routine through the raw invocations API. Exactly one of agent_name or agent_endpoint_id must be + * provided. */ @Fluent public final class InvokeAgentInvocationsApiRoutineAction extends RoutineAction { @@ -23,10 +25,10 @@ public final class InvokeAgentInvocationsApiRoutineAction extends RoutineAction private RoutineActionType type = RoutineActionType.INVOKE_AGENT_INVOCATIONS_API; /* - * The endpoint-scoped agent identifier for invocations API dispatch. + * Legacy endpoint-scoped agent identifier for routine dispatch. */ @Generated - private final String agentEndpointId; + private String agentEndpointId; /* * An optional existing hosted-agent session identifier to continue during the downstream dispatch. @@ -34,16 +36,6 @@ public final class InvokeAgentInvocationsApiRoutineAction extends RoutineAction @Generated private String sessionId; - /** - * Creates an instance of InvokeAgentInvocationsApiRoutineAction class. - * - * @param agentEndpointId the agentEndpointId value to set. - */ - @Generated - public InvokeAgentInvocationsApiRoutineAction(String agentEndpointId) { - this.agentEndpointId = agentEndpointId; - } - /** * Get the type property: The action type. * @@ -56,7 +48,7 @@ public RoutineActionType getType() { } /** - * Get the agentEndpointId property: The endpoint-scoped agent identifier for invocations API dispatch. + * Get the agentEndpointId property: Legacy endpoint-scoped agent identifier for routine dispatch. * * @return the agentEndpointId value. */ @@ -96,8 +88,13 @@ public InvokeAgentInvocationsApiRoutineAction setSessionId(String sessionId) { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("agent_endpoint_id", this.agentEndpointId); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + jsonWriter.writeStringField("agent_name", this.agentName); + jsonWriter.writeStringField("agent_endpoint_id", this.agentEndpointId); + if (this.input != null) { + jsonWriter.writeFieldName("input"); + this.input.writeTo(jsonWriter); + } jsonWriter.writeStringField("session_id", this.sessionId); return jsonWriter.writeEndObject(); } @@ -108,33 +105,111 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of InvokeAgentInvocationsApiRoutineAction if the JsonReader was pointing to an instance of * it, or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. * @throws IOException If an error occurs while reading the InvokeAgentInvocationsApiRoutineAction. */ @Generated public static InvokeAgentInvocationsApiRoutineAction fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - String agentEndpointId = null; - RoutineActionType type = RoutineActionType.INVOKE_AGENT_INVOCATIONS_API; - String sessionId = null; + InvokeAgentInvocationsApiRoutineAction deserializedInvokeAgentInvocationsApiRoutineAction + = new InvokeAgentInvocationsApiRoutineAction(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("agent_endpoint_id".equals(fieldName)) { - agentEndpointId = reader.getString(); - } else if ("type".equals(fieldName)) { - type = RoutineActionType.fromString(reader.getString()); + if ("type".equals(fieldName)) { + deserializedInvokeAgentInvocationsApiRoutineAction.type + = RoutineActionType.fromString(reader.getString()); + } else if ("agent_name".equals(fieldName)) { + deserializedInvokeAgentInvocationsApiRoutineAction.agentName = reader.getString(); + } else if ("agent_endpoint_id".equals(fieldName)) { + deserializedInvokeAgentInvocationsApiRoutineAction.agentEndpointId = reader.getString(); + } else if ("input".equals(fieldName)) { + deserializedInvokeAgentInvocationsApiRoutineAction.input + = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); } else if ("session_id".equals(fieldName)) { - sessionId = reader.getString(); + deserializedInvokeAgentInvocationsApiRoutineAction.sessionId = reader.getString(); } else { reader.skipChildren(); } } - InvokeAgentInvocationsApiRoutineAction deserializedInvokeAgentInvocationsApiRoutineAction - = new InvokeAgentInvocationsApiRoutineAction(agentEndpointId); - deserializedInvokeAgentInvocationsApiRoutineAction.type = type; - deserializedInvokeAgentInvocationsApiRoutineAction.sessionId = sessionId; return deserializedInvokeAgentInvocationsApiRoutineAction; }); } + + /* + * The project-scoped agent name for routine dispatch. + */ + @Generated + private String agentName; + + /* + * Static JSON value sent as the complete downstream input when the routine fires. The value is passed through + * as-is; no templating is applied. + */ + @Generated + private BinaryData input; + + /** + * Creates an instance of InvokeAgentInvocationsApiRoutineAction class. + */ + @Generated + public InvokeAgentInvocationsApiRoutineAction() { + } + + /** + * Get the agentName property: The project-scoped agent name for routine dispatch. + * + * @return the agentName value. + */ + @Generated + public String getAgentName() { + return this.agentName; + } + + /** + * Set the agentName property: The project-scoped agent name for routine dispatch. + * + * @param agentName the agentName value to set. + * @return the InvokeAgentInvocationsApiRoutineAction object itself. + */ + @Generated + public InvokeAgentInvocationsApiRoutineAction setAgentName(String agentName) { + this.agentName = agentName; + return this; + } + + /** + * Set the agentEndpointId property: Legacy endpoint-scoped agent identifier for routine dispatch. + * + * @param agentEndpointId the agentEndpointId value to set. + * @return the InvokeAgentInvocationsApiRoutineAction object itself. + */ + @Generated + public InvokeAgentInvocationsApiRoutineAction setAgentEndpointId(String agentEndpointId) { + this.agentEndpointId = agentEndpointId; + return this; + } + + /** + * Get the input property: Static JSON value sent as the complete downstream input when the routine fires. The value + * is passed through as-is; no templating is applied. + * + * @return the input value. + */ + @Generated + public BinaryData getInput() { + return this.input; + } + + /** + * Set the input property: Static JSON value sent as the complete downstream input when the routine fires. The value + * is passed through as-is; no templating is applied. + * + * @param input the input value to set. + * @return the InvokeAgentInvocationsApiRoutineAction object itself. + */ + @Generated + public InvokeAgentInvocationsApiRoutineAction setInput(BinaryData input) { + this.input = input; + return this; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java index 4a375de6b4f8..672514681647 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java @@ -3,8 +3,9 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.ai.projects.models; -import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -13,7 +14,7 @@ /** * A manual payload used to test a responses API routine dispatch. */ -@Fluent +@Immutable public final class InvokeAgentResponsesApiDispatchPayload extends RoutineDispatchPayload { /* @@ -23,17 +24,11 @@ public final class InvokeAgentResponsesApiDispatchPayload extends RoutineDispatc private RoutineDispatchPayloadType type = RoutineDispatchPayloadType.INVOKE_AGENT_RESPONSES_API; /* - * The user input sent to the downstream responses target. + * The JSON value sent as the complete downstream responses input. The value is passed through as-is and can be an + * object, string, number, boolean, array, or null. */ @Generated - private String input; - - /** - * Creates an instance of InvokeAgentResponsesApiDispatchPayload class. - */ - @Generated - public InvokeAgentResponsesApiDispatchPayload() { - } + private final BinaryData input; /** * Get the type property: The manual dispatch payload type. @@ -47,27 +42,16 @@ public RoutineDispatchPayloadType getType() { } /** - * Get the input property: The user input sent to the downstream responses target. + * Get the input property: The JSON value sent as the complete downstream responses input. The value is passed + * through as-is and can be an object, string, number, boolean, array, or null. * * @return the input value. */ @Generated - public String getInput() { + public BinaryData getInput() { return this.input; } - /** - * Set the input property: The user input sent to the downstream responses target. - * - * @param input the input value to set. - * @return the InvokeAgentResponsesApiDispatchPayload object itself. - */ - @Generated - public InvokeAgentResponsesApiDispatchPayload setInput(String input) { - this.input = input; - return this; - } - /** * {@inheritDoc} */ @@ -75,8 +59,9 @@ public InvokeAgentResponsesApiDispatchPayload setInput(String input) { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); + jsonWriter.writeFieldName("input"); + this.input.writeTo(jsonWriter); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("input", this.input); return jsonWriter.writeEndObject(); } @@ -86,26 +71,39 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of InvokeAgentResponsesApiDispatchPayload if the JsonReader was pointing to an instance of * it, or null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. * @throws IOException If an error occurs while reading the InvokeAgentResponsesApiDispatchPayload. */ @Generated public static InvokeAgentResponsesApiDispatchPayload fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - InvokeAgentResponsesApiDispatchPayload deserializedInvokeAgentResponsesApiDispatchPayload - = new InvokeAgentResponsesApiDispatchPayload(); + BinaryData input = null; + RoutineDispatchPayloadType type = RoutineDispatchPayloadType.INVOKE_AGENT_RESPONSES_API; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("type".equals(fieldName)) { - deserializedInvokeAgentResponsesApiDispatchPayload.type - = RoutineDispatchPayloadType.fromString(reader.getString()); - } else if ("input".equals(fieldName)) { - deserializedInvokeAgentResponsesApiDispatchPayload.input = reader.getString(); + if ("input".equals(fieldName)) { + input = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); + } else if ("type".equals(fieldName)) { + type = RoutineDispatchPayloadType.fromString(reader.getString()); } else { reader.skipChildren(); } } + InvokeAgentResponsesApiDispatchPayload deserializedInvokeAgentResponsesApiDispatchPayload + = new InvokeAgentResponsesApiDispatchPayload(input); + deserializedInvokeAgentResponsesApiDispatchPayload.type = type; return deserializedInvokeAgentResponsesApiDispatchPayload; }); } + + /** + * Creates an instance of InvokeAgentResponsesApiDispatchPayload class. + * + * @param input the input value to set. + */ + @Generated + public InvokeAgentResponsesApiDispatchPayload(BinaryData input) { + this.input = input; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java index 2800d24a1b22..3d5307ee76fb 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java @@ -5,6 +5,7 @@ import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -23,23 +24,17 @@ public final class InvokeAgentResponsesApiRoutineAction extends RoutineAction { private RoutineActionType type = RoutineActionType.INVOKE_AGENT_RESPONSES_API; /* - * The project-scoped agent name for responses API dispatch. + * The project-scoped agent name for routine dispatch. */ @Generated private String agentName; /* - * The endpoint-scoped agent identifier for responses API dispatch. + * Legacy endpoint-scoped agent identifier for routine dispatch. */ @Generated private String agentEndpointId; - /* - * An optional existing conversation identifier to continue during the downstream dispatch. - */ - @Generated - private String conversationId; - /** * Creates an instance of InvokeAgentResponsesApiRoutineAction class. */ @@ -59,7 +54,7 @@ public RoutineActionType getType() { } /** - * Get the agentName property: The project-scoped agent name for responses API dispatch. + * Get the agentName property: The project-scoped agent name for routine dispatch. * * @return the agentName value. */ @@ -69,7 +64,7 @@ public String getAgentName() { } /** - * Set the agentName property: The project-scoped agent name for responses API dispatch. + * Set the agentName property: The project-scoped agent name for routine dispatch. * * @param agentName the agentName value to set. * @return the InvokeAgentResponsesApiRoutineAction object itself. @@ -81,7 +76,7 @@ public InvokeAgentResponsesApiRoutineAction setAgentName(String agentName) { } /** - * Get the agentEndpointId property: The endpoint-scoped agent identifier for responses API dispatch. + * Get the agentEndpointId property: Legacy endpoint-scoped agent identifier for routine dispatch. * * @return the agentEndpointId value. */ @@ -91,7 +86,7 @@ public String getAgentEndpointId() { } /** - * Set the agentEndpointId property: The endpoint-scoped agent identifier for responses API dispatch. + * Set the agentEndpointId property: Legacy endpoint-scoped agent identifier for routine dispatch. * * @param agentEndpointId the agentEndpointId value to set. * @return the InvokeAgentResponsesApiRoutineAction object itself. @@ -102,30 +97,6 @@ public InvokeAgentResponsesApiRoutineAction setAgentEndpointId(String agentEndpo return this; } - /** - * Get the conversationId property: An optional existing conversation identifier to continue during the downstream - * dispatch. - * - * @return the conversationId value. - */ - @Generated - public String getConversationId() { - return this.conversationId; - } - - /** - * Set the conversationId property: An optional existing conversation identifier to continue during the downstream - * dispatch. - * - * @param conversationId the conversationId value to set. - * @return the InvokeAgentResponsesApiRoutineAction object itself. - */ - @Generated - public InvokeAgentResponsesApiRoutineAction setConversationId(String conversationId) { - this.conversationId = conversationId; - return this; - } - /** * {@inheritDoc} */ @@ -136,7 +107,11 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); jsonWriter.writeStringField("agent_name", this.agentName); jsonWriter.writeStringField("agent_endpoint_id", this.agentEndpointId); - jsonWriter.writeStringField("conversation_id", this.conversationId); + if (this.input != null) { + jsonWriter.writeFieldName("input"); + this.input.writeTo(jsonWriter); + } + jsonWriter.writeStringField("conversation", this.conversation); return jsonWriter.writeEndObject(); } @@ -163,8 +138,11 @@ public static InvokeAgentResponsesApiRoutineAction fromJson(JsonReader jsonReade deserializedInvokeAgentResponsesApiRoutineAction.agentName = reader.getString(); } else if ("agent_endpoint_id".equals(fieldName)) { deserializedInvokeAgentResponsesApiRoutineAction.agentEndpointId = reader.getString(); - } else if ("conversation_id".equals(fieldName)) { - deserializedInvokeAgentResponsesApiRoutineAction.conversationId = reader.getString(); + } else if ("input".equals(fieldName)) { + deserializedInvokeAgentResponsesApiRoutineAction.input + = reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())); + } else if ("conversation".equals(fieldName)) { + deserializedInvokeAgentResponsesApiRoutineAction.conversation = reader.getString(); } else { reader.skipChildren(); } @@ -172,4 +150,65 @@ public static InvokeAgentResponsesApiRoutineAction fromJson(JsonReader jsonReade return deserializedInvokeAgentResponsesApiRoutineAction; }); } + + /* + * Static JSON value sent as the complete downstream input when the routine fires. The value is passed through + * as-is; no templating is applied. + */ + @Generated + private BinaryData input; + + /* + * An optional existing conversation identifier to continue during the downstream dispatch. + */ + @Generated + private String conversation; + + /** + * Get the input property: Static JSON value sent as the complete downstream input when the routine fires. The value + * is passed through as-is; no templating is applied. + * + * @return the input value. + */ + @Generated + public BinaryData getInput() { + return this.input; + } + + /** + * Set the input property: Static JSON value sent as the complete downstream input when the routine fires. The value + * is passed through as-is; no templating is applied. + * + * @param input the input value to set. + * @return the InvokeAgentResponsesApiRoutineAction object itself. + */ + @Generated + public InvokeAgentResponsesApiRoutineAction setInput(BinaryData input) { + this.input = input; + return this; + } + + /** + * Get the conversation property: An optional existing conversation identifier to continue during the downstream + * dispatch. + * + * @return the conversation value. + */ + @Generated + public String getConversation() { + return this.conversation; + } + + /** + * Set the conversation property: An optional existing conversation identifier to continue during the downstream + * dispatch. + * + * @param conversation the conversation value to set. + * @return the InvokeAgentResponsesApiRoutineAction object itself. + */ + @Generated + public InvokeAgentResponsesApiRoutineAction setConversation(String conversation) { + this.conversation = conversation; + return this; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Routine.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Routine.java index b9af216d6ea8..15b15aac5444 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Routine.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Routine.java @@ -25,7 +25,7 @@ public final class Routine implements JsonSerializable { * The routine name. */ @Generated - private final String name; + private String name; /* * A human-readable description of the routine. @@ -43,13 +43,13 @@ public final class Routine implements JsonSerializable { * The triggers configured for the routine. */ @Generated - private final Map triggers; + private Map triggers; /* * The action executed when the routine fires. */ @Generated - private final RoutineAction action; + private RoutineAction action; /* * The time when the routine was created. @@ -63,22 +63,6 @@ public final class Routine implements JsonSerializable { @Generated private Long updatedAt; - /** - * Creates an instance of Routine class. - * - * @param name the name value to set. - * @param enabled the enabled value to set. - * @param triggers the triggers value to set. - * @param action the action value to set. - */ - @Generated - private Routine(String name, boolean enabled, Map triggers, RoutineAction action) { - this.name = name; - this.enabled = enabled; - this.triggers = triggers; - this.action = action; - } - /** * Get the name property: The routine name. * @@ -162,11 +146,11 @@ public OffsetDateTime getUpdatedAt() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", this.name); jsonWriter.writeBooleanField("enabled", this.enabled); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("description", this.description); jsonWriter.writeMapField("triggers", this.triggers, (writer, element) -> writer.writeJson(element)); jsonWriter.writeJsonField("action", this.action); - jsonWriter.writeStringField("description", this.description); jsonWriter.writeNumberField("created_at", this.createdAt); jsonWriter.writeNumberField("updated_at", this.updatedAt); return jsonWriter.writeEndObject(); @@ -184,26 +168,26 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { @Generated public static Routine fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - String name = null; boolean enabled = false; + String name = null; + String description = null; Map triggers = null; RoutineAction action = null; - String description = null; Long createdAt = null; Long updatedAt = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("enabled".equals(fieldName)) { + if ("enabled".equals(fieldName)) { enabled = reader.getBoolean(); + } else if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("description".equals(fieldName)) { + description = reader.getString(); } else if ("triggers".equals(fieldName)) { triggers = reader.readMap(reader1 -> RoutineTrigger.fromJson(reader1)); } else if ("action".equals(fieldName)) { action = RoutineAction.fromJson(reader); - } else if ("description".equals(fieldName)) { - description = reader.getString(); } else if ("created_at".equals(fieldName)) { createdAt = reader.getNullable(JsonReader::getLong); } else if ("updated_at".equals(fieldName)) { @@ -212,11 +196,24 @@ public static Routine fromJson(JsonReader jsonReader) throws IOException { reader.skipChildren(); } } - Routine deserializedRoutine = new Routine(name, enabled, triggers, action); + Routine deserializedRoutine = new Routine(enabled); + deserializedRoutine.name = name; deserializedRoutine.description = description; + deserializedRoutine.triggers = triggers; + deserializedRoutine.action = action; deserializedRoutine.createdAt = createdAt; deserializedRoutine.updatedAt = updatedAt; return deserializedRoutine; }); } + + /** + * Creates an instance of Routine class. + * + * @param enabled the enabled value to set. + */ + @Generated + private Routine(boolean enabled) { + this.enabled = enabled; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRun.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRun.java index 2970a1eb0497..3c9700fa6789 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRun.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRun.java @@ -21,16 +21,16 @@ public final class RoutineRun implements JsonSerializable { /* - * The MLflow run identifier for the routine attempt. + * The unique run identifier for the routine attempt. */ @Generated - private final String id; + private String id; /* - * The underlying MLflow run status. + * The run status. */ @Generated - private final String status; + private String status; /* * The AgentExtensions lifecycle phase for the routine attempt. @@ -42,7 +42,7 @@ public final class RoutineRun implements JsonSerializable { * The trigger type that produced the routine attempt. */ @Generated - private final RoutineTriggerType triggerType; + private RoutineTriggerType triggerType; /* * The source path that created the routine attempt. @@ -66,7 +66,7 @@ public final class RoutineRun implements JsonSerializable { * The time when the underlying run started. */ @Generated - private final long startedAt; + private Long startedAt; /* * The time when the underlying run reached a terminal state. @@ -110,34 +110,8 @@ public final class RoutineRun implements JsonSerializable { @Generated private String errorMessage; - /* - * Diagnostic data captured for the routine attempt. - */ - @Generated - private RoutineRunDiagnostics diagnostics; - /** - * Creates an instance of RoutineRun class. - * - * @param id the id value to set. - * @param status the status value to set. - * @param triggerType the triggerType value to set. - * @param startedAt the startedAt value to set. - */ - @Generated - private RoutineRun(String id, String status, RoutineTriggerType triggerType, OffsetDateTime startedAt) { - this.id = id; - this.status = status; - this.triggerType = triggerType; - if (startedAt == null) { - this.startedAt = 0L; - } else { - this.startedAt = startedAt.toEpochSecond(); - } - } - - /** - * Get the id property: The MLflow run identifier for the routine attempt. + * Get the id property: The unique run identifier for the routine attempt. * * @return the id value. */ @@ -147,7 +121,7 @@ public String getId() { } /** - * Get the status property: The underlying MLflow run status. + * Get the status property: The run status. * * @return the status value. */ @@ -216,6 +190,9 @@ public OffsetDateTime getTriggeredAt() { */ @Generated public OffsetDateTime getStartedAt() { + if (this.startedAt == null) { + return null; + } return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.startedAt), ZoneOffset.UTC); } @@ -292,16 +269,6 @@ public String getErrorMessage() { return this.errorMessage; } - /** - * Get the diagnostics property: Diagnostic data captured for the routine attempt. - * - * @return the diagnostics value. - */ - @Generated - public RoutineRunDiagnostics getDiagnostics() { - return this.diagnostics; - } - /** * {@inheritDoc} */ @@ -309,23 +276,28 @@ public RoutineRunDiagnostics getDiagnostics() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); jsonWriter.writeStringField("status", this.status); - jsonWriter.writeStringField("trigger_type", this.triggerType == null ? null : this.triggerType.toString()); - jsonWriter.writeLongField("started_at", this.startedAt); jsonWriter.writeStringField("phase", this.phase == null ? null : this.phase.toString()); + jsonWriter.writeStringField("trigger_type", this.triggerType == null ? null : this.triggerType.toString()); + jsonWriter.writeStringField("trigger_name", this.triggerName); jsonWriter.writeStringField("attempt_source", this.attemptSource == null ? null : this.attemptSource.toString()); jsonWriter.writeStringField("action_type", this.actionType == null ? null : this.actionType.toString()); + jsonWriter.writeStringField("agent_id", this.agentId); + jsonWriter.writeStringField("agent_endpoint_id", this.agentEndpointId); + jsonWriter.writeStringField("conversation_id", this.conversationId); + jsonWriter.writeStringField("session_id", this.sessionId); jsonWriter.writeNumberField("triggered_at", this.triggeredAt); + jsonWriter.writeNumberField("scheduled_fire_at", this.scheduledFireAt); + jsonWriter.writeNumberField("started_at", this.startedAt); jsonWriter.writeNumberField("ended_at", this.endedAt); jsonWriter.writeStringField("dispatch_id", this.dispatchId); jsonWriter.writeStringField("action_correlation_id", this.actionCorrelationId); jsonWriter.writeStringField("response_id", this.responseId); jsonWriter.writeStringField("task_id", this.taskId); + jsonWriter.writeNumberField("error_status_code", this.errorStatusCode); jsonWriter.writeStringField("error_type", this.errorType); jsonWriter.writeStringField("error_message", this.errorMessage); - jsonWriter.writeJsonField("diagnostics", this.diagnostics); return jsonWriter.writeEndObject(); } @@ -341,75 +313,181 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { @Generated public static RoutineRun fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - String id = null; - String status = null; - RoutineTriggerType triggerType = null; - OffsetDateTime startedAt = null; - RoutineRunPhase phase = null; - RoutineAttemptSource attemptSource = null; - RoutineActionType actionType = null; - Long triggeredAt = null; - Long endedAt = null; - String dispatchId = null; - String actionCorrelationId = null; - String responseId = null; - String taskId = null; - String errorType = null; - String errorMessage = null; - RoutineRunDiagnostics diagnostics = null; + RoutineRun deserializedRoutineRun = new RoutineRun(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("id".equals(fieldName)) { - id = reader.getString(); + deserializedRoutineRun.id = reader.getString(); } else if ("status".equals(fieldName)) { - status = reader.getString(); - } else if ("trigger_type".equals(fieldName)) { - triggerType = RoutineTriggerType.fromString(reader.getString()); - } else if ("started_at".equals(fieldName)) { - startedAt = OffsetDateTime.ofInstant(Instant.ofEpochSecond(reader.getLong()), ZoneOffset.UTC); + deserializedRoutineRun.status = reader.getString(); } else if ("phase".equals(fieldName)) { - phase = RoutineRunPhase.fromString(reader.getString()); + deserializedRoutineRun.phase = RoutineRunPhase.fromString(reader.getString()); + } else if ("trigger_type".equals(fieldName)) { + deserializedRoutineRun.triggerType = RoutineTriggerType.fromString(reader.getString()); + } else if ("trigger_name".equals(fieldName)) { + deserializedRoutineRun.triggerName = reader.getString(); } else if ("attempt_source".equals(fieldName)) { - attemptSource = RoutineAttemptSource.fromString(reader.getString()); + deserializedRoutineRun.attemptSource = RoutineAttemptSource.fromString(reader.getString()); } else if ("action_type".equals(fieldName)) { - actionType = RoutineActionType.fromString(reader.getString()); + deserializedRoutineRun.actionType = RoutineActionType.fromString(reader.getString()); + } else if ("agent_id".equals(fieldName)) { + deserializedRoutineRun.agentId = reader.getString(); + } else if ("agent_endpoint_id".equals(fieldName)) { + deserializedRoutineRun.agentEndpointId = reader.getString(); + } else if ("conversation_id".equals(fieldName)) { + deserializedRoutineRun.conversationId = reader.getString(); + } else if ("session_id".equals(fieldName)) { + deserializedRoutineRun.sessionId = reader.getString(); } else if ("triggered_at".equals(fieldName)) { - triggeredAt = reader.getNullable(JsonReader::getLong); + deserializedRoutineRun.triggeredAt = reader.getNullable(JsonReader::getLong); + } else if ("scheduled_fire_at".equals(fieldName)) { + deserializedRoutineRun.scheduledFireAt = reader.getNullable(JsonReader::getLong); + } else if ("started_at".equals(fieldName)) { + deserializedRoutineRun.startedAt = reader.getNullable(JsonReader::getLong); } else if ("ended_at".equals(fieldName)) { - endedAt = reader.getNullable(JsonReader::getLong); + deserializedRoutineRun.endedAt = reader.getNullable(JsonReader::getLong); } else if ("dispatch_id".equals(fieldName)) { - dispatchId = reader.getString(); + deserializedRoutineRun.dispatchId = reader.getString(); } else if ("action_correlation_id".equals(fieldName)) { - actionCorrelationId = reader.getString(); + deserializedRoutineRun.actionCorrelationId = reader.getString(); } else if ("response_id".equals(fieldName)) { - responseId = reader.getString(); + deserializedRoutineRun.responseId = reader.getString(); } else if ("task_id".equals(fieldName)) { - taskId = reader.getString(); + deserializedRoutineRun.taskId = reader.getString(); + } else if ("error_status_code".equals(fieldName)) { + deserializedRoutineRun.errorStatusCode = reader.getNullable(JsonReader::getInt); } else if ("error_type".equals(fieldName)) { - errorType = reader.getString(); + deserializedRoutineRun.errorType = reader.getString(); } else if ("error_message".equals(fieldName)) { - errorMessage = reader.getString(); - } else if ("diagnostics".equals(fieldName)) { - diagnostics = RoutineRunDiagnostics.fromJson(reader); + deserializedRoutineRun.errorMessage = reader.getString(); } else { reader.skipChildren(); } } - RoutineRun deserializedRoutineRun = new RoutineRun(id, status, triggerType, startedAt); - deserializedRoutineRun.phase = phase; - deserializedRoutineRun.attemptSource = attemptSource; - deserializedRoutineRun.actionType = actionType; - deserializedRoutineRun.triggeredAt = triggeredAt; - deserializedRoutineRun.endedAt = endedAt; - deserializedRoutineRun.dispatchId = dispatchId; - deserializedRoutineRun.actionCorrelationId = actionCorrelationId; - deserializedRoutineRun.responseId = responseId; - deserializedRoutineRun.taskId = taskId; - deserializedRoutineRun.errorType = errorType; - deserializedRoutineRun.errorMessage = errorMessage; - deserializedRoutineRun.diagnostics = diagnostics; return deserializedRoutineRun; }); } + + /* + * The configured trigger name that produced the routine attempt. + */ + @Generated + private String triggerName; + + /* + * The project-scoped agent identifier recorded for the routine attempt. + */ + @Generated + private String agentId; + + /* + * The legacy endpoint-scoped agent identifier recorded for the routine attempt. + */ + @Generated + private String agentEndpointId; + + /* + * The conversation identifier used by a responses API dispatch. + */ + @Generated + private String conversationId; + + /* + * The hosted-agent session identifier used by an invocations API dispatch. + */ + @Generated + private String sessionId; + + /* + * The scheduled fire time recorded for timer and schedule deliveries. + */ + @Generated + private Long scheduledFireAt; + + /* + * The downstream error status code captured for a failed attempt, when available. + */ + @Generated + private Integer errorStatusCode; + + /** + * Creates an instance of RoutineRun class. + */ + @Generated + private RoutineRun() { + } + + /** + * Get the triggerName property: The configured trigger name that produced the routine attempt. + * + * @return the triggerName value. + */ + @Generated + public String getTriggerName() { + return this.triggerName; + } + + /** + * Get the agentId property: The project-scoped agent identifier recorded for the routine attempt. + * + * @return the agentId value. + */ + @Generated + public String getAgentId() { + return this.agentId; + } + + /** + * Get the agentEndpointId property: The legacy endpoint-scoped agent identifier recorded for the routine attempt. + * + * @return the agentEndpointId value. + */ + @Generated + public String getAgentEndpointId() { + return this.agentEndpointId; + } + + /** + * Get the conversationId property: The conversation identifier used by a responses API dispatch. + * + * @return the conversationId value. + */ + @Generated + public String getConversationId() { + return this.conversationId; + } + + /** + * Get the sessionId property: The hosted-agent session identifier used by an invocations API dispatch. + * + * @return the sessionId value. + */ + @Generated + public String getSessionId() { + return this.sessionId; + } + + /** + * Get the scheduledFireAt property: The scheduled fire time recorded for timer and schedule deliveries. + * + * @return the scheduledFireAt value. + */ + @Generated + public OffsetDateTime getScheduledFireAt() { + if (this.scheduledFireAt == null) { + return null; + } + return OffsetDateTime.ofInstant(Instant.ofEpochSecond(this.scheduledFireAt), ZoneOffset.UTC); + } + + /** + * Get the errorStatusCode property: The downstream error status code captured for a failed attempt, when available. + * + * @return the errorStatusCode value. + */ + @Generated + public Integer getErrorStatusCode() { + return this.errorStatusCode; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java deleted file mode 100644 index f3013be17104..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.Map; - -/** - * Generic diagnostics captured on a routine run. - */ -@Immutable -public final class RoutineRunDiagnostics implements JsonSerializable { - - /* - * MLflow parameters recorded on the run, keyed by parameter name. - */ - @Generated - private final Map parameters; - - /* - * MLflow tags recorded on the run, keyed by tag name. - */ - @Generated - private final Map tags; - - /* - * Latest MLflow metric values recorded on the run, keyed by metric name. - */ - @Generated - private final Map metrics; - - /** - * Creates an instance of RoutineRunDiagnostics class. - * - * @param parameters the parameters value to set. - * @param tags the tags value to set. - * @param metrics the metrics value to set. - */ - @Generated - private RoutineRunDiagnostics(Map parameters, Map tags, - Map metrics) { - this.parameters = parameters; - this.tags = tags; - this.metrics = metrics; - } - - /** - * Get the parameters property: MLflow parameters recorded on the run, keyed by parameter name. - * - * @return the parameters value. - */ - @Generated - public Map getParameters() { - return this.parameters; - } - - /** - * Get the tags property: MLflow tags recorded on the run, keyed by tag name. - * - * @return the tags value. - */ - @Generated - public Map getTags() { - return this.tags; - } - - /** - * Get the metrics property: Latest MLflow metric values recorded on the run, keyed by metric name. - * - * @return the metrics value. - */ - @Generated - public Map getMetrics() { - return this.metrics; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeMapField("parameters", this.parameters, (writer, element) -> writer.writeString(element)); - jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); - jsonWriter.writeMapField("metrics", this.metrics, (writer, element) -> writer.writeDouble(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of RoutineRunDiagnostics from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of RoutineRunDiagnostics if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the RoutineRunDiagnostics. - */ - @Generated - public static RoutineRunDiagnostics fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - Map parameters = null; - Map tags = null; - Map metrics = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("parameters".equals(fieldName)) { - parameters = reader.readMap(reader1 -> reader1.getString()); - } else if ("tags".equals(fieldName)) { - tags = reader.readMap(reader1 -> reader1.getString()); - } else if ("metrics".equals(fieldName)) { - metrics = reader.readMap(reader1 -> reader1.getDouble()); - } else { - reader.skipChildren(); - } - } - return new RoutineRunDiagnostics(parameters, tags, metrics); - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTrigger.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTrigger.java index acb0297e2216..9077eb6c1804 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTrigger.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTrigger.java @@ -81,8 +81,10 @@ public static RoutineTrigger fromJson(JsonReader jsonReader) throws IOException return ScheduleRoutineTrigger.fromJson(readerToUse.reset()); } else if ("timer".equals(discriminatorValue)) { return TimerRoutineTrigger.fromJson(readerToUse.reset()); - } else if ("github_issue_opened".equals(discriminatorValue)) { - return GitHubIssueOpenedRoutineTrigger.fromJson(readerToUse.reset()); + } else if ("github_issue".equals(discriminatorValue)) { + return GitHubIssueRoutineTrigger.fromJson(readerToUse.reset()); + } else if ("custom".equals(discriminatorValue)) { + return CustomRoutineTrigger.fromJson(readerToUse.reset()); } else { return fromJsonKnownDiscriminator(readerToUse.reset()); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java index ba6b393316e5..ae976b285c4c 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java @@ -12,12 +12,6 @@ */ public final class RoutineTriggerType extends ExpandableStringEnum { - /** - * A GitHub issue-opened trigger. - */ - @Generated - public static final RoutineTriggerType GITHUB_ISSUE_OPENED = fromString("github_issue_opened"); - /** * A recurring cron-based trigger. */ @@ -60,4 +54,16 @@ public static RoutineTriggerType fromString(String name) { public static Collection values() { return values(RoutineTriggerType.class); } + + /** + * A custom event trigger. + */ + @Generated + public static final RoutineTriggerType CUSTOM = fromString("custom"); + + /** + * A GitHub issue trigger. + */ + @Generated + public static final RoutineTriggerType GITHUB_ISSUE = fromString("github_issue"); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java index 2a2708f81509..a19011197929 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java @@ -5,10 +5,13 @@ import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.time.OffsetDateTime; +import java.time.format.DateTimeFormatter; /** * A one-shot timer routine trigger. @@ -23,27 +26,10 @@ public final class TimerRoutineTrigger extends RoutineTrigger { private RoutineTriggerType type = RoutineTriggerType.TIMER; /* - * A future timer expression. Supported values include an ISO-8601 timestamp with an explicit offset, a local - * timestamp paired with time_zone, or a positive duration from now. + * The UTC date and time at which the timer fires. */ @Generated - private final String at; - - /* - * An optional IANA or Windows time zone identifier when the timer uses a local timestamp. - */ - @Generated - private String timeZone; - - /** - * Creates an instance of TimerRoutineTrigger class. - * - * @param at the at value to set. - */ - @Generated - public TimerRoutineTrigger(String at) { - this.at = at; - } + private OffsetDateTime at; /** * Get the type property: The trigger type. @@ -57,40 +43,15 @@ public RoutineTriggerType getType() { } /** - * Get the at property: A future timer expression. Supported values include an ISO-8601 timestamp with an explicit - * offset, a local timestamp paired with time_zone, or a positive duration from now. + * Get the at property: The UTC date and time at which the timer fires. * * @return the at value. */ @Generated - public String getAt() { + public OffsetDateTime getAt() { return this.at; } - /** - * Get the timeZone property: An optional IANA or Windows time zone identifier when the timer uses a local - * timestamp. - * - * @return the timeZone value. - */ - @Generated - public String getTimeZone() { - return this.timeZone; - } - - /** - * Set the timeZone property: An optional IANA or Windows time zone identifier when the timer uses a local - * timestamp. - * - * @param timeZone the timeZone value to set. - * @return the TimerRoutineTrigger object itself. - */ - @Generated - public TimerRoutineTrigger setTimeZone(String timeZone) { - this.timeZone = timeZone; - return this; - } - /** * {@inheritDoc} */ @@ -98,9 +59,9 @@ public TimerRoutineTrigger setTimeZone(String timeZone) { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("at", this.at); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("time_zone", this.timeZone); + jsonWriter.writeStringField("at", + this.at == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.at)); return jsonWriter.writeEndObject(); } @@ -110,32 +71,44 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of TimerRoutineTrigger if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. * @throws IOException If an error occurs while reading the TimerRoutineTrigger. */ @Generated public static TimerRoutineTrigger fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - String at = null; - RoutineTriggerType type = RoutineTriggerType.TIMER; - String timeZone = null; + TimerRoutineTrigger deserializedTimerRoutineTrigger = new TimerRoutineTrigger(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("at".equals(fieldName)) { - at = reader.getString(); - } else if ("type".equals(fieldName)) { - type = RoutineTriggerType.fromString(reader.getString()); - } else if ("time_zone".equals(fieldName)) { - timeZone = reader.getString(); + if ("type".equals(fieldName)) { + deserializedTimerRoutineTrigger.type = RoutineTriggerType.fromString(reader.getString()); + } else if ("at".equals(fieldName)) { + deserializedTimerRoutineTrigger.at = reader + .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); } else { reader.skipChildren(); } } - TimerRoutineTrigger deserializedTimerRoutineTrigger = new TimerRoutineTrigger(at); - deserializedTimerRoutineTrigger.type = type; - deserializedTimerRoutineTrigger.timeZone = timeZone; return deserializedTimerRoutineTrigger; }); } + + /** + * Creates an instance of TimerRoutineTrigger class. + */ + @Generated + public TimerRoutineTrigger() { + } + + /** + * Set the at property: The UTC date and time at which the timer fires. + * + * @param at the at value to set. + * @return the TimerRoutineTrigger object itself. + */ + @Generated + public TimerRoutineTrigger setAt(OffsetDateTime at) { + this.at = at; + return this; + } } diff --git a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json index 4a4c5ec024a1..c6a275d34e5a 100644 --- a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json +++ b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"22db907c8c13","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FilesFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.GitHubIssueOpenedRoutineTrigger":"Azure.AI.Projects.GitHubIssueOpenedRoutineTrigger","com.azure.ai.projects.models.GraderAzureAIEvaluator":"Azure.AI.Projects.GraderAzureAIEvaluator","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunDiagnostics":"Azure.AI.Projects.RoutineRunDiagnostics","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator":"Azure.AI.Projects.TestingCriterionAzureAIEvaluator","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FilesFileDetails.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/GitHubIssueOpenedRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunDiagnostics.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"790ae567b240","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.CustomRoutineTrigger":"Azure.AI.Projects.CustomRoutineTrigger","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FilesFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.GitHubIssueEvent":"Azure.AI.Projects.GitHubIssueEvent","com.azure.ai.projects.models.GitHubIssueRoutineTrigger":"Azure.AI.Projects.GitHubIssueRoutineTrigger","com.azure.ai.projects.models.GraderAzureAIEvaluator":"Azure.AI.Projects.GraderAzureAIEvaluator","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator":"Azure.AI.Projects.TestingCriterionAzureAIEvaluator","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/CustomRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FilesFileDetails.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/GitHubIssueEvent.java","src/main/java/com/azure/ai/projects/models/GitHubIssueRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml b/sdk/ai/azure-ai-projects/tsp-location.yaml index 9d93c9bcaa69..61f40737d7ab 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: 89682e5cd7d0d71e7f95ec590b4873bc228dd36f +commit: 210d53eeda47a249fcf2d8433d29b711083b506f repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From 74dee23b24b7593e4aef59bf4bd2aa2550d2a18b Mon Sep 17 00:00:00 2001 From: Jose Alvarez Date: Fri, 29 May 2026 09:17:12 +0200 Subject: [PATCH 63/74] Added missing protocol methods (#49297) * Added missing protocol methods * Tests --- sdk/ai/azure-ai-projects/assets.json | 2 +- .../ai/projects/ConnectionsAsyncClient.java | 30 ++- .../azure/ai/projects/ConnectionsClient.java | 30 ++- .../ai/projects/DatasetsAsyncClient.java | 183 +++++++++++++----- .../com/azure/ai/projects/DatasetsClient.java | 128 ++++++++++-- .../projects/ConnectionsAsyncClientTest.java | 46 +++++ .../ai/projects/ConnectionsClientTest.java | 53 +++++ .../ai/projects/DatasetsAsyncClientTest.java | 61 ++++++ .../azure/ai/projects/DatasetsClientTest.java | 57 ++++++ 9 files changed, 514 insertions(+), 76 deletions(-) diff --git a/sdk/ai/azure-ai-projects/assets.json b/sdk/ai/azure-ai-projects/assets.json index 2f73e2104a7c..3f4aa5692135 100644 --- a/sdk/ai/azure-ai-projects/assets.json +++ b/sdk/ai/azure-ai-projects/assets.json @@ -1 +1 @@ -{"AssetsRepo":"Azure/azure-sdk-assets","AssetsRepoPrefixPath":"java","TagPrefix":"java/ai/azure-ai-projects","Tag": "java/ai/azure-ai-projects_c4dd2a11a3"} \ No newline at end of file +{"AssetsRepo":"Azure/azure-sdk-assets","AssetsRepoPrefixPath":"java","TagPrefix":"java/ai/azure-ai-projects","Tag": "java/ai/azure-ai-projects_1d956abc13"} \ No newline at end of file diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java index 66ea7f5271ab..3d4e068e4ab4 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java @@ -118,6 +118,28 @@ Mono> getConnectionWithCredentialsWithResponse(String name, return this.serviceClient.getConnectionWithCredentialsWithResponseAsync(name, requestOptions); } + /** + * Get a connection by name. + * + * @param name The friendly name of the connection, provided by the user. + * @param includeCredentials Whether to include connection credentials in the response. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a connection by name along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getConnectionWithResponse(String name, boolean includeCredentials, + RequestOptions requestOptions) { + if (includeCredentials) { + return getConnectionWithCredentialsWithResponse(name, requestOptions); + } else { + return getConnectionWithResponse(name, requestOptions); + } + } + /** * List all connections in the project, without populating connection credentials. *

    Query Parameters

    @@ -290,11 +312,9 @@ public PagedFlux listConnections() { */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getConnection(String name, boolean includeCredentials) { - if (includeCredentials) { - return getConnectionWithCredentials(name); - } else { - return getConnection(name); - } + RequestOptions requestOptions = new RequestOptions(); + return getConnectionWithResponse(name, includeCredentials, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(Connection.class)); } /** diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ConnectionsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ConnectionsClient.java index 4f08b3f55ff6..e6db4006e3b6 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ConnectionsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ConnectionsClient.java @@ -113,6 +113,28 @@ Response getConnectionWithCredentialsWithResponse(String name, Reque return this.serviceClient.getConnectionWithCredentialsWithResponse(name, requestOptions); } + /** + * Get a connection by name. + * + * @param name The friendly name of the connection, provided by the user. + * @param includeCredentials Whether to include connection credentials in the response. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a connection by name along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getConnectionWithResponse(String name, boolean includeCredentials, + RequestOptions requestOptions) { + if (includeCredentials) { + return getConnectionWithCredentialsWithResponse(name, requestOptions); + } else { + return getConnectionWithResponse(name, requestOptions); + } + } + /** * List all connections in the project, without populating connection credentials. *

    Query Parameters

    @@ -261,11 +283,9 @@ public PagedIterable listConnections() { */ @ServiceMethod(returns = ReturnType.SINGLE) public Connection getConnection(String name, boolean includeCredentials) { - if (includeCredentials) { - return getConnectionWithCredentials(name); - } else { - return getConnection(name); - } + RequestOptions requestOptions = new RequestOptions(); + return getConnectionWithResponse(name, includeCredentials, requestOptions).getValue() + .toObject(Connection.class); } /** diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java index 13a78544159b..7b818e5f23d8 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java @@ -125,7 +125,7 @@ public Mono getCredentials(String name, String version) { * @param version The specific version id of the DatasetVersion to create or replace. * @param filePath The path to the file to upload. * @return A Mono that completes with a FileDatasetVersion representing the created dataset. - * @throws IllegalArgumentException If the provided path is not a file + * @throws IllegalArgumentException If the provided path is not a file. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono createDatasetWithFile(String name, String version, Path filePath) { @@ -141,11 +141,58 @@ public Mono createDatasetWithFile(String name, String versio * @param connectionName The name of an Azure Storage Account connection to use for uploading. * If null, the default Azure Storage Account connection will be used. * @return A Mono that completes with a FileDatasetVersion representing the created dataset. - * @throws IllegalArgumentException If the provided path is not a file + * @throws IllegalArgumentException If the provided path is not a file. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono createDatasetWithFile(String name, String version, Path filePath, String connectionName) { + RequestOptions requestOptions = new RequestOptions(); + return createDatasetWithFileWithResponse(name, version, filePath, connectionName, requestOptions) + .flatMap(FluxUtil::toMono) + .map(data -> data.toObject(FileDatasetVersion.class)); + } + + /** + * Creates a dataset from a file. Uploads the file to blob storage and registers the dataset. + * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to create or replace. + * @param filePath The path to the file to upload. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return A FileDatasetVersion representing the created dataset along with {@link Response} on successful + * completion of {@link Mono}. + * @throws IllegalArgumentException If the provided path is not a file. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createDatasetWithFileWithResponse(String name, String version, Path filePath, + RequestOptions requestOptions) { + return createDatasetWithFileWithResponse(name, version, filePath, null, requestOptions); + } + + /** + * Creates a dataset from a single file. Uploads the file to blob storage and registers the dataset. + * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to create or replace. + * @param filePath The path to the file to upload. + * @param connectionName The name of an Azure Storage Account connection to use for uploading. + * If null, the default Azure Storage Account connection will be used. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return A FileDatasetVersion representing the created dataset along with {@link Response} on successful + * completion of {@link Mono}. + * @throws IllegalArgumentException If the provided path is not a file. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createDatasetWithFileWithResponse(String name, String version, Path filePath, + String connectionName, RequestOptions requestOptions) { if (!Files.isRegularFile(filePath)) { return Mono.error(new IllegalArgumentException("The provided path is not a file: " + filePath)); } @@ -153,21 +200,21 @@ public Mono createDatasetWithFile(String name, String versio if (connectionName != null) { request.setConnectionName(connectionName); } - return this.pendingUpload(name, version, request).flatMap(pendingUploadResponse -> { - String sasUri = pendingUploadResponse.getBlobReference().getCredential().getSasUrl(); - BlobAsyncClient blobClient = new BlobClientBuilder().endpoint(sasUri) - .blobName(filePath.getFileName().toString()) - .buildAsyncClient(); - return blobClient.upload(BinaryData.fromFile(filePath), true).thenReturn(blobClient.getBlobUrl()); - }).flatMap(blobUrl -> { - RequestOptions requestOptions = new RequestOptions(); - FileDatasetVersion fileDataset = new FileDatasetVersion().setDataUrl(blobUrl); - return this - .createOrUpdateDatasetVersionWithResponse(name, version, BinaryData.fromObject(fileDataset), - requestOptions) - .flatMap(FluxUtil::toMono) - .map(data -> data.toObject(FileDatasetVersion.class)); - }); + return this.pendingUploadWithResponse(name, version, BinaryData.fromObject(request), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(PendingUploadResponse.class)) + .flatMap(pendingUploadResponse -> { + String sasUri = pendingUploadResponse.getBlobReference().getCredential().getSasUrl(); + BlobAsyncClient blobClient = new BlobClientBuilder().endpoint(sasUri) + .blobName(filePath.getFileName().toString()) + .buildAsyncClient(); + return blobClient.upload(BinaryData.fromFile(filePath), true).thenReturn(blobClient.getBlobUrl()); + }) + .flatMap(blobUrl -> { + FileDatasetVersion fileDataset = new FileDatasetVersion().setDataUrl(blobUrl); + return this.createOrUpdateDatasetVersionWithResponse(name, version, BinaryData.fromObject(fileDataset), + requestOptions); + }); } /** @@ -198,6 +245,53 @@ public Mono createDatasetWithFolder(String name, String ve @ServiceMethod(returns = ReturnType.SINGLE) public Mono createDatasetWithFolder(String name, String version, Path folderPath, String connectionName) { + RequestOptions requestOptions = new RequestOptions(); + return createDatasetWithFolderWithResponse(name, version, folderPath, connectionName, requestOptions) + .flatMap(FluxUtil::toMono) + .map(data -> data.toObject(FolderDatasetVersion.class)); + } + + /** + * Creates a dataset from a folder. Uploads all files in the folder to blob storage and registers the dataset. + * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to create or replace. + * @param folderPath The path to the folder containing files to upload. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return A FolderDatasetVersion representing the created dataset along with {@link Response} on successful + * completion of {@link Mono}. + * @throws IllegalArgumentException If the provided path is not a directory. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createDatasetWithFolderWithResponse(String name, String version, Path folderPath, + RequestOptions requestOptions) { + return createDatasetWithFolderWithResponse(name, version, folderPath, null, requestOptions); + } + + /** + * Creates a dataset from a folder. Uploads all files in the folder to blob storage and registers the dataset. + * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to create or replace. + * @param folderPath The path to the folder containing files to upload. + * @param connectionName The name of an Azure Storage Account connection to use for uploading. + * If null, the default Azure Storage Account connection will be used. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return A FolderDatasetVersion representing the created dataset along with {@link Response} on successful + * completion of {@link Mono}. + * @throws IllegalArgumentException If the provided path is not a directory. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createDatasetWithFolderWithResponse(String name, String version, Path folderPath, + String connectionName, RequestOptions requestOptions) { if (!Files.isDirectory(folderPath)) { return Mono.error(new IllegalArgumentException("The provided path is not a folder: " + folderPath)); } @@ -205,34 +299,35 @@ public Mono createDatasetWithFolder(String name, String ve if (connectionName != null) { request.setConnectionName(connectionName); } - return this.pendingUpload(name, version, request).flatMap(pendingUploadResponse -> { - String containerUrl = pendingUploadResponse.getBlobReference().getBlobUrl(); - String sasUri = pendingUploadResponse.getBlobReference().getCredential().getSasUrl(); - BlobContainerAsyncClient containerClient - = new BlobContainerClientBuilder().endpoint(sasUri).buildAsyncClient(); - try { - List files; - try (Stream fileStream = Files.walk(folderPath)) { - files = fileStream.filter(Files::isRegularFile).collect(Collectors.toList()); + return this.pendingUploadWithResponse(name, version, BinaryData.fromObject(request), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(PendingUploadResponse.class)) + .flatMap(pendingUploadResponse -> { + String containerUrl = pendingUploadResponse.getBlobReference().getBlobUrl(); + String sasUri = pendingUploadResponse.getBlobReference().getCredential().getSasUrl(); + BlobContainerAsyncClient containerClient + = new BlobContainerClientBuilder().endpoint(sasUri).buildAsyncClient(); + try { + List files; + try (Stream fileStream = Files.walk(folderPath)) { + files = fileStream.filter(Files::isRegularFile).collect(Collectors.toList()); + } + return Flux.fromIterable(files).flatMap(filePath -> { + String relativePath = folderPath.relativize(filePath).toString().replace('\\', '/'); + return containerClient.getBlobAsyncClient(relativePath) + .upload(BinaryData.fromFile(filePath), true); + }).then(Mono.just(containerUrl)); + } catch (IOException e) { + return Mono.error(new UncheckedIOException("Failed to walk folder path: " + folderPath, e)); + } catch (RuntimeException e) { + return Mono.error(e); } - return Flux.fromIterable(files).flatMap(filePath -> { - String relativePath = folderPath.relativize(filePath).toString().replace('\\', '/'); - return containerClient.getBlobAsyncClient(relativePath).upload(BinaryData.fromFile(filePath), true); - }).then(Mono.just(containerUrl)); - } catch (IOException e) { - return Mono.error(new UncheckedIOException("Failed to walk folder path: " + folderPath, e)); - } catch (RuntimeException e) { - return Mono.error(e); - } - }).flatMap(containerUrl -> { - RequestOptions requestOptions = new RequestOptions(); - FolderDatasetVersion folderDataset = new FolderDatasetVersion().setDataUrl(containerUrl); - return this - .createOrUpdateDatasetVersionWithResponse(name, version, BinaryData.fromObject(folderDataset), - requestOptions) - .flatMap(FluxUtil::toMono) - .map(data -> data.toObject(FolderDatasetVersion.class)); - }); + }) + .flatMap(containerUrl -> { + FolderDatasetVersion folderDataset = new FolderDatasetVersion().setDataUrl(containerUrl); + return this.createOrUpdateDatasetVersionWithResponse(name, version, + BinaryData.fromObject(folderDataset), requestOptions); + }); } /** diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsClient.java index ef88b4547ab1..bdb9163e355d 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsClient.java @@ -113,13 +113,13 @@ public DatasetCredential getCredentials(String name, String version) { } /** - * Creates a dataset from a folder. + * Creates a dataset from a file. * * @param name The name of the resource. * @param version The specific version id of the DatasetVersion to create or replace. - * @param filePath The path to the folder containing files to upload. + * @param filePath The path to the file to upload. * @return A FileDatasetVersion representing the created dataset. - * @throws IllegalArgumentException If the provided path is not a file + * @throws IllegalArgumentException If the provided path is not a file. */ @ServiceMethod(returns = ReturnType.SINGLE) public FileDatasetVersion createDatasetWithFile(String name, String version, Path filePath) { @@ -139,6 +139,50 @@ public FileDatasetVersion createDatasetWithFile(String name, String version, Pat */ @ServiceMethod(returns = ReturnType.SINGLE) public FileDatasetVersion createDatasetWithFile(String name, String version, Path filePath, String connectionName) { + RequestOptions requestOptions = new RequestOptions(); + return createDatasetWithFileWithResponse(name, version, filePath, connectionName, requestOptions).getValue() + .toObject(FileDatasetVersion.class); + } + + /** + * Creates a dataset from a file. Uploads the file to blob storage and registers the dataset. + * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to create or replace. + * @param filePath The path to the file to upload. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return A FileDatasetVersion representing the created dataset along with {@link Response}. + * @throws IllegalArgumentException If the provided path is not a file. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createDatasetWithFileWithResponse(String name, String version, Path filePath, + RequestOptions requestOptions) { + return createDatasetWithFileWithResponse(name, version, filePath, null, requestOptions); + } + + /** + * Creates a dataset from a single file. Uploads the file to blob storage and registers the dataset. + * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to create or replace. + * @param filePath The path to the file to upload. + * @param connectionName The name of an Azure Storage Account connection to use for uploading. + * If null, the default Azure Storage Account connection will be used. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return A FileDatasetVersion representing the created dataset along with {@link Response}. + * @throws IllegalArgumentException If the provided path is not a file. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createDatasetWithFileWithResponse(String name, String version, Path filePath, + String connectionName, RequestOptions requestOptions) { if (!Files.isRegularFile(filePath)) { throw LOGGER .logThrowableAsError(new IllegalArgumentException("The provided path is not a file: " + filePath)); @@ -147,19 +191,17 @@ public FileDatasetVersion createDatasetWithFile(String name, String version, Pat if (connectionName != null) { body.setConnectionName(connectionName); } - PendingUploadResponse pendingUploadResponse = this.pendingUpload(name, version, body); + PendingUploadResponse pendingUploadResponse + = this.pendingUploadWithResponse(name, version, BinaryData.fromObject(body), requestOptions) + .getValue() + .toObject(PendingUploadResponse.class); BlobReferenceSasCredential credential = pendingUploadResponse.getBlobReference().getCredential(); BlobClient blobClient = new BlobClientBuilder().endpoint(credential.getSasUrl()) .blobName(filePath.getFileName().toString()) .buildClient(); blobClient.upload(BinaryData.fromFile(filePath), true); - RequestOptions requestOptions = new RequestOptions(); - FileDatasetVersion datasetVersion = this - .createOrUpdateDatasetVersionWithResponse(name, version, - BinaryData.fromObject(new FileDatasetVersion().setDataUrl(blobClient.getBlobUrl())), requestOptions) - .getValue() - .toObject(FileDatasetVersion.class); - return datasetVersion; + return this.createOrUpdateDatasetVersionWithResponse(name, version, + BinaryData.fromObject(new FileDatasetVersion().setDataUrl(blobClient.getBlobUrl())), requestOptions); } /** @@ -170,7 +212,7 @@ public FileDatasetVersion createDatasetWithFile(String name, String version, Pat * @param folderPath The path to the folder containing files to upload. * @return A FolderDatasetVersion representing the created dataset. * @throws IllegalArgumentException If the provided path is not a directory. - * @throws UncheckedIOException if an I/ O error is thrown when accessing the starting file + * @throws UncheckedIOException if an I/O error is thrown when accessing the starting file. */ @ServiceMethod(returns = ReturnType.SINGLE) public FolderDatasetVersion createDatasetWithFolder(String name, String version, Path folderPath) { @@ -187,11 +229,57 @@ public FolderDatasetVersion createDatasetWithFolder(String name, String version, * If null, the default Azure Storage Account connection will be used. * @return A FolderDatasetVersion representing the created dataset. * @throws IllegalArgumentException If the provided path is not a directory. - * @throws UncheckedIOException if an I/O error is thrown when accessing the starting file + * @throws UncheckedIOException if an I/O error is thrown when accessing the starting file. */ @ServiceMethod(returns = ReturnType.SINGLE) public FolderDatasetVersion createDatasetWithFolder(String name, String version, Path folderPath, String connectionName) { + RequestOptions requestOptions = new RequestOptions(); + return createDatasetWithFolderWithResponse(name, version, folderPath, connectionName, requestOptions).getValue() + .toObject(FolderDatasetVersion.class); + } + + /** + * Creates a dataset from a folder. Uploads all files in the folder to blob storage and registers the dataset. + * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to create or replace. + * @param folderPath The path to the folder containing files to upload. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return A FolderDatasetVersion representing the created dataset along with {@link Response}. + * @throws IllegalArgumentException If the provided path is not a directory. + * @throws UncheckedIOException if an I/O error is thrown when accessing the starting file. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createDatasetWithFolderWithResponse(String name, String version, Path folderPath, + RequestOptions requestOptions) { + return createDatasetWithFolderWithResponse(name, version, folderPath, null, requestOptions); + } + + /** + * Creates a dataset from a folder. Uploads all files in the folder to blob storage and registers the dataset. + * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to create or replace. + * @param folderPath The path to the folder containing files to upload. + * @param connectionName The name of an Azure Storage Account connection to use for uploading. + * If null, the default Azure Storage Account connection will be used. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return A FolderDatasetVersion representing the created dataset along with {@link Response}. + * @throws IllegalArgumentException If the provided path is not a directory. + * @throws UncheckedIOException if an I/O error is thrown when accessing the starting file. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createDatasetWithFolderWithResponse(String name, String version, Path folderPath, + String connectionName, RequestOptions requestOptions) { if (!Files.isDirectory(folderPath)) { throw LOGGER .logExceptionAsError(new IllegalArgumentException("The provided path is not a folder: " + folderPath)); @@ -200,7 +288,10 @@ public FolderDatasetVersion createDatasetWithFolder(String name, String version, if (connectionName != null) { request.setConnectionName(connectionName); } - PendingUploadResponse pendingUploadResponse = this.pendingUpload(name, version, request); + PendingUploadResponse pendingUploadResponse + = this.pendingUploadWithResponse(name, version, BinaryData.fromObject(request), requestOptions) + .getValue() + .toObject(PendingUploadResponse.class); String containerUrl = pendingUploadResponse.getBlobReference().getBlobUrl(); BlobReferenceSasCredential credential = pendingUploadResponse.getBlobReference().getCredential(); BlobContainerClient containerClient @@ -214,13 +305,8 @@ public FolderDatasetVersion createDatasetWithFolder(String name, String version, } catch (IOException e) { throw LOGGER.logExceptionAsError(new UncheckedIOException("Failed to walk folder path: " + folderPath, e)); } - RequestOptions requestOptions = new RequestOptions(); - FolderDatasetVersion datasetVersion = this - .createOrUpdateDatasetVersionWithResponse(name, version, - BinaryData.fromObject(new FolderDatasetVersion().setDataUrl(containerUrl)), requestOptions) - .getValue() - .toObject(FolderDatasetVersion.class); - return datasetVersion; + return this.createOrUpdateDatasetVersionWithResponse(name, version, + BinaryData.fromObject(new FolderDatasetVersion().setDataUrl(containerUrl)), requestOptions); } /** diff --git a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/ConnectionsAsyncClientTest.java b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/ConnectionsAsyncClientTest.java index b35de9c8b7a9..2a8f34bcd321 100644 --- a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/ConnectionsAsyncClientTest.java +++ b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/ConnectionsAsyncClientTest.java @@ -6,6 +6,7 @@ import com.azure.ai.projects.models.ConnectionType; import com.azure.core.http.HttpClient; import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.RequestOptions; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; @@ -76,6 +77,28 @@ public void testGetConnectionWithoutCredentialsAsync(HttpClient httpClient, }).verifyComplete(); } + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void testGetConnectionWithResponseWithoutCredentialsAsync(HttpClient httpClient, + AIProjectsServiceVersion serviceVersion) { + ConnectionsAsyncClient connectionsAsyncClient = getConnectionsAsyncClient(httpClient, serviceVersion); + + // Discover a real connection name from the list + String connectionName + = connectionsAsyncClient.listConnections().next().map(Connection::getName).block(Duration.ofSeconds(20)); + Assertions.assertNotNull(connectionName, "Expected at least one connection"); + + StepVerifier + .create(connectionsAsyncClient.getConnectionWithResponse(connectionName, false, new RequestOptions())) + .assertNext(response -> { + Connection connection = response.getValue().toObject(Connection.class); + assertValidConnection(connection, connectionName, null, null); + Assertions.assertNotNull(connection.getCredential().getType()); + System.out.println("Connection retrieved successfully: " + connection.getName()); + }) + .verifyComplete(); + } + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") public void testGetConnectionWithCredentialsAsync(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) { @@ -96,6 +119,29 @@ public void testGetConnectionWithCredentialsAsync(HttpClient httpClient, AIProje .verifyComplete(); } + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void testGetConnectionWithResponseWithCredentialsAsync(HttpClient httpClient, + AIProjectsServiceVersion serviceVersion) { + ConnectionsAsyncClient connectionsAsyncClient = getConnectionsAsyncClient(httpClient, serviceVersion); + + // Discover a real connection name from the list + String connectionName + = connectionsAsyncClient.listConnections().next().map(Connection::getName).block(Duration.ofSeconds(20)); + Assertions.assertNotNull(connectionName, "Expected at least one connection"); + + StepVerifier + .create(connectionsAsyncClient.getConnectionWithResponse(connectionName, true, new RequestOptions())) + .assertNext(response -> { + Connection connection = response.getValue().toObject(Connection.class); + assertValidConnection(connection, connectionName, null, null); + Assertions.assertNotNull(connection.getCredential().getType()); + System.out.println("Connection with credentials retrieved successfully: " + connection.getName()); + System.out.println("Credential type: " + connection.getCredential().getType()); + }) + .verifyComplete(); + } + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") public void testGetDefaultConnectionAsync(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) { diff --git a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/ConnectionsClientTest.java b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/ConnectionsClientTest.java index ff234655088e..cd0da788df91 100644 --- a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/ConnectionsClientTest.java +++ b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/ConnectionsClientTest.java @@ -5,6 +5,7 @@ import com.azure.ai.projects.models.Connection; import com.azure.ai.projects.models.ConnectionType; import com.azure.core.http.HttpClient; +import com.azure.core.http.rest.RequestOptions; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; @@ -81,6 +82,31 @@ public void testGetConnectionWithoutCredentials(HttpClient httpClient, AIProject System.out.println("Connection retrieved successfully: " + connection.getName()); } + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void testGetConnectionWithResponseWithoutCredentials(HttpClient httpClient, + AIProjectsServiceVersion serviceVersion) { + ConnectionsClient connectionsClient = getConnectionsClient(httpClient, serviceVersion); + + // Discover a real connection name from the list + String connectionName = null; + for (Connection c : connectionsClient.listConnections()) { + connectionName = c.getName(); + break; + } + Assertions.assertNotNull(connectionName, "Expected at least one connection to test getConnection"); + + Connection connection = connectionsClient.getConnectionWithResponse(connectionName, false, new RequestOptions()) + .getValue() + .toObject(Connection.class); + + // Verify the connection properties + assertValidConnection(connection, connectionName, null, null); + Assertions.assertNotNull(connection.getCredential().getType()); + + System.out.println("Connection retrieved successfully: " + connection.getName()); + } + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") public void testGetConnectionWithCredentials(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) { @@ -105,6 +131,33 @@ public void testGetConnectionWithCredentials(HttpClient httpClient, AIProjectsSe System.out.println("Credential type: " + connection.getCredential().getType()); } + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void testGetConnectionWithResponseWithCredentials(HttpClient httpClient, + AIProjectsServiceVersion serviceVersion) { + ConnectionsClient connectionsClient = getConnectionsClient(httpClient, serviceVersion); + + // Discover a real connection name from the list + String connectionName = null; + for (Connection c : connectionsClient.listConnections()) { + connectionName = c.getName(); + break; + } + Assertions.assertNotNull(connectionName, + "Expected at least one connection to test getConnectionWithCredentials"); + + Connection connection = connectionsClient.getConnectionWithResponse(connectionName, true, new RequestOptions()) + .getValue() + .toObject(Connection.class); + + // Verify the connection properties + assertValidConnection(connection, connectionName, null, null); + Assertions.assertNotNull(connection.getCredential().getType()); + + System.out.println("Connection with credentials retrieved successfully: " + connection.getName()); + System.out.println("Credential type: " + connection.getCredential().getType()); + } + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") public void testGetDefaultConnection(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) { diff --git a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/DatasetsAsyncClientTest.java b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/DatasetsAsyncClientTest.java index d39bf0aef747..fd04e6b57ffa 100644 --- a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/DatasetsAsyncClientTest.java +++ b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/DatasetsAsyncClientTest.java @@ -3,8 +3,11 @@ package com.azure.ai.projects; import com.azure.ai.projects.models.DatasetVersion; +import com.azure.ai.projects.models.FileDatasetVersion; +import com.azure.ai.projects.models.FolderDatasetVersion; import com.azure.ai.projects.models.PendingUploadRequest; import com.azure.core.http.HttpClient; +import com.azure.core.http.rest.RequestOptions; import com.azure.core.test.annotation.LiveOnly; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.params.ParameterizedTest; @@ -45,6 +48,28 @@ public void testCreateDatasetWithFile(HttpClient httpClient, AIProjectsServiceVe .verifyComplete(); } + @LiveOnly + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void testCreateDatasetWithFileWithResponse(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) + throws FileNotFoundException, URISyntaxException { + DatasetsAsyncClient datasetsAsyncClient = getDatasetsAsyncClient(httpClient, serviceVersion); + + String datasetName = "java-test-async-file-response-" + UUID.randomUUID().toString().substring(0, 8); + String datasetVersionString = "1"; + + Path filePath = getPath("product_info.md"); + + StepVerifier.create(datasetsAsyncClient.createDatasetWithFileWithResponse(datasetName, datasetVersionString, + filePath, new RequestOptions())).assertNext(response -> { + FileDatasetVersion createdDatasetVersion = response.getValue().toObject(FileDatasetVersion.class); + assertFileDatasetVersion(createdDatasetVersion, datasetName, datasetVersionString, null); + }).verifyComplete(); + + StepVerifier.create(datasetsAsyncClient.deleteDatasetVersion(datasetName, datasetVersionString)) + .verifyComplete(); + } + @LiveOnly @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") @@ -77,6 +102,42 @@ public void testCreateDatasetWithFolder(HttpClient httpClient, AIProjectsService } } + @LiveOnly + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void testCreateDatasetWithFolderWithResponse(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) + throws IOException { + DatasetsAsyncClient datasetsAsyncClient = getDatasetsAsyncClient(httpClient, serviceVersion); + + String datasetName = "java-test-async-folder-response-" + UUID.randomUUID().toString().substring(0, 8); + String datasetVersionString = "1"; + + Path tempFolder = Files.createTempDirectory("test-folder-dataset"); + Path file1 = tempFolder.resolve("file1.txt"); + Path file2 = tempFolder.resolve("file2.txt"); + Files.write(file1, "Test content 1".getBytes()); + Files.write(file2, "Test content 2".getBytes()); + + try { + StepVerifier + .create(datasetsAsyncClient.createDatasetWithFolderWithResponse(datasetName, datasetVersionString, + tempFolder, new RequestOptions())) + .assertNext(response -> { + FolderDatasetVersion createdDatasetVersion + = response.getValue().toObject(FolderDatasetVersion.class); + assertDatasetVersion(createdDatasetVersion, datasetName, datasetVersionString); + }) + .verifyComplete(); + + StepVerifier.create(datasetsAsyncClient.deleteDatasetVersion(datasetName, datasetVersionString)) + .verifyComplete(); + } finally { + Files.deleteIfExists(file1); + Files.deleteIfExists(file2); + Files.deleteIfExists(tempFolder); + } + } + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") public void testListDatasets(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) { diff --git a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/DatasetsClientTest.java b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/DatasetsClientTest.java index 33b4e4276806..7bcd4ee5f82b 100644 --- a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/DatasetsClientTest.java +++ b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/DatasetsClientTest.java @@ -8,6 +8,7 @@ import com.azure.ai.projects.models.PendingUploadRequest; import com.azure.ai.projects.models.PendingUploadResponse; import com.azure.core.http.HttpClient; +import com.azure.core.http.rest.RequestOptions; import com.azure.core.test.annotation.LiveOnly; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.params.ParameterizedTest; @@ -43,6 +44,28 @@ public void testCreateDatasetWithFile(HttpClient httpClient, AIProjectsServiceVe datasetsClient.deleteDatasetVersion(datasetName, datasetVersionString); } + @LiveOnly + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void testCreateDatasetWithFileWithResponse(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) + throws FileNotFoundException, URISyntaxException { + DatasetsClient datasetsClient = getDatasetsClient(httpClient, serviceVersion); + + String datasetName = "java-test-file-response-" + UUID.randomUUID().toString().substring(0, 8); + String datasetVersionString = "1"; + + Path filePath = getPath("product_info.md"); + + FileDatasetVersion createdDatasetVersion = datasetsClient + .createDatasetWithFileWithResponse(datasetName, datasetVersionString, filePath, new RequestOptions()) + .getValue() + .toObject(FileDatasetVersion.class); + + assertFileDatasetVersion(createdDatasetVersion, datasetName, datasetVersionString, null); + + datasetsClient.deleteDatasetVersion(datasetName, datasetVersionString); + } + @LiveOnly @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") @@ -73,6 +96,40 @@ public void testCreateDatasetWithFolder(HttpClient httpClient, AIProjectsService } } + @LiveOnly + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void testCreateDatasetWithFolderWithResponse(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) + throws IOException { + DatasetsClient datasetsClient = getDatasetsClient(httpClient, serviceVersion); + + String datasetName = "java-test-folder-response-" + UUID.randomUUID().toString().substring(0, 8); + String datasetVersionString = "1"; + + Path tempFolder = Files.createTempDirectory("test-folder-dataset"); + Path file1 = tempFolder.resolve("file1.txt"); + Path file2 = tempFolder.resolve("file2.txt"); + Files.write(file1, "Test content 1".getBytes()); + Files.write(file2, "Test content 2".getBytes()); + + try { + FolderDatasetVersion createdDatasetVersion + = datasetsClient + .createDatasetWithFolderWithResponse(datasetName, datasetVersionString, tempFolder, + new RequestOptions()) + .getValue() + .toObject(FolderDatasetVersion.class); + + assertDatasetVersion(createdDatasetVersion, datasetName, datasetVersionString); + + datasetsClient.deleteDatasetVersion(datasetName, datasetVersionString); + } finally { + Files.deleteIfExists(file1); + Files.deleteIfExists(file2); + Files.deleteIfExists(tempFolder); + } + } + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") public void testListDatasets(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) { From 78c68ff68ea3db69967dd247702548c7d3419c1f Mon Sep 17 00:00:00 2001 From: Jose Alvarez Date: Fri, 29 May 2026 09:17:40 +0200 Subject: [PATCH 64/74] Added missing getters for FileSearchTool filter types (#49296) --- .../ai/agents/models/FileSearchTool.java | 60 +++++++++++++++++++ .../FileSearchToolSerializationTests.java | 36 +++++++++++ 2 files changed, 96 insertions(+) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FileSearchTool.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FileSearchTool.java index b92f2abd3bb0..98eed1412e07 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FileSearchTool.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/FileSearchTool.java @@ -245,6 +245,21 @@ public FileSearchTool setComparisonFilter(ComparisonFilter filter) { return this; } + /** + * Gets the file search filters as an openai-java {@link ComparisonFilter}. + * + * @return the openai-java ComparisonFilter, or {@code null} if filters are not set or contain a different filter + * type. + */ + public ComparisonFilter getComparisonFilter() { + // AI Tooling: openai-java de-dup + Object filter = getOpenAIFileSearchFilter(); + if (filter instanceof ComparisonFilter) { + return (ComparisonFilter) filter; + } + return null; + } + /** * Sets the file search filters using an openai-java {@link CompoundFilter}. *

    @@ -260,6 +275,51 @@ public FileSearchTool setCompoundFilter(CompoundFilter filter) { return this; } + /** + * Gets the file search filters as an openai-java {@link CompoundFilter}. + * + * @return the openai-java CompoundFilter, or {@code null} if filters are not set or contain a different filter + * type. + */ + public CompoundFilter getCompoundFilter() { + // AI Tooling: openai-java de-dup + Object filter = getOpenAIFileSearchFilter(); + if (filter instanceof CompoundFilter) { + return (CompoundFilter) filter; + } + return null; + } + + private Object getOpenAIFileSearchFilter() { + // AI Tooling: openai-java de-dup + com.openai.models.responses.FileSearchTool.Filters filter = com.azure.ai.agents.implementation.OpenAIJsonHelper + .fromBinaryData(this.filters, com.openai.models.responses.FileSearchTool.Filters.class); + if (filter == null) { + return null; + } + if (filter.isComparisonFilter()) { + ComparisonFilter comparisonFilter = filter.asComparisonFilter(); + if (!comparisonFilter._key().isMissing() + && !comparisonFilter._key().isNull() + && !comparisonFilter._type().isMissing() + && !comparisonFilter._type().isNull() + && !comparisonFilter._value().isMissing() + && !comparisonFilter._value().isNull()) { + return comparisonFilter; + } + } + if (filter.isCompoundFilter()) { + CompoundFilter compoundFilter = filter.asCompoundFilter(); + if (!compoundFilter._type().isMissing() + && !compoundFilter._type().isNull() + && !compoundFilter._filters().isMissing() + && !compoundFilter._filters().isNull()) { + return compoundFilter; + } + } + return null; + } + /* * Optional user-defined name for this tool or configuration. */ diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/FileSearchToolSerializationTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/FileSearchToolSerializationTests.java index 2ccd190b80f0..16b06ee81284 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/FileSearchToolSerializationTests.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/models/FileSearchToolSerializationTests.java @@ -66,6 +66,8 @@ public void testMinimalDeserialization() throws IOException { assertNull(tool.getMaxResults()); assertNull(tool.getRankingOptions()); assertNull(tool.getFilters()); + assertNull(tool.getComparisonFilter()); + assertNull(tool.getCompoundFilter()); } @Test @@ -88,6 +90,18 @@ public void testDeserializationWithAllFields() throws IOException { assertNotNull(tool.getFilters()); } + @Test + public void testFilterGettersReturnNullForUnexpectedFilterShape() throws IOException { + String json + = "{\"type\":\"file_search\",\"vector_store_ids\":[\"vs_unknown\"]," + "\"filters\":{\"foo\":\"bar\"}}"; + + FileSearchTool tool = deserialize(json); + + assertNotNull(tool.getFilters()); + assertNull(tool.getComparisonFilter()); + assertNull(tool.getCompoundFilter()); + } + // ----------------------------------------------------------------------- // Round-trip // ----------------------------------------------------------------------- @@ -139,6 +153,12 @@ public void testSerializationWithComparisonFilter() throws IOException { FileSearchTool tool = new FileSearchTool(Collections.singletonList("vs_f1")).setComparisonFilter(filter); + ComparisonFilter retrievedFilter = tool.getComparisonFilter(); + assertNotNull(retrievedFilter); + assertEquals("category", retrievedFilter.key()); + assertEquals("science", retrievedFilter.value().asString()); + assertNull(tool.getCompoundFilter()); + String json = serialize(tool); assertTrue(json.contains("\"key\":\"category\""), "Missing key, got: " + json); @@ -163,6 +183,11 @@ public void testRoundTripWithComparisonFilter() throws IOException { assertEquals(original.getVectorStoreIds(), deserialized.getVectorStoreIds()); assertEquals(original.getMaxResults(), deserialized.getMaxResults()); assertNotNull(deserialized.getFilters()); + ComparisonFilter deserializedFilter = deserialized.getComparisonFilter(); + assertNotNull(deserializedFilter); + assertEquals("year", deserializedFilter.key()); + assertEquals(2020.0, deserializedFilter.value().asNumber()); + assertNull(deserialized.getCompoundFilter()); // Re-serialize and compare JSON String reserializedJson = serialize(deserialized); @@ -217,6 +242,12 @@ public void testSerializationWithCompoundFilter() throws IOException { FileSearchTool tool = new FileSearchTool(Collections.singletonList("vs_c1")).setCompoundFilter(filter); + CompoundFilter retrievedFilter = tool.getCompoundFilter(); + assertNotNull(retrievedFilter); + assertEquals(CompoundFilter.Type.AND, retrievedFilter.type()); + assertEquals(2, retrievedFilter.filters().size()); + assertNull(tool.getComparisonFilter()); + String json = serialize(tool); assertTrue(json.contains("\"key\":\"status\""), "Missing status key, got: " + json); @@ -241,6 +272,11 @@ public void testRoundTripWithCompoundFilter() throws IOException { FileSearchTool deserialized = deserialize(json); assertNotNull(deserialized.getFilters()); + CompoundFilter deserializedFilter = deserialized.getCompoundFilter(); + assertNotNull(deserializedFilter); + assertEquals(CompoundFilter.Type.OR, deserializedFilter.type()); + assertEquals(1, deserializedFilter.filters().size()); + assertNull(deserialized.getComparisonFilter()); String reserializedJson = serialize(deserialized); assertEquals(json, reserializedJson); From 2c41d3e19ac539b5606794e2e3fc8aaecc7fb7e8 Mon Sep 17 00:00:00 2001 From: Jose Alvarez Date: Fri, 29 May 2026 09:56:06 +0200 Subject: [PATCH 65/74] code re-gen projects --- .../projects/models/CustomRoutineTrigger.java | 18 ++++++++---------- .../ai/projects/models/GitHubIssueEvent.java | 8 ++++---- .../models/GitHubIssueRoutineTrigger.java | 18 ++++++++---------- 3 files changed, 20 insertions(+), 24 deletions(-) diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomRoutineTrigger.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomRoutineTrigger.java index bb348e16d3d4..fa1c9352306e 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomRoutineTrigger.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CustomRoutineTrigger.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Fluent; @@ -18,6 +17,7 @@ */ @Fluent public final class CustomRoutineTrigger extends RoutineTrigger { + /* * The trigger type. */ @@ -44,7 +44,7 @@ public final class CustomRoutineTrigger extends RoutineTrigger { /** * Creates an instance of CustomRoutineTrigger class. - * + * * @param provider the provider value to set. * @param parameters the parameters value to set. */ @@ -56,7 +56,7 @@ public CustomRoutineTrigger(String provider, Map parameters) /** * Get the type property: The trigger type. - * + * * @return the type value. */ @Generated @@ -67,7 +67,7 @@ public RoutineTriggerType getType() { /** * Get the provider property: The external provider that emits the custom event. - * + * * @return the provider value. */ @Generated @@ -77,7 +77,7 @@ public String getProvider() { /** * Get the eventName property: The provider-specific event name that fires the routine. - * + * * @return the eventName value. */ @Generated @@ -87,7 +87,7 @@ public String getEventName() { /** * Set the eventName property: The provider-specific event name that fires the routine. - * + * * @param eventName the eventName value to set. * @return the CustomRoutineTrigger object itself. */ @@ -99,7 +99,7 @@ public CustomRoutineTrigger setEventName(String eventName) { /** * Get the parameters property: Provider-specific trigger parameters. - * + * * @return the parameters value. */ @Generated @@ -129,7 +129,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of CustomRoutineTrigger from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of CustomRoutineTrigger if the JsonReader was pointing to an instance of it, or null if it * was pointing to JSON null. @@ -146,7 +146,6 @@ public static CustomRoutineTrigger fromJson(JsonReader jsonReader) throws IOExce while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("provider".equals(fieldName)) { provider = reader.getString(); } else if ("parameters".equals(fieldName)) { @@ -163,7 +162,6 @@ public static CustomRoutineTrigger fromJson(JsonReader jsonReader) throws IOExce CustomRoutineTrigger deserializedCustomRoutineTrigger = new CustomRoutineTrigger(provider, parameters); deserializedCustomRoutineTrigger.type = type; deserializedCustomRoutineTrigger.eventName = eventName; - return deserializedCustomRoutineTrigger; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueEvent.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueEvent.java index f904ca62cb5a..0833cc634234 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueEvent.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/GitHubIssueEvent.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -12,6 +11,7 @@ * Known GitHub issue events that can fire a routine. */ public final class GitHubIssueEvent extends ExpandableStringEnum { + /** * The routine fires when a GitHub issue is opened. */ @@ -26,7 +26,7 @@ public final class GitHubIssueEvent extends ExpandableStringEnum Date: Fri, 29 May 2026 18:32:28 +0200 Subject: [PATCH 66/74] README and changelog updates (#49310) --- sdk/ai/azure-ai-agents/CHANGELOG.md | 27 +++++-- sdk/ai/azure-ai-agents/README.md | 79 +++++++++++++++++-- sdk/ai/azure-ai-projects/CHANGELOG.md | 17 +++- sdk/ai/azure-ai-projects/README.md | 16 +++- .../com/azure/ai/projects/ReadmeSamples.java | 3 + 5 files changed, 127 insertions(+), 15 deletions(-) diff --git a/sdk/ai/azure-ai-agents/CHANGELOG.md b/sdk/ai/azure-ai-agents/CHANGELOG.md index e6104b0c2ae6..5377b8ee71dc 100644 --- a/sdk/ai/azure-ai-agents/CHANGELOG.md +++ b/sdk/ai/azure-ai-agents/CHANGELOG.md @@ -1,22 +1,39 @@ # Release History -## 2.1.0 (Unreleased) +## 2.1.0 (2026-05-29) ### Features Added - Added protocol-style methods on `ResponsesClient` and `ResponsesAsyncClient` that accept a raw JSON request body (`BinaryData`) and a `com.openai.core.RequestOptions`, and return the openai-java raw HTTP response. These mirror the existing `createAzureResponse` and `createStreamingAzureResponse` typed surface: `createResponseWithResponse` (returns `HttpResponseFor`) and `createResponseStreamWithResponse` (returns `HttpResponseFor>`). They delegate to the underlying openai-java `ResponseService.withRawResponse()` surface and continue to flow through the Azure HTTP pipeline. - -### Other Changes - -- Enabled `ResponsesTests` and `ResponsesAsyncTests` (previously `@Disabled`) with create/retrieve/delete/input-items and background-cancel coverage for the typed (`ResponseService` / `ResponseServiceAsync`) surface, plus coverage for the new protocol-method surface. Recordings published to `Azure/azure-sdk-assets` and referenced from `assets.json`. +- Added preview support for external agents via `ExternalAgentDefinition`, `AgentKind.EXTERNAL`, and `AgentDefinitionOptInKeys.EXTERNAL_AGENTS_V1_PREVIEW`. +- Added preview code-based hosted agent operations on `AgentsClient` and `AgentsAsyncClient`, including `createAgentVersionFromCode`, `updateAgentFromCode`, and `downloadAgentCode`, plus related code package models such as `CreateAgentVersionFromCodeContent`, `CodeFileDetails`, and `CodeDependencyResolution`. `CodeConfiguration` now exposes the service-computed code package hash via `getContentSha256()`. +- Added preview agent optimization job and candidate management operations on `AgentsClient` and `AgentsAsyncClient`, including creating, listing, retrieving, canceling, and deleting optimization jobs, listing and inspecting candidates, downloading candidate files, and promoting candidates. +- Added `stopSession` and `stopSessionWithResponse` to stop hosted-agent sessions. +- Added `force` query parameter support for hosted-agent `deleteAgentWithResponse` and `deleteAgentVersionWithResponse` requests through `RequestOptions`, allowing active sessions to be cascade-deleted. +- Added individual memory item operations to `MemoryStoresClient` and `MemoryStoresAsyncClient`: `createMemory`, `updateMemory`, `listMemories`, `getMemory`, and `deleteMemory`, with new `ListMemoriesOptions`, `DeleteMemoryResponse`, and `MemoryItemKind.PROCEDURAL` support. +- Added new preview tools `FabricIqPreviewTool` and `ToolboxSearchPreviewTool`, plus related tool call/output models for Azure tools. +- Added optional per-tool configuration via `ToolConfig` and `toolConfigs` accessors on supported tool classes. +- Added `getComparisonFilter()` and `getCompoundFilter()` convenience getters on `FileSearchTool` for retrieving OpenAI filter types. +- Added new feature-flag values, including `AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW`, `AgentDefinitionOptInKeys.EXTERNAL_AGENTS_V1_PREVIEW`, and `FoundryFeaturesOptInKeys.AGENTS_OPTIMIZATION_V1_PREVIEW`. +- Added hosted-agent, Fabric IQ, Toolbox Search, and async toolbox samples. ### Breaking Changes +- `AgentEndpoint` renamed to `AgentEndpointConfig`. +- Session file listing methods on `AgentSessionFilesClient` and `AgentSessionFilesAsyncClient` were renamed from `getSessionFiles` to `listSessionFiles` and now return paged `SessionDirectoryEntry` results. `SessionDirectoryListResponse` was removed. +- Hosted-agent session methods no longer take a required `isolationKey` argument. Use overloads that accept the optional `userIsolationKey` value, or set the `x-ms-user-isolation-key` header through `RequestOptions`. +- `AgentDefinitionOptInKeys.CONTAINER_AGENTS_V1_PREVIEW` was removed. Use the applicable hosted-agent, code-agent, agent-endpoint, workflow-agent, or external-agent opt-in key instead. +- `HostedAgentDefinition` no longer exposes top-level `image` or `containerProtocolVersions` accessors. Use `ContainerConfiguration` for container images and `protocolVersions` for ingress protocol configuration. +- `CodeConfiguration` constructor now requires `CodeDependencyResolution` in addition to runtime and entry point. +- `WorkIqPreviewTool` now takes the Work IQ project connection ID directly. `WorkIQPreviewToolParameters` was removed. + ### Bugs Fixed ### Other Changes +- Enabled `ResponsesTests` and `ResponsesAsyncTests` (previously `@Disabled`) with create/retrieve/delete/input-items and background-cancel coverage for the typed (`ResponseService` / `ResponseServiceAsync`) surface, plus coverage for the new protocol-method surface. Recordings published to `Azure/azure-sdk-assets` and referenced from `assets.json`. - Re-enabled `SessionLogSyncTest` and `SessionLogAsyncTest`; both tests are recordable via `@RecordWithoutRequestBody` and run live against the configured Foundry project. +- Regenerated client from the updated TypeSpec specification. ## 2.1.0-beta.1 (2026-05-12) diff --git a/sdk/ai/azure-ai-agents/README.md b/sdk/ai/azure-ai-agents/README.md index 5224cc181536..2bf85ad49d3b 100644 --- a/sdk/ai/azure-ai-agents/README.md +++ b/sdk/ai/azure-ai-agents/README.md @@ -57,9 +57,9 @@ AgentsAsyncClient agentsAsyncClient = new AgentsClientBuilder() ``` The Agents client library has the following sub-clients which group the different operations that can be performed: -- `AgentsClient` / `AgentsAsyncClient`: Perform operations related to agents, such as creating, retrieving, updating, and deleting agents. Also includes agent-session operations (`createSession`, `getSession`, `deleteSession`, `listSessions`, `getSessionLogStream`, `getSessionLogStreamWithResponse`). +- `AgentsClient` / `AgentsAsyncClient`: Perform operations related to agents, such as creating, retrieving, updating, and deleting agents. Also includes hosted-agent sessions, code package operations and preview agent optimization operations. - `ResponsesClient` / `ResponsesAsyncClient`: Handle responses operations. See the [OpenAI's Responses API documentation][openai_responses_api_docs] for more information. -- `MemoryStoresClient` / `MemoryStoresAsyncClient` **(preview)**: Manage memory stores for agents. This operation group requires the `MemoryStores=V1Preview` feature opt-in flag and is automatically set by the SDK on every request. +- `MemoryStoresClient` / `MemoryStoresAsyncClient` **(preview)**: Manage memory stores and individual memory items for agents. This operation group requires the `MemoryStores=V1Preview` feature opt-in flag and is automatically set by the SDK on every request. - `ToolboxesClient` / `ToolboxesAsyncClient` **(preview)**: Manage toolboxes and toolbox versions. This operation group requires the `Toolboxes=V1Preview` feature opt-in flag and is automatically set by the SDK on every request. - `AgentSessionFilesClient` / `AgentSessionFilesAsyncClient` **(preview)**: Work with files in an agent session, including uploading, downloading, listing, and deleting session files. @@ -121,21 +121,25 @@ The SDK supports a variety of tools that can be attached to agent definitions. S | `BingCustomSearchPreviewTool` | Bing custom search | | `BrowserAutomationPreviewTool` | Browser automation | | `ComputerUsePreviewTool` | Computer use | +| `FabricIqPreviewTool` | Fabric IQ | | `McpTool` | Model Context Protocol (MCP) | | `MemorySearchPreviewTool` | Memory search | | `MicrosoftFabricPreviewTool` | Microsoft Fabric | | `SharepointPreviewTool` | SharePoint grounding | +| `ToolboxSearchPreviewTool` | Toolbox search | | `WebSearchPreviewTool` | Web search | | `WorkIqPreviewTool` | Work IQ | +Supported tool classes may also expose optional `name`, `description`, and `toolConfigs` properties for user-defined labels and per-tool configuration. + ### Experimental features and opt-in flags Some features require an opt-in via the `Foundry-Features` HTTP header. The SDK provides two enums for these flags: -- **`AgentDefinitionOptInKeys`** — Used when creating or updating agents. Passed as a parameter to `createAgent`, `updateAgent`, `createAgentVersion`, and related methods. Available keys: `HOSTED_AGENTS_V1_PREVIEW`, `WORKFLOW_AGENTS_V1_PREVIEW`, `CONTAINER_AGENTS_V1_PREVIEW`, `AGENT_ENDPOINT_V1_PREVIEW`. -- **`FoundryFeaturesOptInKeys`** — Defines all known opt-in keys, including: `EVALUATIONS_V1_PREVIEW`, `SCHEDULES_V1_PREVIEW`, `RED_TEAMS_V1_PREVIEW`, `INSIGHTS_V1_PREVIEW`, `MEMORY_STORES_V1_PREVIEW`, `TOOLBOXES_V1_PREVIEW`, `SKILLS_V1_PREVIEW`. +- **`AgentDefinitionOptInKeys`** — Used when creating or updating agents. Passed as a parameter to `createAgent`, `updateAgent`, `createAgentVersion`, and related methods. Available keys: `HOSTED_AGENTS_V1_PREVIEW`, `WORKFLOW_AGENTS_V1_PREVIEW`, `AGENT_ENDPOINT_V1_PREVIEW`, `CODE_AGENTS_V1_PREVIEW`, `EXTERNAL_AGENTS_V1_PREVIEW`. +- **`FoundryFeaturesOptInKeys`** — Defines all known opt-in keys, including: `EVALUATIONS_V1_PREVIEW`, `SCHEDULES_V1_PREVIEW`, `RED_TEAMS_V1_PREVIEW`, `INSIGHTS_V1_PREVIEW`, `MEMORY_STORES_V1_PREVIEW`, `ROUTINES_V1_PREVIEW`, `TOOLBOXES_V1_PREVIEW`, `SKILLS_V1_PREVIEW`, `DATA_GENERATION_JOBS_V1_PREVIEW`, `MODELS_V1_PREVIEW`, `AGENTS_OPTIMIZATION_V1_PREVIEW`. -> **Note:** The `MemoryStoresClient` automatically sets the `MemoryStores=V1Preview` opt-in flag on every request. The `ToolboxesClient` automatically sets the `Toolboxes=V1Preview` opt-in flag on every request. +> **Note:** The `MemoryStoresClient` automatically sets the `MemoryStores=V1Preview` opt-in flag on every request. The `ToolboxesClient` automatically sets the `Toolboxes=V1Preview` opt-in flag on every request. Agent optimization methods accept `FoundryFeaturesOptInKeys.AGENTS_OPTIMIZATION_V1_PREVIEW`; code-based hosted agents and external agents use the corresponding `AgentDefinitionOptInKeys` values. ```java // OpenAI SDK ResponseService accessed from ResponsesClient @@ -147,6 +151,23 @@ OpenAIClient openAIClient = builder.buildOpenAIClient(); ConversationService conversationService = openAIClient.conversations(); ``` +### Preview hosted-agent capabilities + +Hosted-agent previews are exposed on `AgentsClient` and `AgentsAsyncClient`. The following capabilities require the corresponding opt-in flag when you create or modify preview resources: + +| Capability | APIs and models | Opt-in flag | +|---|---|---| +| Code-based hosted agents | `createAgentVersionFromCode`, `updateAgentFromCode`, `downloadAgentCode`, `CodeConfiguration`, `CodeDependencyResolution` | `AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW` | +| External agents | `ExternalAgentDefinition`, `AgentKind.EXTERNAL` | `AgentDefinitionOptInKeys.EXTERNAL_AGENTS_V1_PREVIEW` | +| Agent endpoints and sessions | `AgentEndpointConfig`, `createSession`, `listSessions`, `stopSession`, `AgentSessionFilesClient` | `AgentDefinitionOptInKeys.AGENT_ENDPOINT_V1_PREVIEW` | +| Agent optimization | `createOptimizationJob`, `listOptimizationJobs`, `listOptimizationCandidates`, `promoteOptimizationCandidate` | `FoundryFeaturesOptInKeys.AGENTS_OPTIMIZATION_V1_PREVIEW` | + +For code-based hosted agents, `CodeConfiguration.getContentSha256()` returns the service-computed SHA-256 hash of the uploaded code package. Session APIs that need per-user isolation can use overloads that accept `userIsolationKey`, or set the `x-ms-user-isolation-key` header through `RequestOptions`. To delete hosted agents or agent versions that still have active sessions, add the `force=true` query parameter through `RequestOptions` when calling the corresponding `deleteAgentWithResponse` or `deleteAgentVersionWithResponse` method. + +### Memory item management + +`MemoryStoresClient` and `MemoryStoresAsyncClient` manage memory stores and individual memory items. In addition to store-level operations, use `createMemory`, `updateMemory`, `listMemories`, `getMemory`, and `deleteMemory` to manage individual memories. `ListMemoriesOptions` supports filtering by scope and `MemoryItemKind`, including `MemoryItemKind.PROCEDURAL`. + ### Using OpenAI's official library If you prefer using the [OpenAI official Java client library][openai_java_sdk] instead, you can do so by including that dependency in your project instead and following the instructions in the linked repository. Additionally, you will have to set up your `OpenAIClient` as shown below: @@ -492,6 +513,22 @@ See the full sample in [FabricSync.java](https://github.com/Azure/azure-sdk-for- --- +##### **Fabric IQ (Preview)** + +Connect agents to Fabric IQ project connections for enterprise data grounding: + +```java com.azure.ai.agents.define_fabric_iq +FabricIqPreviewTool fabricIqTool = new FabricIqPreviewTool(fabricIqConnectionId) + .setServerLabel("fabric_iq") + .setRequireApproval("never") + .setName("fabric_iq_lookup") + .setDescription("Use FabricIQ to answer questions grounded in enterprise data."); +``` + +See the full sample in [FabricIQSync.java](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQSync.java). + +--- + ##### **Microsoft SharePoint (Preview)** ([documentation](https://learn.microsoft.com/azure/foundry/agents/how-to/tools/sharepoint?pivots=java)) Search through SharePoint documents for grounding: @@ -576,6 +613,38 @@ See the full sample in [OpenApiWithConnectionSync.java](https://github.com/Azure --- +#### Toolbox Tools + +Toolbox tools are defined in toolbox versions and managed through `ToolboxesClient` / `ToolboxesAsyncClient`. + +##### **Toolbox Search (Preview)** + +Use `ToolboxSearchPreviewTool` inside a toolbox version to let an agent search the available toolbox tools at runtime: + +```java com.azure.ai.agents.toolboxes.ToolboxSearchToolboxSample.createToolboxSearchToolbox +ToolboxSearchPreviewTool toolboxSearchTool = new ToolboxSearchPreviewTool() + .setName("search_tools") + .setDescription("Search over available toolbox tools at runtime."); + +ToolboxVersionDetails version = toolboxesClient.createToolboxVersion( + toolboxName, + Collections.singletonList(toolboxSearchTool), + "Toolbox version with a Toolbox Search preview tool.", + null, + null, + null); + +System.out.printf("Created toolbox: %s%n", version.getName()); +System.out.printf("Toolbox version: %s%n", version.getVersion()); +for (Tool tool : version.getTools()) { + System.out.printf("Tool type: %s%n", tool.getType()); +} +``` + +See the full sample in [ToolboxSearchToolboxSample.java](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxSearchToolboxSample.java). + +--- + ### Streaming responses The `ResponsesClient` and `ResponsesAsyncClient` support streaming, which allows you to process response events as they arrive rather than waiting for the full response. This is useful for displaying text to users in real time and observing tool execution progress. diff --git a/sdk/ai/azure-ai-projects/CHANGELOG.md b/sdk/ai/azure-ai-projects/CHANGELOG.md index db689bfb3570..4b69aa8b1765 100644 --- a/sdk/ai/azure-ai-projects/CHANGELOG.md +++ b/sdk/ai/azure-ai-projects/CHANGELOG.md @@ -1,15 +1,30 @@ # Release History -## 2.1.0 (Unreleased) +## 2.1.0 (2026-05-29) ### Features Added +- Added new preview `DataGenerationJobsClient` and `DataGenerationJobsAsyncClient` sub-clients for creating, retrieving, listing, canceling, and deleting data generation jobs, with related data generation source, output, token usage, and options models. +- Added new preview `ModelsClient` and `ModelsAsyncClient` sub-clients for registering and managing model weights as Foundry `ModelVersion` resources, including pending upload, asynchronous model-version creation, listing, retrieving, updating, deleting, and credential retrieval operations. +- Added new preview `RoutinesClient` and `RoutinesAsyncClient` sub-clients for creating or updating routines, retrieving, enabling, disabling, listing, deleting, listing runs, and dispatching routines, with related routine trigger, action, dispatch payload, and run models. +- Added evaluator generation job operations to `EvaluatorsClient` and `EvaluatorsAsyncClient`, including create, get, list, cancel, and delete operations, plus evaluator pending-upload and credential helper operations. +- Added versioned skill management on `SkillsClient` and `SkillsAsyncClient`, including `createSkillVersion`, `createSkillVersionFromFiles`, `listSkillVersions`, `getSkillVersion`, `getSkillContent`, `getSkillVersionContent`, and `deleteSkillVersion`. +- Added `EvaluationsHelper` and Azure evaluator model types, such as `TestingCriterionAzureAIEvaluator` and `GraderAzureAIEvaluator`, to adapt Azure evaluator definitions to OpenAI evaluation request types. +- Added protocol-style `WithResponse` overloads with `RequestOptions` for connection retrieval and dataset file/folder upload helpers. +- Added new feature-flag values to `FoundryFeaturesOptInKeys`: `ROUTINES_V1_PREVIEW` (`Routines=V1Preview`), `DATA_GENERATION_JOBS_V1_PREVIEW` (`DataGenerationJobs=V1Preview`), `MODELS_V1_PREVIEW` (`Models=V1Preview`), and `AGENTS_OPTIMIZATION_V1_PREVIEW` (`AgentsOptimization=V1Preview`). + ### Breaking Changes +- The Skills API is now versioned. `SkillDetails` was removed and replaced by `Skill` and `SkillVersion`. Use `createSkillVersion` instead of `createSkill`, `createSkillVersionFromFiles` instead of `createSkillFromPackage`, `getSkillContent`/`getSkillVersionContent` instead of `downloadSkill`, and `deleteSkillVersion` for deleting a specific skill version. `updateSkill` now updates the default version only. +- The `body` parameter on `EvaluationTaxonomiesClient.createEvaluationTaxonomy`, `EvaluationTaxonomiesClient.updateEvaluationTaxonomy`, and their async counterparts was renamed to `taxonomy`. + ### Bugs Fixed ### Other Changes +- Regenerated client from the updated TypeSpec specification. +- Added samples for data generation jobs, model management, evaluator helper usage, and packaged skill upload/download. + ## 2.1.0-beta.1 (2026-05-12) ### Features Added diff --git a/sdk/ai/azure-ai-projects/README.md b/sdk/ai/azure-ai-projects/README.md index aace8f13258c..6db388d1f46a 100644 --- a/sdk/ai/azure-ai-projects/README.md +++ b/sdk/ai/azure-ai-projects/README.md @@ -2,10 +2,14 @@ The AI Projects client library is part of the Azure AI Foundry SDK and provides easy access to resources in your Azure AI Foundry Project. Use it to: -* **Create and run Agents** using the separate package `com.azure.azure-ai-agents`. +* **Create and run Agents** using the separate package `com.azure:azure-ai-agents`. * **Enumerate AI Models** deployed to your Foundry Project using the `Deployments` operations. * **Enumerate connected Azure resources** in your Foundry project using the `Connections` operations. * **Upload documents and create Datasets** to reference them using the `Datasets` operations. +* **Generate datasets** for model, agent, evaluator, and traces scenarios using the preview `DataGenerationJobs` operations. +* **Register and manage model weights** as Foundry `ModelVersion` resources using the preview `Models` operations. +* **Create and dispatch routines** using the preview `Routines` operations. +* **Create and manage skills** using the preview `Skills` operations. * **Create and enumerate Search Indexes** using the `Indexes` operations. The client library uses a single service version `v1` of the AI Foundry [data plane REST APIs](https://aka.ms/azsdk/azure-ai-projects/ga-rest-api-reference). @@ -48,6 +52,7 @@ The Azure AI Foundry provides a centralized spot to manage your AI Foundry resou AIProjectClientBuilder builder = new AIProjectClientBuilder(); ConnectionsClient connectionsClient = builder.buildConnectionsClient(); +DataGenerationJobsClient dataGenerationJobsClient = builder.buildDataGenerationJobsClient(); DatasetsClient datasetsClient = builder.buildDatasetsClient(); DeploymentsClient deploymentsClient = builder.buildDeploymentsClient(); EvaluationRulesClient evaluationRulesClient = builder.buildEvaluationRulesClient(); @@ -55,7 +60,9 @@ EvaluationTaxonomiesClient evaluationTaxonomiesClient = builder.buildEvaluationT EvaluatorsClient evaluatorsClient = builder.buildEvaluatorsClient(); IndexesClient indexesClient = builder.buildIndexesClient(); InsightsClient insightsClient = builder.buildInsightsClient(); +ModelsClient modelsClient = builder.buildModelsClient(); RedTeamsClient redTeamsClient = builder.buildRedTeamsClient(); +RoutinesClient routinesClient = builder.buildRoutinesClient(); SchedulesClient schedulesClient = builder.buildSchedulesClient(); SkillsClient skillsClient = builder.buildSkillsClient(); ``` @@ -110,17 +117,18 @@ Several operation groups in the AI Projects client library are in **preview** an |---|---| | `EvaluatorsClient` | `Evaluations=V1Preview` | | `EvaluationTaxonomiesClient` | `Evaluations=V1Preview` | +| `ModelsClient` | `Models=V1Preview` | | `RedTeamsClient` | `RedTeams=V1Preview` | | `SchedulesClient` | `Schedules=V1Preview` | | `SkillsClient` | `Skills=V1Preview` | -The `EvaluationRulesClient` and `InsightsClient` also support the `Foundry-Features` header, but it is **not** automatically set. Instead, you can pass a `FoundryFeaturesOptInKeys` value when calling their methods (e.g., `generateInsight()`, `getInsight()`, `listInsights()`, or `createOrUpdateEvaluationRule()`). +The `DataGenerationJobsClient`, `RoutinesClient`, `EvaluationRulesClient`, and `InsightsClient` also support the `Foundry-Features` header, but it is **not** automatically set. Instead, you can pass a `FoundryFeaturesOptInKeys` value when calling methods that accept it (e.g., `FoundryFeaturesOptInKeys.DATA_GENERATION_JOBS_V1_PREVIEW`, `FoundryFeaturesOptInKeys.ROUTINES_V1_PREVIEW`, `generateInsight()`, `getInsight()`, `listInsights()`, or `createOrUpdateEvaluationRule()`). -The `FoundryFeaturesOptInKeys` enum defines all known opt-in keys: `EVALUATIONS_V1_PREVIEW`, `SCHEDULES_V1_PREVIEW`, `RED_TEAMS_V1_PREVIEW`, `INSIGHTS_V1_PREVIEW`, `MEMORY_STORES_V1_PREVIEW`, `TOOLBOXES_V1_PREVIEW`, `SKILLS_V1_PREVIEW`. +The `FoundryFeaturesOptInKeys` enum defines all known opt-in keys: `EVALUATIONS_V1_PREVIEW`, `SCHEDULES_V1_PREVIEW`, `RED_TEAMS_V1_PREVIEW`, `INSIGHTS_V1_PREVIEW`, `MEMORY_STORES_V1_PREVIEW`, `ROUTINES_V1_PREVIEW`, `TOOLBOXES_V1_PREVIEW`, `SKILLS_V1_PREVIEW`, `DATA_GENERATION_JOBS_V1_PREVIEW`, `MODELS_V1_PREVIEW`, `AGENTS_OPTIMIZATION_V1_PREVIEW`. ## Examples -The examples below show common operations for each AI Projects sub-client. For complete runnable samples, see the [package samples][package_samples]. +The examples below show common operations for core AI Projects sub-clients. For complete runnable samples, see the [package samples][package_samples]. Additional preview samples are available for data generation jobs (`DataGenerationJobsSample`, `DataGenerationJobsAsyncSample`, and `DataGenerationJobWithEvaluationSample`), model management (`ModelsSample` and `ModelsAsyncSample`), and packaged skills (`SkillsPackageSample` and `SkillsPackageAsyncSample`). ### Connections operations diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ReadmeSamples.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ReadmeSamples.java index 77d464d34f8d..e43df35f75d8 100644 --- a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ReadmeSamples.java +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ReadmeSamples.java @@ -26,6 +26,7 @@ public void readmeSamples() { AIProjectClientBuilder builder = new AIProjectClientBuilder(); ConnectionsClient connectionsClient = builder.buildConnectionsClient(); + DataGenerationJobsClient dataGenerationJobsClient = builder.buildDataGenerationJobsClient(); DatasetsClient datasetsClient = builder.buildDatasetsClient(); DeploymentsClient deploymentsClient = builder.buildDeploymentsClient(); EvaluationRulesClient evaluationRulesClient = builder.buildEvaluationRulesClient(); @@ -33,7 +34,9 @@ public void readmeSamples() { EvaluatorsClient evaluatorsClient = builder.buildEvaluatorsClient(); IndexesClient indexesClient = builder.buildIndexesClient(); InsightsClient insightsClient = builder.buildInsightsClient(); + ModelsClient modelsClient = builder.buildModelsClient(); RedTeamsClient redTeamsClient = builder.buildRedTeamsClient(); + RoutinesClient routinesClient = builder.buildRoutinesClient(); SchedulesClient schedulesClient = builder.buildSchedulesClient(); SkillsClient skillsClient = builder.buildSkillsClient(); // END: com.azure.ai.projects.clientInitialization From 1ec47ad5f1059a5c2849ccdda9ccd65b3f724e1b Mon Sep 17 00:00:00 2001 From: kaylieee Date: Fri, 29 May 2026 10:05:50 -0700 Subject: [PATCH 67/74] update deleteskill methods to return void --- .../azure/ai/projects/SkillsAsyncClient.java | 72 +++++++++++++++++-- .../com/azure/ai/projects/SkillsClient.java | 69 ++++++++++++++++-- .../projects/implementation/SkillsImpl.java | 38 +++++----- .../META-INF/azure-ai-projects_metadata.json | 2 +- sdk/ai/azure-ai-projects/tsp-location.yaml | 2 +- 5 files changed, 151 insertions(+), 32 deletions(-) diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java index c7503178bba8..b5f4199381ba 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java @@ -26,6 +26,7 @@ import com.azure.core.http.rest.PagedResponseBase; import com.azure.core.http.rest.RequestOptions; import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.SimpleResponse; import com.azure.core.util.BinaryData; import com.azure.core.util.FluxUtil; import java.util.Objects; @@ -179,7 +180,7 @@ public Mono> updateSkillWithResponse(String name, BinaryDat /** * Deletes a skill. *

    Response Body Schema

    - * + * *
          * {@code
          * {
    @@ -198,10 +199,10 @@ public Mono> updateSkillWithResponse(String name, BinaryDat
          * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
          * @return a deleted skill along with {@link Response} on successful completion of {@link Mono}.
          */
    -    @Generated
         @ServiceMethod(returns = ReturnType.SINGLE)
    -    public Mono> deleteSkillWithResponse(String name, RequestOptions requestOptions) {
    -        return this.serviceClient.deleteSkillWithResponseAsync(name, requestOptions);
    +    public Mono> deleteSkillWithResponse(String name, RequestOptions requestOptions) {
    +        return internalDeleteSkillWithResponse(name, requestOptions)
    +            .map(response -> new SimpleResponse<>(response, null));
         }
     
         /**
    @@ -577,9 +578,9 @@ public Mono> getSkillVersionContentWithResponse(String name
          */
         @Generated
         @ServiceMethod(returns = ReturnType.SINGLE)
    -    public Mono> deleteSkillVersionWithResponse(String name, String version,
    +    Mono> internalDeleteSkillVersionWithResponse(String name, String version,
             RequestOptions requestOptions) {
    -        return this.serviceClient.deleteSkillVersionWithResponseAsync(name, version, requestOptions);
    +        return this.serviceClient.internalDeleteSkillVersionWithResponseAsync(name, version, requestOptions);
         }
     
         /**
    @@ -838,6 +839,37 @@ public Mono getSkillVersionContent(String name, String version) {
             return getSkillVersionContentWithResponse(name, version, requestOptions).flatMap(FluxUtil::toMono);
         }
     
    +    /**
    +     * Delete a specific version of a skill.
    +     * 

    Response Body Schema

    + * + *
    +     * {@code
    +     * {
    +     *     id: String (Required)
    +     *     name: String (Required)
    +     *     deleted: boolean (Required)
    +     *     version: String (Required)
    +     * }
    +     * }
    +     * 
    + * + * @param name The name of the skill. + * @param version The version identifier to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteSkillVersionWithResponse(String name, String version, + RequestOptions requestOptions) { + return internalDeleteSkillVersionWithResponse(name, version, requestOptions) + .map(response -> new SimpleResponse<>(response, null)); + } + /** * Delete a specific version of a skill. * @@ -857,4 +889,32 @@ public Mono deleteSkillVersion(String name, String version) { RequestOptions requestOptions = new RequestOptions(); return deleteSkillVersionWithResponse(name, version, requestOptions).then(); } + + /** + * Deletes a skill. + *

    Response Body Schema

    + * + *
    +     * {@code
    +     * {
    +     *     id: String (Required)
    +     *     name: String (Required)
    +     *     deleted: boolean (Required)
    +     * }
    +     * }
    +     * 
    + * + * @param name The unique name of the skill. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a deleted skill along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> internalDeleteSkillWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.internalDeleteSkillWithResponseAsync(name, requestOptions); + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java index 8346fb049629..1b8371b110aa 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java @@ -24,6 +24,7 @@ import com.azure.core.http.rest.PagedIterable; import com.azure.core.http.rest.RequestOptions; import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.SimpleResponse; import com.azure.core.util.BinaryData; import java.util.Objects; import java.util.stream.Collectors; @@ -174,7 +175,7 @@ public Response updateSkillWithResponse(String name, BinaryData upda /** * Deletes a skill. *

    Response Body Schema

    - * + * *
          * {@code
          * {
    @@ -193,10 +194,9 @@ public Response updateSkillWithResponse(String name, BinaryData upda
          * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
          * @return a deleted skill along with {@link Response}.
          */
    -    @Generated
         @ServiceMethod(returns = ReturnType.SINGLE)
    -    public Response deleteSkillWithResponse(String name, RequestOptions requestOptions) {
    -        return this.serviceClient.deleteSkillWithResponse(name, requestOptions);
    +    public Response deleteSkillWithResponse(String name, RequestOptions requestOptions) {
    +        return new SimpleResponse<>(internalDeleteSkillWithResponse(name, requestOptions), null);
         }
     
         /**
    @@ -546,9 +546,9 @@ public Response getSkillVersionContentWithResponse(String name, Stri
          */
         @Generated
         @ServiceMethod(returns = ReturnType.SINGLE)
    -    public Response deleteSkillVersionWithResponse(String name, String version,
    +    Response internalDeleteSkillVersionWithResponse(String name, String version,
             RequestOptions requestOptions) {
    -        return this.serviceClient.deleteSkillVersionWithResponse(name, version, requestOptions);
    +        return this.serviceClient.internalDeleteSkillVersionWithResponse(name, version, requestOptions);
         }
     
         /**
    @@ -781,6 +781,35 @@ public BinaryData getSkillVersionContent(String name, String version) {
             return getSkillVersionContentWithResponse(name, version, requestOptions).getValue();
         }
     
    +    /**
    +     * Delete a specific version of a skill.
    +     * 

    Response Body Schema

    + * + *
    +     * {@code
    +     * {
    +     *     id: String (Required)
    +     *     name: String (Required)
    +     *     deleted: boolean (Required)
    +     *     version: String (Required)
    +     * }
    +     * }
    +     * 
    + * + * @param name The name of the skill. + * @param version The version identifier to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteSkillVersionWithResponse(String name, String version, RequestOptions requestOptions) { + return new SimpleResponse<>(internalDeleteSkillVersionWithResponse(name, version, requestOptions), null); + } + /** * Delete a specific version of a skill. * @@ -799,4 +828,32 @@ public void deleteSkillVersion(String name, String version) { RequestOptions requestOptions = new RequestOptions(); deleteSkillVersionWithResponse(name, version, requestOptions); } + + /** + * Deletes a skill. + *

    Response Body Schema

    + * + *
    +     * {@code
    +     * {
    +     *     id: String (Required)
    +     *     name: String (Required)
    +     *     deleted: boolean (Required)
    +     * }
    +     * }
    +     * 
    + * + * @param name The unique name of the skill. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a deleted skill along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Response internalDeleteSkillWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.internalDeleteSkillWithResponse(name, requestOptions); + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java index ef0ba6f9d698..9cad493cd985 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java @@ -148,9 +148,10 @@ Response updateSkillSync(@HostParam("endpoint") String endpoint, @Pa @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> deleteSkill(@HostParam("endpoint") String endpoint, @PathParam("name") String name, - @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + Mono> internalDeleteSkill(@HostParam("endpoint") String endpoint, + @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); @Delete("/skills/{name}") @ExpectedResponses({ 200 }) @@ -158,9 +159,10 @@ Mono> deleteSkill(@HostParam("endpoint") String endpoint, @ @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response deleteSkillSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, - @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + Response internalDeleteSkillSync(@HostParam("endpoint") String endpoint, + @PathParam("name") String name, @HeaderParam("Foundry-Features") String foundryFeatures, + @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); @Post("/skills/{name}/versions") @ExpectedResponses({ 200 }) @@ -305,7 +307,7 @@ Response getSkillVersionContentSync(@HostParam("endpoint") String en @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> deleteSkillVersion(@HostParam("endpoint") String endpoint, + Mono> internalDeleteSkillVersion(@HostParam("endpoint") String endpoint, @PathParam("name") String name, @PathParam("version") String version, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -316,7 +318,7 @@ Mono> deleteSkillVersion(@HostParam("endpoint") String endp @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response deleteSkillVersionSync(@HostParam("endpoint") String endpoint, + Response internalDeleteSkillVersionSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, @PathParam("version") String version, @HeaderParam("Foundry-Features") String foundryFeatures, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -713,11 +715,11 @@ public Response updateSkillWithResponse(String name, BinaryData upda * @return a deleted skill along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteSkillWithResponseAsync(String name, RequestOptions requestOptions) { + public Mono> internalDeleteSkillWithResponseAsync(String name, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.deleteSkill(this.client.getEndpoint(), name, foundryFeatures, - this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.internalDeleteSkill(this.client.getEndpoint(), name, + foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } /** @@ -743,10 +745,10 @@ public Mono> deleteSkillWithResponseAsync(String name, Requ * @return a deleted skill along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteSkillWithResponse(String name, RequestOptions requestOptions) { + public Response internalDeleteSkillWithResponse(String name, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String accept = "application/json"; - return service.deleteSkillSync(this.client.getEndpoint(), name, foundryFeatures, + return service.internalDeleteSkillSync(this.client.getEndpoint(), name, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } @@ -1357,12 +1359,12 @@ public Response getSkillVersionContentWithResponse(String name, Stri * @return a deleted skill version along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteSkillVersionWithResponseAsync(String name, String version, + public Mono> internalDeleteSkillVersionWithResponseAsync(String name, String version, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.deleteSkillVersion(this.client.getEndpoint(), name, version, - foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.internalDeleteSkillVersion(this.client.getEndpoint(), name, + version, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } /** @@ -1390,11 +1392,11 @@ public Mono> deleteSkillVersionWithResponseAsync(String nam * @return a deleted skill version along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteSkillVersionWithResponse(String name, String version, + public Response internalDeleteSkillVersionWithResponse(String name, String version, RequestOptions requestOptions) { final String foundryFeatures = "Skills=V1Preview"; final String accept = "application/json"; - return service.deleteSkillVersionSync(this.client.getEndpoint(), name, version, foundryFeatures, + return service.internalDeleteSkillVersionSync(this.client.getEndpoint(), name, version, foundryFeatures, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } diff --git a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json index c6a275d34e5a..b85936c2c871 100644 --- a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json +++ b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"790ae567b240","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.CustomRoutineTrigger":"Azure.AI.Projects.CustomRoutineTrigger","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FilesFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.GitHubIssueEvent":"Azure.AI.Projects.GitHubIssueEvent","com.azure.ai.projects.models.GitHubIssueRoutineTrigger":"Azure.AI.Projects.GitHubIssueRoutineTrigger","com.azure.ai.projects.models.GraderAzureAIEvaluator":"Azure.AI.Projects.GraderAzureAIEvaluator","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator":"Azure.AI.Projects.TestingCriterionAzureAIEvaluator","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/CustomRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FilesFileDetails.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/GitHubIssueEvent.java","src/main/java/com/azure/ai/projects/models/GitHubIssueRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"8f82feca3a1b","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.CustomRoutineTrigger":"Azure.AI.Projects.CustomRoutineTrigger","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FilesFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.GitHubIssueEvent":"Azure.AI.Projects.GitHubIssueEvent","com.azure.ai.projects.models.GitHubIssueRoutineTrigger":"Azure.AI.Projects.GitHubIssueRoutineTrigger","com.azure.ai.projects.models.GraderAzureAIEvaluator":"Azure.AI.Projects.GraderAzureAIEvaluator","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator":"Azure.AI.Projects.TestingCriterionAzureAIEvaluator","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/CustomRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FilesFileDetails.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/GitHubIssueEvent.java","src/main/java/com/azure/ai/projects/models/GitHubIssueRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml b/sdk/ai/azure-ai-projects/tsp-location.yaml index 61f40737d7ab..ed66df4b5f74 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: 210d53eeda47a249fcf2d8433d29b711083b506f +commit: 1fa42ec532ea0a465b5fa04bcdee5542ba1eb9fe repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From d5ff10f18e41693d1b52d7c31dbe484d17a07e6b Mon Sep 17 00:00:00 2001 From: kaylieee Date: Fri, 29 May 2026 10:27:51 -0700 Subject: [PATCH 68/74] deletememory return void customization --- .../ai/agents/MemoryStoresAsyncClient.java | 32 +++-- .../azure/ai/agents/MemoryStoresClient.java | 29 ++++- .../implementation/MemoryStoresImpl.java | 15 ++- .../agents/models/DeleteMemoryResponse.java | 121 ------------------ .../META-INF/azure-ai-agents_metadata.json | 2 +- sdk/ai/azure-ai-agents/tsp-location.yaml | 2 +- 6 files changed, 56 insertions(+), 145 deletions(-) delete mode 100644 sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java index 40ddb590fd0c..309f09e57d9e 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java @@ -12,7 +12,6 @@ import com.azure.ai.agents.implementation.models.UpdateMemoriesRequest; import com.azure.ai.agents.implementation.models.UpdateMemoryRequest; import com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest; -import com.azure.ai.agents.models.DeleteMemoryResponse; import com.azure.ai.agents.models.ListMemoriesOptions; import com.azure.ai.agents.models.MemoryItem; import com.azure.ai.agents.models.MemoryItemKind; @@ -1231,9 +1230,9 @@ public Mono> getMemoryWithResponse(String name, String memo */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteMemoryWithResponse(String name, String memoryId, + Mono> internalDeleteMemoryWithResponse(String name, String memoryId, RequestOptions requestOptions) { - return this.serviceClient.deleteMemoryWithResponseAsync(name, memoryId, requestOptions); + return this.serviceClient.internalDeleteMemoryWithResponseAsync(name, memoryId, requestOptions); } /** @@ -1317,6 +1316,7 @@ public Mono getMemory(String name, String memoryId) { * * @param name The name of the memory store. * @param memoryId The ID of the memory item to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1325,13 +1325,29 @@ public Mono getMemory(String name, String memoryId) { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return response for deleting a memory item from a memory store on successful completion of {@link Mono}. */ - @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteMemory(String name, String memoryId) { - // Generated convenience method for deleteMemoryWithResponse + public Mono> deleteMemoryWithResponse(String name, String memoryId, RequestOptions requestOptions) { + return internalDeleteMemoryWithResponse(name, memoryId, requestOptions) + .map(response -> new SimpleResponse<>(response, null)); + } + + /** + * Delete a memory item from a memory store. + * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a {@link Mono} that completes when the memory item is deleted. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteMemory(String name, String memoryId) { RequestOptions requestOptions = new RequestOptions(); - return deleteMemoryWithResponse(name, memoryId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(DeleteMemoryResponse.class)); + return deleteMemoryWithResponse(name, memoryId, requestOptions).then(); } /** diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresClient.java index 714d679580ad..bdb5a70803dc 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/MemoryStoresClient.java @@ -12,7 +12,6 @@ import com.azure.ai.agents.implementation.models.UpdateMemoriesRequest; import com.azure.ai.agents.implementation.models.UpdateMemoryRequest; import com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest; -import com.azure.ai.agents.models.DeleteMemoryResponse; import com.azure.ai.agents.models.ListMemoriesOptions; import com.azure.ai.agents.models.MemoryItem; import com.azure.ai.agents.models.MemoryItemKind; @@ -1193,8 +1192,8 @@ public Response getMemoryWithResponse(String name, String memoryId, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteMemoryWithResponse(String name, String memoryId, RequestOptions requestOptions) { - return this.serviceClient.deleteMemoryWithResponse(name, memoryId, requestOptions); + Response internalDeleteMemoryWithResponse(String name, String memoryId, RequestOptions requestOptions) { + return this.serviceClient.internalDeleteMemoryWithResponse(name, memoryId, requestOptions); } /** @@ -1274,6 +1273,7 @@ public MemoryItem getMemory(String name, String memoryId) { * * @param name The name of the memory store. * @param memoryId The ID of the memory item to delete. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1282,12 +1282,27 @@ public MemoryItem getMemory(String name, String memoryId) { * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return response for deleting a memory item from a memory store. */ - @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public DeleteMemoryResponse deleteMemory(String name, String memoryId) { - // Generated convenience method for deleteMemoryWithResponse + public Response deleteMemoryWithResponse(String name, String memoryId, RequestOptions requestOptions) { + return new SimpleResponse<>(internalDeleteMemoryWithResponse(name, memoryId, requestOptions), null); + } + + /** + * Delete a memory item from a memory store. + * + * @param name The name of the memory store. + * @param memoryId The ID of the memory item to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void deleteMemory(String name, String memoryId) { RequestOptions requestOptions = new RequestOptions(); - return deleteMemoryWithResponse(name, memoryId, requestOptions).getValue().toObject(DeleteMemoryResponse.class); + deleteMemoryWithResponse(name, memoryId, requestOptions); } /** diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java index 435b5229ecb4..0f02c67b8e02 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java @@ -394,7 +394,7 @@ Response listMemoriesSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> deleteMemory(@HostParam("endpoint") String endpoint, + Mono> internalDeleteMemory(@HostParam("endpoint") String endpoint, @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name, @PathParam("memory_id") String memoryId, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -405,7 +405,7 @@ Mono> deleteMemory(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response deleteMemorySync(@HostParam("endpoint") String endpoint, + Response internalDeleteMemorySync(@HostParam("endpoint") String endpoint, @HeaderParam("Foundry-Features") String foundryFeatures, @PathParam("name") String name, @PathParam("memory_id") String memoryId, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -2512,12 +2512,12 @@ public PagedIterable listMemories(String name, BinaryData listMemori * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteMemoryWithResponseAsync(String name, String memoryId, + public Mono> internalDeleteMemoryWithResponseAsync(String name, String memoryId, RequestOptions requestOptions) { final String foundryFeatures = "MemoryStores=V1Preview"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.deleteMemory(this.client.getEndpoint(), foundryFeatures, name, - memoryId, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.internalDeleteMemory(this.client.getEndpoint(), foundryFeatures, + name, memoryId, this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } /** @@ -2544,10 +2544,11 @@ public Mono> deleteMemoryWithResponseAsync(String name, Str * @return response for deleting a memory item from a memory store along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteMemoryWithResponse(String name, String memoryId, RequestOptions requestOptions) { + public Response internalDeleteMemoryWithResponse(String name, String memoryId, + RequestOptions requestOptions) { final String foundryFeatures = "MemoryStores=V1Preview"; final String accept = "application/json"; - return service.deleteMemorySync(this.client.getEndpoint(), foundryFeatures, name, memoryId, + return service.internalDeleteMemorySync(this.client.getEndpoint(), foundryFeatures, name, memoryId, this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java deleted file mode 100644 index 90e46dfb7adf..000000000000 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.agents.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Response for deleting a memory item from a memory store. - */ -@Immutable -public final class DeleteMemoryResponse implements JsonSerializable { - - /* - * The object type. Always 'memory_store.item.deleted'. - */ - @Generated - private final MemoryStoreObjectType object = MemoryStoreObjectType.MEMORY_DELETED; - - /* - * The unique ID of the deleted memory item. - */ - @Generated - private final String memoryId; - - /* - * Whether the memory item was successfully deleted. - */ - @Generated - private final boolean deleted; - - /** - * Get the object property: The object type. Always 'memory_store.item.deleted'. - * - * @return the object value. - */ - @Generated - public MemoryStoreObjectType getObject() { - return this.object; - } - - /** - * Get the memoryId property: The unique ID of the deleted memory item. - * - * @return the memoryId value. - */ - @Generated - public String getMemoryId() { - return this.memoryId; - } - - /** - * Get the deleted property: Whether the memory item was successfully deleted. - * - * @return the deleted value. - */ - @Generated - public boolean isDeleted() { - return this.deleted; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("object", this.object == null ? null : this.object.toString()); - jsonWriter.writeStringField("memory_id", this.memoryId); - jsonWriter.writeBooleanField("deleted", this.deleted); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DeleteMemoryResponse from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DeleteMemoryResponse if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the DeleteMemoryResponse. - */ - @Generated - public static DeleteMemoryResponse fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String memoryId = null; - boolean deleted = false; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("memory_id".equals(fieldName)) { - memoryId = reader.getString(); - } else if ("deleted".equals(fieldName)) { - deleted = reader.getBoolean(); - } else { - reader.skipChildren(); - } - } - return new DeleteMemoryResponse(memoryId, deleted); - }); - } - - /** - * Creates an instance of DeleteMemoryResponse class. - * - * @param memoryId the memoryId value to set. - * @param deleted the deleted value to set. - */ - @Generated - private DeleteMemoryResponse(String memoryId, boolean deleted) { - this.memoryId = memoryId; - this.deleted = deleted; - } -} diff --git a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json index a380077b1737..c77cf4cf0771 100644 --- a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json +++ b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"4a56100226d8","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemory":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.deleteMemoryWithResponse":"Azure.AI.Projects.MemoryStores.deleteMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.DeleteMemoryResponse":"Azure.AI.Projects.DeleteMemoryResponse","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIqPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/DeleteMemoryResponse.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"87cf947aae55","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIqPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index 1336ab8af5dc..01f212650993 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: 49b3a220875685804d905859b394f4c1a81d3491 +commit: de3010c5fae6a5ca3c9b018e6e2ee1145a295b81 repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents From 6d5395d737bff2945b2d13ca65ab0502f16fc9a1 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Fri, 29 May 2026 10:36:53 -0700 Subject: [PATCH 69/74] doc updates, int32 -> int64 update --- .../agents/AgentSessionFilesAsyncClient.java | 7 +-- .../ai/agents/AgentSessionFilesClient.java | 7 +-- .../azure/ai/agents/AgentsAsyncClient.java | 24 ++++----- .../com/azure/ai/agents/AgentsClient.java | 24 ++++----- .../implementation/AgentSessionFilesImpl.java | 8 +-- .../ai/agents/implementation/AgentsImpl.java | 52 +++++++++---------- .../models/MemoryStoreDefaultOptions.java | 11 ++-- .../agents/models/OptimizationTaskResult.java | 12 ++--- .../models/StructuredInputDefinition.java | 9 ++-- .../META-INF/azure-ai-agents_metadata.json | 2 +- sdk/ai/azure-ai-agents/tsp-location.yaml | 2 +- 11 files changed, 82 insertions(+), 76 deletions(-) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java index 6d8b9e29ee02..48e05cc08118 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java @@ -147,8 +147,8 @@ public Mono> downloadSessionFileWithResponse(String agentNa * * * - * + * *
    Query Parameters
    NameTypeRequiredDescription
    recursiveBooleanNoWhether to recursively delete directory contents. Defaults - * to false.
    recursiveBooleanNoWhether to recursively delete directory contents. The + * service defaults to `false` if a value is not specified by the caller.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    @@ -334,7 +334,8 @@ public Mono downloadSessionFile(String agentName, String agentSessio * @param path The file or directory path to delete, relative to the session home directory. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. - * @param recursive Whether to recursively delete directory contents. Defaults to false. + * @param recursive Whether to recursively delete directory contents. The service defaults to `false` if a value is + * not specified by the caller. * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, * conversations, sessions) to a specific end user. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java index e34cd1307ef5..65e1bca90385 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java @@ -140,8 +140,8 @@ public Response downloadSessionFileWithResponse(String agentName, St * * * - * + * *
    Query Parameters
    NameTypeRequiredDescription
    recursiveBooleanNoWhether to recursively delete directory contents. Defaults - * to false.
    recursiveBooleanNoWhether to recursively delete directory contents. The + * service defaults to `false` if a value is not specified by the caller.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    @@ -322,7 +322,8 @@ public BinaryData downloadSessionFile(String agentName, String agentSessionId, S * @param path The file or directory path to delete, relative to the session home directory. * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted * preview resources. - * @param recursive Whether to recursively delete directory contents. Defaults to false. + * @param recursive Whether to recursively delete directory contents. The service defaults to `false` if a value is + * not specified by the caller. * @param userIsolationKey Opaque per-user isolation key used to scope endpoint-scoped data (responses, * conversations, sessions) to a specific end user. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java index 57661150e2d8..3985df4a5ff5 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java @@ -1776,9 +1776,9 @@ public Mono> deleteAgentWithResponse(String agentName, RequestOpt * * * - * + * *
    Query Parameters
    NameTypeRequiredDescription
    forceBooleanNoFor Hosted Agents, if true, force-deletes the agent even if its - * versions have active sessions, cascading deletion to all associated sessions. Defaults to `false`. This value is - * not relevant for other Agent types.
    forceBooleanNoFor Hosted Agents, if `true`, force-deletes the agent even if + * its versions have active sessions, cascading deletion to all associated sessions. The service defaults to `false` + * if a value is not specified by the caller. This value is not relevant for other Agent types.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Response Body Schema

    @@ -1815,9 +1815,9 @@ Mono> internalDeleteAgentWithResponse(String agentName, Req * * * - * + * *
    Query Parameters
    NameTypeRequiredDescription
    forceBooleanNoFor Hosted Agents, if true, force-deletes the version even if it - * has active sessions, cascading deletion to all associated sessions. Defaults to `false`. This value is not - * relevant for other Agent types.
    forceBooleanNoFor Hosted Agents, if `true`, force-deletes the version even if + * it has active sessions, cascading deletion to all associated sessions. The service defaults to `false` if a value + * is not specified by the caller. This value is not relevant for other Agent types.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Response Body Schema

    @@ -3566,7 +3566,7 @@ public PagedFlux listAgentConversations(Integer limit, PageOrder o * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -3724,7 +3724,7 @@ public Mono> createOptimizationJobWithResponse(BinaryData i * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -3904,7 +3904,7 @@ public Mono> getOptimizationJobWithResponse(String jobId, R * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -4058,7 +4058,7 @@ public PagedFlux listOptimizationJobs(RequestOptions requestOptions) * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -4256,7 +4256,7 @@ public Mono> deleteOptimizationJobWithResponse(String jobId, Requ * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -4447,7 +4447,7 @@ public Mono> getOptimizationCandidateConfigWithResponse(Str * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java index 822f7f9fe955..00dea9607e70 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java @@ -1699,9 +1699,9 @@ public Response deleteAgentWithResponse(String agentName, RequestOptions r * * * - * + * *
    Query Parameters
    NameTypeRequiredDescription
    forceBooleanNoFor Hosted Agents, if true, force-deletes the agent even if its - * versions have active sessions, cascading deletion to all associated sessions. Defaults to `false`. This value is - * not relevant for other Agent types.
    forceBooleanNoFor Hosted Agents, if `true`, force-deletes the agent even if + * its versions have active sessions, cascading deletion to all associated sessions. The service defaults to `false` + * if a value is not specified by the caller. This value is not relevant for other Agent types.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Response Body Schema

    @@ -1738,9 +1738,9 @@ Response internalDeleteAgentWithResponse(String agentName, RequestOp * * * - * + * *
    Query Parameters
    NameTypeRequiredDescription
    forceBooleanNoFor Hosted Agents, if true, force-deletes the version even if it - * has active sessions, cascading deletion to all associated sessions. Defaults to `false`. This value is not - * relevant for other Agent types.
    forceBooleanNoFor Hosted Agents, if `true`, force-deletes the version even if + * it has active sessions, cascading deletion to all associated sessions. The service defaults to `false` if a value + * is not specified by the caller. This value is not relevant for other Agent types.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Response Body Schema

    @@ -3435,7 +3435,7 @@ public PagedIterable listAgentConversations(Integer limit, PageOrd * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -3591,7 +3591,7 @@ public Response createOptimizationJobWithResponse(BinaryData inputs, * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -3771,7 +3771,7 @@ public Response getOptimizationJobWithResponse(String jobId, Request * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -3925,7 +3925,7 @@ public PagedIterable listOptimizationJobs(RequestOptions requestOpti * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -4122,7 +4122,7 @@ public Response deleteOptimizationJobWithResponse(String jobId, RequestOpt * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -4310,7 +4310,7 @@ public Response getOptimizationCandidateConfigWithResponse(String jo * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java index 73b250882ed8..a1eecc11b04d 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java @@ -640,8 +640,8 @@ public PagedIterable listSessionFiles(String agentName, String agent * * * - * + * *
    Query Parameters
    NameTypeRequiredDescription
    recursiveBooleanNoWhether to recursively delete directory contents. Defaults - * to false.
    recursiveBooleanNoWhether to recursively delete directory contents. The + * service defaults to `false` if a value is not specified by the caller.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    @@ -681,8 +681,8 @@ public Mono> deleteSessionFileWithResponseAsync(String agentName, * * * - * + * *
    Query Parameters
    NameTypeRequiredDescription
    recursiveBooleanNoWhether to recursively delete directory contents. Defaults - * to false.
    recursiveBooleanNoWhether to recursively delete directory contents. The + * service defaults to `false` if a value is not specified by the caller.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Header Parameters

    diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java index 63cdd0d26045..6ba5d31bdc93 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java @@ -2588,9 +2588,9 @@ public Response updateAgentFromManifestWithResponse(String agentName * * * - * + * *
    Query Parameters
    NameTypeRequiredDescription
    forceBooleanNoFor Hosted Agents, if true, force-deletes the agent even if its - * versions have active sessions, cascading deletion to all associated sessions. Defaults to `false`. This value is - * not relevant for other Agent types.
    forceBooleanNoFor Hosted Agents, if `true`, force-deletes the agent even if + * its versions have active sessions, cascading deletion to all associated sessions. The service defaults to `false` + * if a value is not specified by the caller. This value is not relevant for other Agent types.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Response Body Schema

    @@ -2629,9 +2629,9 @@ public Mono> internalDeleteAgentWithResponseAsync(String ag * * * - * + * *
    Query Parameters
    NameTypeRequiredDescription
    forceBooleanNoFor Hosted Agents, if true, force-deletes the agent even if its - * versions have active sessions, cascading deletion to all associated sessions. Defaults to `false`. This value is - * not relevant for other Agent types.
    forceBooleanNoFor Hosted Agents, if `true`, force-deletes the agent even if + * its versions have active sessions, cascading deletion to all associated sessions. The service defaults to `false` + * if a value is not specified by the caller. This value is not relevant for other Agent types.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Response Body Schema

    @@ -3575,9 +3575,9 @@ public Response getAgentVersionDetailsWithResponse(String agentName, * * * - * + * *
    Query Parameters
    NameTypeRequiredDescription
    forceBooleanNoFor Hosted Agents, if true, force-deletes the version even if it - * has active sessions, cascading deletion to all associated sessions. Defaults to `false`. This value is not - * relevant for other Agent types.
    forceBooleanNoFor Hosted Agents, if `true`, force-deletes the version even if + * it has active sessions, cascading deletion to all associated sessions. The service defaults to `false` if a value + * is not specified by the caller. This value is not relevant for other Agent types.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Response Body Schema

    @@ -3618,9 +3618,9 @@ public Mono> internalDeleteAgentVersionWithResponseAsync(St * * * - * + * *
    Query Parameters
    NameTypeRequiredDescription
    forceBooleanNoFor Hosted Agents, if true, force-deletes the version even if it - * has active sessions, cascading deletion to all associated sessions. Defaults to `false`. This value is not - * relevant for other Agent types.
    forceBooleanNoFor Hosted Agents, if `true`, force-deletes the version even if + * it has active sessions, cascading deletion to all associated sessions. The service defaults to `false` if a value + * is not specified by the caller. This value is not relevant for other Agent types.
    * You can add these to a request with {@link RequestOptions#addQueryParam} *

    Response Body Schema

    @@ -5352,7 +5352,7 @@ public Response getSessionLogStreamWithResponse(String agentName, St * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -5544,7 +5544,7 @@ public Mono> createOptimizationJobWithResponseAsync(BinaryD * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -5702,7 +5702,7 @@ public Response createOptimizationJobWithResponse(BinaryData inputs, * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -5860,7 +5860,7 @@ public Mono> getOptimizationJobWithResponseAsync(String job * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -6041,7 +6041,7 @@ public Response getOptimizationJobWithResponse(String jobId, Request * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -6223,7 +6223,7 @@ private Mono> listOptimizationJobsSinglePageAsync(Requ * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -6399,7 +6399,7 @@ public PagedFlux listOptimizationJobsAsync(RequestOptions requestOpt * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -6579,7 +6579,7 @@ private PagedResponse listOptimizationJobsSinglePage(RequestOptions * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -6732,7 +6732,7 @@ public PagedIterable listOptimizationJobs(RequestOptions requestOpti * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -6891,7 +6891,7 @@ public Mono> cancelOptimizationJobWithResponseAsync(String * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -7127,7 +7127,7 @@ public Response deleteOptimizationJobWithResponse(String jobId, RequestOpt * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -7246,7 +7246,7 @@ public Mono> listOptimizationCandidatesWithResponseAsync(St * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -7557,7 +7557,7 @@ public Response getOptimizationCandidateConfigWithResponse(String jo * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) @@ -7621,7 +7621,7 @@ public Mono> getOptimizationCandidateResultsWithResponseAsy * String: double (Required) * } * composite_score: double (Required) - * tokens: int (Required) + * tokens: long (Required) * duration_seconds: double (Required) * passed: boolean (Required) * error_message: String (Optional) diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java index 4cfb59429846..4f28184d0634 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java @@ -151,7 +151,8 @@ public static MemoryStoreDefaultOptions fromJson(JsonReader jsonReader) throws I } /* - * Whether to enable procedural memory extraction and storage. Defaults to `true`. + * Whether to enable procedural memory extraction and storage. The service defaults to `true` if a value is not + * specified by the caller. */ @Generated private Boolean proceduralMemoryEnabled; @@ -164,8 +165,8 @@ public static MemoryStoreDefaultOptions fromJson(JsonReader jsonReader) throws I private Long defaultTtlSeconds; /** - * Get the proceduralMemoryEnabled property: Whether to enable procedural memory extraction and storage. Defaults to - * `true`. + * Get the proceduralMemoryEnabled property: Whether to enable procedural memory extraction and storage. The service + * defaults to `true` if a value is not specified by the caller. * * @return the proceduralMemoryEnabled value. */ @@ -175,8 +176,8 @@ public Boolean isProceduralMemoryEnabled() { } /** - * Set the proceduralMemoryEnabled property: Whether to enable procedural memory extraction and storage. Defaults to - * `true`. + * Set the proceduralMemoryEnabled property: Whether to enable procedural memory extraction and storage. The service + * defaults to `true` if a value is not specified by the caller. * * @param proceduralMemoryEnabled the proceduralMemoryEnabled value to set. * @return the MemoryStoreDefaultOptions object itself. diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java index 1bb96a6fff4d..14ad2a76e33c 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java @@ -47,7 +47,7 @@ public final class OptimizationTaskResult implements JsonSerializable writer.writeDouble(element)); jsonWriter.writeDoubleField("composite_score", this.compositeScore); - jsonWriter.writeIntField("tokens", this.tokens); + jsonWriter.writeLongField("tokens", this.tokens); jsonWriter.writeDoubleField("duration_seconds", this.durationSeconds); jsonWriter.writeBooleanField("passed", this.passed); jsonWriter.writeStringField("query", this.query); @@ -231,7 +231,7 @@ public static OptimizationTaskResult fromJson(JsonReader jsonReader) throws IOEx String taskName = null; Map scores = null; double compositeScore = 0.0; - int tokens = 0; + long tokens = 0L; Duration durationSeconds = null; boolean passed = false; String query = null; @@ -249,7 +249,7 @@ public static OptimizationTaskResult fromJson(JsonReader jsonReader) throws IOEx } else if ("composite_score".equals(fieldName)) { compositeScore = reader.getDouble(); } else if ("tokens".equals(fieldName)) { - tokens = reader.getInt(); + tokens = reader.getLong(); } else if ("duration_seconds".equals(fieldName)) { durationSeconds = Duration.ofNanos((long) (reader.getDouble() * 1000_000_000L)); } else if ("passed".equals(fieldName)) { @@ -290,7 +290,7 @@ public static OptimizationTaskResult fromJson(JsonReader jsonReader) throws IOEx * @param passed the passed value to set. */ @Generated - private OptimizationTaskResult(String taskName, Map scores, double compositeScore, int tokens, + private OptimizationTaskResult(String taskName, Map scores, double compositeScore, long tokens, Duration durationSeconds, boolean passed) { this.taskName = taskName; this.scores = scores; diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java index 8ddadff8876d..60d5c0cf49ec 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java @@ -38,7 +38,8 @@ public final class StructuredInputDefinition implements JsonSerializable schema; /* - * Whether the input property is required when the agent is invoked. Defaults to `false`. + * Whether the input property is required when the agent is invoked. The service defaults to `false` if a value is + * not specified by the caller. */ @Generated private Boolean required; @@ -105,7 +106,8 @@ public Map getSchema() { } /** - * Get the required property: Whether the input property is required when the agent is invoked. Defaults to `false`. + * Get the required property: Whether the input property is required when the agent is invoked. The service defaults + * to `false` if a value is not specified by the caller. * * @return the required value. */ @@ -115,7 +117,8 @@ public Boolean isRequired() { } /** - * Set the required property: Whether the input property is required when the agent is invoked. Defaults to `false`. + * Set the required property: Whether the input property is required when the agent is invoked. The service defaults + * to `false` if a value is not specified by the caller. * * @param required the required value to set. * @return the StructuredInputDefinition object itself. diff --git a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json index c77cf4cf0771..6e91f1963c33 100644 --- a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json +++ b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"87cf947aae55","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIqPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"842186079108","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIqPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index 01f212650993..300b61db8338 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: de3010c5fae6a5ca3c9b018e6e2ee1145a295b81 +commit: 256cbe2b786c7a595a09bd51d6b682d0a9ce37a0 repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents From 3059f2fcf2fbee30214ddb05aebee15078186974 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Fri, 29 May 2026 10:43:52 -0700 Subject: [PATCH 70/74] re-emit empty model --- .../azure/ai/projects/models/Dimension.java | 8 ++- .../models/EvaluationScheduleTask.java | 20 +++++-- .../models/EvaluationScheduleTaskEvalRun.java | 58 ------------------- .../com/azure/ai/projects/models/RedTeam.java | 12 ++-- .../META-INF/azure-ai-projects_metadata.json | 2 +- sdk/ai/azure-ai-projects/tsp-location.yaml | 2 +- 6 files changed, 27 insertions(+), 75 deletions(-) delete mode 100644 sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Dimension.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Dimension.java index 6676f9a76f0f..98f05469a855 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Dimension.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/Dimension.java @@ -34,7 +34,7 @@ public final class Dimension implements JsonSerializable { /* * When true, the LLM judge always scores this dimension regardless of relevance (skips applicability assessment). * The service-generated general quality/policy dimension has this set to true and is non-editable. Users may set - * this on their own custom dimensions. Defaults to `false`. + * this on their own custom dimensions. The service defaults to `false` if a value is not specified by the caller. */ @Generated private Boolean alwaysApplicable; @@ -78,7 +78,8 @@ public int getWeight() { /** * Get the alwaysApplicable property: When true, the LLM judge always scores this dimension regardless of relevance * (skips applicability assessment). The service-generated general quality/policy dimension has this set to true and - * is non-editable. Users may set this on their own custom dimensions. Defaults to `false`. + * is non-editable. Users may set this on their own custom dimensions. The service defaults to `false` if a value is + * not specified by the caller. * * @return the alwaysApplicable value. */ @@ -90,7 +91,8 @@ public Boolean isAlwaysApplicable() { /** * Set the alwaysApplicable property: When true, the LLM judge always scores this dimension regardless of relevance * (skips applicability assessment). The service-generated general quality/policy dimension has this set to true and - * is non-editable. Users may set this on their own custom dimensions. Defaults to `false`. + * is non-editable. Users may set this on their own custom dimensions. The service defaults to `false` if a value is + * not specified by the caller. * * @param alwaysApplicable the alwaysApplicable value to set. * @return the Dimension object itself. diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java index ab92ef33ccf6..59d1228bfab7 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java @@ -5,6 +5,7 @@ import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -33,7 +34,7 @@ public final class EvaluationScheduleTask extends ScheduleTask { * The evaluation run payload. */ @Generated - private final EvaluationScheduleTaskEvalRun evalRun; + private final Map evalRun; /** * Get the type property: Type of the task. @@ -62,7 +63,7 @@ public String getEvalId() { * @return the evalRun value. */ @Generated - public EvaluationScheduleTaskEvalRun getEvalRun() { + public Map getEvalRun() { return this.evalRun; } @@ -85,7 +86,13 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeMapField("configuration", getConfiguration(), (writer, element) -> writer.writeString(element)); jsonWriter.writeStringField("evalId", this.evalId); - jsonWriter.writeJsonField("evalRun", this.evalRun); + jsonWriter.writeMapField("evalRun", this.evalRun, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); return jsonWriter.writeEndObject(); } @@ -104,7 +111,7 @@ public static EvaluationScheduleTask fromJson(JsonReader jsonReader) throws IOEx return jsonReader.readObject(reader -> { Map configuration = null; String evalId = null; - EvaluationScheduleTaskEvalRun evalRun = null; + Map evalRun = null; ScheduleTaskType type = ScheduleTaskType.EVALUATION; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); @@ -114,7 +121,8 @@ public static EvaluationScheduleTask fromJson(JsonReader jsonReader) throws IOEx } else if ("evalId".equals(fieldName)) { evalId = reader.getString(); } else if ("evalRun".equals(fieldName)) { - evalRun = EvaluationScheduleTaskEvalRun.fromJson(reader); + evalRun = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); } else if ("type".equals(fieldName)) { type = ScheduleTaskType.fromString(reader.getString()); } else { @@ -135,7 +143,7 @@ public static EvaluationScheduleTask fromJson(JsonReader jsonReader) throws IOEx * @param evalRun the evalRun value to set. */ @Generated - public EvaluationScheduleTask(String evalId, EvaluationScheduleTaskEvalRun evalRun) { + public EvaluationScheduleTask(String evalId, Map evalRun) { this.evalId = evalId; this.evalRun = evalRun; } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java deleted file mode 100644 index 13f12e468e87..000000000000 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.ai.projects.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The EvaluationScheduleTaskEvalRun model. - */ -@Immutable -public final class EvaluationScheduleTaskEvalRun implements JsonSerializable { - - /** - * Creates an instance of EvaluationScheduleTaskEvalRun class. - */ - @Generated - public EvaluationScheduleTaskEvalRun() { - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of EvaluationScheduleTaskEvalRun from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of EvaluationScheduleTaskEvalRun if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the EvaluationScheduleTaskEvalRun. - */ - @Generated - public static EvaluationScheduleTaskEvalRun fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - EvaluationScheduleTaskEvalRun deserializedEvaluationScheduleTaskEvalRun - = new EvaluationScheduleTaskEvalRun(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - reader.skipChildren(); - } - return deserializedEvaluationScheduleTaskEvalRun; - }); - } -} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RedTeam.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RedTeam.java index 419103b6db15..737b75fbdd90 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RedTeam.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/RedTeam.java @@ -44,8 +44,8 @@ public final class RedTeam implements JsonSerializable { private List attackStrategies; /* - * Simulation-only or Simulation + Evaluation. Default false, if true the scan outputs conversation not evaluation - * result. + * Simulation-only or Simulation + Evaluation. If `true` the scan outputs conversation not evaluation result. The + * service defaults to `false` if a value is not specified by the caller. */ @Generated private Boolean simulationOnly; @@ -163,8 +163,8 @@ public RedTeam setAttackStrategies(List attackStrategies) { } /** - * Get the simulationOnly property: Simulation-only or Simulation + Evaluation. Default false, if true the scan - * outputs conversation not evaluation result. + * Get the simulationOnly property: Simulation-only or Simulation + Evaluation. If `true` the scan outputs + * conversation not evaluation result. The service defaults to `false` if a value is not specified by the caller. * * @return the simulationOnly value. */ @@ -174,8 +174,8 @@ public Boolean isSimulationOnly() { } /** - * Set the simulationOnly property: Simulation-only or Simulation + Evaluation. Default false, if true the scan - * outputs conversation not evaluation result. + * Set the simulationOnly property: Simulation-only or Simulation + Evaluation. If `true` the scan outputs + * conversation not evaluation result. The service defaults to `false` if a value is not specified by the caller. * * @param simulationOnly the simulationOnly value to set. * @return the RedTeam object itself. diff --git a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json index b85936c2c871..1a9531922bad 100644 --- a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json +++ b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"8f82feca3a1b","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.CustomRoutineTrigger":"Azure.AI.Projects.CustomRoutineTrigger","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationScheduleTaskEvalRun":"Azure.AI.Projects.EvaluationScheduleTask.evalRun.anonymous","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FilesFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.GitHubIssueEvent":"Azure.AI.Projects.GitHubIssueEvent","com.azure.ai.projects.models.GitHubIssueRoutineTrigger":"Azure.AI.Projects.GitHubIssueRoutineTrigger","com.azure.ai.projects.models.GraderAzureAIEvaluator":"Azure.AI.Projects.GraderAzureAIEvaluator","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator":"Azure.AI.Projects.TestingCriterionAzureAIEvaluator","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/CustomRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTaskEvalRun.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FilesFileDetails.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/GitHubIssueEvent.java","src/main/java/com/azure/ai/projects/models/GitHubIssueRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"4c3e565a6be9","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.CustomRoutineTrigger":"Azure.AI.Projects.CustomRoutineTrigger","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FilesFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.GitHubIssueEvent":"Azure.AI.Projects.GitHubIssueEvent","com.azure.ai.projects.models.GitHubIssueRoutineTrigger":"Azure.AI.Projects.GitHubIssueRoutineTrigger","com.azure.ai.projects.models.GraderAzureAIEvaluator":"Azure.AI.Projects.GraderAzureAIEvaluator","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator":"Azure.AI.Projects.TestingCriterionAzureAIEvaluator","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/CustomRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FilesFileDetails.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/GitHubIssueEvent.java","src/main/java/com/azure/ai/projects/models/GitHubIssueRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml b/sdk/ai/azure-ai-projects/tsp-location.yaml index ed66df4b5f74..80b40d4d11ba 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: 1fa42ec532ea0a465b5fa04bcdee5542ba1eb9fe +commit: 256cbe2b786c7a595a09bd51d6b682d0a9ce37a0 repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From f099bf23e83934c328579e9610bfeff323a5b13e Mon Sep 17 00:00:00 2001 From: kaylieee Date: Fri, 29 May 2026 10:56:04 -0700 Subject: [PATCH 71/74] rename dispatchRoutineAsync --- .../ai/projects/RoutinesAsyncClient.java | 210 +++++++++--------- .../com/azure/ai/projects/RoutinesClient.java | 203 +++++++++-------- .../projects/implementation/RoutinesImpl.java | 14 +- .../META-INF/azure-ai-projects_metadata.json | 2 +- sdk/ai/azure-ai-projects/tsp-location.yaml | 2 +- 5 files changed, 215 insertions(+), 216 deletions(-) diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java index 420b6e1b8cf6..51b07e158d12 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java @@ -437,61 +437,6 @@ public PagedFlux listRoutineRuns(String routineName, RequestOptions return this.serviceClient.listRoutineRunsAsync(routineName, requestOptions); } - /** - * Queue an asynchronous routine dispatch. - *

    Header Parameters

    - * - * - * - * - *
    Header Parameters
    NameTypeRequiredDescription
    Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
    - * You can add these to a request with {@link RequestOptions#addHeader} - *

    Request Body Schema

    - * - *
    -     * {@code
    -     * {
    -     *     payload (Optional): {
    -     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
    -     *     }
    -     * }
    -     * }
    -     * 
    - * - *

    Response Body Schema

    - * - *
    -     * {@code
    -     * {
    -     *     dispatch_id: String (Optional)
    -     *     action_correlation_id: String (Optional)
    -     *     task_id: String (Optional)
    -     * }
    -     * }
    -     * 
    - * - * @param routineName The unique name of the routine. - * @param dispatchRoutineAsyncRequest The dispatchRoutineAsyncRequest parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return identifiers returned after a routine dispatch is queued along with {@link Response} on successful - * completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> dispatchRoutineAsyncWithResponse(String routineName, - BinaryData dispatchRoutineAsyncRequest, RequestOptions requestOptions) { - return this.serviceClient.dispatchRoutineAsyncWithResponseAsync(routineName, dispatchRoutineAsyncRequest, - requestOptions); - } - /** * Retrieve a routine. * @@ -740,56 +685,6 @@ public PagedFlux listRoutineRuns(String routineName) { }); } - /** - * Queue an asynchronous routine dispatch. - * - * @param routineName The unique name of the routine. - * @param payload A direct action-input override sent downstream when testing a routine. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return identifiers returned after a routine dispatch is queued on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono dispatchRoutineAsync(String routineName, RoutineDispatchPayload payload) { - // Generated convenience method for dispatchRoutineAsyncWithResponse - RequestOptions requestOptions = new RequestOptions(); - DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj - = new DispatchRoutineAsyncRequest().setPayload(payload); - BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); - return dispatchRoutineAsyncWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(DispatchRoutineResponse.class)); - } - - /** - * Queue an asynchronous routine dispatch. - * - * @param routineName The unique name of the routine. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return identifiers returned after a routine dispatch is queued on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono dispatchRoutineAsync(String routineName) { - // Generated convenience method for dispatchRoutineAsyncWithResponse - RequestOptions requestOptions = new RequestOptions(); - DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj = new DispatchRoutineAsyncRequest(); - BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); - return dispatchRoutineAsyncWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(DispatchRoutineResponse.class)); - } - /** * Create or update a routine. * @@ -957,4 +852,109 @@ public PagedFlux listRoutineRuns(String routineName, FoundryFeatures pagedResponse.getContinuationToken(), null)); }); } + + /** + * Queue an asynchronous routine dispatch. + *

    Header Parameters

    + * + * + * + * + *
    Header Parameters
    NameTypeRequiredDescription
    Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
    + * You can add these to a request with {@link RequestOptions#addHeader} + *

    Request Body Schema

    + * + *
    +     * {@code
    +     * {
    +     *     payload (Optional): {
    +     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
    +     *     }
    +     * }
    +     * }
    +     * 
    + * + *

    Response Body Schema

    + * + *
    +     * {@code
    +     * {
    +     *     dispatch_id: String (Optional)
    +     *     action_correlation_id: String (Optional)
    +     *     task_id: String (Optional)
    +     * }
    +     * }
    +     * 
    + * + * @param routineName The unique name of the routine. + * @param dispatchRoutineAsyncRequest The dispatchRoutineAsyncRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return identifiers returned after a routine dispatch is queued along with {@link Response} on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> dispatchRoutineWithResponse(String routineName, + BinaryData dispatchRoutineAsyncRequest, RequestOptions requestOptions) { + return this.serviceClient.dispatchRoutineWithResponseAsync(routineName, dispatchRoutineAsyncRequest, + requestOptions); + } + + /** + * Queue an asynchronous routine dispatch. + * + * @param routineName The unique name of the routine. + * @param payload A direct action-input override sent downstream when testing a routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return identifiers returned after a routine dispatch is queued on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono dispatchRoutine(String routineName, RoutineDispatchPayload payload) { + // Generated convenience method for dispatchRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj + = new DispatchRoutineAsyncRequest().setPayload(payload); + BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); + return dispatchRoutineWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DispatchRoutineResponse.class)); + } + + /** + * Queue an asynchronous routine dispatch. + * + * @param routineName The unique name of the routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return identifiers returned after a routine dispatch is queued on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono dispatchRoutine(String routineName) { + // Generated convenience method for dispatchRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj = new DispatchRoutineAsyncRequest(); + BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); + return dispatchRoutineWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DispatchRoutineResponse.class)); + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java index 8c9c112fab20..17c560509994 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java @@ -427,60 +427,6 @@ public PagedIterable listRoutineRuns(String routineName, RequestOpti return this.serviceClient.listRoutineRuns(routineName, requestOptions); } - /** - * Queue an asynchronous routine dispatch. - *

    Header Parameters

    - * - * - * - * - *
    Header Parameters
    NameTypeRequiredDescription
    Foundry-FeaturesStringNoA feature flag opt-in required when using preview - * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", - * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", - * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", - * "Models=V1Preview", "AgentsOptimization=V1Preview".
    - * You can add these to a request with {@link RequestOptions#addHeader} - *

    Request Body Schema

    - * - *
    -     * {@code
    -     * {
    -     *     payload (Optional): {
    -     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
    -     *     }
    -     * }
    -     * }
    -     * 
    - * - *

    Response Body Schema

    - * - *
    -     * {@code
    -     * {
    -     *     dispatch_id: String (Optional)
    -     *     action_correlation_id: String (Optional)
    -     *     task_id: String (Optional)
    -     * }
    -     * }
    -     * 
    - * - * @param routineName The unique name of the routine. - * @param dispatchRoutineAsyncRequest The dispatchRoutineAsyncRequest parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return identifiers returned after a routine dispatch is queued along with {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response dispatchRoutineAsyncWithResponse(String routineName, - BinaryData dispatchRoutineAsyncRequest, RequestOptions requestOptions) { - return this.serviceClient.dispatchRoutineAsyncWithResponse(routineName, dispatchRoutineAsyncRequest, - requestOptions); - } - /** * Retrieve a routine. * @@ -699,54 +645,6 @@ public PagedIterable listRoutineRuns(String routineName) { .mapPage(bodyItemValue -> bodyItemValue.toObject(RoutineRun.class)); } - /** - * Queue an asynchronous routine dispatch. - * - * @param routineName The unique name of the routine. - * @param payload A direct action-input override sent downstream when testing a routine. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return identifiers returned after a routine dispatch is queued. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public DispatchRoutineResponse dispatchRoutineAsync(String routineName, RoutineDispatchPayload payload) { - // Generated convenience method for dispatchRoutineAsyncWithResponse - RequestOptions requestOptions = new RequestOptions(); - DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj - = new DispatchRoutineAsyncRequest().setPayload(payload); - BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); - return dispatchRoutineAsyncWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions).getValue() - .toObject(DispatchRoutineResponse.class); - } - - /** - * Queue an asynchronous routine dispatch. - * - * @param routineName The unique name of the routine. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return identifiers returned after a routine dispatch is queued. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public DispatchRoutineResponse dispatchRoutineAsync(String routineName) { - // Generated convenience method for dispatchRoutineAsyncWithResponse - RequestOptions requestOptions = new RequestOptions(); - DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj = new DispatchRoutineAsyncRequest(); - BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); - return dispatchRoutineAsyncWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions).getValue() - .toObject(DispatchRoutineResponse.class); - } - /** * Create or update a routine. * @@ -890,4 +788,105 @@ public PagedIterable listRoutineRuns(String routineName, FoundryFeat return serviceClient.listRoutineRuns(routineName, requestOptions) .mapPage(bodyItemValue -> bodyItemValue.toObject(RoutineRun.class)); } + + /** + * Queue an asynchronous routine dispatch. + *

    Header Parameters

    + * + * + * + * + *
    Header Parameters
    NameTypeRequiredDescription
    Foundry-FeaturesStringNoA feature flag opt-in required when using preview + * operations or modifying persisted preview resources. Allowed values: "Evaluations=V1Preview", + * "Schedules=V1Preview", "RedTeams=V1Preview", "Insights=V1Preview", "MemoryStores=V1Preview", + * "Routines=V1Preview", "Toolboxes=V1Preview", "Skills=V1Preview", "DataGenerationJobs=V1Preview", + * "Models=V1Preview", "AgentsOptimization=V1Preview".
    + * You can add these to a request with {@link RequestOptions#addHeader} + *

    Request Body Schema

    + * + *
    +     * {@code
    +     * {
    +     *     payload (Optional): {
    +     *         type: String(invoke_agent_responses_api/invoke_agent_invocations_api) (Required)
    +     *     }
    +     * }
    +     * }
    +     * 
    + * + *

    Response Body Schema

    + * + *
    +     * {@code
    +     * {
    +     *     dispatch_id: String (Optional)
    +     *     action_correlation_id: String (Optional)
    +     *     task_id: String (Optional)
    +     * }
    +     * }
    +     * 
    + * + * @param routineName The unique name of the routine. + * @param dispatchRoutineAsyncRequest The dispatchRoutineAsyncRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return identifiers returned after a routine dispatch is queued along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response dispatchRoutineWithResponse(String routineName, BinaryData dispatchRoutineAsyncRequest, + RequestOptions requestOptions) { + return this.serviceClient.dispatchRoutineWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions); + } + + /** + * Queue an asynchronous routine dispatch. + * + * @param routineName The unique name of the routine. + * @param payload A direct action-input override sent downstream when testing a routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return identifiers returned after a routine dispatch is queued. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DispatchRoutineResponse dispatchRoutine(String routineName, RoutineDispatchPayload payload) { + // Generated convenience method for dispatchRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj + = new DispatchRoutineAsyncRequest().setPayload(payload); + BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); + return dispatchRoutineWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions).getValue() + .toObject(DispatchRoutineResponse.class); + } + + /** + * Queue an asynchronous routine dispatch. + * + * @param routineName The unique name of the routine. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return identifiers returned after a routine dispatch is queued. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DispatchRoutineResponse dispatchRoutine(String routineName) { + // Generated convenience method for dispatchRoutineWithResponse + RequestOptions requestOptions = new RequestOptions(); + DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj = new DispatchRoutineAsyncRequest(); + BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); + return dispatchRoutineWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions).getValue() + .toObject(DispatchRoutineResponse.class); + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java index 1a0fb42e6570..90a37ee461e3 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java @@ -229,7 +229,7 @@ Response listRoutineRunsSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> dispatchRoutineAsync(@HostParam("endpoint") String endpoint, + Mono> dispatchRoutine(@HostParam("endpoint") String endpoint, @PathParam("routine_name") String routineName, @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData dispatchRoutineAsyncRequest, RequestOptions requestOptions, @@ -241,7 +241,7 @@ Mono> dispatchRoutineAsync(@HostParam("endpoint") String en @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response dispatchRoutineAsyncSync(@HostParam("endpoint") String endpoint, + Response dispatchRoutineSync(@HostParam("endpoint") String endpoint, @PathParam("routine_name") String routineName, @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData dispatchRoutineAsyncRequest, RequestOptions requestOptions, @@ -1353,11 +1353,11 @@ public PagedIterable listRoutineRuns(String routineName, RequestOpti * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> dispatchRoutineAsyncWithResponseAsync(String routineName, + public Mono> dispatchRoutineWithResponseAsync(String routineName, BinaryData dispatchRoutineAsyncRequest, RequestOptions requestOptions) { final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.dispatchRoutineAsync(this.client.getEndpoint(), routineName, + return FluxUtil.withContext(context -> service.dispatchRoutine(this.client.getEndpoint(), routineName, this.client.getServiceVersion().getVersion(), contentType, accept, dispatchRoutineAsyncRequest, requestOptions, context)); } @@ -1409,11 +1409,11 @@ public Mono> dispatchRoutineAsyncWithResponseAsync(String r * @return identifiers returned after a routine dispatch is queued along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response dispatchRoutineAsyncWithResponse(String routineName, - BinaryData dispatchRoutineAsyncRequest, RequestOptions requestOptions) { + public Response dispatchRoutineWithResponse(String routineName, BinaryData dispatchRoutineAsyncRequest, + RequestOptions requestOptions) { final String contentType = "application/json"; final String accept = "application/json"; - return service.dispatchRoutineAsyncSync(this.client.getEndpoint(), routineName, + return service.dispatchRoutineSync(this.client.getEndpoint(), routineName, this.client.getServiceVersion().getVersion(), contentType, accept, dispatchRoutineAsyncRequest, requestOptions, Context.NONE); } diff --git a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json index 1a9531922bad..3323e41f688a 100644 --- a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json +++ b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"4c3e565a6be9","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutineAsyncWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.CustomRoutineTrigger":"Azure.AI.Projects.CustomRoutineTrigger","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FilesFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.GitHubIssueEvent":"Azure.AI.Projects.GitHubIssueEvent","com.azure.ai.projects.models.GitHubIssueRoutineTrigger":"Azure.AI.Projects.GitHubIssueRoutineTrigger","com.azure.ai.projects.models.GraderAzureAIEvaluator":"Azure.AI.Projects.GraderAzureAIEvaluator","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator":"Azure.AI.Projects.TestingCriterionAzureAIEvaluator","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/CustomRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FilesFileDetails.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/GitHubIssueEvent.java","src/main/java/com/azure/ai/projects/models/GitHubIssueRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"ead8a77e5b0c","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutine":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutine":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.dispatchRoutineWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.CustomRoutineTrigger":"Azure.AI.Projects.CustomRoutineTrigger","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FilesFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.GitHubIssueEvent":"Azure.AI.Projects.GitHubIssueEvent","com.azure.ai.projects.models.GitHubIssueRoutineTrigger":"Azure.AI.Projects.GitHubIssueRoutineTrigger","com.azure.ai.projects.models.GraderAzureAIEvaluator":"Azure.AI.Projects.GraderAzureAIEvaluator","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator":"Azure.AI.Projects.TestingCriterionAzureAIEvaluator","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/CustomRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FilesFileDetails.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/GitHubIssueEvent.java","src/main/java/com/azure/ai/projects/models/GitHubIssueRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml b/sdk/ai/azure-ai-projects/tsp-location.yaml index 80b40d4d11ba..b1d7c2e50b40 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: 256cbe2b786c7a595a09bd51d6b682d0a9ce37a0 +commit: 05f44b5b126adb7ce8aecf07ab32d8774804eb7d repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From 841d6d74f1a3cc863fab62ffb936ddb568c97aaf Mon Sep 17 00:00:00 2001 From: kaylieee Date: Fri, 29 May 2026 11:31:24 -0700 Subject: [PATCH 72/74] renames and sample/test updates --- sdk/ai/azure-ai-agents/CHANGELOG.md | 4 +- sdk/ai/azure-ai-agents/README.md | 4 + .../agents/AgentSessionFilesAsyncClient.java | 10 +- .../ai/agents/AgentSessionFilesClient.java | 10 +- .../azure/ai/agents/AgentsAsyncClient.java | 26 ++-- .../com/azure/ai/agents/AgentsClient.java | 26 ++-- .../agents/models/OptimizationCandidate.java | 80 +++++------ ... => OptimizationCandidatePagedResult.java} | 27 ++-- ...equest.java => PromoteCandidateInput.java} | 16 +-- ...ponse.java => PromoteCandidateResult.java} | 18 +-- ...ponse.java => SessionFileWriteResult.java} | 18 +-- .../META-INF/azure-ai-agents_metadata.json | 2 +- sdk/ai/azure-ai-agents/tsp-location.yaml | 2 +- sdk/ai/azure-ai-projects/CHANGELOG.md | 2 - .../ai/projects/EvaluatorsAsyncClient.java | 116 ++++++++-------- .../azure/ai/projects/EvaluatorsClient.java | 110 +++++++-------- .../azure/ai/projects/ModelsAsyncClient.java | 128 +++++++++--------- .../com/azure/ai/projects/ModelsClient.java | 123 +++++++++-------- .../ai/projects/RoutinesAsyncClient.java | 10 +- .../com/azure/ai/projects/RoutinesClient.java | 10 +- .../azure/ai/projects/SkillsAsyncClient.java | 8 +- .../com/azure/ai/projects/SkillsClient.java | 8 +- .../implementation/JsonMergePatchHelper.java | 18 +-- .../projects/models/CreateAsyncResponse.java | 10 +- .../CreateSkillVersionFromFilesBody.java | 6 +- ...sponse.java => DispatchRoutineResult.java} | 24 ++-- ...est.java => EvaluatorCredentialInput.java} | 50 +++---- ...Request.java => ModelCredentialInput.java} | 48 +++---- ...uest.java => ModelPendingUploadInput.java} | 32 ++--- ...nse.java => ModelPendingUploadResult.java} | 22 +-- ...FileDetails.java => SkillFileDetails.java} | 14 +- ...uest.java => UpdateModelVersionInput.java} | 38 +++--- .../META-INF/azure-ai-projects_metadata.json | 2 +- .../azure/ai/projects/ModelsAsyncSample.java | 4 +- .../com/azure/ai/projects/ModelsSample.java | 4 +- .../ai/projects/SkillsPackageAsyncSample.java | 4 +- .../ai/projects/SkillsPackageSample.java | 4 +- .../com/azure/ai/projects/SamplesTests.java | 4 +- sdk/ai/azure-ai-projects/tsp-location.yaml | 2 +- 39 files changed, 522 insertions(+), 522 deletions(-) rename sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/{AgentsPagedResultOptimizationCandidate.java => OptimizationCandidatePagedResult.java} (77%) rename sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/{PromoteCandidateRequest.java => PromoteCandidateInput.java} (81%) rename sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/{PromoteCandidateResponse.java => PromoteCandidateResult.java} (87%) rename sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/{SessionFileWriteResponse.java => SessionFileWriteResult.java} (80%) rename sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/{DispatchRoutineResponse.java => DispatchRoutineResult.java} (75%) rename sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/{EvaluatorCredentialRequest.java => EvaluatorCredentialInput.java} (78%) rename sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/{ModelCredentialRequest.java => ModelCredentialInput.java} (78%) rename sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/{ModelPendingUploadRequest.java => ModelPendingUploadInput.java} (75%) rename sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/{ModelPendingUploadResponse.java => ModelPendingUploadResult.java} (82%) rename sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/{FilesFileDetails.java => SkillFileDetails.java} (91%) rename sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/{UpdateModelVersionRequest.java => UpdateModelVersionInput.java} (77%) diff --git a/sdk/ai/azure-ai-agents/CHANGELOG.md b/sdk/ai/azure-ai-agents/CHANGELOG.md index 5377b8ee71dc..aea5bbf3c9c8 100644 --- a/sdk/ai/azure-ai-agents/CHANGELOG.md +++ b/sdk/ai/azure-ai-agents/CHANGELOG.md @@ -27,8 +27,6 @@ - `CodeConfiguration` constructor now requires `CodeDependencyResolution` in addition to runtime and entry point. - `WorkIqPreviewTool` now takes the Work IQ project connection ID directly. `WorkIQPreviewToolParameters` was removed. -### Bugs Fixed - ### Other Changes - Enabled `ResponsesTests` and `ResponsesAsyncTests` (previously `@Disabled`) with create/retrieve/delete/input-items and background-cancel coverage for the typed (`ResponseService` / `ResponseServiceAsync`) surface, plus coverage for the new protocol-method surface. Recordings published to `Azure/azure-sdk-assets` and referenced from `assets.json`. @@ -42,7 +40,7 @@ - Added new `ToolboxesClient` and `ToolboxesAsyncClient` sub-clients (preview, opt-in via `FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW`) for managing toolboxes and toolbox versions, with operations including `createToolboxVersion`, `getToolbox`, `getToolboxVersion`, `listToolboxes`, `listToolboxVersions`, `updateToolbox`, `deleteToolbox`, and `deleteToolboxVersion`. New `buildToolboxesClient()` and `buildToolboxesAsyncClient()` methods on `AgentsClientBuilder`. - Added new `AgentSessionFilesClient` and `AgentSessionFilesAsyncClient` sub-clients for working with files in an agent session, with `uploadSessionFile`, `downloadSessionFile`, `getSessionFiles`, and `deleteSessionFile`. New `buildAgentSessionFilesClient()` and `buildAgentSessionFilesAsyncClient()` methods on `AgentsClientBuilder`. - Added `buildAgentScopedOpenAIClient(String agentName)` and `buildAgentScopedOpenAIAsyncClient(String agentName)` to `AgentsClientBuilder` for constructing OpenAI clients targeting a specific agent's endpoint (base URL `{endpoint}/agents/{agentName}/endpoint/protocols/openai`). The default `buildOpenAIClient()` / `buildOpenAIAsyncClient()` continue to target `{endpoint}/openai/v1`. -- Added agent-session operations to `AgentsClient` and `AgentsAsyncClient`: `createSession`, `getSession`, `deleteSession`, `listSessions`, and `getSessionLogStreamWithResponse`. Added typed session log streaming convenience methods: `AgentsClient.getSessionLogStream(...)`, and `AgentsAsyncClient.getSessionLogStream(...)`, returning `SessionLogEvent`. New related models: `AgentSessionResource`, `AgentSessionStatus`, `SessionDirectoryEntry`, `SessionDirectoryListResponse`, `SessionFileWriteResponse`, `SessionLogEvent`, `SessionLogEventType`, `IsolationKeySource` (with `Kind`), `EntraIsolationKeySource`, and `HeaderIsolationKeySource`. +- Added agent-session operations to `AgentsClient` and `AgentsAsyncClient`: `createSession`, `getSession`, `deleteSession`, `listSessions`, and `getSessionLogStreamWithResponse`. Added typed session log streaming convenience methods: `AgentsClient.getSessionLogStream(...)`, and `AgentsAsyncClient.getSessionLogStream(...)`, returning `SessionLogEvent`. New related models: `AgentSessionResource`, `AgentSessionStatus`, `SessionDirectoryEntry`, `SessionDirectoryListResponse`, `SessionFileWriteResult`, `SessionLogEvent`, `SessionLogEventType`, `IsolationKeySource` (with `Kind`), `EntraIsolationKeySource`, and `HeaderIsolationKeySource`. - Added `updateAgentDetails(String, UpdateAgentDetailsPatchRequest, ...)` and `updateAgentDetailsWithResponse` on `AgentsClient`/`AgentsAsyncClient` for patching agent details, plus new `UpdateAgentDetailsPatchRequest` model. - Added new agent-endpoint and identity model types for hosted agents: `AgentEndpoint`, `AgentEndpointProtocol`, `AgentEndpointAuthorizationScheme` (with `Type`), `EntraAuthorizationScheme`, `BotServiceAuthorizationScheme`, `BotServiceRbacAuthorizationScheme`, `AgentIdentity`, `AgentBlueprintReference` (with `Type`), `ManagedAgentIdentityBlueprintReference`, `AgentCard`, and `AgentCardSkill`. `AgentDetails` now exposes `getAgentEndpoint`, `getInstanceIdentity`, `getBlueprint`, `getBlueprintReference`, and `getAgentCard`. `AgentVersionDetails` now exposes `getInstanceIdentity`, `getBlueprint`, `getBlueprintReference`, and `getAgentGuid`. - Added agent-versioning model types: `VersionIndicator` (with `Type`), `VersionRefIndicator`, `VersionSelector` (with `Type`), `VersionSelectionRule`, `FixedRatioVersionSelectionRule`, and `CreateAgentVersionInput`. diff --git a/sdk/ai/azure-ai-agents/README.md b/sdk/ai/azure-ai-agents/README.md index 2bf85ad49d3b..0256f53b7e82 100644 --- a/sdk/ai/azure-ai-agents/README.md +++ b/sdk/ai/azure-ai-agents/README.md @@ -518,11 +518,13 @@ See the full sample in [FabricSync.java](https://github.com/Azure/azure-sdk-for- Connect agents to Fabric IQ project connections for enterprise data grounding: ```java com.azure.ai.agents.define_fabric_iq + FabricIqPreviewTool fabricIqTool = new FabricIqPreviewTool(fabricIqConnectionId) .setServerLabel("fabric_iq") .setRequireApproval("never") .setName("fabric_iq_lookup") .setDescription("Use FabricIQ to answer questions grounded in enterprise data."); + ``` See the full sample in [FabricIQSync.java](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQSync.java). @@ -622,6 +624,7 @@ Toolbox tools are defined in toolbox versions and managed through `ToolboxesClie Use `ToolboxSearchPreviewTool` inside a toolbox version to let an agent search the available toolbox tools at runtime: ```java com.azure.ai.agents.toolboxes.ToolboxSearchToolboxSample.createToolboxSearchToolbox + ToolboxSearchPreviewTool toolboxSearchTool = new ToolboxSearchPreviewTool() .setName("search_tools") .setDescription("Search over available toolbox tools at runtime."); @@ -639,6 +642,7 @@ System.out.printf("Toolbox version: %s%n", version.getVersion()); for (Tool tool : version.getTools()) { System.out.printf("Tool type: %s%n", tool.getType()); } + ``` See the full sample in [ToolboxSearchToolboxSample.java](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxSearchToolboxSample.java). diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java index 48e05cc08118..c267b05edaa1 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java @@ -7,7 +7,7 @@ import com.azure.ai.agents.models.AgentDefinitionOptInKeys; import com.azure.ai.agents.models.PageOrder; import com.azure.ai.agents.models.SessionDirectoryEntry; -import com.azure.ai.agents.models.SessionFileWriteResponse; +import com.azure.ai.agents.models.SessionFileWriteResult; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; @@ -199,13 +199,13 @@ public Mono> deleteSessionFileWithResponse(String agentName, Stri */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono uploadSessionFile(String agentName, String agentSessionId, String path, + public Mono uploadSessionFile(String agentName, String agentSessionId, String path, BinaryData content) { // Generated convenience method for uploadSessionFileWithResponse RequestOptions requestOptions = new RequestOptions(); return uploadSessionFileWithResponse(agentName, agentSessionId, path, content, requestOptions) .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(SessionFileWriteResponse.class)); + .map(protocolMethodData -> protocolMethodData.toObject(SessionFileWriteResult.class)); } /** @@ -276,7 +276,7 @@ public Mono deleteSessionFile(String agentName, String agentSessionId, Str */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono uploadSessionFile(String agentName, String agentSessionId, String path, + public Mono uploadSessionFile(String agentName, String agentSessionId, String path, BinaryData content, AgentDefinitionOptInKeys foundryFeatures, String userIsolationKey) { // Generated convenience method for uploadSessionFileWithResponse RequestOptions requestOptions = new RequestOptions(); @@ -288,7 +288,7 @@ public Mono uploadSessionFile(String agentName, String } return uploadSessionFileWithResponse(agentName, agentSessionId, path, content, requestOptions) .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(SessionFileWriteResponse.class)); + .map(protocolMethodData -> protocolMethodData.toObject(SessionFileWriteResult.class)); } /** diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java index 65e1bca90385..ef07adf76a99 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java @@ -7,7 +7,7 @@ import com.azure.ai.agents.models.AgentDefinitionOptInKeys; import com.azure.ai.agents.models.PageOrder; import com.azure.ai.agents.models.SessionDirectoryEntry; -import com.azure.ai.agents.models.SessionFileWriteResponse; +import com.azure.ai.agents.models.SessionFileWriteResult; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; @@ -192,12 +192,12 @@ public Response deleteSessionFileWithResponse(String agentName, String age */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SessionFileWriteResponse uploadSessionFile(String agentName, String agentSessionId, String path, + public SessionFileWriteResult uploadSessionFile(String agentName, String agentSessionId, String path, BinaryData content) { // Generated convenience method for uploadSessionFileWithResponse RequestOptions requestOptions = new RequestOptions(); return uploadSessionFileWithResponse(agentName, agentSessionId, path, content, requestOptions).getValue() - .toObject(SessionFileWriteResponse.class); + .toObject(SessionFileWriteResult.class); } /** @@ -266,7 +266,7 @@ public void deleteSessionFile(String agentName, String agentSessionId, String pa */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SessionFileWriteResponse uploadSessionFile(String agentName, String agentSessionId, String path, + public SessionFileWriteResult uploadSessionFile(String agentName, String agentSessionId, String path, BinaryData content, AgentDefinitionOptInKeys foundryFeatures, String userIsolationKey) { // Generated convenience method for uploadSessionFileWithResponse RequestOptions requestOptions = new RequestOptions(); @@ -277,7 +277,7 @@ public SessionFileWriteResponse uploadSessionFile(String agentName, String agent requestOptions.setHeader(HttpHeaderName.fromString("x-ms-user-isolation-key"), userIsolationKey); } return uploadSessionFileWithResponse(agentName, agentSessionId, path, content, requestOptions).getValue() - .toObject(SessionFileWriteResponse.class); + .toObject(SessionFileWriteResult.class); } /** diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java index 3985df4a5ff5..58a93bd4a471 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsAsyncClient.java @@ -23,7 +23,6 @@ import com.azure.ai.agents.models.AgentKind; import com.azure.ai.agents.models.AgentSessionResource; import com.azure.ai.agents.models.AgentVersionDetails; -import com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate; import com.azure.ai.agents.models.CandidateDeployConfig; import com.azure.ai.agents.models.CandidateMetadata; import com.azure.ai.agents.models.CandidateResults; @@ -31,11 +30,12 @@ import com.azure.ai.agents.models.CreateAgentVersionInput; import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.JobStatus; +import com.azure.ai.agents.models.OptimizationCandidatePagedResult; import com.azure.ai.agents.models.OptimizationJob; import com.azure.ai.agents.models.OptimizationJobInputs; import com.azure.ai.agents.models.PageOrder; -import com.azure.ai.agents.models.PromoteCandidateRequest; -import com.azure.ai.agents.models.PromoteCandidateResponse; +import com.azure.ai.agents.models.PromoteCandidateInput; +import com.azure.ai.agents.models.PromoteCandidateResult; import com.azure.ai.agents.models.SessionLogEvent; import com.azure.ai.agents.models.UpdateAgentDetailsOptions; import com.azure.ai.agents.models.VersionIndicator; @@ -4740,7 +4740,7 @@ public Mono deleteOptimizationJob(String jobId) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listOptimizationCandidates(String jobId, + public Mono listOptimizationCandidates(String jobId, FoundryFeaturesOptInKeys foundryFeatures, Integer limit, PageOrder order, String after, String before) { // Generated convenience method for listOptimizationCandidatesWithResponse RequestOptions requestOptions = new RequestOptions(); @@ -4760,7 +4760,7 @@ public Mono listOptimizationCandidates(S requestOptions.addQueryParam("before", before, false); } return listOptimizationCandidatesWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(AgentsPagedResultOptimizationCandidate.class)); + .map(protocolMethodData -> protocolMethodData.toObject(OptimizationCandidatePagedResult.class)); } /** @@ -4779,11 +4779,11 @@ public Mono listOptimizationCandidates(S */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listOptimizationCandidates(String jobId) { + public Mono listOptimizationCandidates(String jobId) { // Generated convenience method for listOptimizationCandidatesWithResponse RequestOptions requestOptions = new RequestOptions(); return listOptimizationCandidatesWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(AgentsPagedResultOptimizationCandidate.class)); + .map(protocolMethodData -> protocolMethodData.toObject(OptimizationCandidatePagedResult.class)); } /** @@ -5483,8 +5483,8 @@ public Mono getOptimizationCandidateFile(String jobId, String candid */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono promoteOptimizationCandidate(String jobId, String candidateId, - PromoteCandidateRequest candidateRequest, FoundryFeaturesOptInKeys foundryFeatures) { + public Mono promoteOptimizationCandidate(String jobId, String candidateId, + PromoteCandidateInput candidateRequest, FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for promoteOptimizationCandidateWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { @@ -5492,7 +5492,7 @@ public Mono promoteOptimizationCandidate(String jobId, } return promoteOptimizationCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(candidateRequest), requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(PromoteCandidateResponse.class)); + .map(protocolMethodData -> protocolMethodData.toObject(PromoteCandidateResult.class)); } /** @@ -5513,12 +5513,12 @@ public Mono promoteOptimizationCandidate(String jobId, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono promoteOptimizationCandidate(String jobId, String candidateId, - PromoteCandidateRequest candidateRequest) { + public Mono promoteOptimizationCandidate(String jobId, String candidateId, + PromoteCandidateInput candidateRequest) { // Generated convenience method for promoteOptimizationCandidateWithResponse RequestOptions requestOptions = new RequestOptions(); return promoteOptimizationCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(candidateRequest), requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(PromoteCandidateResponse.class)); + .map(protocolMethodData -> protocolMethodData.toObject(PromoteCandidateResult.class)); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java index 00dea9607e70..81ab36bbf40f 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java @@ -23,7 +23,6 @@ import com.azure.ai.agents.models.AgentKind; import com.azure.ai.agents.models.AgentSessionResource; import com.azure.ai.agents.models.AgentVersionDetails; -import com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate; import com.azure.ai.agents.models.CandidateDeployConfig; import com.azure.ai.agents.models.CandidateMetadata; import com.azure.ai.agents.models.CandidateResults; @@ -31,11 +30,12 @@ import com.azure.ai.agents.models.CreateAgentVersionInput; import com.azure.ai.agents.models.FoundryFeaturesOptInKeys; import com.azure.ai.agents.models.JobStatus; +import com.azure.ai.agents.models.OptimizationCandidatePagedResult; import com.azure.ai.agents.models.OptimizationJob; import com.azure.ai.agents.models.OptimizationJobInputs; import com.azure.ai.agents.models.PageOrder; -import com.azure.ai.agents.models.PromoteCandidateRequest; -import com.azure.ai.agents.models.PromoteCandidateResponse; +import com.azure.ai.agents.models.PromoteCandidateInput; +import com.azure.ai.agents.models.PromoteCandidateResult; import com.azure.ai.agents.models.SessionLogEvent; import com.azure.ai.agents.models.UpdateAgentDetailsOptions; import com.azure.ai.agents.models.VersionIndicator; @@ -4575,7 +4575,7 @@ public void deleteOptimizationJob(String jobId) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public AgentsPagedResultOptimizationCandidate listOptimizationCandidates(String jobId, + public OptimizationCandidatePagedResult listOptimizationCandidates(String jobId, FoundryFeaturesOptInKeys foundryFeatures, Integer limit, PageOrder order, String after, String before) { // Generated convenience method for listOptimizationCandidatesWithResponse RequestOptions requestOptions = new RequestOptions(); @@ -4595,7 +4595,7 @@ public AgentsPagedResultOptimizationCandidate listOptimizationCandidates(String requestOptions.addQueryParam("before", before, false); } return listOptimizationCandidatesWithResponse(jobId, requestOptions).getValue() - .toObject(AgentsPagedResultOptimizationCandidate.class); + .toObject(OptimizationCandidatePagedResult.class); } /** @@ -4614,11 +4614,11 @@ public AgentsPagedResultOptimizationCandidate listOptimizationCandidates(String */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public AgentsPagedResultOptimizationCandidate listOptimizationCandidates(String jobId) { + public OptimizationCandidatePagedResult listOptimizationCandidates(String jobId) { // Generated convenience method for listOptimizationCandidatesWithResponse RequestOptions requestOptions = new RequestOptions(); return listOptimizationCandidatesWithResponse(jobId, requestOptions).getValue() - .toObject(AgentsPagedResultOptimizationCandidate.class); + .toObject(OptimizationCandidatePagedResult.class); } /** @@ -5292,15 +5292,15 @@ public BinaryData getOptimizationCandidateFile(String jobId, String candidateId, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public PromoteCandidateResponse promoteOptimizationCandidate(String jobId, String candidateId, - PromoteCandidateRequest candidateRequest, FoundryFeaturesOptInKeys foundryFeatures) { + public PromoteCandidateResult promoteOptimizationCandidate(String jobId, String candidateId, + PromoteCandidateInput candidateRequest, FoundryFeaturesOptInKeys foundryFeatures) { // Generated convenience method for promoteOptimizationCandidateWithResponse RequestOptions requestOptions = new RequestOptions(); if (foundryFeatures != null) { requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); } return promoteOptimizationCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(candidateRequest), - requestOptions).getValue().toObject(PromoteCandidateResponse.class); + requestOptions).getValue().toObject(PromoteCandidateResult.class); } /** @@ -5321,11 +5321,11 @@ public PromoteCandidateResponse promoteOptimizationCandidate(String jobId, Strin */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public PromoteCandidateResponse promoteOptimizationCandidate(String jobId, String candidateId, - PromoteCandidateRequest candidateRequest) { + public PromoteCandidateResult promoteOptimizationCandidate(String jobId, String candidateId, + PromoteCandidateInput candidateRequest) { // Generated convenience method for promoteOptimizationCandidateWithResponse RequestOptions requestOptions = new RequestOptions(); return promoteOptimizationCandidateWithResponse(jobId, candidateId, BinaryData.fromObject(candidateRequest), - requestOptions).getValue().toObject(PromoteCandidateResponse.class); + requestOptions).getValue().toObject(PromoteCandidateResult.class); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java index 536e382f4dbe..d9c3e70600ad 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java @@ -62,18 +62,6 @@ public final class OptimizationCandidate implements JsonSerializable writer.writeJson(element)); jsonWriter.writeBooleanField("is_pareto_optimal", this.isParetoOptimal); jsonWriter.writeStringField("candidate_id", this.candidateId); - jsonWriter.writeStringField("eval_id", this.evalId); - jsonWriter.writeStringField("eval_run_id", this.evalRunId); + jsonWriter.writeStringField("eval_id", this.evaluationId); + jsonWriter.writeStringField("eval_run_id", this.evaluationRunId); jsonWriter.writeJsonField("promotion", this.promotion); return jsonWriter.writeEndObject(); } @@ -213,8 +181,8 @@ public static OptimizationCandidate fromJson(JsonReader jsonReader) throws IOExc List taskScores = null; boolean isParetoOptimal = false; String candidateId = null; - String evalId = null; - String evalRunId = null; + String evaluationId = null; + String evaluationRunId = null; PromotionInfo promotion = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); @@ -239,9 +207,9 @@ public static OptimizationCandidate fromJson(JsonReader jsonReader) throws IOExc } else if ("candidate_id".equals(fieldName)) { candidateId = reader.getString(); } else if ("eval_id".equals(fieldName)) { - evalId = reader.getString(); + evaluationId = reader.getString(); } else if ("eval_run_id".equals(fieldName)) { - evalRunId = reader.getString(); + evaluationRunId = reader.getString(); } else if ("promotion".equals(fieldName)) { promotion = PromotionInfo.fromJson(reader); } else { @@ -251,8 +219,8 @@ public static OptimizationCandidate fromJson(JsonReader jsonReader) throws IOExc OptimizationCandidate deserializedOptimizationCandidate = new OptimizationCandidate(name, config, mutations, averageScore, averageTokens, passRate, taskScores, isParetoOptimal); deserializedOptimizationCandidate.candidateId = candidateId; - deserializedOptimizationCandidate.evalId = evalId; - deserializedOptimizationCandidate.evalRunId = evalRunId; + deserializedOptimizationCandidate.evaluationId = evaluationId; + deserializedOptimizationCandidate.evaluationRunId = evaluationRunId; deserializedOptimizationCandidate.promotion = promotion; return deserializedOptimizationCandidate; }); @@ -331,4 +299,36 @@ public double getAverageScore() { public double getAverageTokens() { return this.averageTokens; } + + /* + * Foundry evaluation identifier used to score this candidate. + */ + @Generated + private String evaluationId; + + /* + * Foundry evaluation run identifier for this candidate's scoring run. + */ + @Generated + private String evaluationRunId; + + /** + * Get the evaluationId property: Foundry evaluation identifier used to score this candidate. + * + * @return the evaluationId value. + */ + @Generated + public String getEvaluationId() { + return this.evaluationId; + } + + /** + * Get the evaluationRunId property: Foundry evaluation run identifier for this candidate's scoring run. + * + * @return the evaluationRunId value. + */ + @Generated + public String getEvaluationRunId() { + return this.evaluationRunId; + } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidatePagedResult.java similarity index 77% rename from sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java rename to sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidatePagedResult.java index 49a00ef3c107..76867b71bbec 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/OptimizationCandidatePagedResult.java @@ -16,8 +16,7 @@ * The response data for a requested list of items. */ @Immutable -public final class AgentsPagedResultOptimizationCandidate - implements JsonSerializable { +public final class OptimizationCandidatePagedResult implements JsonSerializable { /* * The requested list of items. @@ -44,13 +43,13 @@ public final class AgentsPagedResultOptimizationCandidate private final boolean hasMore; /** - * Creates an instance of AgentsPagedResultOptimizationCandidate class. + * Creates an instance of OptimizationCandidatePagedResult class. * * @param data the data value to set. * @param hasMore the hasMore value to set. */ @Generated - private AgentsPagedResultOptimizationCandidate(List data, boolean hasMore) { + private OptimizationCandidatePagedResult(List data, boolean hasMore) { this.data = data; this.hasMore = hasMore; } @@ -111,16 +110,16 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of AgentsPagedResultOptimizationCandidate from the JsonReader. + * Reads an instance of OptimizationCandidatePagedResult from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of AgentsPagedResultOptimizationCandidate if the JsonReader was pointing to an instance of - * it, or null if it was pointing to JSON null. + * @return An instance of OptimizationCandidatePagedResult if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the AgentsPagedResultOptimizationCandidate. + * @throws IOException If an error occurs while reading the OptimizationCandidatePagedResult. */ @Generated - public static AgentsPagedResultOptimizationCandidate fromJson(JsonReader jsonReader) throws IOException { + public static OptimizationCandidatePagedResult fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { List data = null; boolean hasMore = false; @@ -141,11 +140,11 @@ public static AgentsPagedResultOptimizationCandidate fromJson(JsonReader jsonRea reader.skipChildren(); } } - AgentsPagedResultOptimizationCandidate deserializedAgentsPagedResultOptimizationCandidate - = new AgentsPagedResultOptimizationCandidate(data, hasMore); - deserializedAgentsPagedResultOptimizationCandidate.firstId = firstId; - deserializedAgentsPagedResultOptimizationCandidate.lastId = lastId; - return deserializedAgentsPagedResultOptimizationCandidate; + OptimizationCandidatePagedResult deserializedOptimizationCandidatePagedResult + = new OptimizationCandidatePagedResult(data, hasMore); + deserializedOptimizationCandidatePagedResult.firstId = firstId; + deserializedOptimizationCandidatePagedResult.lastId = lastId; + return deserializedOptimizationCandidatePagedResult; }); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateInput.java similarity index 81% rename from sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java rename to sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateInput.java index 70bfd1081af4..afc74fc8b27a 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateInput.java @@ -15,7 +15,7 @@ * Request body for promoting a candidate to a Foundry agent version. */ @Immutable -public final class PromoteCandidateRequest implements JsonSerializable { +public final class PromoteCandidateInput implements JsonSerializable { /* * Name of the Foundry agent to promote to. @@ -30,13 +30,13 @@ public final class PromoteCandidateRequest implements JsonSerializable { String agentName = null; String agentVersion = null; @@ -98,7 +98,7 @@ public static PromoteCandidateRequest fromJson(JsonReader jsonReader) throws IOE reader.skipChildren(); } } - return new PromoteCandidateRequest(agentName, agentVersion); + return new PromoteCandidateInput(agentName, agentVersion); }); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateResult.java similarity index 87% rename from sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java rename to sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateResult.java index 3e60831aaa8e..3b73e73d2679 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/PromoteCandidateResult.java @@ -18,7 +18,7 @@ * Response after successfully promoting a candidate. */ @Immutable -public final class PromoteCandidateResponse implements JsonSerializable { +public final class PromoteCandidateResult implements JsonSerializable { /* * The promoted candidate id. @@ -51,7 +51,7 @@ public final class PromoteCandidateResponse implements JsonSerializable { String candidateId = null; String status = null; @@ -172,7 +172,7 @@ public static PromoteCandidateResponse fromJson(JsonReader jsonReader) throws IO reader.skipChildren(); } } - return new PromoteCandidateResponse(candidateId, status, promotedAt, agentName, agentVersion); + return new PromoteCandidateResult(candidateId, status, promotedAt, agentName, agentVersion); }); } } diff --git a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SessionFileWriteResult.java similarity index 80% rename from sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java rename to sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SessionFileWriteResult.java index d9e4a6925916..396c0fc96460 100644 --- a/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java +++ b/sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/models/SessionFileWriteResult.java @@ -15,7 +15,7 @@ * Response from uploading a file to a session sandbox. */ @Immutable -public final class SessionFileWriteResponse implements JsonSerializable { +public final class SessionFileWriteResult implements JsonSerializable { /* * The path where the file was written, relative to the session home directory. @@ -30,13 +30,13 @@ public final class SessionFileWriteResponse implements JsonSerializable { String path = null; long bytesWritten = 0L; @@ -98,7 +98,7 @@ public static SessionFileWriteResponse fromJson(JsonReader jsonReader) throws IO reader.skipChildren(); } } - return new SessionFileWriteResponse(path, bytesWritten); + return new SessionFileWriteResult(path, bytesWritten); }); } } diff --git a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json index 6e91f1963c33..9ed295d721a6 100644 --- a/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json +++ b/sdk/ai/azure-ai-agents/src/main/resources/META-INF/azure-ai-agents_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"842186079108","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.AgentsPagedResultOptimizationCandidate":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIqPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateRequest":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResponse":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionFileWriteResponse":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/AgentsPagedResultOptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateRequest.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResponse.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResponse.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"045bf1bf68c9","crossLanguageDefinitions":{"com.azure.ai.agents.AgentSessionFilesAsyncClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesAsyncClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient":"Azure.AI.Projects.AgentSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFile":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.deleteSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.deleteSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFile":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.downloadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.downloadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.listSessionFiles":"Azure.AI.Projects.AgentSessionFiles.listSessionFiles","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFile":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentSessionFilesClient.uploadSessionFileWithResponse":"Azure.AI.Projects.AgentSessionFiles.uploadSessionFile","com.azure.ai.agents.AgentsAsyncClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsAsyncClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsAsyncClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsAsyncClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsAsyncClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsAsyncClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsAsyncClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsAsyncClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsAsyncClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsAsyncClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsAsyncClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsAsyncClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsAsyncClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsAsyncClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsAsyncClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsAsyncClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsAsyncClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsAsyncClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient":"Azure.AI.Projects.Agents","com.azure.ai.agents.AgentsClient.cancelOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.cancelOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.cancel","com.azure.ai.agents.AgentsClient.createAgent":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createAgentFromCode":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentFromCode","com.azure.ai.agents.AgentsClient.createAgentFromManifest":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersion":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentVersionFromCode":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromCodeWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromCode","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifest":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionFromManifestWithResponse":"Azure.AI.Projects.Agents.createAgentVersionFromManifest","com.azure.ai.agents.AgentsClient.createAgentVersionWithResponse":"Azure.AI.Projects.Agents.createAgentVersion","com.azure.ai.agents.AgentsClient.createAgentWithResponse":"Azure.AI.Projects.Agents.createAgent","com.azure.ai.agents.AgentsClient.createOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.create","com.azure.ai.agents.AgentsClient.createSession":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.createSessionWithResponse":"Azure.AI.Projects.Agents.createSession","com.azure.ai.agents.AgentsClient.deleteOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.delete","com.azure.ai.agents.AgentsClient.deleteSession":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.deleteSessionWithResponse":"Azure.AI.Projects.Agents.deleteSession","com.azure.ai.agents.AgentsClient.downloadAgentCode":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.downloadAgentCodeWithResponse":"Azure.AI.Projects.Agents.downloadAgentCode","com.azure.ai.agents.AgentsClient.getAgent":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getAgentVersionDetails":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentVersionDetailsWithResponse":"Azure.AI.Projects.Agents.getAgentVersion","com.azure.ai.agents.AgentsClient.getAgentWithResponse":"Azure.AI.Projects.Agents.getAgent","com.azure.ai.agents.AgentsClient.getOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfig":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateConfigWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateConfig","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFile":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateFileWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateFile","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResults":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateResultsWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidateResults","com.azure.ai.agents.AgentsClient.getOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.getCandidate","com.azure.ai.agents.AgentsClient.getOptimizationJob":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getOptimizationJobWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.get","com.azure.ai.agents.AgentsClient.getSession":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.getSessionWithResponse":"Azure.AI.Projects.Agents.getSession","com.azure.ai.agents.AgentsClient.listAgentConversations":"Azure.AI.Projects.Conversations.listConversations","com.azure.ai.agents.AgentsClient.listAgentVersions":"Azure.AI.Projects.Agents.listAgentVersions","com.azure.ai.agents.AgentsClient.listAgents":"Azure.AI.Projects.Agents.listAgents","com.azure.ai.agents.AgentsClient.listOptimizationCandidates":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationCandidatesWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.listCandidates","com.azure.ai.agents.AgentsClient.listOptimizationJobs":"Azure.AI.Projects.AgentOptimizationJobs.list","com.azure.ai.agents.AgentsClient.listSessions":"Azure.AI.Projects.Agents.listSessions","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidate":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.promoteOptimizationCandidateWithResponse":"Azure.AI.Projects.AgentOptimizationJobs.promoteCandidate","com.azure.ai.agents.AgentsClient.stopSession":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.stopSessionWithResponse":"Azure.AI.Projects.Agents.stopSession","com.azure.ai.agents.AgentsClient.updateAgent":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClient.updateAgentDetails":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentDetailsWithResponse":"Azure.AI.Projects.Agents.patchAgentObject","com.azure.ai.agents.AgentsClient.updateAgentFromCode":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromCodeWithResponse":"Azure.AI.Projects.Agents.updateAgentFromCode","com.azure.ai.agents.AgentsClient.updateAgentFromManifest":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentFromManifestWithResponse":"Azure.AI.Projects.Agents.updateAgentFromManifest","com.azure.ai.agents.AgentsClient.updateAgentWithResponse":"Azure.AI.Projects.Agents.updateAgent","com.azure.ai.agents.AgentsClientBuilder":"Azure.AI.Projects","com.azure.ai.agents.MemoryStoresAsyncClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresAsyncClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresAsyncClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresAsyncClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient":"Azure.AI.Projects.MemoryStores","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemories":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.beginInternalUpdateMemoriesWithModel":"Azure.AI.Projects.MemoryStores.updateMemories","com.azure.ai.agents.MemoryStoresClient.createMemory":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.createMemoryStore":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.createMemoryStore","com.azure.ai.agents.MemoryStoresClient.createMemoryWithResponse":"Azure.AI.Projects.MemoryStores.createMemory","com.azure.ai.agents.MemoryStoresClient.getMemory":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getMemoryStore":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.getMemoryStore","com.azure.ai.agents.MemoryStoresClient.getMemoryWithResponse":"Azure.AI.Projects.MemoryStores.getMemory","com.azure.ai.agents.MemoryStoresClient.getUpdateResult":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.getUpdateResultWithResponse":"Azure.AI.Projects.MemoryStores.getUpdateResult","com.azure.ai.agents.MemoryStoresClient.internalSearchMemories":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.internalSearchMemoriesWithResponse":"Azure.AI.Projects.MemoryStores.searchMemories","com.azure.ai.agents.MemoryStoresClient.listMemories":"Azure.AI.Projects.MemoryStores.listMemories","com.azure.ai.agents.MemoryStoresClient.listMemoryStores":"Azure.AI.Projects.MemoryStores.listMemoryStores","com.azure.ai.agents.MemoryStoresClient.updateMemory":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.MemoryStoresClient.updateMemoryStore":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryStoreWithResponse":"Azure.AI.Projects.MemoryStores.updateMemoryStore","com.azure.ai.agents.MemoryStoresClient.updateMemoryWithResponse":"Azure.AI.Projects.MemoryStores.updateMemory","com.azure.ai.agents.ToolboxesAsyncClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesAsyncClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesAsyncClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesAsyncClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesAsyncClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient":"Azure.AI.Projects.Toolboxes","com.azure.ai.agents.ToolboxesClient.createToolboxVersion":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.createToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.createToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolbox":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersion":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolboxVersion","com.azure.ai.agents.ToolboxesClient.deleteToolboxWithResponse":"Azure.AI.Projects.Toolboxes.deleteToolbox","com.azure.ai.agents.ToolboxesClient.getToolbox":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.getToolboxVersion":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxVersionWithResponse":"Azure.AI.Projects.Toolboxes.getToolboxVersion","com.azure.ai.agents.ToolboxesClient.getToolboxWithResponse":"Azure.AI.Projects.Toolboxes.getToolbox","com.azure.ai.agents.ToolboxesClient.listToolboxVersions":"Azure.AI.Projects.Toolboxes.listToolboxVersions","com.azure.ai.agents.ToolboxesClient.listToolboxes":"Azure.AI.Projects.Toolboxes.listToolboxes","com.azure.ai.agents.ToolboxesClient.updateToolbox":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.ToolboxesClient.updateToolboxWithResponse":"Azure.AI.Projects.Toolboxes.updateToolbox","com.azure.ai.agents.implementation.models.CreateAgentFromCodeContent":"Azure.AI.Projects.CreateAgentFromCodeContent","com.azure.ai.agents.implementation.models.CreateAgentFromManifestRequest":"Azure.AI.Projects.createAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentOptions":null,"com.azure.ai.agents.implementation.models.CreateAgentRequest":"Azure.AI.Projects.createAgent.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionFromManifestRequest":"Azure.AI.Projects.createAgentVersionFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.CreateAgentVersionRequest":"Azure.AI.Projects.createAgentVersion.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryRequest":"Azure.AI.Projects.createMemory.Request.anonymous","com.azure.ai.agents.implementation.models.CreateMemoryStoreRequest":"Azure.AI.Projects.createMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.CreateSessionRequest":"Azure.AI.Projects.createSession.Request.anonymous","com.azure.ai.agents.implementation.models.CreateToolboxVersionRequest":"Azure.AI.Projects.createToolboxVersion.Request.anonymous","com.azure.ai.agents.implementation.models.ListMemoriesRequest":"Azure.AI.Projects.listMemories.Request.anonymous","com.azure.ai.agents.implementation.models.SearchMemoriesRequest":"Azure.AI.Projects.searchMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentFromManifestRequest":"Azure.AI.Projects.updateAgentFromManifest.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateAgentRequest":"Azure.AI.Projects.updateAgent.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoriesRequest":"Azure.AI.Projects.updateMemories.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryRequest":"Azure.AI.Projects.updateMemory.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateMemoryStoreRequest":"Azure.AI.Projects.updateMemoryStore.Request.anonymous","com.azure.ai.agents.implementation.models.UpdateToolboxInput":"Azure.AI.Projects.UpdateToolboxRequest","com.azure.ai.agents.implementation.models.UpdateToolboxRequest":"Azure.AI.Projects.updateToolbox.Request.anonymous","com.azure.ai.agents.models.A2APreviewTool":"Azure.AI.Projects.A2APreviewTool","com.azure.ai.agents.models.A2AToolCall":"Azure.AI.Projects.A2AToolCall","com.azure.ai.agents.models.A2AToolCallOutput":"Azure.AI.Projects.A2AToolCallOutput","com.azure.ai.agents.models.AISearchIndexResource":"Azure.AI.Projects.AISearchIndexResource","com.azure.ai.agents.models.AgentBlueprintReference":"Azure.AI.Projects.AgentBlueprintReference","com.azure.ai.agents.models.AgentBlueprintReferenceType":"Azure.AI.Projects.AgentBlueprintReferenceType","com.azure.ai.agents.models.AgentCard":"Azure.AI.Projects.AgentCard","com.azure.ai.agents.models.AgentCardSkill":"Azure.AI.Projects.AgentCardSkill","com.azure.ai.agents.models.AgentDefinition":"Azure.AI.Projects.AgentDefinition","com.azure.ai.agents.models.AgentDefinitionOptInKeys":"Azure.AI.Projects.AgentDefinitionOptInKeys","com.azure.ai.agents.models.AgentDetails":"Azure.AI.Projects.AgentObject","com.azure.ai.agents.models.AgentDetailsVersions":"Azure.AI.Projects.AgentObject.versions.anonymous","com.azure.ai.agents.models.AgentEndpointAuthorizationScheme":"Azure.AI.Projects.AgentEndpointAuthorizationScheme","com.azure.ai.agents.models.AgentEndpointAuthorizationSchemeType":"Azure.AI.Projects.AgentEndpointAuthorizationSchemeType","com.azure.ai.agents.models.AgentEndpointConfig":"Azure.AI.Projects.AgentEndpointConfig","com.azure.ai.agents.models.AgentEndpointProtocol":"Azure.AI.Projects.AgentEndpointProtocol","com.azure.ai.agents.models.AgentIdentifier":"Azure.AI.Projects.AgentIdentifier","com.azure.ai.agents.models.AgentIdentity":"Azure.AI.Projects.AgentIdentity","com.azure.ai.agents.models.AgentKind":"Azure.AI.Projects.AgentKind","com.azure.ai.agents.models.AgentObjectType":"Azure.AI.Projects.AgentObjectType","com.azure.ai.agents.models.AgentProtocol":"Azure.AI.Projects.AgentProtocol","com.azure.ai.agents.models.AgentReference":"Azure.AI.Projects.AgentReference","com.azure.ai.agents.models.AgentSessionResource":"Azure.AI.Projects.AgentSessionResource","com.azure.ai.agents.models.AgentSessionStatus":"Azure.AI.Projects.AgentSessionStatus","com.azure.ai.agents.models.AgentVersionDetails":"Azure.AI.Projects.AgentVersionObject","com.azure.ai.agents.models.AgentVersionStatus":"Azure.AI.Projects.AgentVersionStatus","com.azure.ai.agents.models.ApiError":"OpenAI.Error","com.azure.ai.agents.models.ApplyPatchToolParameter":"OpenAI.ApplyPatchToolParam","com.azure.ai.agents.models.ApproximateLocation":"OpenAI.ApproximateLocation","com.azure.ai.agents.models.AutoCodeInterpreterToolParameter":"OpenAI.AutoCodeInterpreterToolParam","com.azure.ai.agents.models.AzureAISearchQueryType":"Azure.AI.Projects.AzureAISearchQueryType","com.azure.ai.agents.models.AzureAISearchTool":"Azure.AI.Projects.AzureAISearchTool","com.azure.ai.agents.models.AzureAISearchToolCall":"Azure.AI.Projects.AzureAISearchToolCall","com.azure.ai.agents.models.AzureAISearchToolCallOutput":"Azure.AI.Projects.AzureAISearchToolCallOutput","com.azure.ai.agents.models.AzureAISearchToolResource":"Azure.AI.Projects.AzureAISearchToolResource","com.azure.ai.agents.models.AzureCreateResponseDetails":"Azure.AI.Projects.AzureCreateResponseDetails","com.azure.ai.agents.models.AzureCreateResponseOptions":"Azure.AI.Projects.AzureCreateResponseOptions","com.azure.ai.agents.models.AzureFunctionBinding":"Azure.AI.Projects.AzureFunctionBinding","com.azure.ai.agents.models.AzureFunctionDefinition":"Azure.AI.Projects.AzureFunctionDefinition","com.azure.ai.agents.models.AzureFunctionDefinitionDetails":"Azure.AI.Projects.AzureFunctionDefinition.function.anonymous","com.azure.ai.agents.models.AzureFunctionStorageQueue":"Azure.AI.Projects.AzureFunctionStorageQueue","com.azure.ai.agents.models.AzureFunctionTool":"Azure.AI.Projects.AzureFunctionTool","com.azure.ai.agents.models.AzureFunctionToolCall":"Azure.AI.Projects.AzureFunctionToolCall","com.azure.ai.agents.models.AzureFunctionToolCallOutput":"Azure.AI.Projects.AzureFunctionToolCallOutput","com.azure.ai.agents.models.BingCustomSearchConfiguration":"Azure.AI.Projects.BingCustomSearchConfiguration","com.azure.ai.agents.models.BingCustomSearchPreviewTool":"Azure.AI.Projects.BingCustomSearchPreviewTool","com.azure.ai.agents.models.BingCustomSearchToolCall":"Azure.AI.Projects.BingCustomSearchToolCall","com.azure.ai.agents.models.BingCustomSearchToolCallOutput":"Azure.AI.Projects.BingCustomSearchToolCallOutput","com.azure.ai.agents.models.BingCustomSearchToolParameters":"Azure.AI.Projects.BingCustomSearchToolParameters","com.azure.ai.agents.models.BingGroundingSearchConfiguration":"Azure.AI.Projects.BingGroundingSearchConfiguration","com.azure.ai.agents.models.BingGroundingSearchToolParameters":"Azure.AI.Projects.BingGroundingSearchToolParameters","com.azure.ai.agents.models.BingGroundingTool":"Azure.AI.Projects.BingGroundingTool","com.azure.ai.agents.models.BingGroundingToolCall":"Azure.AI.Projects.BingGroundingToolCall","com.azure.ai.agents.models.BingGroundingToolCallOutput":"Azure.AI.Projects.BingGroundingToolCallOutput","com.azure.ai.agents.models.BotServiceAuthorizationScheme":"Azure.AI.Projects.BotServiceAuthorizationScheme","com.azure.ai.agents.models.BotServiceRbacAuthorizationScheme":"Azure.AI.Projects.BotServiceRbacAuthorizationScheme","com.azure.ai.agents.models.BrowserAutomationPreviewTool":"Azure.AI.Projects.BrowserAutomationPreviewTool","com.azure.ai.agents.models.BrowserAutomationToolCall":"Azure.AI.Projects.BrowserAutomationToolCall","com.azure.ai.agents.models.BrowserAutomationToolCallOutput":"Azure.AI.Projects.BrowserAutomationToolCallOutput","com.azure.ai.agents.models.BrowserAutomationToolConnectionParameters":"Azure.AI.Projects.BrowserAutomationToolConnectionParameters","com.azure.ai.agents.models.BrowserAutomationToolParameters":"Azure.AI.Projects.BrowserAutomationToolParameters","com.azure.ai.agents.models.CandidateDeployConfig":"Azure.AI.Projects.CandidateDeployConfig","com.azure.ai.agents.models.CandidateFileInfo":"Azure.AI.Projects.CandidateFileInfo","com.azure.ai.agents.models.CandidateMetadata":"Azure.AI.Projects.CandidateMetadata","com.azure.ai.agents.models.CandidateResults":"Azure.AI.Projects.CandidateResults","com.azure.ai.agents.models.CaptureStructuredOutputsTool":"Azure.AI.Projects.CaptureStructuredOutputsTool","com.azure.ai.agents.models.ChatSummaryMemoryItem":"Azure.AI.Projects.ChatSummaryMemoryItem","com.azure.ai.agents.models.CodeConfiguration":"Azure.AI.Projects.CodeConfiguration","com.azure.ai.agents.models.CodeDependencyResolution":"Azure.AI.Projects.CodeDependencyResolution","com.azure.ai.agents.models.CodeFileDetails":null,"com.azure.ai.agents.models.CodeInterpreterTool":"OpenAI.CodeInterpreterTool","com.azure.ai.agents.models.ComputerEnvironment":"ComputerEnvironmentExpandable","com.azure.ai.agents.models.ComputerUsePreviewTool":"OpenAI.ComputerUsePreviewTool","com.azure.ai.agents.models.ContainerAutoParameter":"OpenAI.ContainerAutoParam","com.azure.ai.agents.models.ContainerConfiguration":"Azure.AI.Projects.ContainerConfiguration","com.azure.ai.agents.models.ContainerMemoryLimit":"ContainerMemoryLimitExpandable","com.azure.ai.agents.models.ContainerNetworkPolicyAllowlistParameter":"OpenAI.ContainerNetworkPolicyAllowlistParam","com.azure.ai.agents.models.ContainerNetworkPolicyDisabledParameter":"OpenAI.ContainerNetworkPolicyDisabledParam","com.azure.ai.agents.models.ContainerNetworkPolicyDomainSecretParameter":"OpenAI.ContainerNetworkPolicyDomainSecretParam","com.azure.ai.agents.models.ContainerNetworkPolicyParamType":"OpenAI.ContainerNetworkPolicyParamType","com.azure.ai.agents.models.ContainerNetworkPolicyParameter":"OpenAI.ContainerNetworkPolicyParam","com.azure.ai.agents.models.ContainerSkill":"OpenAI.ContainerSkill","com.azure.ai.agents.models.ContainerSkillType":"OpenAI.ContainerSkillType","com.azure.ai.agents.models.CreateAgentVersionFromCodeContent":"Azure.AI.Projects.CreateAgentVersionFromCodeContent","com.azure.ai.agents.models.CreateAgentVersionFromCodeMetadata":"Azure.AI.Projects.CreateAgentVersionFromCodeMetadata","com.azure.ai.agents.models.CreateAgentVersionInput":"Azure.AI.Projects.CreateAgentVersionRequest","com.azure.ai.agents.models.CustomGrammarFormatParameter":"OpenAI.CustomGrammarFormatParam","com.azure.ai.agents.models.CustomTextFormatParameter":"OpenAI.CustomTextFormatParam","com.azure.ai.agents.models.CustomToolParamFormat":"OpenAI.CustomToolParamFormat","com.azure.ai.agents.models.CustomToolParamFormatType":"OpenAI.CustomToolParamFormatType","com.azure.ai.agents.models.CustomToolParameter":"OpenAI.CustomToolParam","com.azure.ai.agents.models.DatasetInfo":"Azure.AI.Projects.DatasetInfo","com.azure.ai.agents.models.DatasetRef":"Azure.AI.Projects.DatasetRef","com.azure.ai.agents.models.EntraAuthorizationScheme":"Azure.AI.Projects.EntraAuthorizationScheme","com.azure.ai.agents.models.EntraIsolationKeySource":"Azure.AI.Projects.EntraIsolationKeySource","com.azure.ai.agents.models.EvaluationLevel":"Azure.AI.Projects.EvaluationLevel","com.azure.ai.agents.models.ExternalAgentDefinition":"Azure.AI.Projects.ExternalAgentDefinition","com.azure.ai.agents.models.FabricDataAgentToolCall":"Azure.AI.Projects.FabricDataAgentToolCall","com.azure.ai.agents.models.FabricDataAgentToolCallOutput":"Azure.AI.Projects.FabricDataAgentToolCallOutput","com.azure.ai.agents.models.FabricDataAgentToolParameters":"Azure.AI.Projects.FabricDataAgentToolParameters","com.azure.ai.agents.models.FabricIqPreviewTool":"Azure.AI.Projects.FabricIQPreviewTool","com.azure.ai.agents.models.FileSearchTool":"OpenAI.FileSearchTool","com.azure.ai.agents.models.FixedRatioVersionSelectionRule":"Azure.AI.Projects.FixedRatioVersionSelectionRule","com.azure.ai.agents.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.agents.models.FunctionShellToolParamEnvironment":"OpenAI.FunctionShellToolParamEnvironment","com.azure.ai.agents.models.FunctionShellToolParamEnvironmentType":"OpenAI.FunctionShellToolParamEnvironmentType","com.azure.ai.agents.models.FunctionShellToolParameter":"OpenAI.FunctionShellToolParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentContainerReferenceParameter":"OpenAI.FunctionShellToolParamEnvironmentContainerReferenceParam","com.azure.ai.agents.models.FunctionShellToolParameterEnvironmentLocalEnvironmentParameter":"OpenAI.FunctionShellToolParamEnvironmentLocalEnvironmentParam","com.azure.ai.agents.models.FunctionTool":"OpenAI.FunctionTool","com.azure.ai.agents.models.GrammarSyntax":"GrammarSyntaxExpandable","com.azure.ai.agents.models.HeaderIsolationKeySource":"Azure.AI.Projects.HeaderIsolationKeySource","com.azure.ai.agents.models.HeaderTelemetryEndpointAuth":"Azure.AI.Projects.HeaderTelemetryEndpointAuth","com.azure.ai.agents.models.HostedAgentDefinition":"Azure.AI.Projects.HostedAgentDefinition","com.azure.ai.agents.models.HybridSearchOptions":"OpenAI.HybridSearchOptions","com.azure.ai.agents.models.ImageGenActionEnum":"ImageGenActionEnumExpandable","com.azure.ai.agents.models.ImageGenTool":"OpenAI.ImageGenTool","com.azure.ai.agents.models.ImageGenToolBackground":"ImageGenToolBackgroundExpandable","com.azure.ai.agents.models.ImageGenToolInputImageMask":"OpenAI.ImageGenToolInputImageMask","com.azure.ai.agents.models.ImageGenToolModel":"OpenAI.ImageGenTool.model.anonymous","com.azure.ai.agents.models.ImageGenToolModeration":"ImageGenToolModerationExpandable","com.azure.ai.agents.models.ImageGenToolOutputFormat":"ImageGenToolOutputFormatExpandable","com.azure.ai.agents.models.ImageGenToolQuality":"ImageGenToolQualityExpandable","com.azure.ai.agents.models.ImageGenToolSize":"ImageGenToolSizeExpandable","com.azure.ai.agents.models.IncludeEnum":"OpenAI.IncludeEnum","com.azure.ai.agents.models.InlineSkillParameter":"OpenAI.InlineSkillParam","com.azure.ai.agents.models.InlineSkillSourceParameter":"OpenAI.InlineSkillSourceParam","com.azure.ai.agents.models.InputFidelity":"InputFidelityExpandable","com.azure.ai.agents.models.IsolationKeySource":"Azure.AI.Projects.IsolationKeySource","com.azure.ai.agents.models.IsolationKeySourceKind":"Azure.AI.Projects.IsolationKeySourceKind","com.azure.ai.agents.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.agents.models.ListMemoriesOptions":null,"com.azure.ai.agents.models.LocalShellToolParameter":"OpenAI.LocalShellToolParam","com.azure.ai.agents.models.LocalSkillParameter":"OpenAI.LocalSkillParam","com.azure.ai.agents.models.ManagedAgentIdentityBlueprintReference":"Azure.AI.Projects.ManagedAgentIdentityBlueprintReference","com.azure.ai.agents.models.McpTool":"OpenAI.MCPTool","com.azure.ai.agents.models.McpToolConnectorId":"McpToolConnectorIdExpandable","com.azure.ai.agents.models.McpToolFilter":"OpenAI.MCPToolFilter","com.azure.ai.agents.models.McpToolRequireApproval":"OpenAI.MCPToolRequireApproval","com.azure.ai.agents.models.MemoryCommandToolCall":"Azure.AI.Projects.MemoryCommandToolCall","com.azure.ai.agents.models.MemoryCommandToolCallOutput":"Azure.AI.Projects.MemoryCommandToolCallOutput","com.azure.ai.agents.models.MemoryItem":"Azure.AI.Projects.MemoryItem","com.azure.ai.agents.models.MemoryItemKind":"Azure.AI.Projects.MemoryItemKind","com.azure.ai.agents.models.MemoryOperation":"Azure.AI.Projects.MemoryOperation","com.azure.ai.agents.models.MemoryOperationKind":"Azure.AI.Projects.MemoryOperationKind","com.azure.ai.agents.models.MemorySearchItem":"Azure.AI.Projects.MemorySearchItem","com.azure.ai.agents.models.MemorySearchOptions":"Azure.AI.Projects.MemorySearchOptions","com.azure.ai.agents.models.MemorySearchPreviewTool":"Azure.AI.Projects.MemorySearchPreviewTool","com.azure.ai.agents.models.MemorySearchToolCall":"Azure.AI.Projects.MemorySearchToolCall","com.azure.ai.agents.models.MemoryStoreDefaultDefinition":"Azure.AI.Projects.MemoryStoreDefaultDefinition","com.azure.ai.agents.models.MemoryStoreDefaultOptions":"Azure.AI.Projects.MemoryStoreDefaultOptions","com.azure.ai.agents.models.MemoryStoreDefinition":"Azure.AI.Projects.MemoryStoreDefinition","com.azure.ai.agents.models.MemoryStoreDetails":"Azure.AI.Projects.MemoryStoreObject","com.azure.ai.agents.models.MemoryStoreKind":"Azure.AI.Projects.MemoryStoreKind","com.azure.ai.agents.models.MemoryStoreObjectType":"Azure.AI.Projects.MemoryStoreObjectType","com.azure.ai.agents.models.MemoryStoreOperationUsage":"Azure.AI.Projects.MemoryStoreOperationUsage","com.azure.ai.agents.models.MemoryStoreSearchResponse":"Azure.AI.Projects.MemoryStoreSearchResponse","com.azure.ai.agents.models.MemoryStoreUpdateCompletedResult":"Azure.AI.Projects.MemoryStoreUpdateCompletedResult","com.azure.ai.agents.models.MemoryStoreUpdateResponse":"Azure.AI.Projects.MemoryStoreUpdateResponse","com.azure.ai.agents.models.MemoryStoreUpdateStatus":"Azure.AI.Projects.MemoryStoreUpdateStatus","com.azure.ai.agents.models.MicrosoftFabricPreviewTool":"Azure.AI.Projects.MicrosoftFabricPreviewTool","com.azure.ai.agents.models.OpenApiAnonymousAuthDetails":"Azure.AI.Projects.OpenApiAnonymousAuthDetails","com.azure.ai.agents.models.OpenApiAuthDetails":"Azure.AI.Projects.OpenApiAuthDetails","com.azure.ai.agents.models.OpenApiAuthType":"Azure.AI.Projects.OpenApiAuthType","com.azure.ai.agents.models.OpenApiFunctionDefinition":"Azure.AI.Projects.OpenApiFunctionDefinition","com.azure.ai.agents.models.OpenApiFunctionDefinitionFunction":"Azure.AI.Projects.OpenApiFunctionDefinition.function.anonymous","com.azure.ai.agents.models.OpenApiManagedAuthDetails":"Azure.AI.Projects.OpenApiManagedAuthDetails","com.azure.ai.agents.models.OpenApiManagedSecurityScheme":"Azure.AI.Projects.OpenApiManagedSecurityScheme","com.azure.ai.agents.models.OpenApiProjectConnectionAuthDetails":"Azure.AI.Projects.OpenApiProjectConnectionAuthDetails","com.azure.ai.agents.models.OpenApiProjectConnectionSecurityScheme":"Azure.AI.Projects.OpenApiProjectConnectionSecurityScheme","com.azure.ai.agents.models.OpenApiTool":"Azure.AI.Projects.OpenApiTool","com.azure.ai.agents.models.OpenApiToolCall":"Azure.AI.Projects.OpenApiToolCall","com.azure.ai.agents.models.OpenApiToolCallOutput":"Azure.AI.Projects.OpenApiToolCallOutput","com.azure.ai.agents.models.OptimizationAgentDefinition":"Azure.AI.Projects.OptimizationAgentDefinition","com.azure.ai.agents.models.OptimizationCandidate":"Azure.AI.Projects.OptimizationCandidate","com.azure.ai.agents.models.OptimizationCandidatePagedResult":"Azure.AI.Projects.AgentsPagedResult","com.azure.ai.agents.models.OptimizationJob":"Azure.AI.Projects.OptimizationJob","com.azure.ai.agents.models.OptimizationJobInputs":"Azure.AI.Projects.OptimizationJobInputs","com.azure.ai.agents.models.OptimizationJobProgress":"Azure.AI.Projects.OptimizationJobProgress","com.azure.ai.agents.models.OptimizationJobResult":"Azure.AI.Projects.OptimizationJobResult","com.azure.ai.agents.models.OptimizationOptions":"Azure.AI.Projects.OptimizationOptions","com.azure.ai.agents.models.OptimizationTaskResult":"Azure.AI.Projects.OptimizationTaskResult","com.azure.ai.agents.models.OtlpTelemetryEndpoint":"Azure.AI.Projects.OtlpTelemetryEndpoint","com.azure.ai.agents.models.PageOrder":"Azure.AI.Projects.PageOrder","com.azure.ai.agents.models.ProceduralMemoryItem":"Azure.AI.Projects.ProceduralMemoryItem","com.azure.ai.agents.models.PromoteCandidateInput":"Azure.AI.Projects.PromoteCandidateRequest","com.azure.ai.agents.models.PromoteCandidateResult":"Azure.AI.Projects.PromoteCandidateResponse","com.azure.ai.agents.models.PromotionInfo":"Azure.AI.Projects.PromotionInfo","com.azure.ai.agents.models.PromptAgentDefinition":"Azure.AI.Projects.PromptAgentDefinition","com.azure.ai.agents.models.PromptAgentDefinitionTextOptions":"Azure.AI.Projects.PromptAgentDefinitionTextOptions","com.azure.ai.agents.models.ProtocolVersionRecord":"Azure.AI.Projects.ProtocolVersionRecord","com.azure.ai.agents.models.RaiConfig":"Azure.AI.Projects.RaiConfig","com.azure.ai.agents.models.RankerVersionType":"RankerVersionTypeExpandable","com.azure.ai.agents.models.RankingOptions":"OpenAI.RankingOptions","com.azure.ai.agents.models.ResponseFormatJsonSchemaInner":"OpenAI.ResponseFormatJsonSchemaSchema","com.azure.ai.agents.models.ResponseUsageInputTokensDetails":"OpenAI.ResponseUsageInputTokensDetails","com.azure.ai.agents.models.ResponseUsageOutputTokensDetails":"OpenAI.ResponseUsageOutputTokensDetails","com.azure.ai.agents.models.SearchContextSize":"SearchContextSizeExpandable","com.azure.ai.agents.models.SessionDirectoryEntry":"Azure.AI.Projects.SessionDirectoryEntry","com.azure.ai.agents.models.SessionFileWriteResult":"Azure.AI.Projects.SessionFileWriteResponse","com.azure.ai.agents.models.SessionLogEvent":"Azure.AI.Projects.SessionLogEvent","com.azure.ai.agents.models.SessionLogEventType":"Azure.AI.Projects.SessionLogEventType","com.azure.ai.agents.models.SharepointGroundingToolCall":"Azure.AI.Projects.SharepointGroundingToolCall","com.azure.ai.agents.models.SharepointGroundingToolCallOutput":"Azure.AI.Projects.SharepointGroundingToolCallOutput","com.azure.ai.agents.models.SharepointGroundingToolParameters":"Azure.AI.Projects.SharepointGroundingToolParameters","com.azure.ai.agents.models.SharepointPreviewTool":"Azure.AI.Projects.SharepointPreviewTool","com.azure.ai.agents.models.SkillReferenceParameter":"OpenAI.SkillReferenceParam","com.azure.ai.agents.models.StructuredInputDefinition":"Azure.AI.Projects.StructuredInputDefinition","com.azure.ai.agents.models.StructuredOutputDefinition":"Azure.AI.Projects.StructuredOutputDefinition","com.azure.ai.agents.models.TelemetryConfig":"Azure.AI.Projects.TelemetryConfig","com.azure.ai.agents.models.TelemetryDataKind":"Azure.AI.Projects.TelemetryDataKind","com.azure.ai.agents.models.TelemetryEndpoint":"Azure.AI.Projects.TelemetryEndpoint","com.azure.ai.agents.models.TelemetryEndpointAuth":"Azure.AI.Projects.TelemetryEndpointAuth","com.azure.ai.agents.models.TelemetryEndpointAuthType":"Azure.AI.Projects.TelemetryEndpointAuthType","com.azure.ai.agents.models.TelemetryEndpointKind":"Azure.AI.Projects.TelemetryEndpointKind","com.azure.ai.agents.models.TelemetryTransportProtocol":"Azure.AI.Projects.TelemetryTransportProtocol","com.azure.ai.agents.models.TextResponseFormatConfiguration":"OpenAI.TextResponseFormatConfiguration","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatJsonObject":"OpenAI.TextResponseFormatConfigurationResponseFormatJsonObject","com.azure.ai.agents.models.TextResponseFormatConfigurationResponseFormatText":"OpenAI.TextResponseFormatConfigurationResponseFormatText","com.azure.ai.agents.models.TextResponseFormatConfigurationType":"OpenAI.TextResponseFormatConfigurationType","com.azure.ai.agents.models.TextResponseFormatJsonSchema":"OpenAI.TextResponseFormatJsonSchema","com.azure.ai.agents.models.Tool":"OpenAI.Tool","com.azure.ai.agents.models.ToolCallStatus":"Azure.AI.Projects.ToolCallStatus","com.azure.ai.agents.models.ToolConfig":"Azure.AI.Projects.ToolConfig","com.azure.ai.agents.models.ToolProjectConnection":"Azure.AI.Projects.ToolProjectConnection","com.azure.ai.agents.models.ToolType":"OpenAI.ToolType","com.azure.ai.agents.models.ToolboxDetails":"Azure.AI.Projects.ToolboxObject","com.azure.ai.agents.models.ToolboxPolicies":"Azure.AI.Projects.ToolboxPolicies","com.azure.ai.agents.models.ToolboxSearchPreviewTool":"Azure.AI.Projects.ToolboxSearchPreviewTool","com.azure.ai.agents.models.ToolboxSkill":"Azure.AI.Projects.ToolboxSkill","com.azure.ai.agents.models.ToolboxSkillReference":"Azure.AI.Projects.ToolboxSkillReference","com.azure.ai.agents.models.ToolboxVersionDetails":"Azure.AI.Projects.ToolboxVersionObject","com.azure.ai.agents.models.UpdateAgentDetailsOptions":"Azure.AI.Projects.patchAgentObject.Request.anonymous","com.azure.ai.agents.models.UserProfileMemoryItem":"Azure.AI.Projects.UserProfileMemoryItem","com.azure.ai.agents.models.VersionIndicator":"Azure.AI.Projects.VersionIndicator","com.azure.ai.agents.models.VersionIndicatorType":"Azure.AI.Projects.VersionIndicatorType","com.azure.ai.agents.models.VersionRefIndicator":"Azure.AI.Projects.VersionRefIndicator","com.azure.ai.agents.models.VersionSelectionRule":"Azure.AI.Projects.VersionSelectionRule","com.azure.ai.agents.models.VersionSelector":"Azure.AI.Projects.VersionSelector","com.azure.ai.agents.models.VersionSelectorType":"Azure.AI.Projects.VersionSelectorType","com.azure.ai.agents.models.WebSearchApproximateLocation":"OpenAI.WebSearchApproximateLocation","com.azure.ai.agents.models.WebSearchConfiguration":"Azure.AI.Projects.WebSearchConfiguration","com.azure.ai.agents.models.WebSearchPreviewTool":"OpenAI.WebSearchPreviewTool","com.azure.ai.agents.models.WebSearchTool":"OpenAI.WebSearchTool","com.azure.ai.agents.models.WebSearchToolFilters":"OpenAI.WebSearchToolFilters","com.azure.ai.agents.models.WebSearchToolSearchContextSize":"WebSearchToolSearchContextSizeExpandable","com.azure.ai.agents.models.WorkIqPreviewTool":"Azure.AI.Projects.WorkIQPreviewTool","com.azure.ai.agents.models.WorkflowAgentDefinition":"Azure.AI.Projects.WorkflowAgentDefinition"},"generatedFiles":["src/main/java/com/azure/ai/agents/AgentSessionFilesAsyncClient.java","src/main/java/com/azure/ai/agents/AgentSessionFilesClient.java","src/main/java/com/azure/ai/agents/AgentsAsyncClient.java","src/main/java/com/azure/ai/agents/AgentsClient.java","src/main/java/com/azure/ai/agents/AgentsClientBuilder.java","src/main/java/com/azure/ai/agents/AgentsServiceVersion.java","src/main/java/com/azure/ai/agents/MemoryStoresAsyncClient.java","src/main/java/com/azure/ai/agents/MemoryStoresClient.java","src/main/java/com/azure/ai/agents/ToolboxesAsyncClient.java","src/main/java/com/azure/ai/agents/ToolboxesClient.java","src/main/java/com/azure/ai/agents/implementation/AgentSessionFilesImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsClientImpl.java","src/main/java/com/azure/ai/agents/implementation/AgentsImpl.java","src/main/java/com/azure/ai/agents/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/agents/implementation/MemoryStoresImpl.java","src/main/java/com/azure/ai/agents/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/agents/implementation/OperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/PollingUtils.java","src/main/java/com/azure/ai/agents/implementation/SyncOperationLocationPollingStrategy.java","src/main/java/com/azure/ai/agents/implementation/ToolboxesImpl.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromCodeContent.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentOptions.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateAgentVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateSessionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/CreateToolboxVersionRequest.java","src/main/java/com/azure/ai/agents/implementation/models/ListMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/SearchMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentFromManifestRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateAgentRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoriesRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateMemoryStoreRequest.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxInput.java","src/main/java/com/azure/ai/agents/implementation/models/UpdateToolboxRequest.java","src/main/java/com/azure/ai/agents/implementation/models/package-info.java","src/main/java/com/azure/ai/agents/implementation/package-info.java","src/main/java/com/azure/ai/agents/models/A2APreviewTool.java","src/main/java/com/azure/ai/agents/models/A2AToolCall.java","src/main/java/com/azure/ai/agents/models/A2AToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AISearchIndexResource.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReference.java","src/main/java/com/azure/ai/agents/models/AgentBlueprintReferenceType.java","src/main/java/com/azure/ai/agents/models/AgentCard.java","src/main/java/com/azure/ai/agents/models/AgentCardSkill.java","src/main/java/com/azure/ai/agents/models/AgentDefinition.java","src/main/java/com/azure/ai/agents/models/AgentDefinitionOptInKeys.java","src/main/java/com/azure/ai/agents/models/AgentDetails.java","src/main/java/com/azure/ai/agents/models/AgentDetailsVersions.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/AgentEndpointAuthorizationSchemeType.java","src/main/java/com/azure/ai/agents/models/AgentEndpointConfig.java","src/main/java/com/azure/ai/agents/models/AgentEndpointProtocol.java","src/main/java/com/azure/ai/agents/models/AgentIdentifier.java","src/main/java/com/azure/ai/agents/models/AgentIdentity.java","src/main/java/com/azure/ai/agents/models/AgentKind.java","src/main/java/com/azure/ai/agents/models/AgentObjectType.java","src/main/java/com/azure/ai/agents/models/AgentProtocol.java","src/main/java/com/azure/ai/agents/models/AgentReference.java","src/main/java/com/azure/ai/agents/models/AgentSessionResource.java","src/main/java/com/azure/ai/agents/models/AgentSessionStatus.java","src/main/java/com/azure/ai/agents/models/AgentVersionDetails.java","src/main/java/com/azure/ai/agents/models/AgentVersionStatus.java","src/main/java/com/azure/ai/agents/models/ApiError.java","src/main/java/com/azure/ai/agents/models/ApplyPatchToolParameter.java","src/main/java/com/azure/ai/agents/models/ApproximateLocation.java","src/main/java/com/azure/ai/agents/models/AutoCodeInterpreterToolParameter.java","src/main/java/com/azure/ai/agents/models/AzureAISearchQueryType.java","src/main/java/com/azure/ai/agents/models/AzureAISearchTool.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCall.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/AzureAISearchToolResource.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseDetails.java","src/main/java/com/azure/ai/agents/models/AzureCreateResponseOptions.java","src/main/java/com/azure/ai/agents/models/AzureFunctionBinding.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/AzureFunctionDefinitionDetails.java","src/main/java/com/azure/ai/agents/models/AzureFunctionStorageQueue.java","src/main/java/com/azure/ai/agents/models/AzureFunctionTool.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCall.java","src/main/java/com/azure/ai/agents/models/AzureFunctionToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCall.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BingCustomSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/BingGroundingSearchToolParameters.java","src/main/java/com/azure/ai/agents/models/BingGroundingTool.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/BingGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BotServiceAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BotServiceRbacAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationPreviewTool.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCall.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolCallOutput.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolConnectionParameters.java","src/main/java/com/azure/ai/agents/models/BrowserAutomationToolParameters.java","src/main/java/com/azure/ai/agents/models/CandidateDeployConfig.java","src/main/java/com/azure/ai/agents/models/CandidateFileInfo.java","src/main/java/com/azure/ai/agents/models/CandidateMetadata.java","src/main/java/com/azure/ai/agents/models/CandidateResults.java","src/main/java/com/azure/ai/agents/models/CaptureStructuredOutputsTool.java","src/main/java/com/azure/ai/agents/models/ChatSummaryMemoryItem.java","src/main/java/com/azure/ai/agents/models/CodeConfiguration.java","src/main/java/com/azure/ai/agents/models/CodeDependencyResolution.java","src/main/java/com/azure/ai/agents/models/CodeFileDetails.java","src/main/java/com/azure/ai/agents/models/CodeInterpreterTool.java","src/main/java/com/azure/ai/agents/models/ComputerEnvironment.java","src/main/java/com/azure/ai/agents/models/ComputerUsePreviewTool.java","src/main/java/com/azure/ai/agents/models/ContainerAutoParameter.java","src/main/java/com/azure/ai/agents/models/ContainerConfiguration.java","src/main/java/com/azure/ai/agents/models/ContainerMemoryLimit.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyAllowlistParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDisabledParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyDomainSecretParameter.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParamType.java","src/main/java/com/azure/ai/agents/models/ContainerNetworkPolicyParameter.java","src/main/java/com/azure/ai/agents/models/ContainerSkill.java","src/main/java/com/azure/ai/agents/models/ContainerSkillType.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeContent.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionFromCodeMetadata.java","src/main/java/com/azure/ai/agents/models/CreateAgentVersionInput.java","src/main/java/com/azure/ai/agents/models/CustomGrammarFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomTextFormatParameter.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormat.java","src/main/java/com/azure/ai/agents/models/CustomToolParamFormatType.java","src/main/java/com/azure/ai/agents/models/CustomToolParameter.java","src/main/java/com/azure/ai/agents/models/DatasetInfo.java","src/main/java/com/azure/ai/agents/models/DatasetRef.java","src/main/java/com/azure/ai/agents/models/EntraAuthorizationScheme.java","src/main/java/com/azure/ai/agents/models/EntraIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/EvaluationLevel.java","src/main/java/com/azure/ai/agents/models/ExternalAgentDefinition.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCall.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolCallOutput.java","src/main/java/com/azure/ai/agents/models/FabricDataAgentToolParameters.java","src/main/java/com/azure/ai/agents/models/FabricIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/FileSearchTool.java","src/main/java/com/azure/ai/agents/models/FixedRatioVersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironment.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParamEnvironmentType.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentContainerReferenceParameter.java","src/main/java/com/azure/ai/agents/models/FunctionShellToolParameterEnvironmentLocalEnvironmentParameter.java","src/main/java/com/azure/ai/agents/models/FunctionTool.java","src/main/java/com/azure/ai/agents/models/GrammarSyntax.java","src/main/java/com/azure/ai/agents/models/HeaderIsolationKeySource.java","src/main/java/com/azure/ai/agents/models/HeaderTelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/HostedAgentDefinition.java","src/main/java/com/azure/ai/agents/models/HybridSearchOptions.java","src/main/java/com/azure/ai/agents/models/ImageGenActionEnum.java","src/main/java/com/azure/ai/agents/models/ImageGenTool.java","src/main/java/com/azure/ai/agents/models/ImageGenToolBackground.java","src/main/java/com/azure/ai/agents/models/ImageGenToolInputImageMask.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModel.java","src/main/java/com/azure/ai/agents/models/ImageGenToolModeration.java","src/main/java/com/azure/ai/agents/models/ImageGenToolOutputFormat.java","src/main/java/com/azure/ai/agents/models/ImageGenToolQuality.java","src/main/java/com/azure/ai/agents/models/ImageGenToolSize.java","src/main/java/com/azure/ai/agents/models/IncludeEnum.java","src/main/java/com/azure/ai/agents/models/InlineSkillParameter.java","src/main/java/com/azure/ai/agents/models/InlineSkillSourceParameter.java","src/main/java/com/azure/ai/agents/models/InputFidelity.java","src/main/java/com/azure/ai/agents/models/IsolationKeySource.java","src/main/java/com/azure/ai/agents/models/IsolationKeySourceKind.java","src/main/java/com/azure/ai/agents/models/JobStatus.java","src/main/java/com/azure/ai/agents/models/ListMemoriesOptions.java","src/main/java/com/azure/ai/agents/models/LocalShellToolParameter.java","src/main/java/com/azure/ai/agents/models/LocalSkillParameter.java","src/main/java/com/azure/ai/agents/models/ManagedAgentIdentityBlueprintReference.java","src/main/java/com/azure/ai/agents/models/McpTool.java","src/main/java/com/azure/ai/agents/models/McpToolConnectorId.java","src/main/java/com/azure/ai/agents/models/McpToolFilter.java","src/main/java/com/azure/ai/agents/models/McpToolRequireApproval.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryCommandToolCallOutput.java","src/main/java/com/azure/ai/agents/models/MemoryItem.java","src/main/java/com/azure/ai/agents/models/MemoryItemKind.java","src/main/java/com/azure/ai/agents/models/MemoryOperation.java","src/main/java/com/azure/ai/agents/models/MemoryOperationKind.java","src/main/java/com/azure/ai/agents/models/MemorySearchItem.java","src/main/java/com/azure/ai/agents/models/MemorySearchOptions.java","src/main/java/com/azure/ai/agents/models/MemorySearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/MemorySearchToolCall.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefaultOptions.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDefinition.java","src/main/java/com/azure/ai/agents/models/MemoryStoreDetails.java","src/main/java/com/azure/ai/agents/models/MemoryStoreKind.java","src/main/java/com/azure/ai/agents/models/MemoryStoreObjectType.java","src/main/java/com/azure/ai/agents/models/MemoryStoreOperationUsage.java","src/main/java/com/azure/ai/agents/models/MemoryStoreSearchResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateCompletedResult.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateResponse.java","src/main/java/com/azure/ai/agents/models/MemoryStoreUpdateStatus.java","src/main/java/com/azure/ai/agents/models/MicrosoftFabricPreviewTool.java","src/main/java/com/azure/ai/agents/models/OpenApiAnonymousAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiAuthType.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinition.java","src/main/java/com/azure/ai/agents/models/OpenApiFunctionDefinitionFunction.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiManagedSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionAuthDetails.java","src/main/java/com/azure/ai/agents/models/OpenApiProjectConnectionSecurityScheme.java","src/main/java/com/azure/ai/agents/models/OpenApiTool.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCall.java","src/main/java/com/azure/ai/agents/models/OpenApiToolCallOutput.java","src/main/java/com/azure/ai/agents/models/OptimizationAgentDefinition.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidate.java","src/main/java/com/azure/ai/agents/models/OptimizationCandidatePagedResult.java","src/main/java/com/azure/ai/agents/models/OptimizationJob.java","src/main/java/com/azure/ai/agents/models/OptimizationJobInputs.java","src/main/java/com/azure/ai/agents/models/OptimizationJobProgress.java","src/main/java/com/azure/ai/agents/models/OptimizationJobResult.java","src/main/java/com/azure/ai/agents/models/OptimizationOptions.java","src/main/java/com/azure/ai/agents/models/OptimizationTaskResult.java","src/main/java/com/azure/ai/agents/models/OtlpTelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/PageOrder.java","src/main/java/com/azure/ai/agents/models/ProceduralMemoryItem.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateInput.java","src/main/java/com/azure/ai/agents/models/PromoteCandidateResult.java","src/main/java/com/azure/ai/agents/models/PromotionInfo.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinition.java","src/main/java/com/azure/ai/agents/models/PromptAgentDefinitionTextOptions.java","src/main/java/com/azure/ai/agents/models/ProtocolVersionRecord.java","src/main/java/com/azure/ai/agents/models/RaiConfig.java","src/main/java/com/azure/ai/agents/models/RankerVersionType.java","src/main/java/com/azure/ai/agents/models/RankingOptions.java","src/main/java/com/azure/ai/agents/models/ResponseFormatJsonSchemaInner.java","src/main/java/com/azure/ai/agents/models/ResponseUsageInputTokensDetails.java","src/main/java/com/azure/ai/agents/models/ResponseUsageOutputTokensDetails.java","src/main/java/com/azure/ai/agents/models/SearchContextSize.java","src/main/java/com/azure/ai/agents/models/SessionDirectoryEntry.java","src/main/java/com/azure/ai/agents/models/SessionFileWriteResult.java","src/main/java/com/azure/ai/agents/models/SessionLogEvent.java","src/main/java/com/azure/ai/agents/models/SessionLogEventType.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCall.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolCallOutput.java","src/main/java/com/azure/ai/agents/models/SharepointGroundingToolParameters.java","src/main/java/com/azure/ai/agents/models/SharepointPreviewTool.java","src/main/java/com/azure/ai/agents/models/SkillReferenceParameter.java","src/main/java/com/azure/ai/agents/models/StructuredInputDefinition.java","src/main/java/com/azure/ai/agents/models/StructuredOutputDefinition.java","src/main/java/com/azure/ai/agents/models/TelemetryConfig.java","src/main/java/com/azure/ai/agents/models/TelemetryDataKind.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpoint.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuth.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointAuthType.java","src/main/java/com/azure/ai/agents/models/TelemetryEndpointKind.java","src/main/java/com/azure/ai/agents/models/TelemetryTransportProtocol.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfiguration.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatJsonObject.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationResponseFormatText.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatConfigurationType.java","src/main/java/com/azure/ai/agents/models/TextResponseFormatJsonSchema.java","src/main/java/com/azure/ai/agents/models/Tool.java","src/main/java/com/azure/ai/agents/models/ToolCallStatus.java","src/main/java/com/azure/ai/agents/models/ToolConfig.java","src/main/java/com/azure/ai/agents/models/ToolProjectConnection.java","src/main/java/com/azure/ai/agents/models/ToolType.java","src/main/java/com/azure/ai/agents/models/ToolboxDetails.java","src/main/java/com/azure/ai/agents/models/ToolboxPolicies.java","src/main/java/com/azure/ai/agents/models/ToolboxSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/ToolboxSkill.java","src/main/java/com/azure/ai/agents/models/ToolboxSkillReference.java","src/main/java/com/azure/ai/agents/models/ToolboxVersionDetails.java","src/main/java/com/azure/ai/agents/models/UpdateAgentDetailsOptions.java","src/main/java/com/azure/ai/agents/models/UserProfileMemoryItem.java","src/main/java/com/azure/ai/agents/models/VersionIndicator.java","src/main/java/com/azure/ai/agents/models/VersionIndicatorType.java","src/main/java/com/azure/ai/agents/models/VersionRefIndicator.java","src/main/java/com/azure/ai/agents/models/VersionSelectionRule.java","src/main/java/com/azure/ai/agents/models/VersionSelector.java","src/main/java/com/azure/ai/agents/models/VersionSelectorType.java","src/main/java/com/azure/ai/agents/models/WebSearchApproximateLocation.java","src/main/java/com/azure/ai/agents/models/WebSearchConfiguration.java","src/main/java/com/azure/ai/agents/models/WebSearchPreviewTool.java","src/main/java/com/azure/ai/agents/models/WebSearchTool.java","src/main/java/com/azure/ai/agents/models/WebSearchToolFilters.java","src/main/java/com/azure/ai/agents/models/WebSearchToolSearchContextSize.java","src/main/java/com/azure/ai/agents/models/WorkIqPreviewTool.java","src/main/java/com/azure/ai/agents/models/WorkflowAgentDefinition.java","src/main/java/com/azure/ai/agents/models/package-info.java","src/main/java/com/azure/ai/agents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-agents/tsp-location.yaml b/sdk/ai/azure-ai-agents/tsp-location.yaml index 300b61db8338..e572492cbca2 100644 --- a/sdk/ai/azure-ai-agents/tsp-location.yaml +++ b/sdk/ai/azure-ai-agents/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai-foundry/data-plane/Foundry/src/sdk-agents -commit: 256cbe2b786c7a595a09bd51d6b682d0a9ce37a0 +commit: 36ed3f88fbc3da46c831e5f0acd4ff85ed163e1a repo: Azure/azure-rest-api-specs additionalDirectories: - specification/ai-foundry/data-plane/Foundry/src/agents diff --git a/sdk/ai/azure-ai-projects/CHANGELOG.md b/sdk/ai/azure-ai-projects/CHANGELOG.md index 4b69aa8b1765..088560537dce 100644 --- a/sdk/ai/azure-ai-projects/CHANGELOG.md +++ b/sdk/ai/azure-ai-projects/CHANGELOG.md @@ -18,8 +18,6 @@ - The Skills API is now versioned. `SkillDetails` was removed and replaced by `Skill` and `SkillVersion`. Use `createSkillVersion` instead of `createSkill`, `createSkillVersionFromFiles` instead of `createSkillFromPackage`, `getSkillContent`/`getSkillVersionContent` instead of `downloadSkill`, and `deleteSkillVersion` for deleting a specific skill version. `updateSkill` now updates the default version only. - The `body` parameter on `EvaluationTaxonomiesClient.createEvaluationTaxonomy`, `EvaluationTaxonomiesClient.updateEvaluationTaxonomy`, and their async counterparts was renamed to `taxonomy`. -### Bugs Fixed - ### Other Changes - Regenerated client from the updated TypeSpec specification. diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java index 7378a96c1d68..243b21b7f39e 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java @@ -6,7 +6,7 @@ import com.azure.ai.agents.models.PageOrder; import com.azure.ai.projects.implementation.EvaluatorsImpl; import com.azure.ai.projects.models.DatasetCredential; -import com.azure.ai.projects.models.EvaluatorCredentialRequest; +import com.azure.ai.projects.models.EvaluatorCredentialInput; import com.azure.ai.projects.models.EvaluatorGenerationJob; import com.azure.ai.projects.models.EvaluatorVersion; import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; @@ -979,63 +979,6 @@ public Mono startPendingUpload(String name, String versio .map(protocolMethodData -> protocolMethodData.toObject(PendingUploadResponse.class)); } - /** - * Get the SAS credential to access the storage account associated with an Evaluator version. - * - * @param name The name parameter. - * @param version The specific version id of the EvaluatorVersion to operate on. - * @param credentialRequest The credential request parameters. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SAS credential to access the storage account associated with an Evaluator version on successful - * completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getCredentials(String name, String version, - EvaluatorCredentialRequest credentialRequest, FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for getCredentialsWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return getCredentialsWithResponse(name, version, BinaryData.fromObject(credentialRequest), requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(DatasetCredential.class)); - } - - /** - * Get the SAS credential to access the storage account associated with an Evaluator version. - * - * @param name The name parameter. - * @param version The specific version id of the EvaluatorVersion to operate on. - * @param credentialRequest The credential request parameters. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SAS credential to access the storage account associated with an Evaluator version on successful - * completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getCredentials(String name, String version, - EvaluatorCredentialRequest credentialRequest) { - // Generated convenience method for getCredentialsWithResponse - RequestOptions requestOptions = new RequestOptions(); - return getCredentialsWithResponse(name, version, BinaryData.fromObject(credentialRequest), requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(DatasetCredential.class)); - } - /** * Creates an evaluator generation job. * @@ -1979,4 +1922,61 @@ public Mono deleteEvaluatorGenerationJob(String jobId) { RequestOptions requestOptions = new RequestOptions(); return deleteEvaluatorGenerationJobWithResponse(jobId, requestOptions).flatMap(FluxUtil::toMono); } + + /** + * Get the SAS credential to access the storage account associated with an Evaluator version. + * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param credentialRequest The credential request parameters. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the SAS credential to access the storage account associated with an Evaluator version on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCredentials(String name, String version, + EvaluatorCredentialInput credentialRequest, FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getCredentialsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getCredentialsWithResponse(name, version, BinaryData.fromObject(credentialRequest), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DatasetCredential.class)); + } + + /** + * Get the SAS credential to access the storage account associated with an Evaluator version. + * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param credentialRequest The credential request parameters. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the SAS credential to access the storage account associated with an Evaluator version on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCredentials(String name, String version, + EvaluatorCredentialInput credentialRequest) { + // Generated convenience method for getCredentialsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCredentialsWithResponse(name, version, BinaryData.fromObject(credentialRequest), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DatasetCredential.class)); + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java index 3e8c984d899c..c96a7cdb228a 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/EvaluatorsClient.java @@ -6,7 +6,7 @@ import com.azure.ai.agents.models.PageOrder; import com.azure.ai.projects.implementation.EvaluatorsImpl; import com.azure.ai.projects.models.DatasetCredential; -import com.azure.ai.projects.models.EvaluatorCredentialRequest; +import com.azure.ai.projects.models.EvaluatorCredentialInput; import com.azure.ai.projects.models.EvaluatorGenerationJob; import com.azure.ai.projects.models.EvaluatorVersion; import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; @@ -921,60 +921,6 @@ public PendingUploadResponse startPendingUpload(String name, String version, requestOptions).getValue().toObject(PendingUploadResponse.class); } - /** - * Get the SAS credential to access the storage account associated with an Evaluator version. - * - * @param name The name parameter. - * @param version The specific version id of the EvaluatorVersion to operate on. - * @param credentialRequest The credential request parameters. - * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted - * preview resources. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SAS credential to access the storage account associated with an Evaluator version. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public DatasetCredential getCredentials(String name, String version, EvaluatorCredentialRequest credentialRequest, - FoundryFeaturesOptInKeys foundryFeatures) { - // Generated convenience method for getCredentialsWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (foundryFeatures != null) { - requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); - } - return getCredentialsWithResponse(name, version, BinaryData.fromObject(credentialRequest), requestOptions) - .getValue() - .toObject(DatasetCredential.class); - } - - /** - * Get the SAS credential to access the storage account associated with an Evaluator version. - * - * @param name The name parameter. - * @param version The specific version id of the EvaluatorVersion to operate on. - * @param credentialRequest The credential request parameters. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SAS credential to access the storage account associated with an Evaluator version. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public DatasetCredential getCredentials(String name, String version, EvaluatorCredentialRequest credentialRequest) { - // Generated convenience method for getCredentialsWithResponse - RequestOptions requestOptions = new RequestOptions(); - return getCredentialsWithResponse(name, version, BinaryData.fromObject(credentialRequest), requestOptions) - .getValue() - .toObject(DatasetCredential.class); - } - /** * Creates an evaluator generation job. * @@ -1885,4 +1831,58 @@ public void deleteEvaluatorGenerationJob(String jobId) { RequestOptions requestOptions = new RequestOptions(); deleteEvaluatorGenerationJobWithResponse(jobId, requestOptions).getValue(); } + + /** + * Get the SAS credential to access the storage account associated with an Evaluator version. + * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param credentialRequest The credential request parameters. + * @param foundryFeatures A feature flag opt-in required when using preview operations or modifying persisted + * preview resources. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the SAS credential to access the storage account associated with an Evaluator version. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DatasetCredential getCredentials(String name, String version, EvaluatorCredentialInput credentialRequest, + FoundryFeaturesOptInKeys foundryFeatures) { + // Generated convenience method for getCredentialsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (foundryFeatures != null) { + requestOptions.setHeader(HttpHeaderName.fromString("Foundry-Features"), foundryFeatures.toString()); + } + return getCredentialsWithResponse(name, version, BinaryData.fromObject(credentialRequest), requestOptions) + .getValue() + .toObject(DatasetCredential.class); + } + + /** + * Get the SAS credential to access the storage account associated with an Evaluator version. + * + * @param name The name parameter. + * @param version The specific version id of the EvaluatorVersion to operate on. + * @param credentialRequest The credential request parameters. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the SAS credential to access the storage account associated with an Evaluator version. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DatasetCredential getCredentials(String name, String version, EvaluatorCredentialInput credentialRequest) { + // Generated convenience method for getCredentialsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCredentialsWithResponse(name, version, BinaryData.fromObject(credentialRequest), requestOptions) + .getValue() + .toObject(DatasetCredential.class); + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java index 67f9e6d37331..b32067370269 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsAsyncClient.java @@ -7,11 +7,11 @@ import com.azure.ai.projects.implementation.ModelsImpl; import com.azure.ai.projects.models.CreateAsyncResponse; import com.azure.ai.projects.models.DatasetCredential; -import com.azure.ai.projects.models.ModelCredentialRequest; -import com.azure.ai.projects.models.ModelPendingUploadRequest; -import com.azure.ai.projects.models.ModelPendingUploadResponse; +import com.azure.ai.projects.models.ModelCredentialInput; +import com.azure.ai.projects.models.ModelPendingUploadInput; +import com.azure.ai.projects.models.ModelPendingUploadResult; import com.azure.ai.projects.models.ModelVersion; -import com.azure.ai.projects.models.UpdateModelVersionRequest; +import com.azure.ai.projects.models.UpdateModelVersionInput; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; @@ -558,63 +558,6 @@ public Mono deleteModelVersion(String name, String version) { return deleteModelVersionWithResponse(name, version, requestOptions).flatMap(FluxUtil::toMono); } - /** - * Update an existing ModelVersion with the given version id. - * - * @param name The name of the resource. - * @param version The specific version id of the UpdateModelVersionRequest to create or update. - * @param modelVersionUpdate The UpdateModelVersionRequest to create or update. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return model Version Definition on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateModelVersion(String name, String version, - UpdateModelVersionRequest modelVersionUpdate) { - // Generated convenience method for updateModelVersionWithResponse - RequestOptions requestOptions = new RequestOptions(); - JsonMergePatchHelper.getUpdateModelVersionRequestAccessor() - .prepareModelForJsonMergePatch(modelVersionUpdate, true); - BinaryData modelVersionUpdateInBinaryData = BinaryData.fromObject(modelVersionUpdate); - // BinaryData.fromObject() will not fire serialization, use getLength() to fire serialization. - modelVersionUpdateInBinaryData.getLength(); - JsonMergePatchHelper.getUpdateModelVersionRequestAccessor() - .prepareModelForJsonMergePatch(modelVersionUpdate, false); - return updateModelVersionWithResponse(name, version, modelVersionUpdateInBinaryData, requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(ModelVersion.class)); - } - - /** - * Get credentials for a model version asset. - * - * @param name Name of the model. - * @param version Version of the model. - * @param credentialRequest The credentialRequest parameter. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return credentials for a model version asset on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getModelCredentials(String name, String version, - ModelCredentialRequest credentialRequest) { - // Generated convenience method for getModelCredentialsWithResponse - RequestOptions requestOptions = new RequestOptions(); - return getModelCredentialsWithResponse(name, version, BinaryData.fromObject(credentialRequest), requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(DatasetCredential.class)); - } - /** * Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a Location header * for polling. @@ -720,6 +663,38 @@ public Mono createModelVersionAsync(String name, String ver .map(protocolMethodData -> protocolMethodData.toObject(CreateAsyncResponse.class)); } + /** + * Update an existing ModelVersion with the given version id. + * + * @param name The name of the resource. + * @param version The specific version id of the UpdateModelVersionRequest to create or update. + * @param modelVersionUpdate The UpdateModelVersionRequest to create or update. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return model Version Definition on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono updateModelVersion(String name, String version, + UpdateModelVersionInput modelVersionUpdate) { + // Generated convenience method for updateModelVersionWithResponse + RequestOptions requestOptions = new RequestOptions(); + JsonMergePatchHelper.getUpdateModelVersionInputAccessor() + .prepareModelForJsonMergePatch(modelVersionUpdate, true); + BinaryData modelVersionUpdateInBinaryData = BinaryData.fromObject(modelVersionUpdate); + // BinaryData.fromObject() will not fire serialization, use getLength() to fire serialization. + modelVersionUpdateInBinaryData.getLength(); + JsonMergePatchHelper.getUpdateModelVersionInputAccessor() + .prepareModelForJsonMergePatch(modelVersionUpdate, false); + return updateModelVersionWithResponse(name, version, modelVersionUpdateInBinaryData, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(ModelVersion.class)); + } + /** * Start or retrieve a pending upload for a model version. * @@ -736,12 +711,37 @@ public Mono createModelVersionAsync(String name, String ver */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startModelPendingUpload(String name, String version, - ModelPendingUploadRequest pendingUploadRequest) { + public Mono startModelPendingUpload(String name, String version, + ModelPendingUploadInput pendingUploadRequest) { // Generated convenience method for startModelPendingUploadWithResponse RequestOptions requestOptions = new RequestOptions(); return startModelPendingUploadWithResponse(name, version, BinaryData.fromObject(pendingUploadRequest), requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(ModelPendingUploadResponse.class)); + .map(protocolMethodData -> protocolMethodData.toObject(ModelPendingUploadResult.class)); + } + + /** + * Get credentials for a model version asset. + * + * @param name Name of the model. + * @param version Version of the model. + * @param credentialRequest The credentialRequest parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return credentials for a model version asset on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getModelCredentials(String name, String version, + ModelCredentialInput credentialRequest) { + // Generated convenience method for getModelCredentialsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getModelCredentialsWithResponse(name, version, BinaryData.fromObject(credentialRequest), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(DatasetCredential.class)); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java index 57135dc3956a..080397ea011d 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/ModelsClient.java @@ -7,11 +7,11 @@ import com.azure.ai.projects.implementation.ModelsImpl; import com.azure.ai.projects.models.CreateAsyncResponse; import com.azure.ai.projects.models.DatasetCredential; -import com.azure.ai.projects.models.ModelCredentialRequest; -import com.azure.ai.projects.models.ModelPendingUploadRequest; -import com.azure.ai.projects.models.ModelPendingUploadResponse; +import com.azure.ai.projects.models.ModelCredentialInput; +import com.azure.ai.projects.models.ModelPendingUploadInput; +import com.azure.ai.projects.models.ModelPendingUploadResult; import com.azure.ai.projects.models.ModelVersion; -import com.azure.ai.projects.models.UpdateModelVersionRequest; +import com.azure.ai.projects.models.UpdateModelVersionInput; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; @@ -522,61 +522,6 @@ public void deleteModelVersion(String name, String version) { deleteModelVersionWithResponse(name, version, requestOptions).getValue(); } - /** - * Update an existing ModelVersion with the given version id. - * - * @param name The name of the resource. - * @param version The specific version id of the UpdateModelVersionRequest to create or update. - * @param modelVersionUpdate The UpdateModelVersionRequest to create or update. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return model Version Definition. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public ModelVersion updateModelVersion(String name, String version, UpdateModelVersionRequest modelVersionUpdate) { - // Generated convenience method for updateModelVersionWithResponse - RequestOptions requestOptions = new RequestOptions(); - JsonMergePatchHelper.getUpdateModelVersionRequestAccessor() - .prepareModelForJsonMergePatch(modelVersionUpdate, true); - BinaryData modelVersionUpdateInBinaryData = BinaryData.fromObject(modelVersionUpdate); - // BinaryData.fromObject() will not fire serialization, use getLength() to fire serialization. - modelVersionUpdateInBinaryData.getLength(); - JsonMergePatchHelper.getUpdateModelVersionRequestAccessor() - .prepareModelForJsonMergePatch(modelVersionUpdate, false); - return updateModelVersionWithResponse(name, version, modelVersionUpdateInBinaryData, requestOptions).getValue() - .toObject(ModelVersion.class); - } - - /** - * Get credentials for a model version asset. - * - * @param name Name of the model. - * @param version Version of the model. - * @param credentialRequest The credentialRequest parameter. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return credentials for a model version asset. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public DatasetCredential getModelCredentials(String name, String version, - ModelCredentialRequest credentialRequest) { - // Generated convenience method for getModelCredentialsWithResponse - RequestOptions requestOptions = new RequestOptions(); - return getModelCredentialsWithResponse(name, version, BinaryData.fromObject(credentialRequest), requestOptions) - .getValue() - .toObject(DatasetCredential.class); - } - /** * Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a Location header * for polling. @@ -682,6 +627,36 @@ public CreateAsyncResponse createModelVersionAsync(String name, String version, .toObject(CreateAsyncResponse.class); } + /** + * Update an existing ModelVersion with the given version id. + * + * @param name The name of the resource. + * @param version The specific version id of the UpdateModelVersionRequest to create or update. + * @param modelVersionUpdate The UpdateModelVersionRequest to create or update. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return model Version Definition. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public ModelVersion updateModelVersion(String name, String version, UpdateModelVersionInput modelVersionUpdate) { + // Generated convenience method for updateModelVersionWithResponse + RequestOptions requestOptions = new RequestOptions(); + JsonMergePatchHelper.getUpdateModelVersionInputAccessor() + .prepareModelForJsonMergePatch(modelVersionUpdate, true); + BinaryData modelVersionUpdateInBinaryData = BinaryData.fromObject(modelVersionUpdate); + // BinaryData.fromObject() will not fire serialization, use getLength() to fire serialization. + modelVersionUpdateInBinaryData.getLength(); + JsonMergePatchHelper.getUpdateModelVersionInputAccessor() + .prepareModelForJsonMergePatch(modelVersionUpdate, false); + return updateModelVersionWithResponse(name, version, modelVersionUpdateInBinaryData, requestOptions).getValue() + .toObject(ModelVersion.class); + } + /** * Start or retrieve a pending upload for a model version. * @@ -698,11 +673,35 @@ public CreateAsyncResponse createModelVersionAsync(String name, String version, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public ModelPendingUploadResponse startModelPendingUpload(String name, String version, - ModelPendingUploadRequest pendingUploadRequest) { + public ModelPendingUploadResult startModelPendingUpload(String name, String version, + ModelPendingUploadInput pendingUploadRequest) { // Generated convenience method for startModelPendingUploadWithResponse RequestOptions requestOptions = new RequestOptions(); return startModelPendingUploadWithResponse(name, version, BinaryData.fromObject(pendingUploadRequest), - requestOptions).getValue().toObject(ModelPendingUploadResponse.class); + requestOptions).getValue().toObject(ModelPendingUploadResult.class); + } + + /** + * Get credentials for a model version asset. + * + * @param name Name of the model. + * @param version Version of the model. + * @param credentialRequest The credentialRequest parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return credentials for a model version asset. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public DatasetCredential getModelCredentials(String name, String version, ModelCredentialInput credentialRequest) { + // Generated convenience method for getModelCredentialsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getModelCredentialsWithResponse(name, version, BinaryData.fromObject(credentialRequest), requestOptions) + .getValue() + .toObject(DatasetCredential.class); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java index 51b07e158d12..39869f5d8720 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java @@ -6,7 +6,7 @@ import com.azure.ai.projects.implementation.RoutinesImpl; import com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest; import com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest; -import com.azure.ai.projects.models.DispatchRoutineResponse; +import com.azure.ai.projects.models.DispatchRoutineResult; import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; import com.azure.ai.projects.models.Routine; import com.azure.ai.projects.models.RoutineAction; @@ -923,7 +923,7 @@ public Mono> dispatchRoutineWithResponse(String routineName */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono dispatchRoutine(String routineName, RoutineDispatchPayload payload) { + public Mono dispatchRoutine(String routineName, RoutineDispatchPayload payload) { // Generated convenience method for dispatchRoutineWithResponse RequestOptions requestOptions = new RequestOptions(); DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj @@ -931,7 +931,7 @@ public Mono dispatchRoutine(String routineName, Routine BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); return dispatchRoutineWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions) .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(DispatchRoutineResponse.class)); + .map(protocolMethodData -> protocolMethodData.toObject(DispatchRoutineResult.class)); } /** @@ -948,13 +948,13 @@ public Mono dispatchRoutine(String routineName, Routine */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono dispatchRoutine(String routineName) { + public Mono dispatchRoutine(String routineName) { // Generated convenience method for dispatchRoutineWithResponse RequestOptions requestOptions = new RequestOptions(); DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj = new DispatchRoutineAsyncRequest(); BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); return dispatchRoutineWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions) .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(DispatchRoutineResponse.class)); + .map(protocolMethodData -> protocolMethodData.toObject(DispatchRoutineResult.class)); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java index 17c560509994..a1b9e92d9595 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/RoutinesClient.java @@ -6,7 +6,7 @@ import com.azure.ai.projects.implementation.RoutinesImpl; import com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest; import com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest; -import com.azure.ai.projects.models.DispatchRoutineResponse; +import com.azure.ai.projects.models.DispatchRoutineResult; import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; import com.azure.ai.projects.models.Routine; import com.azure.ai.projects.models.RoutineAction; @@ -857,14 +857,14 @@ public Response dispatchRoutineWithResponse(String routineName, Bina */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public DispatchRoutineResponse dispatchRoutine(String routineName, RoutineDispatchPayload payload) { + public DispatchRoutineResult dispatchRoutine(String routineName, RoutineDispatchPayload payload) { // Generated convenience method for dispatchRoutineWithResponse RequestOptions requestOptions = new RequestOptions(); DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj = new DispatchRoutineAsyncRequest().setPayload(payload); BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); return dispatchRoutineWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions).getValue() - .toObject(DispatchRoutineResponse.class); + .toObject(DispatchRoutineResult.class); } /** @@ -881,12 +881,12 @@ public DispatchRoutineResponse dispatchRoutine(String routineName, RoutineDispat */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public DispatchRoutineResponse dispatchRoutine(String routineName) { + public DispatchRoutineResult dispatchRoutine(String routineName) { // Generated convenience method for dispatchRoutineWithResponse RequestOptions requestOptions = new RequestOptions(); DispatchRoutineAsyncRequest dispatchRoutineAsyncRequestObj = new DispatchRoutineAsyncRequest(); BinaryData dispatchRoutineAsyncRequest = BinaryData.fromObject(dispatchRoutineAsyncRequestObj); return dispatchRoutineWithResponse(routineName, dispatchRoutineAsyncRequest, requestOptions).getValue() - .toObject(DispatchRoutineResponse.class); + .toObject(DispatchRoutineResult.class); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java index b5f4199381ba..1f26535abd9f 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsAsyncClient.java @@ -9,8 +9,8 @@ import com.azure.ai.projects.implementation.models.CreateSkillVersionRequest; import com.azure.ai.projects.implementation.models.UpdateSkillRequest; import com.azure.ai.projects.models.CreateSkillVersionFromFilesBody; -import com.azure.ai.projects.models.FilesFileDetails; import com.azure.ai.projects.models.Skill; +import com.azure.ai.projects.models.SkillFileDetails; import com.azure.ai.projects.models.SkillInlineContent; import com.azure.ai.projects.models.SkillVersion; import com.azure.core.annotation.Generated; @@ -679,9 +679,9 @@ public Mono createSkillVersionFromFiles(String name, CreateSkillVe return createSkillVersionFromFilesWithResponse(name, new MultipartFormDataHelper(requestOptions) .serializeFileFields("files", - content.getFiles().stream().map(FilesFileDetails::getContent).collect(Collectors.toList()), - content.getFiles().stream().map(FilesFileDetails::getContentType).collect(Collectors.toList()), - content.getFiles().stream().map(FilesFileDetails::getFilename).collect(Collectors.toList())) + content.getFiles().stream().map(SkillFileDetails::getContent).collect(Collectors.toList()), + content.getFiles().stream().map(SkillFileDetails::getContentType).collect(Collectors.toList()), + content.getFiles().stream().map(SkillFileDetails::getFilename).collect(Collectors.toList())) .serializeTextField("default", Objects.toString(content.isDefaultProperty())) .end() .getRequestBody(), diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java index 1b8371b110aa..9a20863f9980 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/SkillsClient.java @@ -9,8 +9,8 @@ import com.azure.ai.projects.implementation.models.CreateSkillVersionRequest; import com.azure.ai.projects.implementation.models.UpdateSkillRequest; import com.azure.ai.projects.models.CreateSkillVersionFromFilesBody; -import com.azure.ai.projects.models.FilesFileDetails; import com.azure.ai.projects.models.Skill; +import com.azure.ai.projects.models.SkillFileDetails; import com.azure.ai.projects.models.SkillInlineContent; import com.azure.ai.projects.models.SkillVersion; import com.azure.core.annotation.Generated; @@ -645,9 +645,9 @@ public SkillVersion createSkillVersionFromFiles(String name, CreateSkillVersionF return createSkillVersionFromFilesWithResponse(name, new MultipartFormDataHelper(requestOptions) .serializeFileFields("files", - content.getFiles().stream().map(FilesFileDetails::getContent).collect(Collectors.toList()), - content.getFiles().stream().map(FilesFileDetails::getContentType).collect(Collectors.toList()), - content.getFiles().stream().map(FilesFileDetails::getFilename).collect(Collectors.toList())) + content.getFiles().stream().map(SkillFileDetails::getContent).collect(Collectors.toList()), + content.getFiles().stream().map(SkillFileDetails::getContentType).collect(Collectors.toList()), + content.getFiles().stream().map(SkillFileDetails::getFilename).collect(Collectors.toList())) .serializeTextField("default", Objects.toString(content.isDefaultProperty())) .end() .getRequestBody(), diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java index e3449c3bd34f..73ce3124292b 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java @@ -8,7 +8,7 @@ import com.azure.ai.projects.models.DatasetVersion; import com.azure.ai.projects.models.EmbeddingConfiguration; import com.azure.ai.projects.models.FieldMapping; -import com.azure.ai.projects.models.UpdateModelVersionRequest; +import com.azure.ai.projects.models.UpdateModelVersionInput; import java.util.Map; /** @@ -106,20 +106,20 @@ public static EmbeddingConfigurationAccessor getEmbeddingConfigurationAccessor() return embeddingConfigurationAccessor; } - private static UpdateModelVersionRequestAccessor updateModelVersionRequestAccessor; + private static UpdateModelVersionInputAccessor updateModelVersionInputAccessor; - public interface UpdateModelVersionRequestAccessor { - UpdateModelVersionRequest prepareModelForJsonMergePatch(UpdateModelVersionRequest updateModelVersionRequest, + public interface UpdateModelVersionInputAccessor { + UpdateModelVersionInput prepareModelForJsonMergePatch(UpdateModelVersionInput updateModelVersionInput, boolean jsonMergePatchEnabled); - boolean isJsonMergePatch(UpdateModelVersionRequest updateModelVersionRequest); + boolean isJsonMergePatch(UpdateModelVersionInput updateModelVersionInput); } - public static void setUpdateModelVersionRequestAccessor(UpdateModelVersionRequestAccessor accessor) { - updateModelVersionRequestAccessor = accessor; + public static void setUpdateModelVersionInputAccessor(UpdateModelVersionInputAccessor accessor) { + updateModelVersionInputAccessor = accessor; } - public static UpdateModelVersionRequestAccessor getUpdateModelVersionRequestAccessor() { - return updateModelVersionRequestAccessor; + public static UpdateModelVersionInputAccessor getUpdateModelVersionInputAccessor() { + return updateModelVersionInputAccessor; } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java index 7bcca172b3d4..c06bc6d27c46 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. + package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -16,7 +17,6 @@ */ @Immutable public final class CreateAsyncResponse implements JsonSerializable { - /* * URL to poll for operation status. */ @@ -38,7 +38,7 @@ private CreateAsyncResponse() { /** * Get the location property: URL to poll for operation status. - * + * * @return the location value. */ @Generated @@ -48,7 +48,7 @@ public String getLocation() { /** * Get the operationResult property: URL to the operation result, or null if the operation is still in progress. - * + * * @return the operationResult value. */ @Generated @@ -70,7 +70,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of CreateAsyncResponse from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of CreateAsyncResponse if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -83,6 +83,7 @@ public static CreateAsyncResponse fromJson(JsonReader jsonReader) throws IOExcep while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); + if ("location".equals(fieldName)) { deserializedCreateAsyncResponse.location = reader.getString(); } else if ("operationResult".equals(fieldName)) { @@ -91,6 +92,7 @@ public static CreateAsyncResponse fromJson(JsonReader jsonReader) throws IOExcep reader.skipChildren(); } } + return deserializedCreateAsyncResponse; }); } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java index 23b450dc1168..53ef65d4089d 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java @@ -19,7 +19,7 @@ public final class CreateSkillVersionFromFilesBody { * Skill files to upload. Upload a single zip file or multiple individual files with relative paths. */ @Generated - private final List files; + private final List files; /* * Whether to set this version as the default. Defaults to false. @@ -33,7 +33,7 @@ public final class CreateSkillVersionFromFilesBody { * @param files the files value to set. */ @Generated - public CreateSkillVersionFromFilesBody(List files) { + public CreateSkillVersionFromFilesBody(List files) { this.files = files; } @@ -44,7 +44,7 @@ public CreateSkillVersionFromFilesBody(List files) { * @return the files value. */ @Generated - public List getFiles() { + public List getFiles() { return this.files; } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DispatchRoutineResult.java similarity index 75% rename from sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java rename to sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DispatchRoutineResult.java index 173d31d9701c..39f2d6b22432 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DispatchRoutineResult.java @@ -15,7 +15,7 @@ * Identifiers returned after a routine dispatch is queued. */ @Immutable -public final class DispatchRoutineResponse implements JsonSerializable { +public final class DispatchRoutineResult implements JsonSerializable { /* * The dispatch identifier created for the routine dispatch. @@ -36,10 +36,10 @@ public final class DispatchRoutineResponse implements JsonSerializable { - DispatchRoutineResponse deserializedDispatchRoutineResponse = new DispatchRoutineResponse(); + DispatchRoutineResult deserializedDispatchRoutineResult = new DispatchRoutineResult(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("dispatch_id".equals(fieldName)) { - deserializedDispatchRoutineResponse.dispatchId = reader.getString(); + deserializedDispatchRoutineResult.dispatchId = reader.getString(); } else if ("action_correlation_id".equals(fieldName)) { - deserializedDispatchRoutineResponse.actionCorrelationId = reader.getString(); + deserializedDispatchRoutineResult.actionCorrelationId = reader.getString(); } else if ("task_id".equals(fieldName)) { - deserializedDispatchRoutineResponse.taskId = reader.getString(); + deserializedDispatchRoutineResult.taskId = reader.getString(); } else { reader.skipChildren(); } } - return deserializedDispatchRoutineResponse; + return deserializedDispatchRoutineResult; }); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorCredentialInput.java similarity index 78% rename from sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java rename to sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorCredentialInput.java index 43cb5f306862..e291b7ada7fc 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EvaluatorCredentialInput.java @@ -15,18 +15,35 @@ * Request body for getting evaluator credentials. */ @Immutable -public final class EvaluatorCredentialRequest implements JsonSerializable { +public final class EvaluatorCredentialInput implements JsonSerializable { + + /* + * The blob URI for the evaluator storage. Example: `https://account.blob.core.windows.net:443/container` + */ + @Generated + private final String blobUrl; /** - * Creates an instance of EvaluatorCredentialRequest class. + * Creates an instance of EvaluatorCredentialInput class. * * @param blobUrl the blobUrl value to set. */ @Generated - public EvaluatorCredentialRequest(String blobUrl) { + public EvaluatorCredentialInput(String blobUrl) { this.blobUrl = blobUrl; } + /** + * Get the blobUrl property: The blob URI for the evaluator storage. Example: + * `https://account.blob.core.windows.net:443/container`. + * + * @return the blobUrl value. + */ + @Generated + public String getBlobUrl() { + return this.blobUrl; + } + /** * {@inheritDoc} */ @@ -39,16 +56,16 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of EvaluatorCredentialRequest from the JsonReader. + * Reads an instance of EvaluatorCredentialInput from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of EvaluatorCredentialRequest if the JsonReader was pointing to an instance of it, or null if + * @return An instance of EvaluatorCredentialInput if the JsonReader was pointing to an instance of it, or null if * it was pointing to JSON null. * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the EvaluatorCredentialRequest. + * @throws IOException If an error occurs while reading the EvaluatorCredentialInput. */ @Generated - public static EvaluatorCredentialRequest fromJson(JsonReader jsonReader) throws IOException { + public static EvaluatorCredentialInput fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String blobUrl = null; while (reader.nextToken() != JsonToken.END_OBJECT) { @@ -60,24 +77,7 @@ public static EvaluatorCredentialRequest fromJson(JsonReader jsonReader) throws reader.skipChildren(); } } - return new EvaluatorCredentialRequest(blobUrl); + return new EvaluatorCredentialInput(blobUrl); }); } - - /* - * The blob URI for the evaluator storage. Example: `https://account.blob.core.windows.net:443/container` - */ - @Generated - private final String blobUrl; - - /** - * Get the blobUrl property: The blob URI for the evaluator storage. Example: - * `https://account.blob.core.windows.net:443/container`. - * - * @return the blobUrl value. - */ - @Generated - public String getBlobUrl() { - return this.blobUrl; - } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelCredentialInput.java similarity index 78% rename from sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java rename to sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelCredentialInput.java index dccccac0dee5..68991924c657 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelCredentialInput.java @@ -15,18 +15,34 @@ * Request to fetch credentials for a model asset. */ @Immutable -public final class ModelCredentialRequest implements JsonSerializable { +public final class ModelCredentialInput implements JsonSerializable { + + /* + * Blob URI of the model asset to fetch credentials for. + */ + @Generated + private final String blobUrl; /** - * Creates an instance of ModelCredentialRequest class. + * Creates an instance of ModelCredentialInput class. * * @param blobUrl the blobUrl value to set. */ @Generated - public ModelCredentialRequest(String blobUrl) { + public ModelCredentialInput(String blobUrl) { this.blobUrl = blobUrl; } + /** + * Get the blobUrl property: Blob URI of the model asset to fetch credentials for. + * + * @return the blobUrl value. + */ + @Generated + public String getBlobUrl() { + return this.blobUrl; + } + /** * {@inheritDoc} */ @@ -39,16 +55,16 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ModelCredentialRequest from the JsonReader. + * Reads an instance of ModelCredentialInput from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ModelCredentialRequest if the JsonReader was pointing to an instance of it, or null if it + * @return An instance of ModelCredentialInput if the JsonReader was pointing to an instance of it, or null if it * was pointing to JSON null. * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ModelCredentialRequest. + * @throws IOException If an error occurs while reading the ModelCredentialInput. */ @Generated - public static ModelCredentialRequest fromJson(JsonReader jsonReader) throws IOException { + public static ModelCredentialInput fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String blobUrl = null; while (reader.nextToken() != JsonToken.END_OBJECT) { @@ -60,23 +76,7 @@ public static ModelCredentialRequest fromJson(JsonReader jsonReader) throws IOEx reader.skipChildren(); } } - return new ModelCredentialRequest(blobUrl); + return new ModelCredentialInput(blobUrl); }); } - - /* - * Blob URI of the model asset to fetch credentials for. - */ - @Generated - private final String blobUrl; - - /** - * Get the blobUrl property: Blob URI of the model asset to fetch credentials for. - * - * @return the blobUrl value. - */ - @Generated - public String getBlobUrl() { - return this.blobUrl; - } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadInput.java similarity index 75% rename from sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java rename to sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadInput.java index 96b7df5928bb..563d7ffc8cc6 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadInput.java @@ -15,7 +15,7 @@ * Represents a request for a pending upload of a model version. */ @Fluent -public final class ModelPendingUploadRequest implements JsonSerializable { +public final class ModelPendingUploadInput implements JsonSerializable { /* * If PendingUploadId is not provided, a random GUID will be used. @@ -36,10 +36,10 @@ public final class ModelPendingUploadRequest implements JsonSerializable { - ModelPendingUploadRequest deserializedModelPendingUploadRequest = new ModelPendingUploadRequest(); + ModelPendingUploadInput deserializedModelPendingUploadInput = new ModelPendingUploadInput(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("pendingUploadId".equals(fieldName)) { - deserializedModelPendingUploadRequest.pendingUploadId = reader.getString(); + deserializedModelPendingUploadInput.pendingUploadId = reader.getString(); } else if ("connectionName".equals(fieldName)) { - deserializedModelPendingUploadRequest.connectionName = reader.getString(); + deserializedModelPendingUploadInput.connectionName = reader.getString(); } else { reader.skipChildren(); } } - return deserializedModelPendingUploadRequest; + return deserializedModelPendingUploadInput; }); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadResult.java similarity index 82% rename from sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java rename to sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadResult.java index ff8de47f1936..5fad4bd0ef94 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ModelPendingUploadResult.java @@ -15,7 +15,7 @@ * Represents the response for a model pending upload request. */ @Immutable -public final class ModelPendingUploadResponse implements JsonSerializable { +public final class ModelPendingUploadResult implements JsonSerializable { /* * Container-level read, write, list SAS. @@ -42,13 +42,13 @@ public final class ModelPendingUploadResponse implements JsonSerializable { BlobReference blobReference = null; String pendingUploadId = null; @@ -138,10 +138,10 @@ public static ModelPendingUploadResponse fromJson(JsonReader jsonReader) throws reader.skipChildren(); } } - ModelPendingUploadResponse deserializedModelPendingUploadResponse - = new ModelPendingUploadResponse(blobReference, pendingUploadId); - deserializedModelPendingUploadResponse.version = version; - return deserializedModelPendingUploadResponse; + ModelPendingUploadResult deserializedModelPendingUploadResult + = new ModelPendingUploadResult(blobReference, pendingUploadId); + deserializedModelPendingUploadResult.version = version; + return deserializedModelPendingUploadResult; }); } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FilesFileDetails.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillFileDetails.java similarity index 91% rename from sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FilesFileDetails.java rename to sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillFileDetails.java index 61eaedde4546..dcedfce08add 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FilesFileDetails.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SkillFileDetails.java @@ -51,7 +51,7 @@ * is overridden, as shown in the examples below. */ @Fluent -public final class FilesFileDetails { +public final class SkillFileDetails { /* * The content of the file. @@ -72,12 +72,12 @@ public final class FilesFileDetails { private String contentType = "application/octet-stream"; /** - * Creates an instance of FilesFileDetails class. + * Creates an instance of SkillFileDetails class. * * @param content the content value to set. */ @Generated - public FilesFileDetails(BinaryData content) { + public SkillFileDetails(BinaryData content) { this.content = content; } @@ -105,10 +105,10 @@ public String getFilename() { * Set the filename property: The filename of the file. * * @param filename the filename value to set. - * @return the FilesFileDetails object itself. + * @return the SkillFileDetails object itself. */ @Generated - public FilesFileDetails setFilename(String filename) { + public SkillFileDetails setFilename(String filename) { this.filename = filename; return this; } @@ -127,10 +127,10 @@ public String getContentType() { * Set the contentType property: The content-type of the file. * * @param contentType the contentType value to set. - * @return the FilesFileDetails object itself. + * @return the SkillFileDetails object itself. */ @Generated - public FilesFileDetails setContentType(String contentType) { + public SkillFileDetails setContentType(String contentType) { this.contentType = contentType; return this; } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/UpdateModelVersionInput.java similarity index 77% rename from sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java rename to sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/UpdateModelVersionInput.java index 8d1e862382c8..545107fdc8fa 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/UpdateModelVersionInput.java @@ -19,7 +19,7 @@ * Request body for updating a model version. Only description and tags can be modified. */ @Fluent -public final class UpdateModelVersionRequest implements JsonSerializable { +public final class UpdateModelVersionInput implements JsonSerializable { /* * The asset description text. @@ -49,27 +49,27 @@ private void serializeAsJsonMergePatch(boolean jsonMergePatch) { static { JsonMergePatchHelper - .setUpdateModelVersionRequestAccessor(new JsonMergePatchHelper.UpdateModelVersionRequestAccessor() { + .setUpdateModelVersionInputAccessor(new JsonMergePatchHelper.UpdateModelVersionInputAccessor() { @Override - public UpdateModelVersionRequest prepareModelForJsonMergePatch(UpdateModelVersionRequest model, + public UpdateModelVersionInput prepareModelForJsonMergePatch(UpdateModelVersionInput model, boolean jsonMergePatchEnabled) { model.serializeAsJsonMergePatch(jsonMergePatchEnabled); return model; } @Override - public boolean isJsonMergePatch(UpdateModelVersionRequest model) { + public boolean isJsonMergePatch(UpdateModelVersionInput model) { return model.jsonMergePatch; } }); } /** - * Creates an instance of UpdateModelVersionRequest class. + * Creates an instance of UpdateModelVersionInput class. */ @Generated - public UpdateModelVersionRequest() { + public UpdateModelVersionInput() { } /** @@ -86,10 +86,10 @@ public String getDescription() { * Set the description property: The asset description text. * * @param description the description value to set. - * @return the UpdateModelVersionRequest object itself. + * @return the UpdateModelVersionInput object itself. */ @Generated - public UpdateModelVersionRequest setDescription(String description) { + public UpdateModelVersionInput setDescription(String description) { this.description = description; this.updatedProperties.add("description"); return this; @@ -109,10 +109,10 @@ public Map getTags() { * Set the tags property: Tag dictionary. Tags can be added, removed, and updated. * * @param tags the tags value to set. - * @return the UpdateModelVersionRequest object itself. + * @return the UpdateModelVersionInput object itself. */ @Generated - public UpdateModelVersionRequest setTags(Map tags) { + public UpdateModelVersionInput setTags(Map tags) { this.tags = tags; this.updatedProperties.add("tags"); return this; @@ -161,30 +161,30 @@ private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of UpdateModelVersionRequest from the JsonReader. + * Reads an instance of UpdateModelVersionInput from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of UpdateModelVersionRequest if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IOException If an error occurs while reading the UpdateModelVersionRequest. + * @return An instance of UpdateModelVersionInput if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the UpdateModelVersionInput. */ @Generated - public static UpdateModelVersionRequest fromJson(JsonReader jsonReader) throws IOException { + public static UpdateModelVersionInput fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - UpdateModelVersionRequest deserializedUpdateModelVersionRequest = new UpdateModelVersionRequest(); + UpdateModelVersionInput deserializedUpdateModelVersionInput = new UpdateModelVersionInput(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("description".equals(fieldName)) { - deserializedUpdateModelVersionRequest.description = reader.getString(); + deserializedUpdateModelVersionInput.description = reader.getString(); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedUpdateModelVersionRequest.tags = tags; + deserializedUpdateModelVersionInput.tags = tags; } else { reader.skipChildren(); } } - return deserializedUpdateModelVersionRequest; + return deserializedUpdateModelVersionInput; }); } } diff --git a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json index 3323e41f688a..e1d9906d5b7d 100644 --- a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json +++ b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"ead8a77e5b0c","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutine":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutine":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.dispatchRoutineWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.CustomRoutineTrigger":"Azure.AI.Projects.CustomRoutineTrigger","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResponse":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialRequest":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FilesFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.GitHubIssueEvent":"Azure.AI.Projects.GitHubIssueEvent","com.azure.ai.projects.models.GitHubIssueRoutineTrigger":"Azure.AI.Projects.GitHubIssueRoutineTrigger","com.azure.ai.projects.models.GraderAzureAIEvaluator":"Azure.AI.Projects.GraderAzureAIEvaluator","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialRequest":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadRequest":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResponse":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator":"Azure.AI.Projects.TestingCriterionAzureAIEvaluator","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionRequest":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/CustomRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResponse.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialRequest.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FilesFileDetails.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/GitHubIssueEvent.java","src/main/java/com/azure/ai/projects/models/GitHubIssueRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialRequest.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionRequest.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Azure.AI.Projects":"v1"},"crossLanguagePackageId":"Azure.AI.Projects","crossLanguageVersion":"3e64ba85b9d6","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DataGenerationJobsAsyncClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsAsyncClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DataGenerationJobsClient":"Azure.AI.Projects.DataGenerationJobs","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJob":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.cancelGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.cancel","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJob":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.createGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.create","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJob":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.deleteGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.delete","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJob":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.getGenerationJobWithResponse":"Azure.AI.Projects.DataGenerationJobs.get","com.azure.ai.projects.DataGenerationJobsClient.listGenerationJobs":"Azure.AI.Projects.DataGenerationJobs.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationRulesAsyncClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesAsyncClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationRulesClient":"Azure.AI.Projects.EvaluationRules","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRule":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.createOrUpdateEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.createOrUpdate","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRule":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.deleteEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.delete","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRule":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.getEvaluationRuleWithResponse":"Azure.AI.Projects.EvaluationRules.get","com.azure.ai.projects.EvaluationRulesClient.listEvaluationRules":"Azure.AI.Projects.EvaluationRules.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesAsyncClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient":"Azure.AI.Projects.EvaluationTaxonomies","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.createEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.create","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.deleteEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.delete","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.getEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.get","com.azure.ai.projects.EvaluationTaxonomiesClient.listEvaluationTaxonomies":"Azure.AI.Projects.EvaluationTaxonomies.list","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluationTaxonomiesClient.updateEvaluationTaxonomyWithResponse":"Azure.AI.Projects.EvaluationTaxonomies.update","com.azure.ai.projects.EvaluatorsAsyncClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsAsyncClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsAsyncClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsAsyncClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient":"Azure.AI.Projects.Evaluators","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.cancelEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.cancel","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.create","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersion":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.createEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.createVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.delete","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersion":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.deleteEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.deleteVersion","com.azure.ai.projects.EvaluatorsClient.getCredentials":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getCredentialsWithResponse":"Azure.AI.Projects.Evaluators.getCredentials","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorGenerationJobWithResponse":"Azure.AI.Projects.EvaluatorGenerationJobs.get","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersion":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.getEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.getVersion","com.azure.ai.projects.EvaluatorsClient.listEvaluatorGenerationJobs":"Azure.AI.Projects.EvaluatorGenerationJobs.list","com.azure.ai.projects.EvaluatorsClient.listEvaluatorVersions":"Azure.AI.Projects.Evaluators.listVersions","com.azure.ai.projects.EvaluatorsClient.listLatestEvaluatorVersions":"Azure.AI.Projects.Evaluators.listLatestVersions","com.azure.ai.projects.EvaluatorsClient.startPendingUpload":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.startPendingUploadWithResponse":"Azure.AI.Projects.Evaluators.startPendingUpload","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersion":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.EvaluatorsClient.updateEvaluatorVersionWithResponse":"Azure.AI.Projects.Evaluators.updateVersion","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.InsightsAsyncClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsAsyncClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsAsyncClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsAsyncClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.InsightsClient":"Azure.AI.Projects.Insights","com.azure.ai.projects.InsightsClient.generateInsight":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.generateInsightWithResponse":"Azure.AI.Projects.Insights.generate","com.azure.ai.projects.InsightsClient.getInsight":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.getInsightWithResponse":"Azure.AI.Projects.Insights.get","com.azure.ai.projects.InsightsClient.listInsights":"Azure.AI.Projects.Insights.list","com.azure.ai.projects.ModelsAsyncClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsAsyncClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsAsyncClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsAsyncClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsAsyncClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsAsyncClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsAsyncClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsAsyncClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient":"Azure.AI.Projects.Models","com.azure.ai.projects.ModelsClient.createModelVersionAsyncWithResponse":"Azure.AI.Projects.Models.createAsync","com.azure.ai.projects.ModelsClient.deleteModelVersion":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.deleteModelVersionWithResponse":"Azure.AI.Projects.Models.deleteVersion","com.azure.ai.projects.ModelsClient.getModelCredentials":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelCredentialsWithResponse":"Azure.AI.Projects.Models.getCredentials","com.azure.ai.projects.ModelsClient.getModelVersion":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.getModelVersionWithResponse":"Azure.AI.Projects.Models.getVersion","com.azure.ai.projects.ModelsClient.listLatestModelVersions":"Azure.AI.Projects.Models.listLatest","com.azure.ai.projects.ModelsClient.listModelVersions":"Azure.AI.Projects.Models.listVersions","com.azure.ai.projects.ModelsClient.startModelPendingUpload":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.startModelPendingUploadWithResponse":"Azure.AI.Projects.Models.startPendingUpload","com.azure.ai.projects.ModelsClient.updateModelVersion":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.ModelsClient.updateModelVersionWithResponse":"Azure.AI.Projects.Models.createOrUpdateVersion","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeamRun":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamRunWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RoutinesAsyncClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutine":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.dispatchRoutineWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesAsyncClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesAsyncClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesAsyncClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.RoutinesClient":"Azure.AI.Projects.Routines","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutine":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.createOrUpdateRoutineWithResponse":"Azure.AI.Projects.Routines.createOrUpdateRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutine":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.deleteRoutineWithResponse":"Azure.AI.Projects.Routines.deleteRoutine","com.azure.ai.projects.RoutinesClient.disableRoutine":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.disableRoutineWithResponse":"Azure.AI.Projects.Routines.disableRoutine","com.azure.ai.projects.RoutinesClient.dispatchRoutine":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.dispatchRoutineWithResponse":"Azure.AI.Projects.Routines.dispatchRoutineAsync","com.azure.ai.projects.RoutinesClient.enableRoutine":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.enableRoutineWithResponse":"Azure.AI.Projects.Routines.enableRoutine","com.azure.ai.projects.RoutinesClient.getRoutine":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.getRoutineWithResponse":"Azure.AI.Projects.Routines.getRoutine","com.azure.ai.projects.RoutinesClient.listRoutineRuns":"Azure.AI.Projects.Routines.listRoutineRuns","com.azure.ai.projects.RoutinesClient.listRoutines":"Azure.AI.Projects.Routines.listRoutines","com.azure.ai.projects.SchedulesAsyncClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesAsyncClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesAsyncClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesAsyncClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesAsyncClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesAsyncClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SchedulesClient":"Azure.AI.Projects.Schedules","com.azure.ai.projects.SchedulesClient.createOrUpdateSchedule":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.createOrUpdateScheduleWithResponse":"Azure.AI.Projects.Schedules.createOrUpdate","com.azure.ai.projects.SchedulesClient.deleteSchedule":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.deleteScheduleWithResponse":"Azure.AI.Projects.Schedules.delete","com.azure.ai.projects.SchedulesClient.getSchedule":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.getScheduleRun":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleRunWithResponse":"Azure.AI.Projects.Schedules.getRun","com.azure.ai.projects.SchedulesClient.getScheduleWithResponse":"Azure.AI.Projects.Schedules.get","com.azure.ai.projects.SchedulesClient.listScheduleRuns":"Azure.AI.Projects.Schedules.listRuns","com.azure.ai.projects.SchedulesClient.listSchedules":"Azure.AI.Projects.Schedules.list","com.azure.ai.projects.SkillsAsyncClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsAsyncClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsAsyncClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsAsyncClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsAsyncClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsAsyncClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsAsyncClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsAsyncClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsAsyncClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient":"Azure.AI.Projects.Skills","com.azure.ai.projects.SkillsClient.createSkillVersion":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.createSkillVersionFromFiles":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionFromFilesWithResponse":"Azure.AI.Projects.Skills.createSkillVersionFromFiles","com.azure.ai.projects.SkillsClient.createSkillVersionWithResponse":"Azure.AI.Projects.Skills.createSkillVersion","com.azure.ai.projects.SkillsClient.getSkill":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.getSkillContent":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillContentWithResponse":"Azure.AI.Projects.Skills.getSkillContent","com.azure.ai.projects.SkillsClient.getSkillVersion":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillVersionContent":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionContentWithResponse":"Azure.AI.Projects.Skills.getSkillVersionContent","com.azure.ai.projects.SkillsClient.getSkillVersionWithResponse":"Azure.AI.Projects.Skills.getSkillVersion","com.azure.ai.projects.SkillsClient.getSkillWithResponse":"Azure.AI.Projects.Skills.getSkill","com.azure.ai.projects.SkillsClient.listSkillVersions":"Azure.AI.Projects.Skills.listSkillVersions","com.azure.ai.projects.SkillsClient.listSkills":"Azure.AI.Projects.Skills.listSkills","com.azure.ai.projects.SkillsClient.updateSkill":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.SkillsClient.updateSkillWithResponse":"Azure.AI.Projects.Skills.updateSkill","com.azure.ai.projects.implementation.models.CreateOrUpdateRoutineRequest":"Azure.AI.Projects.createOrUpdateRoutine.Request.anonymous","com.azure.ai.projects.implementation.models.CreateSkillVersionRequest":"Azure.AI.Projects.createSkillVersion.Request.anonymous","com.azure.ai.projects.implementation.models.DispatchRoutineAsyncRequest":"Azure.AI.Projects.dispatchRoutineAsync.Request.anonymous","com.azure.ai.projects.implementation.models.UpdateSkillRequest":"Azure.AI.Projects.updateSkill.Request.anonymous","com.azure.ai.projects.models.AIProjectIndex":"Azure.AI.Projects.Index","com.azure.ai.projects.models.AgentClusterInsightRequest":"Azure.AI.Projects.AgentClusterInsightRequest","com.azure.ai.projects.models.AgentClusterInsightResult":"Azure.AI.Projects.AgentClusterInsightResult","com.azure.ai.projects.models.AgentDataGenerationJobSource":"Azure.AI.Projects.AgentDataGenerationJobSource","com.azure.ai.projects.models.AgentEvaluatorGenerationJobSource":"Azure.AI.Projects.AgentEvaluatorGenerationJobSource","com.azure.ai.projects.models.AgentTaxonomyInput":"Azure.AI.Projects.AgentTaxonomyInput","com.azure.ai.projects.models.AgenticIdentityPreviewCredential":"Azure.AI.Projects.AgenticIdentityPreviewCredentials","com.azure.ai.projects.models.ApiError":"OpenAI.Error","com.azure.ai.projects.models.ApiKeyCredential":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.ArtifactProfile":"Azure.AI.Projects.ArtifactProfile","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAIAgentTarget":"Azure.AI.Projects.AzureAIAgentTarget","com.azure.ai.projects.models.AzureAIModelTarget":"Azure.AI.Projects.AzureAIModelTarget","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredential":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.BlobReferenceSasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.ChartCoordinate":"Azure.AI.Projects.ChartCoordinate","com.azure.ai.projects.models.ClusterInsightResult":"Azure.AI.Projects.ClusterInsightResult","com.azure.ai.projects.models.ClusterTokenUsage":"Azure.AI.Projects.ClusterTokenUsage","com.azure.ai.projects.models.CodeBasedEvaluatorDefinition":"Azure.AI.Projects.CodeBasedEvaluatorDefinition","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.ContinuousEvaluationRuleAction":"Azure.AI.Projects.ContinuousEvaluationRuleAction","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CreateAsyncResponse":"Azure.AI.Projects.createAsync.Response.anonymous","com.azure.ai.projects.models.CreateSkillVersionFromFilesBody":"Azure.AI.Projects.CreateSkillVersionFromFilesBody","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CronTrigger":"Azure.AI.Projects.CronTrigger","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.CustomRoutineTrigger":"Azure.AI.Projects.CustomRoutineTrigger","com.azure.ai.projects.models.DailyRecurrenceSchedule":"Azure.AI.Projects.DailyRecurrenceSchedule","com.azure.ai.projects.models.DataGenerationJob":"Azure.AI.Projects.DataGenerationJob","com.azure.ai.projects.models.DataGenerationJobInputs":"Azure.AI.Projects.DataGenerationJobInputs","com.azure.ai.projects.models.DataGenerationJobOptions":"Azure.AI.Projects.DataGenerationJobOptions","com.azure.ai.projects.models.DataGenerationJobOutput":"Azure.AI.Projects.DataGenerationJobOutput","com.azure.ai.projects.models.DataGenerationJobOutputOptions":"Azure.AI.Projects.DataGenerationJobOutputOptions","com.azure.ai.projects.models.DataGenerationJobOutputType":"Azure.AI.Projects.DataGenerationJobOutputType","com.azure.ai.projects.models.DataGenerationJobResult":"Azure.AI.Projects.DataGenerationJobResult","com.azure.ai.projects.models.DataGenerationJobScenario":"Azure.AI.Projects.DataGenerationJobScenario","com.azure.ai.projects.models.DataGenerationJobSource":"Azure.AI.Projects.DataGenerationJobSource","com.azure.ai.projects.models.DataGenerationJobSourceType":"Azure.AI.Projects.DataGenerationJobSourceType","com.azure.ai.projects.models.DataGenerationJobType":"Azure.AI.Projects.DataGenerationJobType","com.azure.ai.projects.models.DataGenerationModelOptions":"Azure.AI.Projects.DataGenerationModelOptions","com.azure.ai.projects.models.DataGenerationTokenUsage":"Azure.AI.Projects.DataGenerationTokenUsage","com.azure.ai.projects.models.DatasetCredential":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.DatasetDataGenerationJobOutput":"Azure.AI.Projects.DatasetDataGenerationJobOutput","com.azure.ai.projects.models.DatasetEvaluatorGenerationJobSource":"Azure.AI.Projects.DatasetEvaluatorGenerationJobSource","com.azure.ai.projects.models.DatasetReference":"Azure.AI.Projects.DatasetReference","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.Dimension":"Azure.AI.Projects.Dimension","com.azure.ai.projects.models.DispatchRoutineResult":"Azure.AI.Projects.DispatchRoutineResponse","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIdCredential":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.EvaluationComparisonInsightRequest":"Azure.AI.Projects.EvaluationComparisonInsightRequest","com.azure.ai.projects.models.EvaluationComparisonInsightResult":"Azure.AI.Projects.EvaluationComparisonInsightResult","com.azure.ai.projects.models.EvaluationResult":"Azure.AI.Projects.EvalResult","com.azure.ai.projects.models.EvaluationResultSample":"Azure.AI.Projects.EvaluationResultSample","com.azure.ai.projects.models.EvaluationRule":"Azure.AI.Projects.EvaluationRule","com.azure.ai.projects.models.EvaluationRuleAction":"Azure.AI.Projects.EvaluationRuleAction","com.azure.ai.projects.models.EvaluationRuleActionType":"Azure.AI.Projects.EvaluationRuleActionType","com.azure.ai.projects.models.EvaluationRuleEventType":"Azure.AI.Projects.EvaluationRuleEventType","com.azure.ai.projects.models.EvaluationRuleFilter":"Azure.AI.Projects.EvaluationRuleFilter","com.azure.ai.projects.models.EvaluationRunClusterInsightRequest":"Azure.AI.Projects.EvaluationRunClusterInsightRequest","com.azure.ai.projects.models.EvaluationRunClusterInsightResult":"Azure.AI.Projects.EvaluationRunClusterInsightResult","com.azure.ai.projects.models.EvaluationRunResultCompareItem":"Azure.AI.Projects.EvalRunResultCompareItem","com.azure.ai.projects.models.EvaluationRunResultComparison":"Azure.AI.Projects.EvalRunResultComparison","com.azure.ai.projects.models.EvaluationRunResultSummary":"Azure.AI.Projects.EvalRunResultSummary","com.azure.ai.projects.models.EvaluationScheduleTask":"Azure.AI.Projects.EvaluationScheduleTask","com.azure.ai.projects.models.EvaluationTaxonomy":"Azure.AI.Projects.EvaluationTaxonomy","com.azure.ai.projects.models.EvaluationTaxonomyInput":"Azure.AI.Projects.EvaluationTaxonomyInput","com.azure.ai.projects.models.EvaluationTaxonomyInputType":"Azure.AI.Projects.EvaluationTaxonomyInputType","com.azure.ai.projects.models.EvaluatorCategory":"Azure.AI.Projects.EvaluatorCategory","com.azure.ai.projects.models.EvaluatorCredentialInput":"Azure.AI.Projects.EvaluatorCredentialRequest","com.azure.ai.projects.models.EvaluatorDefinition":"Azure.AI.Projects.EvaluatorDefinition","com.azure.ai.projects.models.EvaluatorDefinitionType":"Azure.AI.Projects.EvaluatorDefinitionType","com.azure.ai.projects.models.EvaluatorGenerationArtifacts":"Azure.AI.Projects.EvaluatorGenerationArtifacts","com.azure.ai.projects.models.EvaluatorGenerationInputs":"Azure.AI.Projects.EvaluatorGenerationInputs","com.azure.ai.projects.models.EvaluatorGenerationJob":"Azure.AI.Projects.EvaluatorGenerationJob","com.azure.ai.projects.models.EvaluatorGenerationJobSource":"Azure.AI.Projects.EvaluatorGenerationJobSource","com.azure.ai.projects.models.EvaluatorGenerationJobSourceType":"Azure.AI.Projects.EvaluatorGenerationJobSourceType","com.azure.ai.projects.models.EvaluatorGenerationTokenUsage":"Azure.AI.Projects.EvaluatorGenerationTokenUsage","com.azure.ai.projects.models.EvaluatorMetric":"Azure.AI.Projects.EvaluatorMetric","com.azure.ai.projects.models.EvaluatorMetricDirection":"Azure.AI.Projects.EvaluatorMetricDirection","com.azure.ai.projects.models.EvaluatorMetricType":"Azure.AI.Projects.EvaluatorMetricType","com.azure.ai.projects.models.EvaluatorType":"Azure.AI.Projects.EvaluatorType","com.azure.ai.projects.models.EvaluatorVersion":"Azure.AI.Projects.EvaluatorVersion","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDataGenerationJobOutput":"Azure.AI.Projects.FileDataGenerationJobOutput","com.azure.ai.projects.models.FileDataGenerationJobSource":"Azure.AI.Projects.FileDataGenerationJobSource","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.FoundryFeaturesOptInKeys":"Azure.AI.Projects.FoundryFeaturesOptInKeys","com.azure.ai.projects.models.FoundryModelArtifactProfileCategory":"Azure.AI.Projects.FoundryModelArtifactProfileCategory","com.azure.ai.projects.models.FoundryModelArtifactProfileSignal":"Azure.AI.Projects.FoundryModelArtifactProfileSignal","com.azure.ai.projects.models.FoundryModelSourceType":"Azure.AI.Projects.FoundryModelSourceType","com.azure.ai.projects.models.FoundryModelWarning":"Azure.AI.Projects.FoundryModelWarning","com.azure.ai.projects.models.FoundryModelWarningCode":"Azure.AI.Projects.FoundryModelWarningCode","com.azure.ai.projects.models.FoundryModelWeightType":"Azure.AI.Projects.FoundryModelWeightType","com.azure.ai.projects.models.GitHubIssueEvent":"Azure.AI.Projects.GitHubIssueEvent","com.azure.ai.projects.models.GitHubIssueRoutineTrigger":"Azure.AI.Projects.GitHubIssueRoutineTrigger","com.azure.ai.projects.models.GraderAzureAIEvaluator":"Azure.AI.Projects.GraderAzureAIEvaluator","com.azure.ai.projects.models.HourlyRecurrenceSchedule":"Azure.AI.Projects.HourlyRecurrenceSchedule","com.azure.ai.projects.models.HumanEvaluationPreviewRuleAction":"Azure.AI.Projects.HumanEvaluationPreviewRuleAction","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.Insight":"Azure.AI.Projects.Insight","com.azure.ai.projects.models.InsightCluster":"Azure.AI.Projects.InsightCluster","com.azure.ai.projects.models.InsightModelConfiguration":"Azure.AI.Projects.InsightModelConfiguration","com.azure.ai.projects.models.InsightRequest":"Azure.AI.Projects.InsightRequest","com.azure.ai.projects.models.InsightResult":"Azure.AI.Projects.InsightResult","com.azure.ai.projects.models.InsightSample":"Azure.AI.Projects.InsightSample","com.azure.ai.projects.models.InsightScheduleTask":"Azure.AI.Projects.InsightScheduleTask","com.azure.ai.projects.models.InsightSummary":"Azure.AI.Projects.InsightSummary","com.azure.ai.projects.models.InsightType":"Azure.AI.Projects.InsightType","com.azure.ai.projects.models.InsightsMetadata":"Azure.AI.Projects.InsightsMetadata","com.azure.ai.projects.models.InvokeAgentInvocationsApiDispatchPayload":"Azure.AI.Projects.InvokeAgentInvocationsApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentInvocationsApiRoutineAction":"Azure.AI.Projects.InvokeAgentInvocationsApiRoutineAction","com.azure.ai.projects.models.InvokeAgentResponsesApiDispatchPayload":"Azure.AI.Projects.InvokeAgentResponsesApiDispatchPayload","com.azure.ai.projects.models.InvokeAgentResponsesApiRoutineAction":"Azure.AI.Projects.InvokeAgentResponsesApiRoutineAction","com.azure.ai.projects.models.JobStatus":"Azure.AI.Projects.JobStatus","com.azure.ai.projects.models.ListVersionsRequestType":"Azure.AI.Projects.listVersions.RequestType.anonymous","com.azure.ai.projects.models.LoraConfig":"Azure.AI.Projects.LoraConfig","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelCredentialInput":"Azure.AI.Projects.ModelCredentialRequest","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.ModelDeploymentSku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.ModelPendingUploadInput":"Azure.AI.Projects.ModelPendingUploadRequest","com.azure.ai.projects.models.ModelPendingUploadResult":"Azure.AI.Projects.ModelPendingUploadResponse","com.azure.ai.projects.models.ModelSamplingParams":"Azure.AI.Projects.ModelSamplingParams","com.azure.ai.projects.models.ModelSourceData":"Azure.AI.Projects.ModelSourceData","com.azure.ai.projects.models.ModelVersion":"Azure.AI.Projects.ModelVersion","com.azure.ai.projects.models.MonthlyRecurrenceSchedule":"Azure.AI.Projects.MonthlyRecurrenceSchedule","com.azure.ai.projects.models.NoAuthenticationCredential":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.OneTimeTrigger":"Azure.AI.Projects.OneTimeTrigger","com.azure.ai.projects.models.OperationStatus":"Azure.Core.Foundations.OperationState","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.PromptBasedEvaluatorDefinition":"Azure.AI.Projects.PromptBasedEvaluatorDefinition","com.azure.ai.projects.models.PromptDataGenerationJobSource":"Azure.AI.Projects.PromptDataGenerationJobSource","com.azure.ai.projects.models.PromptEvaluatorGenerationJobSource":"Azure.AI.Projects.PromptEvaluatorGenerationJobSource","com.azure.ai.projects.models.RecurrenceSchedule":"Azure.AI.Projects.RecurrenceSchedule","com.azure.ai.projects.models.RecurrenceTrigger":"Azure.AI.Projects.RecurrenceTrigger","com.azure.ai.projects.models.RecurrenceType":"Azure.AI.Projects.RecurrenceType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.Routine":"Azure.AI.Projects.Routine","com.azure.ai.projects.models.RoutineAction":"Azure.AI.Projects.RoutineAction","com.azure.ai.projects.models.RoutineActionType":"Azure.AI.Projects.RoutineActionType","com.azure.ai.projects.models.RoutineAttemptSource":"Azure.AI.Projects.RoutineAttemptSource","com.azure.ai.projects.models.RoutineDispatchPayload":"Azure.AI.Projects.RoutineDispatchPayload","com.azure.ai.projects.models.RoutineDispatchPayloadType":"Azure.AI.Projects.RoutineDispatchPayloadType","com.azure.ai.projects.models.RoutineRun":"Azure.AI.Projects.RoutineRun","com.azure.ai.projects.models.RoutineRunPhase":"Azure.AI.Projects.RoutineRunPhase","com.azure.ai.projects.models.RoutineTrigger":"Azure.AI.Projects.RoutineTrigger","com.azure.ai.projects.models.RoutineTriggerType":"Azure.AI.Projects.RoutineTriggerType","com.azure.ai.projects.models.RubricBasedEvaluatorDefinition":"Azure.AI.Projects.RubricBasedEvaluatorDefinition","com.azure.ai.projects.models.SampleType":"Azure.AI.Projects.SampleType","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Schedule":"Azure.AI.Projects.Schedule","com.azure.ai.projects.models.ScheduleProvisioningStatus":"Azure.AI.Projects.ScheduleProvisioningStatus","com.azure.ai.projects.models.ScheduleRoutineTrigger":"Azure.AI.Projects.ScheduleRoutineTrigger","com.azure.ai.projects.models.ScheduleRun":"Azure.AI.Projects.ScheduleRun","com.azure.ai.projects.models.ScheduleTask":"Azure.AI.Projects.ScheduleTask","com.azure.ai.projects.models.ScheduleTaskType":"Azure.AI.Projects.ScheduleTaskType","com.azure.ai.projects.models.SimpleQnADataGenerationJobOptions":"Azure.AI.Projects.SimpleQnADataGenerationJobOptions","com.azure.ai.projects.models.SimpleQnAFineTuningQuestionType":"Azure.AI.Projects.SimpleQnAFineTuningQuestionType","com.azure.ai.projects.models.Skill":"Azure.AI.Projects.Skill","com.azure.ai.projects.models.SkillFileDetails":"TypeSpec.Http.File","com.azure.ai.projects.models.SkillInlineContent":"Azure.AI.Projects.SkillInlineContent","com.azure.ai.projects.models.SkillVersion":"Azure.AI.Projects.SkillVersion","com.azure.ai.projects.models.SystemDataV3":"Azure.AI.Projects.SystemDataV3","com.azure.ai.projects.models.Target":"Azure.AI.Projects.Target","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.RedTeamTargetConfig","com.azure.ai.projects.models.TaxonomyCategory":"Azure.AI.Projects.TaxonomyCategory","com.azure.ai.projects.models.TaxonomySubCategory":"Azure.AI.Projects.TaxonomySubCategory","com.azure.ai.projects.models.TestingCriterionAzureAIEvaluator":"Azure.AI.Projects.TestingCriterionAzureAIEvaluator","com.azure.ai.projects.models.TimerRoutineTrigger":"Azure.AI.Projects.TimerRoutineTrigger","com.azure.ai.projects.models.ToolDescription":"Azure.AI.Projects.ToolDescription","com.azure.ai.projects.models.ToolUseFineTuningDataGenerationJobOptions":"Azure.AI.Projects.ToolUseFineTuningDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobOptions":"Azure.AI.Projects.TracesDataGenerationJobOptions","com.azure.ai.projects.models.TracesDataGenerationJobSource":"Azure.AI.Projects.TracesDataGenerationJobSource","com.azure.ai.projects.models.TracesEvaluatorGenerationJobSource":"Azure.AI.Projects.TracesEvaluatorGenerationJobSource","com.azure.ai.projects.models.TreatmentEffectType":"Azure.AI.Projects.TreatmentEffectType","com.azure.ai.projects.models.Trigger":"Azure.AI.Projects.Trigger","com.azure.ai.projects.models.TriggerType":"Azure.AI.Projects.TriggerType","com.azure.ai.projects.models.UpdateModelVersionInput":"Azure.AI.Projects.UpdateModelVersionRequest","com.azure.ai.projects.models.WeeklyRecurrenceSchedule":"Azure.AI.Projects.WeeklyRecurrenceSchedule"},"generatedFiles":["src/main/java/com/azure/ai/projects/AIProjectClientBuilder.java","src/main/java/com/azure/ai/projects/AIProjectsServiceVersion.java","src/main/java/com/azure/ai/projects/ConnectionsAsyncClient.java","src/main/java/com/azure/ai/projects/ConnectionsClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsAsyncClient.java","src/main/java/com/azure/ai/projects/DataGenerationJobsClient.java","src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java","src/main/java/com/azure/ai/projects/DatasetsClient.java","src/main/java/com/azure/ai/projects/DeploymentsAsyncClient.java","src/main/java/com/azure/ai/projects/DeploymentsClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationRulesClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluationTaxonomiesClient.java","src/main/java/com/azure/ai/projects/EvaluatorsAsyncClient.java","src/main/java/com/azure/ai/projects/EvaluatorsClient.java","src/main/java/com/azure/ai/projects/IndexesAsyncClient.java","src/main/java/com/azure/ai/projects/IndexesClient.java","src/main/java/com/azure/ai/projects/InsightsAsyncClient.java","src/main/java/com/azure/ai/projects/InsightsClient.java","src/main/java/com/azure/ai/projects/ModelsAsyncClient.java","src/main/java/com/azure/ai/projects/ModelsClient.java","src/main/java/com/azure/ai/projects/RedTeamsAsyncClient.java","src/main/java/com/azure/ai/projects/RedTeamsClient.java","src/main/java/com/azure/ai/projects/RoutinesAsyncClient.java","src/main/java/com/azure/ai/projects/RoutinesClient.java","src/main/java/com/azure/ai/projects/SchedulesAsyncClient.java","src/main/java/com/azure/ai/projects/SchedulesClient.java","src/main/java/com/azure/ai/projects/SkillsAsyncClient.java","src/main/java/com/azure/ai/projects/SkillsClient.java","src/main/java/com/azure/ai/projects/implementation/AIProjectClientImpl.java","src/main/java/com/azure/ai/projects/implementation/ConnectionsImpl.java","src/main/java/com/azure/ai/projects/implementation/DataGenerationJobsImpl.java","src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java","src/main/java/com/azure/ai/projects/implementation/DeploymentsImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationRulesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluationTaxonomiesImpl.java","src/main/java/com/azure/ai/projects/implementation/EvaluatorsImpl.java","src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java","src/main/java/com/azure/ai/projects/implementation/InsightsImpl.java","src/main/java/com/azure/ai/projects/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/ai/projects/implementation/ModelsImpl.java","src/main/java/com/azure/ai/projects/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/ai/projects/implementation/RedTeamsImpl.java","src/main/java/com/azure/ai/projects/implementation/RoutinesImpl.java","src/main/java/com/azure/ai/projects/implementation/SchedulesImpl.java","src/main/java/com/azure/ai/projects/implementation/SkillsImpl.java","src/main/java/com/azure/ai/projects/implementation/models/CreateOrUpdateRoutineRequest.java","src/main/java/com/azure/ai/projects/implementation/models/CreateSkillVersionRequest.java","src/main/java/com/azure/ai/projects/implementation/models/DispatchRoutineAsyncRequest.java","src/main/java/com/azure/ai/projects/implementation/models/UpdateSkillRequest.java","src/main/java/com/azure/ai/projects/implementation/models/package-info.java","src/main/java/com/azure/ai/projects/implementation/package-info.java","src/main/java/com/azure/ai/projects/models/AIProjectIndex.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/AgentClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/AgentDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/AgenticIdentityPreviewCredential.java","src/main/java/com/azure/ai/projects/models/ApiError.java","src/main/java/com/azure/ai/projects/models/ApiKeyCredential.java","src/main/java/com/azure/ai/projects/models/ArtifactProfile.java","src/main/java/com/azure/ai/projects/models/AttackStrategy.java","src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java","src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java","src/main/java/com/azure/ai/projects/models/AzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/AzureOpenAIModelConfiguration.java","src/main/java/com/azure/ai/projects/models/BaseCredential.java","src/main/java/com/azure/ai/projects/models/BlobReference.java","src/main/java/com/azure/ai/projects/models/BlobReferenceSasCredential.java","src/main/java/com/azure/ai/projects/models/ChartCoordinate.java","src/main/java/com/azure/ai/projects/models/ClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/ClusterTokenUsage.java","src/main/java/com/azure/ai/projects/models/CodeBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/Connection.java","src/main/java/com/azure/ai/projects/models/ConnectionType.java","src/main/java/com/azure/ai/projects/models/ContinuousEvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/CosmosDBIndex.java","src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java","src/main/java/com/azure/ai/projects/models/CreateSkillVersionFromFilesBody.java","src/main/java/com/azure/ai/projects/models/CredentialType.java","src/main/java/com/azure/ai/projects/models/CronTrigger.java","src/main/java/com/azure/ai/projects/models/CustomCredential.java","src/main/java/com/azure/ai/projects/models/CustomRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/DailyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/DataGenerationJob.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobInputs.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobResult.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobScenario.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/DataGenerationJobType.java","src/main/java/com/azure/ai/projects/models/DataGenerationModelOptions.java","src/main/java/com/azure/ai/projects/models/DataGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/DatasetCredential.java","src/main/java/com/azure/ai/projects/models/DatasetDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/DatasetEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/DatasetReference.java","src/main/java/com/azure/ai/projects/models/DatasetType.java","src/main/java/com/azure/ai/projects/models/DatasetVersion.java","src/main/java/com/azure/ai/projects/models/Deployment.java","src/main/java/com/azure/ai/projects/models/DeploymentType.java","src/main/java/com/azure/ai/projects/models/Dimension.java","src/main/java/com/azure/ai/projects/models/DispatchRoutineResult.java","src/main/java/com/azure/ai/projects/models/EmbeddingConfiguration.java","src/main/java/com/azure/ai/projects/models/EntraIdCredential.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationComparisonInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResult.java","src/main/java/com/azure/ai/projects/models/EvaluationResultSample.java","src/main/java/com/azure/ai/projects/models/EvaluationRule.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleAction.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleActionType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleEventType.java","src/main/java/com/azure/ai/projects/models/EvaluationRuleFilter.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightRequest.java","src/main/java/com/azure/ai/projects/models/EvaluationRunClusterInsightResult.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultCompareItem.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultComparison.java","src/main/java/com/azure/ai/projects/models/EvaluationRunResultSummary.java","src/main/java/com/azure/ai/projects/models/EvaluationScheduleTask.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomy.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInput.java","src/main/java/com/azure/ai/projects/models/EvaluationTaxonomyInputType.java","src/main/java/com/azure/ai/projects/models/EvaluatorCategory.java","src/main/java/com/azure/ai/projects/models/EvaluatorCredentialInput.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/EvaluatorDefinitionType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationArtifacts.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationInputs.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJob.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationJobSourceType.java","src/main/java/com/azure/ai/projects/models/EvaluatorGenerationTokenUsage.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetric.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricDirection.java","src/main/java/com/azure/ai/projects/models/EvaluatorMetricType.java","src/main/java/com/azure/ai/projects/models/EvaluatorType.java","src/main/java/com/azure/ai/projects/models/EvaluatorVersion.java","src/main/java/com/azure/ai/projects/models/FieldMapping.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobOutput.java","src/main/java/com/azure/ai/projects/models/FileDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/FileDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FolderDatasetVersion.java","src/main/java/com/azure/ai/projects/models/FoundryFeaturesOptInKeys.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileCategory.java","src/main/java/com/azure/ai/projects/models/FoundryModelArtifactProfileSignal.java","src/main/java/com/azure/ai/projects/models/FoundryModelSourceType.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarning.java","src/main/java/com/azure/ai/projects/models/FoundryModelWarningCode.java","src/main/java/com/azure/ai/projects/models/FoundryModelWeightType.java","src/main/java/com/azure/ai/projects/models/GitHubIssueEvent.java","src/main/java/com/azure/ai/projects/models/GitHubIssueRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/GraderAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/HourlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/HumanEvaluationPreviewRuleAction.java","src/main/java/com/azure/ai/projects/models/IndexType.java","src/main/java/com/azure/ai/projects/models/Insight.java","src/main/java/com/azure/ai/projects/models/InsightCluster.java","src/main/java/com/azure/ai/projects/models/InsightModelConfiguration.java","src/main/java/com/azure/ai/projects/models/InsightRequest.java","src/main/java/com/azure/ai/projects/models/InsightResult.java","src/main/java/com/azure/ai/projects/models/InsightSample.java","src/main/java/com/azure/ai/projects/models/InsightScheduleTask.java","src/main/java/com/azure/ai/projects/models/InsightSummary.java","src/main/java/com/azure/ai/projects/models/InsightType.java","src/main/java/com/azure/ai/projects/models/InsightsMetadata.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentInvocationsApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiDispatchPayload.java","src/main/java/com/azure/ai/projects/models/InvokeAgentResponsesApiRoutineAction.java","src/main/java/com/azure/ai/projects/models/JobStatus.java","src/main/java/com/azure/ai/projects/models/ListVersionsRequestType.java","src/main/java/com/azure/ai/projects/models/LoraConfig.java","src/main/java/com/azure/ai/projects/models/ManagedAzureAISearchIndex.java","src/main/java/com/azure/ai/projects/models/ModelCredentialInput.java","src/main/java/com/azure/ai/projects/models/ModelDeployment.java","src/main/java/com/azure/ai/projects/models/ModelDeploymentSku.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadInput.java","src/main/java/com/azure/ai/projects/models/ModelPendingUploadResult.java","src/main/java/com/azure/ai/projects/models/ModelSamplingParams.java","src/main/java/com/azure/ai/projects/models/ModelSourceData.java","src/main/java/com/azure/ai/projects/models/ModelVersion.java","src/main/java/com/azure/ai/projects/models/MonthlyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/NoAuthenticationCredential.java","src/main/java/com/azure/ai/projects/models/OneTimeTrigger.java","src/main/java/com/azure/ai/projects/models/OperationStatus.java","src/main/java/com/azure/ai/projects/models/PendingUploadRequest.java","src/main/java/com/azure/ai/projects/models/PendingUploadResponse.java","src/main/java/com/azure/ai/projects/models/PendingUploadType.java","src/main/java/com/azure/ai/projects/models/PromptBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/PromptDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/PromptEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/RecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/RecurrenceTrigger.java","src/main/java/com/azure/ai/projects/models/RecurrenceType.java","src/main/java/com/azure/ai/projects/models/RedTeam.java","src/main/java/com/azure/ai/projects/models/RiskCategory.java","src/main/java/com/azure/ai/projects/models/Routine.java","src/main/java/com/azure/ai/projects/models/RoutineAction.java","src/main/java/com/azure/ai/projects/models/RoutineActionType.java","src/main/java/com/azure/ai/projects/models/RoutineAttemptSource.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayload.java","src/main/java/com/azure/ai/projects/models/RoutineDispatchPayloadType.java","src/main/java/com/azure/ai/projects/models/RoutineRun.java","src/main/java/com/azure/ai/projects/models/RoutineRunPhase.java","src/main/java/com/azure/ai/projects/models/RoutineTrigger.java","src/main/java/com/azure/ai/projects/models/RoutineTriggerType.java","src/main/java/com/azure/ai/projects/models/RubricBasedEvaluatorDefinition.java","src/main/java/com/azure/ai/projects/models/SampleType.java","src/main/java/com/azure/ai/projects/models/SasCredential.java","src/main/java/com/azure/ai/projects/models/Schedule.java","src/main/java/com/azure/ai/projects/models/ScheduleProvisioningStatus.java","src/main/java/com/azure/ai/projects/models/ScheduleRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ScheduleRun.java","src/main/java/com/azure/ai/projects/models/ScheduleTask.java","src/main/java/com/azure/ai/projects/models/ScheduleTaskType.java","src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/SimpleQnAFineTuningQuestionType.java","src/main/java/com/azure/ai/projects/models/Skill.java","src/main/java/com/azure/ai/projects/models/SkillFileDetails.java","src/main/java/com/azure/ai/projects/models/SkillInlineContent.java","src/main/java/com/azure/ai/projects/models/SkillVersion.java","src/main/java/com/azure/ai/projects/models/SystemDataV3.java","src/main/java/com/azure/ai/projects/models/Target.java","src/main/java/com/azure/ai/projects/models/TargetConfig.java","src/main/java/com/azure/ai/projects/models/TaxonomyCategory.java","src/main/java/com/azure/ai/projects/models/TaxonomySubCategory.java","src/main/java/com/azure/ai/projects/models/TestingCriterionAzureAIEvaluator.java","src/main/java/com/azure/ai/projects/models/TimerRoutineTrigger.java","src/main/java/com/azure/ai/projects/models/ToolDescription.java","src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java","src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TracesEvaluatorGenerationJobSource.java","src/main/java/com/azure/ai/projects/models/TreatmentEffectType.java","src/main/java/com/azure/ai/projects/models/Trigger.java","src/main/java/com/azure/ai/projects/models/TriggerType.java","src/main/java/com/azure/ai/projects/models/UpdateModelVersionInput.java","src/main/java/com/azure/ai/projects/models/WeeklyRecurrenceSchedule.java","src/main/java/com/azure/ai/projects/models/package-info.java","src/main/java/com/azure/ai/projects/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsAsyncSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsAsyncSample.java index 55ef96d629a4..d6c1155e96a6 100644 --- a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsAsyncSample.java +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsAsyncSample.java @@ -3,7 +3,7 @@ package com.azure.ai.projects; import com.azure.ai.projects.models.ModelVersion; -import com.azure.ai.projects.models.UpdateModelVersionRequest; +import com.azure.ai.projects.models.UpdateModelVersionInput; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; import reactor.core.publisher.Mono; @@ -116,7 +116,7 @@ public static Mono updateModelVersion() { tags.put("sample", "true"); return MODELS_ASYNC_CLIENT.updateModelVersion(modelName, modelVersion, - new UpdateModelVersionRequest() + new UpdateModelVersionInput() .setDescription("Updated by the Azure AI Projects Java SDK sample.") .setTags(tags)) .doOnNext(updated -> System.out.printf("Updated model version: %s/%s%n", updated.getName(), diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsSample.java index 9897f4569ad8..32934a372325 100644 --- a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsSample.java +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsSample.java @@ -3,7 +3,7 @@ package com.azure.ai.projects; import com.azure.ai.projects.models.ModelVersion; -import com.azure.ai.projects.models.UpdateModelVersionRequest; +import com.azure.ai.projects.models.UpdateModelVersionInput; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -103,7 +103,7 @@ public static void updateModelVersion() { tags.put("sample", "true"); ModelVersion updated = MODELS_CLIENT.updateModelVersion(modelName, modelVersion, - new UpdateModelVersionRequest() + new UpdateModelVersionInput() .setDescription("Updated by the Azure AI Projects Java SDK sample.") .setTags(tags)); diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageAsyncSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageAsyncSample.java index 35ee239c664b..aa3b117866c4 100644 --- a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageAsyncSample.java +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageAsyncSample.java @@ -3,7 +3,7 @@ package com.azure.ai.projects; import com.azure.ai.projects.models.CreateSkillVersionFromFilesBody; -import com.azure.ai.projects.models.FilesFileDetails; +import com.azure.ai.projects.models.SkillFileDetails; import com.azure.ai.projects.models.Skill; import com.azure.core.exception.ResourceNotFoundException; import com.azure.core.util.BinaryData; @@ -94,7 +94,7 @@ private static CreateSkillVersionFromFilesBody createSkillPackageBody() { throw new RuntimeException(e); } - FilesFileDetails fileDetails = new FilesFileDetails(BinaryData.fromBytes(outputStream.toByteArray())) + SkillFileDetails fileDetails = new SkillFileDetails(BinaryData.fromBytes(outputStream.toByteArray())) .setFilename(SKILL_NAME + ".zip"); return new CreateSkillVersionFromFilesBody(Arrays.asList(fileDetails)); } diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageSample.java index 744e20c88163..adecdbc3b19b 100644 --- a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageSample.java +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/SkillsPackageSample.java @@ -3,7 +3,7 @@ package com.azure.ai.projects; import com.azure.ai.projects.models.CreateSkillVersionFromFilesBody; -import com.azure.ai.projects.models.FilesFileDetails; +import com.azure.ai.projects.models.SkillFileDetails; import com.azure.ai.projects.models.Skill; import com.azure.ai.projects.models.SkillVersion; import com.azure.core.exception.ResourceNotFoundException; @@ -90,7 +90,7 @@ private static CreateSkillVersionFromFilesBody createSkillPackageBody() throws I zipOutputStream.closeEntry(); } - FilesFileDetails fileDetails = new FilesFileDetails(BinaryData.fromBytes(outputStream.toByteArray())) + SkillFileDetails fileDetails = new SkillFileDetails(BinaryData.fromBytes(outputStream.toByteArray())) .setFilename(SKILL_NAME + ".zip"); return new CreateSkillVersionFromFilesBody(Arrays.asList(fileDetails)); } diff --git a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java index 613d0960e49c..069b1e9e993d 100644 --- a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java +++ b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java @@ -3,7 +3,7 @@ package com.azure.ai.projects; import com.azure.ai.projects.models.CreateSkillVersionFromFilesBody; -import com.azure.ai.projects.models.FilesFileDetails; +import com.azure.ai.projects.models.SkillFileDetails; import com.azure.ai.projects.models.ModelVersion; import com.azure.ai.projects.models.Skill; import com.azure.ai.projects.models.SkillVersion; @@ -155,7 +155,7 @@ private static CreateSkillVersionFromFilesBody createSkillPackageBody() throws I zipOutputStream.closeEntry(); } - FilesFileDetails fileDetails = new FilesFileDetails(BinaryData.fromBytes(outputStream.toByteArray())) + SkillFileDetails fileDetails = new SkillFileDetails(BinaryData.fromBytes(outputStream.toByteArray())) .setFilename(SAMPLE_SKILL_NAME + ".zip"); return new CreateSkillVersionFromFilesBody(Arrays.asList(fileDetails)); } diff --git a/sdk/ai/azure-ai-projects/tsp-location.yaml b/sdk/ai/azure-ai-projects/tsp-location.yaml index b1d7c2e50b40..86fa80d8b023 100644 --- a/sdk/ai/azure-ai-projects/tsp-location.yaml +++ b/sdk/ai/azure-ai-projects/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/ai-foundry/data-plane/Foundry -commit: 05f44b5b126adb7ce8aecf07ab32d8774804eb7d +commit: 36ed3f88fbc3da46c831e5f0acd4ff85ed163e1a repo: Azure/azure-rest-api-specs entrypointFile: client.java.tsp From 352be0184ba6be3629c90d42042deab451d0a87c Mon Sep 17 00:00:00 2001 From: kaylieee Date: Fri, 29 May 2026 11:48:02 -0700 Subject: [PATCH 73/74] update spacing --- .../azure/ai/projects/models/CreateAsyncResponse.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java index c06bc6d27c46..7bcca172b3d4 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/CreateAsyncResponse.java @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.ai.projects.models; import com.azure.core.annotation.Generated; @@ -17,6 +16,7 @@ */ @Immutable public final class CreateAsyncResponse implements JsonSerializable { + /* * URL to poll for operation status. */ @@ -38,7 +38,7 @@ private CreateAsyncResponse() { /** * Get the location property: URL to poll for operation status. - * + * * @return the location value. */ @Generated @@ -48,7 +48,7 @@ public String getLocation() { /** * Get the operationResult property: URL to the operation result, or null if the operation is still in progress. - * + * * @return the operationResult value. */ @Generated @@ -70,7 +70,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of CreateAsyncResponse from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of CreateAsyncResponse if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -83,7 +83,6 @@ public static CreateAsyncResponse fromJson(JsonReader jsonReader) throws IOExcep while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("location".equals(fieldName)) { deserializedCreateAsyncResponse.location = reader.getString(); } else if ("operationResult".equals(fieldName)) { @@ -92,7 +91,6 @@ public static CreateAsyncResponse fromJson(JsonReader jsonReader) throws IOExcep reader.skipChildren(); } } - return deserializedCreateAsyncResponse; }); } From 16392deb00d2620c4361c021a4d96b1677c117ab Mon Sep 17 00:00:00 2001 From: Jose Alvarez Date: Fri, 29 May 2026 23:38:48 +0200 Subject: [PATCH 74/74] Validate new AI sample tests (#49214) * Validate new AI sample tests * Enable hosted agent session sample recordings * Fix hosted agent sample import * Add missing AI sample coverage * Update agents test recordings * fix sample for rename --------- Co-authored-by: Kaylie <50653231+kaylieee@users.noreply.github.com> Co-authored-by: kaylieee --- sdk/ai/azure-ai-agents/assets.json | 2 +- .../hostedagents/HostedAgentsSampleUtils.java | 25 ++- .../hostedagents/SessionsAsyncSample.java | 10 +- .../agents/hostedagents/SessionsSample.java | 10 +- .../azure/ai/agents/tools/WorkIQAsync.java | 83 +++++++++ .../com/azure/ai/agents/tools/WorkIQSync.java | 73 ++++++++ .../com/azure/ai/agents/ClientTestBase.java | 1 + .../hostedagents/CodeAgentSamplesTests.java | 2 + .../HostedAgentContainerSamplesTests.java | 173 +++++++++++++++++- .../agents/toolboxes/ToolboxSamplesTests.java | 3 - .../ai/agents/tools/FabricIQSamplesTests.java | 17 +- .../agents/tools/WorkIQSamplesAsyncTests.java | 55 ++++++ .../agents/tools/WorkIQSamplesTestBase.java | 74 ++++++++ .../ai/agents/tools/WorkIQSamplesTests.java | 50 +++++ .../projects/ModelsCreateAndPollSample.java | 168 +++++++++++++++++ .../com/azure/ai/projects/SamplesTests.java | 80 ++++++-- 16 files changed, 779 insertions(+), 47 deletions(-) create mode 100644 sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/WorkIQAsync.java create mode 100644 sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/WorkIQSync.java create mode 100644 sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/WorkIQSamplesAsyncTests.java create mode 100644 sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/WorkIQSamplesTestBase.java create mode 100644 sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/WorkIQSamplesTests.java create mode 100644 sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsCreateAndPollSample.java diff --git a/sdk/ai/azure-ai-agents/assets.json b/sdk/ai/azure-ai-agents/assets.json index 67067ff3bcf7..75c7a7d49847 100644 --- a/sdk/ai/azure-ai-agents/assets.json +++ b/sdk/ai/azure-ai-agents/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "java", "TagPrefix": "java/ai/azure-ai-agents", - "Tag": "java/ai/azure-ai-agents_a3142fe843" + "Tag": "java/ai/azure-ai-agents_9343deca93" } diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/HostedAgentsSampleUtils.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/HostedAgentsSampleUtils.java index 3f0d178293d1..f1d98cfc75da 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/HostedAgentsSampleUtils.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/HostedAgentsSampleUtils.java @@ -14,7 +14,6 @@ import com.azure.ai.agents.models.CreateAgentVersionInput; import com.azure.ai.agents.models.HostedAgentDefinition; import com.azure.ai.agents.models.ProtocolVersionRecord; -import com.azure.ai.agents.models.VersionRefIndicator; import com.azure.core.exception.ResourceNotFoundException; import com.azure.core.http.HttpHeaderName; import com.azure.core.http.rest.RequestOptions; @@ -51,7 +50,9 @@ static HostedAgentSessionResources createAgentAndSession(AgentsClient agentsClie AgentVersionDetails agent = createHostedAgentVersion(agentsClient, agentName, image); waitForAgentVersionActive(agentsClient, agentName, agent.getVersion()); - AgentSessionResource session = agentsClient.createSession(agentName, new VersionRefIndicator(agent.getVersion())); + AgentSessionResource session = agentsClient.createSessionWithResponse(agentName, + BinaryData.fromObject(createSessionRequest(agent.getVersion())), foundryFeaturesRequestOptions()).getValue() + .toObject(AgentSessionResource.class); System.out.printf("Session created (id: %s, status: %s)%n", session.getAgentSessionId(), session.getStatus()); return new HostedAgentSessionResources(agent, session); @@ -61,7 +62,9 @@ static Mono createAgentAndSessionAsync(AgentsAsyncC String agentName, String image) { return createHostedAgentVersionAsync(agentsAsyncClient, agentName, image) .flatMap(agent -> waitForAgentVersionActiveAsync(agentsAsyncClient, agentName, agent.getVersion()) - .then(agentsAsyncClient.createSession(agentName, new VersionRefIndicator(agent.getVersion()))) + .then(agentsAsyncClient.createSessionWithResponse(agentName, + BinaryData.fromObject(createSessionRequest(agent.getVersion())), foundryFeaturesRequestOptions()) + .map(response -> response.getValue().toObject(AgentSessionResource.class))) .map(session -> { System.out.printf("Session created (id: %s, status: %s)%n", session.getAgentSessionId(), session.getStatus()); @@ -76,7 +79,8 @@ static void cleanup(AgentsClient agentsClient, String agentName, HostedAgentSess if (resources.getSession() != null) { try { - agentsClient.deleteSession(agentName, resources.getSession().getAgentSessionId()); + agentsClient.deleteSession(agentName, resources.getSession().getAgentSessionId(), + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null); System.out.printf("Session with id: %s deleted.%n", resources.getSession().getAgentSessionId()); } catch (ResourceNotFoundException ignored) { // The sample may have already deleted the session. @@ -102,7 +106,8 @@ static Mono cleanupAsync(AgentsAsyncClient agentsAsyncClient, String agent Mono deleteSession = Mono.empty(); if (resources.getSession() != null) { String sessionId = resources.getSession().getAgentSessionId(); - deleteSession = agentsAsyncClient.deleteSession(agentName, sessionId) + deleteSession = agentsAsyncClient.deleteSession(agentName, sessionId, + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null) .doOnSuccess(unused -> System.out.printf("Session with id: %s deleted.%n", sessionId)) .onErrorResume(ResourceNotFoundException.class, ignored -> Mono.empty()); } @@ -235,6 +240,16 @@ private static RequestOptions foundryFeaturesRequestOptions() { .setHeader(HttpHeaderName.fromString("Foundry-Features"), FOUNDRY_FEATURES_HEADER_VALUE); } + private static Map createSessionRequest(String agentVersion) { + Map versionIndicator = new HashMap<>(); + versionIndicator.put("agent_version", agentVersion); + versionIndicator.put("type", "version_ref"); + + Map request = new HashMap<>(); + request.put("version_indicator", versionIndicator); + return request; + } + private static Map sampleMetadata() { Map metadata = new HashMap<>(); metadata.put("enableVnextExperience", "true"); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionsAsyncSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionsAsyncSample.java index ce64b3dd5a23..56eca468669e 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionsAsyncSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionsAsyncSample.java @@ -6,6 +6,7 @@ import com.azure.ai.agents.AgentsAsyncClient; import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.hostedagents.HostedAgentsSampleUtils.HostedAgentSessionResources; +import com.azure.ai.agents.models.AgentDefinitionOptInKeys; import com.azure.ai.agents.models.AgentSessionResource; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -43,16 +44,19 @@ public static void main(String[] args) { resourcesRef.set(resources); AgentSessionResource session = resources.getSession(); - return agentsAsyncClient.getSession(agentName, session.getAgentSessionId()) + return agentsAsyncClient.getSession(agentName, session.getAgentSessionId(), + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null) .doOnNext(fetched -> System.out.printf("Retrieved session (id: %s, status: %s)%n", fetched.getAgentSessionId(), fetched.getStatus())) - .thenMany(agentsAsyncClient.listSessions(agentName) + .thenMany(agentsAsyncClient.listSessions(agentName, + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null, null, null, null, null) .doOnSubscribe(unused -> System.out.println("Listing sessions for the agent...")) .doOnNext(item -> System.out.printf(" - %s (status: %s)%n", item.getAgentSessionId(), item.getStatus()))) .then(Mono.defer(() -> { System.out.printf("Deleting session with id: %s...%n", session.getAgentSessionId()); - return agentsAsyncClient.deleteSession(agentName, session.getAgentSessionId()) + return agentsAsyncClient.deleteSession(agentName, session.getAgentSessionId(), + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null) .doOnSuccess(unused -> System.out.printf("Session with id: %s deleted.%n", session.getAgentSessionId())); })); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionsSample.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionsSample.java index 0a76124efac0..842fa73703eb 100644 --- a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionsSample.java +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionsSample.java @@ -6,6 +6,7 @@ import com.azure.ai.agents.AgentsClient; import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.hostedagents.HostedAgentsSampleUtils.HostedAgentSessionResources; +import com.azure.ai.agents.models.AgentDefinitionOptInKeys; import com.azure.ai.agents.models.AgentSessionResource; import com.azure.core.http.rest.PagedIterable; import com.azure.core.util.Configuration; @@ -38,18 +39,21 @@ public static void main(String[] args) { resources = HostedAgentsSampleUtils.createAgentAndSession(agentsClient, agentName, image); AgentSessionResource session = resources.getSession(); - AgentSessionResource fetched = agentsClient.getSession(agentName, session.getAgentSessionId()); + AgentSessionResource fetched = agentsClient.getSession(agentName, session.getAgentSessionId(), + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null); System.out.printf("Retrieved session (id: %s, status: %s)%n", fetched.getAgentSessionId(), fetched.getStatus()); System.out.println("Listing sessions for the agent..."); - PagedIterable sessions = agentsClient.listSessions(agentName); + PagedIterable sessions = agentsClient.listSessions(agentName, + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null, null, null, null, null); for (AgentSessionResource item : sessions) { System.out.printf(" - %s (status: %s)%n", item.getAgentSessionId(), item.getStatus()); } System.out.printf("Deleting session with id: %s...%n", session.getAgentSessionId()); - agentsClient.deleteSession(agentName, session.getAgentSessionId()); + agentsClient.deleteSession(agentName, session.getAgentSessionId(), + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null); System.out.printf("Session with id: %s deleted.%n", session.getAgentSessionId()); } finally { HostedAgentsSampleUtils.cleanup(agentsClient, agentName, resources); diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/WorkIQAsync.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/WorkIQAsync.java new file mode 100644 index 000000000000..e97e272cc95c --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/WorkIQAsync.java @@ -0,0 +1,83 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.tools; + +import com.azure.ai.agents.AgentsAsyncClient; +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.ResponsesAsyncClient; +import com.azure.ai.agents.models.AgentReference; +import com.azure.ai.agents.models.AgentVersionDetails; +import com.azure.ai.agents.models.AzureCreateResponseOptions; +import com.azure.ai.agents.models.PromptAgentDefinition; +import com.azure.ai.agents.models.WorkIqPreviewTool; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import com.openai.models.responses.ResponseCreateParams; +import reactor.core.publisher.Mono; + +import java.time.Duration; +import java.util.Collections; +import java.util.concurrent.atomic.AtomicReference; + +/** + * This sample demonstrates how to create an agent with the Work IQ preview tool using async clients. + * + *

    Before running the sample, set these environment variables:

    + *
      + *
    • FOUNDRY_PROJECT_ENDPOINT - The Azure AI Project endpoint.
    • + *
    • FOUNDRY_MODEL_NAME - The model deployment name.
    • + *
    • WORK_IQ_PROJECT_CONNECTION_ID - The Work IQ connection ID.
    • + *
    • WORK_IQ_USER_INPUT - Optional. The natural-language question to send to the agent.
    • + *
    + */ +public class WorkIQAsync { + public static void main(String[] args) { + String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); + String model = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_NAME"); + String workIqConnectionId = Configuration.getGlobalConfiguration().get("WORK_IQ_PROJECT_CONNECTION_ID"); + String userInput = Configuration.getGlobalConfiguration().get("WORK_IQ_USER_INPUT", + "Use Work IQ to summarize the available enterprise context."); + + AgentsClientBuilder builder = new AgentsClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(endpoint); + + AgentsAsyncClient agentsAsyncClient = builder.buildAgentsAsyncClient(); + ResponsesAsyncClient responsesAsyncClient = builder.buildResponsesAsyncClient(); + AtomicReference agentRef = new AtomicReference<>(); + + WorkIqPreviewTool workIqTool = new WorkIqPreviewTool(workIqConnectionId) + .setName("work_iq_lookup") + .setDescription("Use Work IQ to answer questions grounded in enterprise data."); + + PromptAgentDefinition agentDefinition = new PromptAgentDefinition(model) + .setInstructions("Use the available Work IQ tools to answer questions and perform tasks.") + .setTools(Collections.singletonList(workIqTool)); + + agentsAsyncClient.createAgentVersion("work-iq-agent", agentDefinition) + .flatMap(agent -> { + agentRef.set(agent); + System.out.printf("Agent created: %s (version %s)%n", agent.getName(), agent.getVersion()); + + AgentReference agentReference = new AgentReference(agent.getName()) + .setVersion(agent.getVersion()); + + return responsesAsyncClient.createAzureResponse( + new AzureCreateResponseOptions().setAgentReference(agentReference), + ResponseCreateParams.builder() + .input(userInput)); + }) + .doOnNext(response -> System.out.println("Response: " + response.output())) + .then(Mono.defer(() -> { + AgentVersionDetails agent = agentRef.get(); + if (agent != null) { + return agentsAsyncClient.deleteAgentVersion(agent.getName(), agent.getVersion()) + .doOnSuccess(v -> System.out.println("Agent deleted")); + } + return Mono.empty(); + })) + .timeout(Duration.ofSeconds(300)) + .block(); + } +} diff --git a/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/WorkIQSync.java b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/WorkIQSync.java new file mode 100644 index 000000000000..469f414c0234 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/WorkIQSync.java @@ -0,0 +1,73 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.tools; + +import com.azure.ai.agents.AgentsClient; +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.ResponsesClient; +import com.azure.ai.agents.models.AgentReference; +import com.azure.ai.agents.models.AgentVersionDetails; +import com.azure.ai.agents.models.AzureCreateResponseOptions; +import com.azure.ai.agents.models.PromptAgentDefinition; +import com.azure.ai.agents.models.WorkIqPreviewTool; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import com.openai.models.responses.Response; +import com.openai.models.responses.ResponseCreateParams; + +import java.util.Collections; + +/** + * This sample demonstrates how to create an agent with the Work IQ preview tool. + * + *

    Before running the sample, set these environment variables:

    + *
      + *
    • FOUNDRY_PROJECT_ENDPOINT - The Azure AI Project endpoint.
    • + *
    • FOUNDRY_MODEL_NAME - The model deployment name.
    • + *
    • WORK_IQ_PROJECT_CONNECTION_ID - The Work IQ connection ID.
    • + *
    • WORK_IQ_USER_INPUT - Optional. The natural-language question to send to the agent.
    • + *
    + */ +public class WorkIQSync { + public static void main(String[] args) { + String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); + String model = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_NAME"); + String workIqConnectionId = Configuration.getGlobalConfiguration().get("WORK_IQ_PROJECT_CONNECTION_ID"); + String userInput = Configuration.getGlobalConfiguration().get("WORK_IQ_USER_INPUT", + "Use Work IQ to summarize the available enterprise context."); + + AgentsClientBuilder builder = new AgentsClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(endpoint); + + AgentsClient agentsClient = builder.buildAgentsClient(); + ResponsesClient responsesClient = builder.buildResponsesClient(); + + WorkIqPreviewTool workIqTool = new WorkIqPreviewTool(workIqConnectionId) + .setName("work_iq_lookup") + .setDescription("Use Work IQ to answer questions grounded in enterprise data."); + + PromptAgentDefinition agentDefinition = new PromptAgentDefinition(model) + .setInstructions("Use the available Work IQ tools to answer questions and perform tasks.") + .setTools(Collections.singletonList(workIqTool)); + + AgentVersionDetails agent = agentsClient.createAgentVersion("work-iq-agent", agentDefinition); + System.out.printf("Agent created: %s (version %s)%n", agent.getName(), agent.getVersion()); + + try { + AgentReference agentReference = new AgentReference(agent.getName()) + .setVersion(agent.getVersion()); + + Response response = responsesClient.createAzureResponse( + new AzureCreateResponseOptions().setAgentReference(agentReference), + ResponseCreateParams.builder() + .input(userInput)); + + System.out.println("Response: " + response.output()); + } finally { + agentsClient.deleteAgentVersion(agent.getName(), agent.getVersion()); + System.out.println("Agent deleted"); + } + } +} diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/ClientTestBase.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/ClientTestBase.java index 7faf4aa951e5..17b2826eec43 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/ClientTestBase.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/ClientTestBase.java @@ -110,6 +110,7 @@ private void addTestRecordCustomSanitizers() { ArrayList sanitizers = new ArrayList<>(); sanitizers.add(new TestProxySanitizer("$..key", null, "REDACTED", TestProxySanitizerType.BODY_KEY)); + sanitizers.add(new TestProxySanitizer("$..image", null, "REDACTED", TestProxySanitizerType.BODY_KEY)); sanitizers.add(new TestProxySanitizer("(?<=./)([^?]+)", "/REDACTED/", TestProxySanitizerType.URL)); sanitizers.add(new TestProxySanitizer("Content-Type", "(^multipart\\/form-data; boundary=[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{2})", diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/CodeAgentSamplesTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/CodeAgentSamplesTests.java index 9a3343f903a8..6be8a0afb23a 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/CodeAgentSamplesTests.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/CodeAgentSamplesTests.java @@ -14,6 +14,7 @@ import com.azure.core.http.HttpClient; import com.azure.core.test.annotation.LiveOnly; import com.azure.core.util.BinaryData; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; @@ -29,6 +30,7 @@ import static com.azure.core.test.TestProxyTestBase.getHttpClients; +@Disabled("Direct code deployment is not enabled for the current test subscription.") public class CodeAgentSamplesTests extends ClientTestBase { private static final String DISPLAY_NAME_WITH_ARGUMENTS = "{displayName} with [{arguments}]"; diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/HostedAgentContainerSamplesTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/HostedAgentContainerSamplesTests.java index 95f7867938aa..f4ad5c8e391a 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/HostedAgentContainerSamplesTests.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/hostedagents/HostedAgentContainerSamplesTests.java @@ -3,16 +3,40 @@ package com.azure.ai.agents.hostedagents; +import com.azure.ai.agents.AgentSessionFilesClient; +import com.azure.ai.agents.AgentsClient; +import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.AgentsServiceVersion; import com.azure.ai.agents.ClientTestBase; +import com.azure.ai.agents.hostedagents.HostedAgentsSampleUtils.HostedAgentSessionResources; +import com.azure.ai.agents.models.AgentDefinitionOptInKeys; +import com.azure.ai.agents.models.AgentEndpointConfig; +import com.azure.ai.agents.models.AgentEndpointProtocol; +import com.azure.ai.agents.models.AgentSessionResource; +import com.azure.ai.agents.models.FixedRatioVersionSelectionRule; +import com.azure.ai.agents.models.SessionDirectoryEntry; +import com.azure.ai.agents.models.UpdateAgentDetailsOptions; +import com.azure.ai.agents.models.VersionSelector; +import com.azure.core.exception.ResourceNotFoundException; import com.azure.core.http.HttpClient; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.test.TestMode; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.openai.client.OpenAIClient; +import com.openai.core.JsonValue; +import com.openai.models.responses.ResponseCreateParams; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; +import java.io.IOException; +import java.nio.charset.StandardCharsets; import java.util.ArrayList; +import java.util.Collections; import java.util.List; import java.util.stream.Stream; @@ -20,6 +44,8 @@ public class HostedAgentContainerSamplesTests extends ClientTestBase { private static final String DISPLAY_NAME_WITH_ARGUMENTS = "{displayName} with [{arguments}]"; + private static final String REMOTE_FILE_PATH_1 = "/remote/data_file1.txt"; + private static final String REMOTE_FILE_PATH_2 = "/remote/data_file2.txt"; static Stream getTestParameters() { List argumentsList = new ArrayList<>(); @@ -27,32 +53,159 @@ static Stream getTestParameters() { return argumentsList.stream(); } - @Disabled("Requires FOUNDRY_AGENT_CONTAINER_IMAGE: a prebuilt, pushed hosted-agent container image URI.") @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("getTestParameters") public void sessionsSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { - Assertions - .fail("Enable after providing FOUNDRY_AGENT_CONTAINER_IMAGE and recording hosted-agent session flow."); + AgentsClient agentsClient = getClientBuilder(httpClient, serviceVersion).buildAgentsClient(); + String image = getRequiredConfiguration("FOUNDRY_AGENT_CONTAINER_IMAGE"); + String agentName = HostedAgentsSampleUtils.SAMPLE_AGENT_NAME + "-sessions-test"; + + HostedAgentSessionResources resources = null; + try { + resources = HostedAgentsSampleUtils.createAgentAndSession(agentsClient, agentName, image); + AgentSessionResource session = resources.getSession(); + + AgentSessionResource fetched = agentsClient.getSession(agentName, session.getAgentSessionId(), + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null); + Assertions.assertNotNull(fetched); + Assertions.assertEquals(session.getAgentSessionId(), fetched.getAgentSessionId()); + + PagedIterable sessions = agentsClient.listSessions(agentName, + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null, null, null, null, null); + Assertions.assertTrue( + sessions.stream().anyMatch(item -> session.getAgentSessionId().equals(item.getAgentSessionId()))); + + try { + agentsClient.deleteSession(agentName, session.getAgentSessionId(), + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null); + } catch (ResourceNotFoundException ignored) { + // The session may already be deleted by the service. + } + } finally { + HostedAgentsSampleUtils.cleanup(agentsClient, agentName, resources); + } } - @Disabled("Requires FOUNDRY_AGENT_CONTAINER_IMAGE: a prebuilt, pushed hosted-agent container image URI.") @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("getTestParameters") public void sessionFilesSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { - Assertions.fail("Enable after providing FOUNDRY_AGENT_CONTAINER_IMAGE and recording session file flow."); + AgentsClientBuilder builder = getClientBuilder(httpClient, serviceVersion); + AgentsClient agentsClient = builder.buildAgentsClient(); + AgentSessionFilesClient sessionFilesClient = builder.buildAgentSessionFilesClient(); + String image = getRequiredConfiguration("FOUNDRY_AGENT_CONTAINER_IMAGE"); + String agentName = HostedAgentsSampleUtils.SAMPLE_AGENT_NAME + "-files-test"; + + HostedAgentSessionResources resources = null; + try { + resources = HostedAgentsSampleUtils.createAgentAndSession(agentsClient, agentName, image); + String sessionId = resources.getSession().getAgentSessionId(); + + sessionFilesClient.uploadSessionFile(agentName, sessionId, REMOTE_FILE_PATH_1, + BinaryData.fromString("Sample session file 1."), AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, + null); + sessionFilesClient.uploadSessionFile(agentName, sessionId, REMOTE_FILE_PATH_2, + BinaryData.fromString("Sample session file 2."), AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, + null); + + PagedIterable files = sessionFilesClient.listSessionFiles(agentName, sessionId, + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, "/remote", null, null, null, null, null); + Assertions + .assertTrue(files.stream().map(SessionDirectoryEntry::getName).anyMatch("data_file1.txt"::equals)); + + BinaryData downloaded = sessionFilesClient.downloadSessionFile(agentName, sessionId, REMOTE_FILE_PATH_1, + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, null); + String fileContent = new String(downloaded.toBytes(), StandardCharsets.UTF_8); + Assertions.assertEquals("Sample session file 1.", fileContent); + + sessionFilesClient.deleteSessionFile(agentName, sessionId, REMOTE_FILE_PATH_1, + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, false, null); + sessionFilesClient.deleteSessionFile(agentName, sessionId, REMOTE_FILE_PATH_2, + AgentDefinitionOptInKeys.HOSTED_AGENTS_V1_PREVIEW, false, null); + } finally { + HostedAgentsSampleUtils.cleanup(agentsClient, agentName, resources); + } } - @Disabled("Requires FOUNDRY_AGENT_CONTAINER_IMAGE: a prebuilt, pushed hosted-agent container image URI.") + @Disabled("Agent-scoped OpenAI Responses invocation returns 400: API version not supported.") @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("getTestParameters") public void agentEndpointSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { - Assertions.fail("Enable after providing FOUNDRY_AGENT_CONTAINER_IMAGE and recording agent endpoint flow."); + AgentsClientBuilder builder = getClientBuilder(httpClient, serviceVersion); + AgentsClient agentsClient = builder.buildAgentsClient(); + String image = getRequiredConfiguration("FOUNDRY_AGENT_CONTAINER_IMAGE"); + String agentName = HostedAgentsSampleUtils.SAMPLE_AGENT_NAME + "-endpoint-test"; + + HostedAgentSessionResources resources = null; + try { + resources = HostedAgentsSampleUtils.createAgentAndSession(agentsClient, agentName, image); + configureAgentEndpoint(agentsClient, agentName, resources); + + OpenAIClient openAIClient = builder.buildAgentScopedOpenAIClient(agentName); + com.openai.models.responses.Response response = openAIClient.responses() + .create(ResponseCreateParams.builder() + .input("What is the size of France in square miles?") + .putAdditionalBodyProperty("agent_session_id", + JsonValue.from(resources.getSession().getAgentSessionId())) + .build()); + + Assertions.assertNotNull(response); + Assertions.assertFalse(response.output().isEmpty()); + } finally { + HostedAgentsSampleUtils.cleanup(agentsClient, agentName, resources); + } } - @Disabled("Requires FOUNDRY_AGENT_CONTAINER_IMAGE: a prebuilt, pushed hosted-agent container image URI.") + @Disabled("Agent-scoped OpenAI Responses invocation returns 400: API version not supported.") @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("getTestParameters") - public void sessionLogStreamSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { - Assertions.fail("Enable after providing FOUNDRY_AGENT_CONTAINER_IMAGE and recording session log stream flow."); + public void sessionLogStreamSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) throws IOException { + AgentsClientBuilder builder = getClientBuilder(httpClient, serviceVersion); + AgentsClient agentsClient = builder.buildAgentsClient(); + String image = getRequiredConfiguration("FOUNDRY_AGENT_CONTAINER_IMAGE"); + String agentName = HostedAgentsSampleUtils.SAMPLE_AGENT_NAME + "-logs-test"; + + HostedAgentSessionResources resources = null; + try { + resources = HostedAgentsSampleUtils.createAgentAndSession(agentsClient, agentName, image); + configureAgentEndpoint(agentsClient, agentName, resources); + + OpenAIClient openAIClient = builder.buildAgentScopedOpenAIClient(agentName); + com.openai.models.responses.Response openAIResponse = openAIClient.responses() + .create(ResponseCreateParams.builder() + .input("Say hello in one short sentence.") + .putAdditionalBodyProperty("agent_session_id", + JsonValue.from(resources.getSession().getAgentSessionId())) + .build()); + Assertions.assertNotNull(openAIResponse); + + com.azure.core.http.rest.Response rawStream + = agentsClient.getSessionLogStreamWithResponse(agentName, resources.getAgent().getVersion(), + resources.getSession().getAgentSessionId(), new RequestOptions()); + Assertions.assertNotNull(rawStream.getValue()); + HostedAgentsSampleUtils.printSseFrames(rawStream.getValue(), 5); + } finally { + HostedAgentsSampleUtils.cleanup(agentsClient, agentName, resources); + } + } + + private static void configureAgentEndpoint(AgentsClient agentsClient, String agentName, + HostedAgentSessionResources resources) { + AgentEndpointConfig endpointConfig = new AgentEndpointConfig() + .setVersionSelector(new VersionSelector().setVersionSelectionRules(Collections.singletonList( + new FixedRatioVersionSelectionRule(100).setAgentVersion(resources.getAgent().getVersion())))) + .setProtocols(Collections.singletonList(AgentEndpointProtocol.RESPONSES)); + + agentsClient.updateAgentDetails(agentName, new UpdateAgentDetailsOptions().setAgentEndpoint(endpointConfig), + AgentDefinitionOptInKeys.AGENT_ENDPOINT_V1_PREVIEW); + } + + private String getRequiredConfiguration(String name) { + if (getTestMode() == TestMode.PLAYBACK && "FOUNDRY_AGENT_CONTAINER_IMAGE".equals(name)) { + return "REDACTED"; + } + + String value = Configuration.getGlobalConfiguration().get(name); + Assertions.assertNotNull(value, name + " must be set."); + return value; } } diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/toolboxes/ToolboxSamplesTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/toolboxes/ToolboxSamplesTests.java index 2d90faa0c038..ef5573a0423a 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/toolboxes/ToolboxSamplesTests.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/toolboxes/ToolboxSamplesTests.java @@ -15,7 +15,6 @@ import com.azure.ai.agents.models.ToolboxVersionDetails; import com.azure.core.exception.ResourceNotFoundException; import com.azure.core.http.HttpClient; -import com.azure.core.test.annotation.LiveOnly; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; @@ -39,7 +38,6 @@ static Stream getTestParameters() { return argumentsList.stream(); } - @LiveOnly @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("getTestParameters") public void toolboxSearchToolboxSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { @@ -73,7 +71,6 @@ public void toolboxSearchToolboxSample(HttpClient httpClient, AgentsServiceVersi } } - @LiveOnly @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("getTestParameters") public void toolboxesAsyncSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTests.java index dc5aaa38d66e..b4b3a331861d 100644 --- a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTests.java +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/FabricIQSamplesTests.java @@ -7,10 +7,10 @@ import com.azure.ai.agents.AgentsClientBuilder; import com.azure.ai.agents.AgentsServiceVersion; import com.azure.ai.agents.ResponsesClient; -import com.azure.core.http.HttpClient; import com.azure.ai.agents.models.AgentReference; import com.azure.ai.agents.models.AgentVersionDetails; import com.azure.ai.agents.models.AzureCreateResponseOptions; +import com.azure.core.http.HttpClient; import com.openai.models.responses.Response; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; @@ -24,7 +24,7 @@ public class FabricIQSamplesTests extends FabricIQSamplesTestBase { @Timeout(value = 5, unit = TimeUnit.MINUTES) - @Disabled("getting 500 from service") + @Disabled("Requires FABRIC_IQ_PROJECT_CONNECTION_ID in work resources; service returned 500 when validating with the Fabric connection.") @ResourceLock(FABRIC_IQ_RESOURCE_LOCK) @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("getTestParameters") @@ -37,11 +37,14 @@ public void fabricIqSyncSample(HttpClient httpClient, AgentsServiceVersion servi AgentVersionDetails agent = agentsClient.createAgentVersion(agentName, createAgentDefinition()); Assertions.assertNotNull(agent); - AgentReference agentReference = new AgentReference(agent.getName()); - Response response = responsesClient.createAzureResponse( - new AzureCreateResponseOptions().setAgentReference(agentReference), createResponseParams()); + try { + AgentReference agentReference = new AgentReference(agent.getName()).setVersion(agent.getVersion()); + Response response = responsesClient.createAzureResponse( + new AzureCreateResponseOptions().setAgentReference(agentReference), createResponseParams()); - assertCompletedResponse(response); - agentsClient.deleteAgentVersion(agent.getName(), agent.getVersion()); + assertCompletedResponse(response); + } finally { + agentsClient.deleteAgentVersion(agent.getName(), agent.getVersion()); + } } } diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/WorkIQSamplesAsyncTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/WorkIQSamplesAsyncTests.java new file mode 100644 index 000000000000..bbdd128b6cba --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/WorkIQSamplesAsyncTests.java @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.tools; + +import com.azure.ai.agents.AgentsAsyncClient; +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.AgentsServiceVersion; +import com.azure.ai.agents.ResponsesAsyncClient; +import com.azure.ai.agents.models.AgentReference; +import com.azure.ai.agents.models.AgentVersionDetails; +import com.azure.ai.agents.models.AzureCreateResponseOptions; +import com.azure.core.http.HttpClient; +import com.openai.models.responses.Response; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Timeout; +import org.junit.jupiter.api.parallel.ResourceLock; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + +import java.time.Duration; +import java.util.concurrent.TimeUnit; + +public class WorkIQSamplesAsyncTests extends WorkIQSamplesTestBase { + + @Timeout(value = 5, unit = TimeUnit.MINUTES) + @Disabled("Requires WORK_IQ_PROJECT_CONNECTION_ID, which is not available in the current Java work resources.") + @ResourceLock(WORK_IQ_RESOURCE_LOCK) + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("getTestParameters") + public void workIqAsyncSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { + AgentsClientBuilder builder = getClientBuilder(httpClient, serviceVersion); + AgentsAsyncClient agentsAsyncClient = builder.buildAgentsAsyncClient(); + ResponsesAsyncClient responsesAsyncClient = builder.buildResponsesAsyncClient(); + + String agentName = testResourceNamer.randomName("work-iq-async-", 40); + AgentVersionDetails agent + = agentsAsyncClient.createAgentVersion(agentName, createAgentDefinition()).block(Duration.ofMinutes(2)); + Assertions.assertNotNull(agent); + + try { + AgentReference agentReference = new AgentReference(agent.getName()).setVersion(agent.getVersion()); + Response response + = responsesAsyncClient + .createAzureResponse(new AzureCreateResponseOptions().setAgentReference(agentReference), + createResponseParams()) + .block(Duration.ofMinutes(3)); + + assertCompletedResponse(response); + } finally { + agentsAsyncClient.deleteAgentVersion(agent.getName(), agent.getVersion()).block(Duration.ofMinutes(1)); + } + } +} diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/WorkIQSamplesTestBase.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/WorkIQSamplesTestBase.java new file mode 100644 index 000000000000..8ab340729739 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/WorkIQSamplesTestBase.java @@ -0,0 +1,74 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.tools; + +import com.azure.ai.agents.AgentsServiceVersion; +import com.azure.ai.agents.ClientTestBase; +import com.azure.ai.agents.models.PromptAgentDefinition; +import com.azure.ai.agents.models.WorkIqPreviewTool; +import com.azure.core.test.TestMode; +import com.azure.core.util.Configuration; +import com.openai.models.responses.Response; +import com.openai.models.responses.ResponseCreateParams; +import com.openai.models.responses.ResponseStatus; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.params.provider.Arguments; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.stream.Stream; + +import static com.azure.core.test.TestProxyTestBase.getHttpClients; + +abstract class WorkIQSamplesTestBase extends ClientTestBase { + static final String DISPLAY_NAME_WITH_ARGUMENTS = "{displayName} with [{arguments}]"; + static final String WORK_IQ_RESOURCE_LOCK = "work-iq"; + + private static final String DEFAULT_USER_INPUT = "Use Work IQ to summarize the available enterprise context."; + + static Stream getTestParameters() { + List argumentsList = new ArrayList<>(); + getHttpClients().forEach(httpClient -> argumentsList.add(Arguments.of(httpClient, AgentsServiceVersion.V1))); + return argumentsList.stream(); + } + + PromptAgentDefinition createAgentDefinition() { + WorkIqPreviewTool workIqTool + = new WorkIqPreviewTool(getRecordedConfig("WORK_IQ_PROJECT_CONNECTION_ID")).setName("work_iq_lookup") + .setDescription("Use Work IQ to answer questions grounded in enterprise data."); + + return new PromptAgentDefinition(getRecordedConfig("FOUNDRY_MODEL_NAME")) + .setInstructions("Use the available Work IQ tools to answer questions and perform tasks.") + .setTools(Collections.singletonList(workIqTool)); + } + + String getUserInput() { + return Configuration.getGlobalConfiguration().get("WORK_IQ_USER_INPUT", DEFAULT_USER_INPUT); + } + + ResponseCreateParams.Builder createResponseParams() { + return ResponseCreateParams.builder().input(getUserInput()); + } + + void assertCompletedResponse(Response response) { + Assertions.assertNotNull(response); + Assertions.assertTrue(response.status().isPresent()); + Assertions.assertEquals(ResponseStatus.COMPLETED, response.status().get()); + Assertions.assertFalse(response.output().isEmpty()); + Assertions.assertTrue(response.output().stream().anyMatch(item -> item.isMessage())); + } + + private String getRecordedConfig(String name) { + if (getTestMode() == TestMode.PLAYBACK) { + return testResourceNamer.recordValueFromConfig(name); + } + + String value = Configuration.getGlobalConfiguration().get(name); + if (getTestMode() == TestMode.RECORD) { + testResourceNamer.recordValueFromConfig(name); + } + return value; + } +} diff --git a/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/WorkIQSamplesTests.java b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/WorkIQSamplesTests.java new file mode 100644 index 000000000000..7fe762723016 --- /dev/null +++ b/sdk/ai/azure-ai-agents/src/test/java/com/azure/ai/agents/tools/WorkIQSamplesTests.java @@ -0,0 +1,50 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.agents.tools; + +import com.azure.ai.agents.AgentsClient; +import com.azure.ai.agents.AgentsClientBuilder; +import com.azure.ai.agents.AgentsServiceVersion; +import com.azure.ai.agents.ResponsesClient; +import com.azure.ai.agents.models.AgentReference; +import com.azure.ai.agents.models.AgentVersionDetails; +import com.azure.ai.agents.models.AzureCreateResponseOptions; +import com.azure.core.http.HttpClient; +import com.openai.models.responses.Response; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Timeout; +import org.junit.jupiter.api.parallel.ResourceLock; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + +import java.util.concurrent.TimeUnit; + +public class WorkIQSamplesTests extends WorkIQSamplesTestBase { + + @Timeout(value = 5, unit = TimeUnit.MINUTES) + @Disabled("Requires WORK_IQ_PROJECT_CONNECTION_ID, which is not available in the current Java work resources.") + @ResourceLock(WORK_IQ_RESOURCE_LOCK) + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("getTestParameters") + public void workIqSyncSample(HttpClient httpClient, AgentsServiceVersion serviceVersion) { + AgentsClientBuilder builder = getClientBuilder(httpClient, serviceVersion); + AgentsClient agentsClient = builder.buildAgentsClient(); + ResponsesClient responsesClient = builder.buildResponsesClient(); + + String agentName = testResourceNamer.randomName("work-iq-sync-", 40); + AgentVersionDetails agent = agentsClient.createAgentVersion(agentName, createAgentDefinition()); + Assertions.assertNotNull(agent); + + try { + AgentReference agentReference = new AgentReference(agent.getName()).setVersion(agent.getVersion()); + Response response = responsesClient.createAzureResponse( + new AzureCreateResponseOptions().setAgentReference(agentReference), createResponseParams()); + + assertCompletedResponse(response); + } finally { + agentsClient.deleteAgentVersion(agent.getName(), agent.getVersion()); + } + } +} diff --git a/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsCreateAndPollSample.java b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsCreateAndPollSample.java new file mode 100644 index 000000000000..8c672d6cde53 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ModelsCreateAndPollSample.java @@ -0,0 +1,168 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.azure.ai.projects; + +import com.azure.ai.projects.models.FoundryModelWeightType; +import com.azure.ai.projects.models.ModelPendingUploadInput; +import com.azure.ai.projects.models.ModelVersion; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import com.azure.storage.blob.BlobContainerClient; +import com.azure.storage.blob.BlobContainerClientBuilder; + +import java.io.IOException; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.Collections; +import java.util.Map; +import java.util.stream.Stream; + +/** + * Sample demonstrating model registration using the explicit pending-upload flow. + * + *

    Before running, set {@code FOUNDRY_PROJECT_ENDPOINT}. You may optionally set {@code FOUNDRY_MODEL_ASSET_NAME}, + * {@code FOUNDRY_MODEL_ASSET_VERSION}, and {@code FOUNDRY_MODEL_ASSET_PATH}. If {@code FOUNDRY_MODEL_ASSET_PATH} is + * not set, the sample creates a small temporary folder with dummy model files.

    + */ +public class ModelsCreateAndPollSample { + public static void main(String[] args) throws IOException, InterruptedException { + String endpoint = Configuration.getGlobalConfiguration().get("FOUNDRY_PROJECT_ENDPOINT"); + String modelName = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_NAME", + "sample-model-pending-upload-java"); + String modelVersion = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_VERSION", "1"); + Path sourceDirectory = getSourceDirectory(); + + ModelsClient modelsClient = new AIProjectClientBuilder() + .endpoint(endpoint) + .credential(new DefaultAzureCredentialBuilder().build()) + .buildModelsClient(); + + System.out.printf("Step 1/3: start pending upload for %s/%s%n", modelName, modelVersion); + BlobUploadLocation uploadLocation = startPendingUpload(modelsClient, modelName, modelVersion); + + System.out.printf("Step 2/3: upload files from %s%n", sourceDirectory); + uploadDirectory(sourceDirectory, uploadLocation.getSasUrl()); + + System.out.printf("Step 3/3: create model version %s/%s%n", modelName, modelVersion); + modelsClient.createModelVersionAsync(modelName, modelVersion, + new ModelVersion(uploadLocation.getBlobUrl()) + .setWeightType(FoundryModelWeightType.FULL_WEIGHT) + .setDescription("Sample model registered from ModelsCreateAndPollSample.java") + .setTags(Collections.singletonMap("source", "ModelsCreateAndPollSample.java"))); + + try { + Map committed = pollUntilModelVersionExists(modelsClient, modelName, modelVersion); + System.out.printf("Model version is available: %s/%s%n", committed.get("name"), committed.get("version")); + } finally { + modelsClient.deleteModelVersion(modelName, modelVersion); + System.out.printf("Deleted model version: %s/%s%n", modelName, modelVersion); + } + } + + private static Path getSourceDirectory() throws IOException { + String configuredPath = Configuration.getGlobalConfiguration().get("FOUNDRY_MODEL_ASSET_PATH"); + if (configuredPath != null && !configuredPath.isEmpty()) { + return Paths.get(configuredPath); + } + + Path sourceDirectory = Files.createTempDirectory("sample-model-"); + Files.write(sourceDirectory.resolve("weights.bin"), "hello-foundry-model".getBytes(StandardCharsets.UTF_8)); + Files.write(sourceDirectory.resolve("config.json"), "{\"sample\":true}".getBytes(StandardCharsets.UTF_8)); + return sourceDirectory; + } + + private static BlobUploadLocation startPendingUpload(ModelsClient modelsClient, String modelName, + String modelVersion) { + Response pendingUploadResponse = modelsClient.startModelPendingUploadWithResponse(modelName, + modelVersion, BinaryData.fromObject(new ModelPendingUploadInput()), new RequestOptions()); + + Map payload = pendingUploadResponse.getValue().toObject(Map.class); + Object blobReference = payload.get("blobReferenceForConsumption"); + if (blobReference == null) { + blobReference = payload.get("blobReference"); + } + if (!(blobReference instanceof Map)) { + throw new IllegalStateException("Pending upload response did not include a blob reference: " + payload); + } + + Map blobReferenceMap = (Map) blobReference; + String blobUrl = stringValue(blobReferenceMap.get("blobUri")); + if (blobUrl == null) { + blobUrl = stringValue(blobReferenceMap.get("blobUrl")); + } + + Object credential = blobReferenceMap.get("credential"); + if (!(credential instanceof Map)) { + throw new IllegalStateException("Pending upload response did not include a SAS credential: " + payload); + } + Map credentialMap = (Map) credential; + String sasUrl = stringValue(credentialMap.get("sasUri")); + if (sasUrl == null) { + sasUrl = stringValue(credentialMap.get("sasUrl")); + } + + if (blobUrl == null || sasUrl == null) { + throw new IllegalStateException("Pending upload response missing SAS URL or blob URL: " + payload); + } + return new BlobUploadLocation(blobUrl, sasUrl); + } + + private static String stringValue(Object value) { + return value == null ? null : String.valueOf(value); + } + + private static void uploadDirectory(Path sourceDirectory, String containerSasUrl) throws IOException { + BlobContainerClient containerClient = new BlobContainerClientBuilder() + .endpoint(containerSasUrl) + .buildClient(); + + try (Stream paths = Files.walk(sourceDirectory)) { + paths.filter(Files::isRegularFile).forEach(path -> { + String blobName = sourceDirectory.relativize(path).toString().replace('\\', '/'); + containerClient.getBlobClient(blobName).upload(BinaryData.fromFile(path), true); + System.out.printf("Uploaded %s%n", blobName); + }); + } + } + + private static Map pollUntilModelVersionExists(ModelsClient modelsClient, String modelName, + String modelVersion) throws InterruptedException { + long deadline = System.currentTimeMillis() + 300_000; + while (true) { + try { + return modelsClient.getModelVersionWithResponse(modelName, modelVersion, new RequestOptions()) + .getValue() + .toObject(Map.class); + } catch (ResourceNotFoundException ex) { + if (System.currentTimeMillis() >= deadline) { + throw ex; + } + Thread.sleep(2_000); + } + } + } + + private static final class BlobUploadLocation { + private final String blobUrl; + private final String sasUrl; + + private BlobUploadLocation(String blobUrl, String sasUrl) { + this.blobUrl = blobUrl; + this.sasUrl = sasUrl; + } + + private String getBlobUrl() { + return blobUrl; + } + + private String getSasUrl() { + return sasUrl; + } + } +} diff --git a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java index 069b1e9e993d..6c2ea9114b4e 100644 --- a/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java +++ b/sdk/ai/azure-ai-projects/src/test/java/com/azure/ai/projects/SamplesTests.java @@ -2,7 +2,10 @@ // Licensed under the MIT License. package com.azure.ai.projects; +import com.azure.ai.agents.models.PageOrder; import com.azure.ai.projects.models.CreateSkillVersionFromFilesBody; +import com.azure.ai.projects.models.DataGenerationJob; +import com.azure.ai.projects.models.FoundryFeaturesOptInKeys; import com.azure.ai.projects.models.SkillFileDetails; import com.azure.ai.projects.models.ModelVersion; import com.azure.ai.projects.models.Skill; @@ -11,8 +14,8 @@ import com.azure.core.http.HttpClient; import com.azure.core.test.annotation.LiveOnly; import com.azure.core.util.BinaryData; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; import reactor.test.StepVerifier; @@ -29,24 +32,28 @@ public class SamplesTests extends ClientTestBase { private static final String SAMPLE_SKILL_NAME = "java-sample-skill-package-test"; + private static final String SAMPLE_SKILL_ASYNC_NAME = "java-sample-skill-package-async-test"; + private static final FoundryFeaturesOptInKeys DATA_GENERATION_PREVIEW + = FoundryFeaturesOptInKeys.DATA_GENERATION_JOBS_V1_PREVIEW; @LiveOnly @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") public void skillsPackageSample(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) throws IOException { SkillsClient skillsClient = getClientBuilder(httpClient, serviceVersion).buildSkillsClient(); + String skillName = SAMPLE_SKILL_NAME; try { - skillsClient.deleteSkill(SAMPLE_SKILL_NAME); + skillsClient.deleteSkill(skillName); } catch (ResourceNotFoundException ignored) { // The sample skill does not already exist. } SkillVersion imported = null; try { - imported = skillsClient.createSkillVersionFromFiles(SAMPLE_SKILL_NAME, createSkillPackageBody()); + imported = skillsClient.createSkillVersionFromFiles(skillName, createSkillPackageBody(skillName)); Assertions.assertNotNull(imported); - Assertions.assertEquals(SAMPLE_SKILL_NAME, imported.getName()); + Assertions.assertEquals(skillName, imported.getName()); Skill fetched = skillsClient.getSkill(imported.getName()); Assertions.assertNotNull(fetched); @@ -56,9 +63,9 @@ public void skillsPackageSample(HttpClient httpClient, AIProjectsServiceVersion Assertions.assertNotNull(downloaded); Assertions.assertTrue(downloaded.toBytes().length > 0); } finally { - String skillName = imported == null ? SAMPLE_SKILL_NAME : imported.getName(); + String importedSkillName = imported == null ? skillName : imported.getName(); try { - skillsClient.deleteSkill(skillName); + skillsClient.deleteSkill(importedSkillName); } catch (ResourceNotFoundException ignored) { // The skill may not have been created. } @@ -71,13 +78,14 @@ public void skillsPackageSample(HttpClient httpClient, AIProjectsServiceVersion public void skillsPackageAsyncSample(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) throws IOException { SkillsAsyncClient skillsAsyncClient = getClientBuilder(httpClient, serviceVersion).buildSkillsAsyncClient(); + String skillName = SAMPLE_SKILL_ASYNC_NAME; - StepVerifier.create(skillsAsyncClient.deleteSkill(SAMPLE_SKILL_NAME) + StepVerifier.create(skillsAsyncClient.deleteSkill(skillName) .onErrorResume(ResourceNotFoundException.class, ignored -> reactor.core.publisher.Mono.empty()) - .then(skillsAsyncClient.createSkillVersionFromFiles(SAMPLE_SKILL_NAME, createSkillPackageBody())) + .then(skillsAsyncClient.createSkillVersionFromFiles(skillName, createSkillPackageBody(skillName))) .flatMap(imported -> { Assertions.assertNotNull(imported); - Assertions.assertEquals(SAMPLE_SKILL_NAME, imported.getName()); + Assertions.assertEquals(skillName, imported.getName()); return skillsAsyncClient.getSkill(imported.getName()).doOnNext(fetched -> { Assertions.assertEquals(imported.getName(), fetched.getName()); @@ -88,6 +96,46 @@ public void skillsPackageAsyncSample(HttpClient httpClient, AIProjectsServiceVer })).verifyComplete(); } + @Disabled("The live service returns 400: API operation not supported for token authentication.") + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void dataGenerationJobsListSample(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) { + DataGenerationJobsClient dataGenerationJobsClient + = getClientBuilder(httpClient, serviceVersion).buildDataGenerationJobsClient(); + + Iterable jobs + = dataGenerationJobsClient.listGenerationJobs(DATA_GENERATION_PREVIEW, 5, PageOrder.DESC, null, null); + Assertions.assertNotNull(jobs); + + int count = 0; + for (DataGenerationJob job : jobs) { + Assertions.assertNotNull(job); + Assertions.assertNotNull(job.getId()); + count++; + if (count >= 5) { + break; + } + } + } + + @Disabled("The live service returns 400: API operation not supported for token authentication.") + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") + public void dataGenerationJobsListAsyncSample(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) { + DataGenerationJobsAsyncClient dataGenerationJobsAsyncClient + = getClientBuilder(httpClient, serviceVersion).buildDataGenerationJobsAsyncClient(); + + StepVerifier.create( + dataGenerationJobsAsyncClient.listGenerationJobs(DATA_GENERATION_PREVIEW, 5, PageOrder.DESC, null, null) + .take(5) + .doOnNext(job -> { + Assertions.assertNotNull(job); + Assertions.assertNotNull(job.getId()); + }) + .then()) + .verifyComplete(); + } + @LiveOnly @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") @@ -126,13 +174,13 @@ public void modelsListLatestAsyncSample(HttpClient httpClient, AIProjectsService Assertions.assertNotNull(sawModel); } - @Disabled("Requires FOUNDRY_MODEL_NAME and creates a long-running preview data generation job.") + @Disabled("Data generation live validation is blocked by 400: API operation not supported for token authentication; " + + "the create flow is also a long-running preview operation.") @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.projects.TestUtils#getTestParameters") public void dataGenerationCreateGetCancelDeleteSample(HttpClient httpClient, AIProjectsServiceVersion serviceVersion) { - Assertions.fail( - "Enable after providing FOUNDRY_MODEL_NAME and deciding whether to record this long-running preview flow."); + Assertions.fail("Enable after token-auth support is available for data generation jobs."); } @Disabled("Requires FOUNDRY_MODEL_ASSET_NAME, FOUNDRY_MODEL_ASSET_VERSION, and FOUNDRY_MODEL_BLOB_URI.") @@ -143,14 +191,16 @@ public void modelVersionCreateGetUpdateDeleteSample(HttpClient httpClient, Assertions.fail("Enable after providing model asset environment variables."); } - private static CreateSkillVersionFromFilesBody createSkillPackageBody() throws IOException { - String skillMarkdown = "---\n" + "name: " + SAMPLE_SKILL_NAME + "\n" + private static CreateSkillVersionFromFilesBody createSkillPackageBody(String skillName) throws IOException { + String skillMarkdown = "---\n" + "name: " + skillName + "\n" + "description: Answers product support questions using company policy and product guidance.\n" + "---\n\n" + "You help answer product support questions using company policy and product guidance.\n"; ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); try (ZipOutputStream zipOutputStream = new ZipOutputStream(outputStream)) { - zipOutputStream.putNextEntry(new ZipEntry(SAMPLE_SKILL_NAME + "/SKILL.md")); + ZipEntry skillEntry = new ZipEntry(skillName + "/SKILL.md"); + skillEntry.setTime(0); + zipOutputStream.putNextEntry(skillEntry); zipOutputStream.write(skillMarkdown.getBytes(StandardCharsets.UTF_8)); zipOutputStream.closeEntry(); }